ubuntu12.04下samba、tftp、nfs的配置
2014-08-29 20:27
375 查看
1.samba setting
1>apt-get install samba
apt-get install smbfs
2>mkdir /home/linux/sharefile
chmod 777 /home/linux/sharefile
3>vim /etc/samba/smb.conf
add as follows:
[share]
path=/home/linux/sharefile
public = yes
writable= yes
read = yes
4>/etc/init.d/samba restart
2.tftp setting
1>check if tftp installed:
dpkg -s tftp-hpa
2>apt-get install tftp-hpa
apt-get install tftpd-hpa
3>sudo vim /etc/default/tftpd-hpa
change as follows:
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/linux/tftpfile"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-c -s -l"
4>sudo service tftpd-hpa restart
5>test:
tftp 127.0.0.1
tftp>get file
tftp>put file
tftp>q
3.nfs setting
1>apt-get install nfs-kernel-server
2>vim /etc/exports
add as follows:
/home/linux/nfsfile *(rw,sync,no_root_squash,no_subtree_check)
3>/etc/init.d/nfs-kernel-server restart
4>test:
mkdir /mnt/nfs
monut -t nfs 127.0.0.1:/home/linux/nfsfile /mnt/nfs
1>apt-get install samba
apt-get install smbfs
2>mkdir /home/linux/sharefile
chmod 777 /home/linux/sharefile
3>vim /etc/samba/smb.conf
add as follows:
[share]
path=/home/linux/sharefile
public = yes
writable= yes
read = yes
4>/etc/init.d/samba restart
2.tftp setting
1>check if tftp installed:
dpkg -s tftp-hpa
2>apt-get install tftp-hpa
apt-get install tftpd-hpa
3>sudo vim /etc/default/tftpd-hpa
change as follows:
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/linux/tftpfile"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-c -s -l"
4>sudo service tftpd-hpa restart
5>test:
tftp 127.0.0.1
tftp>get file
tftp>put file
tftp>q
3.nfs setting
1>apt-get install nfs-kernel-server
2>vim /etc/exports
add as follows:
/home/linux/nfsfile *(rw,sync,no_root_squash,no_subtree_check)
3>/etc/init.d/nfs-kernel-server restart
4>test:
mkdir /mnt/nfs
monut -t nfs 127.0.0.1:/home/linux/nfsfile /mnt/nfs
相关文章推荐
- Ubuntu12.04 android开发环境搭建(配置minicom TFTP NFS java版本切换)
- ubuntu 下配置NFS,samba, telnet,TFTP,ftp,DHCP服务
- Fedora16配置samba Vstftp NFS
- ubuntu12.04下一个samba、tftp、nfs构造
- linux下tftp、samba、nfs服务的配置和启用
- 实操:linux 专业工具配置 nfs tftp samba network
- ubuntu12.04环境配置-远程登录+互传文件+tftp和nfs
- FTP、NFS、Samba服务配置简单几步骤
- nfs,samba,tftp,svn服务器的搭建及使用整理
- 转:Ubuntu下配置tftp服务和NFS服务
- Ubuntu10.10配置TFTP和NFS
- ubuntu12.04下tftp安装、配置、测试
- 配置Linux DHCP+TFTP+NFS(FTP|HTTP)通过PXE启动安装Cent OS操作系统
- 虚拟机开发环境搭建(tftp,nfs,samba,arm-linux-gcc)
- ubuntu下TFTP服务器及NFS网络配置详细过程
- Ubuntu下配置tftp服务和NFS服务
- ftp,nfs,samba基本配置
- linux之编程环境搭建步骤--nfs/tftp/svn/boost/dnw/samba
- ubuntu nfs和tftp配置
- Ubuntu下配置tftp服务和NFS服务