¦U¦¡©Ð«Î©î°£¡A¹j¶¡¿jÀ𥴰£¡A©U§£²M¹B §K¶O¦ô»ù¡A¦¬¶O¤½¹D | Àu½è³]p¹Î¶¤ªA°È¡A¥´³y©¯ºÖ©~®aªÅ¶¡ §K¶O¿Ô¸ß¤V¶q¡A¸ËæC³]pº¿ï |
[´ú¸Õ]´ú¸Õ |
©ÐªF¡G«°¥«®ÄÀ³ µoªí®É¶¡¡G2014-06-16 | [ÀËÁ|] |
½T»{php ª©¥» rpm -qa |grep php ½T»{mcrypt ª©¥» rpm -qa |grep mcrypt ¦w¸Ëmcrypt # yum install php-mcrypt libmcrypt ¼Ú¥IÄ_»Ýn³o¨âÓ®M¥ó php-mcrypt©M libmcrypt ¦Û¦æ¦w¸Ë rpm rpm -ivh php-mcrypt-5.3.3-4.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm centos6 ¦øªA¾¹¦w¸Ë±Ð¾Ç ±Ò°Ê¦øªA¾¹ ²×ºÝ¾÷¿é¤J¥H¤U«ü¥O ³]©w±Ò°Ê service httpd start service mysqld start service vsftpd start service named start Vsftp³]©w¤¹³\\root±b¸¹µn¤J centos 6.8 ³]©w /etc/init.d/vsftpd restart ¦b/etc/vsftpd¥Ø¿ý¤U userlist¤U¡A¹w³]·|¦³root±b¸¹¡A¥²¶·§R°£¡A¨ä¥L³£¬O¨t²Î±b¸¹¡A©Ò¥H¤£¥Î±N¤§²¾°£ ftpusers¤U¤]·|¦³root±b¸¹¦b¸Ì±¡A¤]¬On±N¥L§R°£¡A¨ä¥L³£¬O¨t²Î±b¸¹¡A©Ò¥H¤£¥Î±N¤§²¾°£ ³]©w¦n«á¡A½Ð«·s±Ò°Êvsftpd ¦A¨ì¨ì/etc/selinux/ §ä¨ì/etc/selinux/config SELINUX=enforcing §âSELINUX= §ï¦¨ disabled SELINUX=disabled ¦AÃö³¬¨¾¤õÀð³]©w FTP ¤~¯à¥¿±`¨Ï¥Î Mysql n¥¿±`³sµ² ¸ê®Æ®wªºÀɮשM¸ê®Æ§¨Åvn¥´¶} µM«árestart ¼Ú¥IûÑ»Ýnªºµ{¦¡ 3. ¤U¡uyum clean all¡v«ü¥O¡A²M±¼ yum ¦b¡u/var/cache/yum¡v¤ºªº¼È¦sÀÉ®× 4. ¦A¦¸°õ¦æ¡uyum -y update¡v ¦w¸Ëmcrypt # yum install php-mcrypt §ó·s®M¥ó¡G # yum update mcrypt ½T»{php ª©¥» rpm -qa |grep php ½T»{mcrypt ª©¥» rpm -qa |grep mcrypt ¦w¸Ëmcrypt # yum install php-mcrypt libmcrypt ¼Ú¥IÄ_»Ýn³o¨âÓ®M¥ó php-mcrypt©M libmcrypt |
1 ¼Ó¦í¤á¡Gp[[ ¯d¨¥ªO ¶Ç°T µoªí®É¶¡¡G2016-08-18 | [ÀËÁ|] |
http://www.netqna.com/2014/04/centos-64-vsftpd-ftp-server.html ftp µLªk¥¿±`¨Ï¥Î service vsftpd start ©Î /etc/rc.d/init.d/vsftpd start ±Ò°ÊVSFTP chkconfig vsftpd on <¡V ³]©w¨C¦¸¶}¾÷´N±Ò°Ê vsftpd ¥\¯à chkconfig mysqld on <¡VMySQL¸ê®Æ®w³o¼Ë«·s¶}¾÷«á¤]·|¦Û°Ê±Ò°Ê¡C ¨ì/etc/selinux/ §ä¨ì/etc/selinux/config SELINUX=enforcing §âSELINUX= §ï¦¨ disabled SELINUX=disabled Vsftp³]©w¤¹³\root±b¸¹µn¤J ¦b/etc/vsftpd¥Ø¿ý¤U userlist¤U¡A¹w³]·|¦³root±b¸¹¡A¥²¶·§R°£¡A¨ä¥L³£¬O¨t²Î±b¸¹¡A©Ò¥H¤£¥Î±N¤§²¾°£ ftpusers¤U¤]·|¦³root±b¸¹¦b¸Ì±¡A¤]¬On±N¥L§R°£¡A¨ä¥L³£¬O¨t²Î±b¸¹¡A©Ò¥H¤£¥Î±N¤§²¾°£ ³]©w¦n«á¡A½Ð«·s±Ò°Êvsftpd Vsftp³]©w¤¹³\root±b¸¹µn¤J http://www.j2h.tw/bbs/bbs29/293.html ¦b Webmin ¤W¦w¸Ë Vsftpd ¼Ò²Õ http://www.j2h.tw/bbs/bbs29/336.html ³]©w±Ò°Ê service httpd start service mysqld start service vsftpd start service named start ³]©w¨C¦¸¶}¾÷´N±Ò°Ê chkconfig httpd on chkconfig vsftpd on chkconfig mysqld on chkconfig named on |
2 ¼Ó¦í¤á¡G¡@werwerwer ¯d¨¥ªO ¶Ç°T µoªí®É¶¡¡G2016-08-18 | [ÀËÁ|] |
¥Ñ©óSELinuxªºÃö«Y¡A»Ýn±N¨ä¸Ñ°£«OÅ@¡A§_«hµLªkŪ¨úftp¥Ø¿ý ¿é¤Jsetsebool ftpd_disable_trans 1 ¥X²{Could not change active booleans: Invalid Boolean¥Nªí¦¨¥\ ¦A¿é¤Jsetsebool -P ftp_home_dir=1(¤j¬ù¤@¤ÀÄÁ¡A¦¨¥\¤]¤£·|¦³¥ô¦ó°T®§) SELinux³]©w§¹¦¨ |
3 ¼Ó¦í¤á¡Gwwerwer ¯d¨¥ªO ¶Ç°T µoªí®É¶¡¡G2016-08-18 | [ÀËÁ|] |
¬d¬Ý¨¾¤õ墙21ºÝ¤f¬O§_开©ñ /etc/init.d/iptables status Y没¦³¡A开©ñºÝ¤f /sbin/iptables -I INPUT -p tcp --dport 21 -j ACCEPT /etc/rc.d/init.d/iptables save /etc/init.d/iptables restart |
4 ¼Ó¦í¤á¡GPfrer ¯d¨¥ªO ¶Ç°T µoªí®É¶¡¡G2016-08-18 | [ÀËÁ|] |
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT service iptables save |
5 ¼Ó¦í¤á¡Gwerwe ¯d¨¥ªO ¶Ç°T µoªí®É¶¡¡G2016-08-18 | [ÀËÁ|] |
http://www.netqna.com/2014/04/centos-64-vsftpd-ftp-server.html rpm -qa |grep php |
6 ¼Ó¦í¤á¡Gwerwr µoªí®É¶¡¡G2016-08-24 | [ÀËÁ|] |
php-mcrypt-5.1.6-15.el5.centos.1 libmcrypt-2.5.8-4.el5.centos http://mirror.centos.org/centos/5/extras/x86_64/RPMS/php-mcrypt-5.1.6-15.el5.centos.1.x86_64.rpm http://mirror.centos.org/centos/5/extras/x86_64/RPMS/libmcrypt-2.5.8-4.el5.centos.x86_64.rpm |