Lenovo ThinkSystem HR350A User Manual And Hardware Maintenance Manual page 135

Table of Contents

Advertisement

$ sudo systemctl stop firewalld
$ sudo systemctl disable firewalld
CentOS 7.x:
# vi /etc/xinetd.d/tftp
service tftp
{
socket_type
protocol
wait
user
server
server_args
disable
per_source
cps
flags
}
# chmod 777 -R /var/lib/tftpboot/
# setsebool -P tftp_anon_write 1
# setsebool -P tftp_home_dir 1
# systemctl enable xinetd
# systemctl restart xinetd
# systemctl stop firewalld
# systemctl disable firewalld
6.
Verifying TFTP server.
Ubuntu 15.x and CentOS 7.x:
# tftp 172.168.1.23
tftp> get /AMP/centos-repo/EFI/BOOT/grubaa64.efi
Received 883074 bytes in 0.1 seconds
tftp>
7.
Starting Apache web server.
Ubuntu 15.x:
$ sudo systemctl enable apache2
$ sudo systemctl restart apache2
Centos 7.x:
# systemctl enable httpd
# systemctl restart httpd
Verifying web server access
# wget http://172.168.1.23/AMP/centos-repo/EFI/BOOT/grubaa64.efi
= dgram
= udp
= yes
= root
= /usr/sbin/in.tftpd
= -c -s /var/lib/tftpboot
= no
= 11
= 100 2
= IPv4
135

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents