nfs主要用於傳檔案使用
sudo apt-get install tftpd-hpa tftp-hpa
dpkg -s tftpd-hpa
配置檔案目錄,只需修改要共享的檔案目錄即可其他預設
tftp 127.0.0.1或者 tftp locathost
除錯時出現transfer timed out.錯誤,需要用指令sudo /etc/init.d/tftpd-hpa restart重啟即可。
主要用於檔案同步時使用
修改/etc/export檔案為:sudo
apt-get
install nfs-kernel-server #安裝命令
service nfs-kernel-server #檢查是否安裝成功
sudo vim /etc/export
/home/linux/myshare/nfs/ *(rw,sync,no_root_squash)
#新增以下指令
#將配置的目錄給定可讀寫的許可權
chmod 777 nfs
sudo /etc/init.d/nfs-kernel-server start
掛載完成,可實現檔案實時同步
搭建嵌入式環境 配置tftp服務
我的系統是 fedora 10 1.配置本機的 ip位址 比如我的 ip位址是 172.33.66.17 命令列 sudo ifconfig eth0 172.33.66.17 netmask 255.255.255.0 這是臨時的設定,重啟後就丟失了。如果想儲存設定,就修改配置檔案 sudo vi...
嵌入式tftp的安裝配置
在redhat 9.0的第三張光碟中,有tftp server的安裝rpm包。1 安裝 mount t iso9660 dev hdc mnt cdrom 掛載光碟 rpm ivh tftp server 0.32 4.i386.rpm 安裝 umount mnt cdrom 解除安裝光碟 2 修改...
嵌入式TFTP環境搭建
linux ubuntu sudo apt get install tftpd hpa tftp hpa 2.修改配置檔案 linux ubuntu sudo vi etc default tftpd hpa 配置檔案路徑 etc default tftpd hpa 使用者名稱 tftp usern...