À°§A¾ÛÀòµøıµJÂI¡A±M·~¼s§i©ÛµP³]­p»s§@
Åý¤½¥qªù­±§ó¥[«G²´¡A¬°§A³Ð³y°Ó¾÷¡I
¨t²Î®a¨ãºû­×¦U¼tµP§N®ð¡Gµ¡«¬¡B¤ÀÂ÷¦¡¡B¤ô§N¦¡½c«¬µ¥«O¾i
§N´C¡Bº|¤ô¡BÀ£ÁY¾÷ºû­×«O©T¡C

­º­¶  ¡E  tw ½×¾Â ¡E ·s¤â°Q½×     ¡E 

[´ú¸Õ]´ú¸Õ

©Ðª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¤]¬O­n±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¸ê®Æ§¨Åv­­­n¥´¶} µ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




  • ÃÙ§Uºô¯¸       

    ©ú¤é¶Àª÷«Î
    ¶R«Î¡B½æ«Î¡B¯²«Î¡B¥X¯²¡B©ÐªF¯²«Î¥Zµn¡B¨Ã´£¨Ñ¯²«Î¡B³Ì±M·~ªºªA°È¡B³Ì¦w¥þ¿Ë¤Áªº¥æ©ö¡C
    ·h®a¤½¥q
    ¥»¤½¥q¬°¬F©²¥ß®×±M·~·h®a¤½¥q¡A§Ú­ÌªÃ«ù«È¤á¦Ü¤W¡A¥¿¬£¸gÀç²z©À¡A¦b¤j¥x¥_¿¤¥«¤@ª½¦³¤f¸O
    ¯²«Îºô
    ´£¨Ñ¯²«Î¸ê°T¡B¯²«Î¼s§i¥Zµn¡B©Ð«Î°U¯²¡B©Ð«È´M«Î¡B¯²«Î°t¹ï¡B¹q¤l¦a¹Ï¡B©Ð«Î¸ê®Æ¤W¶Ç

  • 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¤]¬O­n±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 ¼Ó¦í¤á¡G­Pfrer     ¯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



    ¡@¦@ 6 ¤H¦^À³¡@¡@¿ï¾Ü­¶¼Æ ¡i²Ä1 ­¶¡j 

    ©m¦W¡G
    §G§i¤º®e¡G