ubuntu12.04下samba、tftp、nfs的配置
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
相關文章
- 利用tftp和nfs下載檔案到開發板FTPNFS
- linux_批次安裝配置檔案_dhcpd_tftp_nfsLinuxFTPNFS
- CentOS下tftp 安裝配置使用CentOSFTP
- samba,nfs安裝使用SambaNFS
- tftp配置FTP
- linux下nfs的配置LinuxNFS
- Linux下FTP和TFTP服務配置LinuxFTP
- PXE+DHCP+TFTP+NFS+Kickstart網路自動安裝配置簡化版FTPNFS
- 轉:samba和NFS的區別是什麼?SambaNFS
- [轉]HP-UX下NFS配置UXNFS
- Centos7下Samba伺服器配置。CentOSSamba伺服器
- linux下安裝、配置samba服務LinuxSamba
- AIX下配置NFS共享給LINUXAINFSLinux
- Ubuntu 14.04下NFS安裝配置UbuntuNFS
- linux服務之NFS和SAMBA服務LinuxNFSSamba
- CentOS 6.3下Samba伺服器的安裝與配置CentOSSamba伺服器
- 簡單配置linux下的網路鄰居samba(轉)LinuxSamba
- linux下Samba服務配置與安裝LinuxSamba
- windows下tftp命令,windows如何使用 tftp 和 telnet 命令WindowsFTP
- Linux samba 配置LinuxSamba
- CentOS 6.3下DRBD + HeartBeat + NFS配置筆記CentOSNFS筆記
- NFS介紹、NFS服務端安裝配置、NFS配置選項NFS服務端
- windows下tftp伺服器WindowsFTP伺服器
- windows下tftp命令,windows 7 如何使用 tftp 和 telnet 命令WindowsFTP
- Samba服務的配置總結Samba
- Linux作業系統關於ftp,samba,nfs的區別Linux作業系統FTPSambaNFS
- 簡單配置Linux系統下的網路鄰居Samba(轉)LinuxSamba
- linux as4下NFS配置注意事項LinuxNFS
- samba伺服器的簡單配置Samba伺服器
- 配置NFS固定埠NFS
- nfs配置 /etc/exportsNFSExport
- linux NFS 配置LinuxNFS
- linux配置nfsLinuxNFS
- Linux(Ubuntu版本)下配置samba實現資料夾共享的方法:LinuxUbuntuSamba
- Ubuntu下tftp伺服器的搭建與使用UbuntuFTP伺服器
- linux samba配置檔案/etc/samba/smb.confLinuxSamba
- KVM克隆的ubuntu12.04的虛擬機器的基本配置Ubuntu虛擬機
- TFTPFTP