Posted on 2009-07-20 23:05
silentneil 閱讀(2240)
評(píng)論(0) 編輯 收藏 引用 所屬分類(lèi):
UNIX/LINUX
1 安裝telnet服務(wù)
1)sudo apt-get install xinetd telnetd
2)重啟telnet服務(wù): sudo /etc/init.d/xinetd restart
3)亂碼問(wèn)題:下載pietty,選擇telnet登錄,選擇UFT-8
2 安裝ssh服務(wù)
1)sudo apt-get install openssh-server
2)重啟服務(wù):sudo /etc/init.d/ssh restart
3 安裝vsftpd
1)sudo apt-get install vsftpd
2)編輯vsftpd.conf: sudo vi /etc/vsftpd.conf,修改以下幾處:
nonymous_enable=NO (如果允許匿名訪(fǎng)問(wèn),那么選擇YES)
local_enable=YES (允許本地的Linux帳戶(hù)訪(fǎng)問(wèn)這個(gè)ftp服務(wù)器)
write_enable=YES (本地的 LInux帳戶(hù)訪(fǎng)問(wèn)時(shí),可寫(xiě))
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list (在另外的/etc/vsftpd.chroot_list文件中添加限制的用戶(hù))
3)重啟服務(wù):sudo /etc/init.d/vsftpd restart
參考: http://feizf.blogbus.com/logs/23351643.html