redhat linux ÏÂFTPÅäÖÃ (¶þ)
redhat linux ÏÂFTPÅäÖá£(vsftp)
1.Æô¶¯vsftp£º /sbin/service vsftpd start ±¸×¢d´ú±íÔÙºǫ́Æô¶¯¡£
2.²é¿´ÊÇ·ñÆô¶¯£¬¾ÍµÇ½µ½FTPÊÔÊÔ¡£ µÇ½FTP£ºftp localhost Í˳öFTP£ºbye
3.²é¿´Linux IP £ºifconfig
ÔÚ¿ØÖƹÜÀį́Ï¿ɿ´¼ûÈçÏ´úÂ룺¿ÉÒÔ¿´³ö£¬IP Address ÊÇ£º192.168.0.128
4.Èç¹û¾ÖÓòÍøÄÚ·ÃÎÊFTP²»³É¹¦£¬IP ÊÇ¿ªµÃ£¬ÄÇô¿¼ÂÇ¿ÉÄÜÊÇ·À»ðǽÎÊÌ⠹رշÀ»ðÇ°£ºService iptables stop
5¡¢FTPËùÔÚ¸ùĿ¼£º /var/ftp
vsftpdµÄÎĵµ½á¹¹
ÆäÖ÷ÅäÖÃÎļþÖ»ÓÐÒ»¸ö:/etc/vsftpd/vsftpd.conf,Ëù×öµÄÐÞ¸ÄÖ÷ÒªÊÇΧÈÆËü½øÐÐ,´ËÍ⻹ÓÐһЩ¸½¼ÓµÄÎļþ,ÎÒ½«¼¸¸öÖØÒªµÄ˵Ã÷ÈçÏÂ:
/etc/pam.d/vsftpd
ÕâÀﶨÒåÁ˲ÉÓÃpamµÄ·½Ê½½øÐÐÉí·ÝÑéÖ¤,ËüÊǸù¾Ý/etc/vsftpd.ftpusersÎļþ½øÐÐÑéÖ¤µÄ,·²ÊÇÔÚÕâ¸öÎļþÀïÃæÁгöµÄÓû§ÎÞ·¨µÇ½ftp
/etc/vsftpd.user_list
µ±ÅäÖÃÎļþvsftd.confÖеIJÎÊýuserlist_enableºÍuserlist_denyÉèÖÃΪYESÖ®ºó,´ËÎļþÉúЧ,·²ÊÇÔÚ´ËÎļþÀïÃæÁгöµÄÓû§¾ÍÎÞ·¨µÇ½ftp
×¢:ÉÏÃæµÄÁ½¸öÎļþ¿´ÆðÀ´¹¦ÄÜÀ×ͬ,Æäʵ²»È»,vsftpd.ftpusersÊDzÉÓÃÍâ¹ÒµÄPAM³ÌÐò½øÐÐÑé֤ʱËùÐèÒªµÄ,¶øvsftd.user_listÔòÊÇvsftp±¾ÉíµÄÑéÖ¤»úÖÆ.Ò²¾ÍÊÇË«ÖØÑéÖ¤,ÎÞÒÉʱ¸ü¼Ó°²È«.¼ÈÈ»×÷ÓÃÒ»Ñù,ËùÒÔÕâÁ½¸öÎļþµÄÄÚÈÝÒ²×îºÃдµÄÒ»Ñù
/etc/vsftpd.chroot_list
´ËÎļþÒª×ÔÐн¨Á¢,µ±vsftpd.confÖеIJÎÊýchroot_list_enableºÍchroot_list_fileÆôÓúó,´ËÎļþÀïÃæµÄÓû§¾ÍµÇ½ftpÒÔºó¾ÍÖ»ÄÜÔÚ×Ô¼ºµÄÖ÷Ŀ¼Ï»,²»Äܵ½´¦¹ä.
/var/ftp
ÄäÃûÓû§µÇ½ºóµÄÖ÷Ŀ¼
Ê×ÏȲéѯÊÇ·ñ°²×°vsftp
[root@localhost root]# rpm -qa|grep vsftpd
vsftpd-1.1.3-8
ÏÖÔھͿÉÒÔÖ±½ÓÆô¶¯vsftpÁË
Æô¶¯
[root@localhost root]# /etc/rc.d/init.d/vsftpd start
Starting vsftpd for vsftpd: [ OK ]
²âÊÔ
[root@localhost root]# ftp localhost //怫
Connected to localhost (127.0.0.1).
220 (vsFTPd 1.1.3)
Name (localhost:root):
530 Permission denied.
Login failed.
ftp> bye //ʹÓÃbyeÍ˳ö
221 Goodbye.
ËùÒÔ²»ÓÃÐÞ¸ÄvsftpdÀïÃæµÄÄÚÈÝ,¾Í¿ÉÒÔÖ±½ÓÔËÐÐÁË.²»¹ý´ËʱµÄЧ¹ûÊÇ:
ÄäÃûÕʺÅanonymous¿ÉÒԵǽ,Ö÷Ŀ¼Ϊ/var/ftp,²¢ÇÒ±»Ëø¶¨ÔÚ´ËĿ¼ÏÂ.´ËÕË»§Ö»ÓÐÏÂÔØȨÏÞ
ϵͳµÄÕʺÅ(/etc/passwdÎļþÖеÄÕʺÅ)¿ÉÒԵǽ,²¢ÇÒûÓÐËø¶¨Ö÷Ŀ¼
ÈκÎÔÚ/etc/vsftpd.ftpusersÎļþÖеÄÕʺÅÊÇÎÞ·¨µÇ½µÄ
ÉÏ
Ïà¹ØÎĵµ£º
6)Linux³ÌÐòÉè¼ÆÈëÃÅ--ÏûÏ¢¹ÜÀí
Ç°ÑÔ:LinuxϵĽø³ÌͨÐÅ(IPC)
LinuxϵĽø³ÌͨÐÅ(IPC)
POSIXÎÞÃûÐźÅÁ¿
System VÐźÅÁ¿
System VÏûÏ¢¶ÓÁÐ
System V¹²ÏíÄÚ´æ
1¡£POSIXÎÞÃûÐźÅÁ¿ Èç¹ûÄãѧϰ¹ý²Ù×÷ϵͳ,ÄÇô¿Ï¶¨ÊìϤPV²Ù×÷ÁË.PV²Ù×÷ÊÇÔ×Ó
²Ù×÷.Ò²¾ÍÊDzÙ×÷ÊDz»¿ÉÒÔÖжϵÄ,ÔÚÒ»¶¨µÄʱ¼äÄÚ,Ö»Äܹ»ÓÐÒ»¸ö½ø³ÌµÄ´ ......
¹¤×÷Öо³£ÐèÒªKill¶à¸ö½ø³Ì£¬Èç¹ûÕâЩ½ø³ÌÓй²Í¬µÄÌص㣬¾Í¿ÉÒÔÓÃÒ»ÌõÃüÁîKillµôËüÃÇ¡£
±ÈÈçÇå³ýOracleÊý¾Ý¿âµÄËùÓÐÔ¶³ÌÁ¬½Ó½ø³Ì£º
ps -efww|grep LOCAL=NO|grep -v grep|cut -c 9-15|xargs kill -9
¡¡¡¡¹ÜµÀ·û“|”ÓÃÀ´¸ô¿ªÁ½¸öÃüÁ¹ÜµÀ·û×ó±ßÃüÁîµÄÊä³ö»á×÷Ϊ¹ÜµÀ·ûÓÒ±ßÃüÁîµÄÊäÈë¡£ÏÂÃæ˵˵Óà ......
ΪÁ˸üºÃµÄ½â¾öÐéÄâ»úÓëÖ÷»úµÄ¹²ÏíÎÊÌ⣬VMware¹«Ë¾ÓÐÒ»¸öVMWare£tools£¬À´ÊµÏÖÎļþ¹²Ïí¡£ÕâÀïÖ÷Òª½²µÄÊÇÔÚWindowsÏÂÓà VmwareÐéÄâLinuxÀ´ÓëwindowsÀ´¹²Ïí¡£
¡¡¡¡1¡¢°²×°¿Í»§»úϵͳ£¬linuxÕâÀïÑ¡ÓÃCentOS5
¡¡¡¡2¡¢Æô¶¯ÐéÄâ»úÖеÄLinuxºó£¬£¨×¢Òâ±ØÐëÊÇÆô¶¯ÐéÄâ»úºó£©¡£Ñ¡Ôñ²Ëµ¥ÀïµÄVMÑ¡ÏÀïÃæÓÐÒ»¸ö×ÓÏîÊÇInstall VM ......
linuxµÄ½ø³Ì¼äͨÐÅ·½Ê½Ö÷ÒªÓУºÄäÃû¹ÜµÀ¡¢ÓÐÃû¹ÜµÀ¡¢ÏûÏ¢¶ÓÁС¢¹²ÏíÄÚ´æ¡¢Ðźš¢ÐźÅÁ¿¼°Ðźŵơ¢socketÍøÂçͨÐÅ¡£½üÈÕÓÉÓÚÏîÄ¿ÐèÒª£¬ÓÃlinux±àдarmµÄÓ¦ÓóÌÐò£¬ÀïÃæÓм¸¸ö¹¦ÄÜÄ£¿é£¬Èô¸É½ø³Ì£¬½ø³Ì¼äµÄͨÐÅ·½Ê½Ñ¡ÔñÁ˹ܵÀ¡¢¹²ÏíÄÚ´æºÍÐźÅÁ¿µÄÅäºÏ¡£Õ⼸ÌìÖÕÓڰѳÌÐòµÄ¿ò¼Ü´î½¨ºÃÁË£¬¶øÎÒÒ²¶Ô¹ÜµÀͨÐÅÓÐÁ˽øÒ»²½µÄÈÏʶ¡£
......
ǶÈëʽLinuxÏ´®¿Ú±à³Ì
Ò»¡¢ÅäÖÃÄÚºË
ÔÚǶÈëʽLinuxϽøÐд®¿Ú±à³Ì֮ǰ£¬ÏÈÔÚÄÚºËÖÐÅäÖô®¿Ú²¿·Ö£¬ÈçÏ£º
Device Drivers--->
character devices--->
Serial drivers--->
&nb ......