Gigabyte MU71-SU0 (rev. 1.x) [114/134] Add to the file

Gigabyte MD71-HB1 (rev. 1.x) [114/134] Add to the file
Gigabyte Server Management Console - 114 -
2. EditthecongurationleforTFTP.
>vi /etc/xinetd.d/tftp
Edit the le as below:
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args=<DIRtowhichtheletobeaccess>
disable = no
}
#EOF
#example:server_args = /tftpboot
Note: No arguments to be passed to the server_args other than directory.
######################################
>vi /etc/xinetd.conf
Add to the le:
defaults
{
# Please note that you need a log_type line to use log_on_success and log_on_failure.
The default is the following:
# log_type = SYSLOG daemon info
}
includedir /etc/xinetd.d
>vi /etc/inetd.conf
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/ in.ftpd
tftpdgramudpwaitnobody/usr/sbin/tcpd/usr/sbin/in.tftpd<DIR>
3. Restart the server.
>/etc/init.d/xinetd restart
4. Givepermissiontotheletoaccessbyall.
>mkdir<DIR>
>chmod-R777<DIR>
>chown-Rnobody<DIR>
For Example:

Содержание

Похожие устройства

Скачать