(以下针对RHEL6的配置,与其他Linux发行版可能略有不同)
1.tftp服务器
安装前,先安装xinetd,再安装tftp服务器
rpm -ivh tftp-server-0.49xxx.rpm
配置tftp
vim /etc/xinetd.d/tftpdisable = noserver_args = -s /tftp
/*此为tftp共享目录,目录权限666*/
重启tftp服务
/etc/init.d.xinetd restart
2.NFS服务器
配置NFS服务器
vim /etc/exports/tmp *(rw,sync,no_root_squash)
/* 共享目录 地址 读写权限 同步 root权限 */
启动NFS服务器
/etc/init.d/nfs restart