fedora 14預設沒有安裝tftp
1、安裝tftp
執行檢視命令
[root@localhost /]#rpm -q tftp-server
[root@localhost /]#yuminstall tftp-server
[root@localhost /]# yuminstall -ytftp
2、配置tfpt環境
安裝完成後,需要修改配置檔案,tftp
預設是關閉的。
[root@localhost /]#vi /etc/xinetd.d/tftp
修改後配置檔案如下:
service tftp
修改項server_args= -s
,其中處可以改為你的
tftp-server
的根目錄,
引數-s:指定
chroot
引數-c:允許上傳檔案。
[root@localhost /]# service xinetd restart
3、測試
[root@localhost /]# netstat -a | grep tftp
若出現如下資訊,說明tfpt服務已啟動
udp
0 0*:tftp
*:*
[root@localhost /]#chkconfig --list
若未開啟,可用以下命令開啟並重啟服務:
[root@localhost /]#chkconfig tftp on
[root@localhost /]# /etc/init.d/xinetd restart
為了方便測試,在/tftpboot目錄下建立乙個測試檔案:
[root@localhost /]# touch /var/lib/tftpboot/a.txt
直接登陸本機測試:
[root@localhost /]# tftp localhost
tftp>geta.txt
tftp>q
檢視本地檔案:
[root@localhost /]# cat ./a.txt
test
至此,tftp的安裝測試成功。
fedora14下gcc的安裝
遇到安裝gcc的包時候發現需要如下包安裝,libppl.so.7 is needed by cloog ppl 0.15.7 2.fc14.i686 libppl c.so.2 is needed by cloog ppl 0.15.7 2.fc14.i686後發現正確的安裝順序就可以解決這個問題了...
Fedora 14下安裝使用rarlinux
安裝fedora 14後,其預設情況下不能解壓rar文件,因為系統自帶的解壓軟體不支援rar格式文件,但由於經常要用到rar文件,因此就必須安裝乙個rar軟體。以rarlinux 3.9.1.tar.gz為例安裝步驟 表示終端輸入 tar zxvf rarlinux 3.9.1.tar.gz cd ...
安裝指南 win10下安裝fedora
安裝步驟 公升級核心版本至4.2以上,這樣系統自動相容wifi驅動 su root 輸入密碼 rpm import rpm uvh yum enablerepo elrepo kernel install kernel ml reboot 當然必須從4.2以上的那個系統進入 yum update y...