linuxÏÂapche+php+mysqlµÄ±àÒë°²×°(5)
×÷Ϊ·þÎñÆ÷£¬²»°²×°²»ÐèÒªµÄ×é¼þ£¬ËùÒÔÔÚÑ¡Ôñ×é¼þµÄʱºò£¬³ýÁËÑ¡ÔñFTP SERVERÍâÈ¡ÏûËùÓÐ×é¼þµÄÑ¡Ôñ¡£Ò²²»ÒªÑ¡web·þÎñÆ÷¡£ÒòΪÎÒÃǺóÃæÒªÊÖ¶¯±àÒë°²×°¡£
ϵͳԼ¶¨RPM°üºÍÔ´Âë°ü´æ·ÅλÖÃ
RPM°üºÍÔ´Âë°ü´æ·ÅλÖà /usr/local/src
Ô´Âë°ü±àÒ밲װλÖÃ(prefix) /usr/local/xxx
½Å±¾ÒÔ¼°Î¬»¤³ÌÐò´æ·ÅλÖà /usr/local/sbin
MySQL Êý¾Ý¿âλÖà /var/lib/mysql
Apache ÍøÕ¾¸ùĿ¼ /home/www
Apache ÐéÄâÖ÷»úÈÕÖ¾¸ùĿ¼ /da
yum RPM°üÐÅÏ¢Îļþ /etc/yum.list
3¡¢ÏµÍ³»·¾³²¿Êð¼°µ÷Õû
£¨1£©. ¼ì²éϵͳÊÇ·ñÕý³£
# more /var/log/messages //¼ì²éÓÐÎÞϵͳÄں˼¶´íÎóÐÅÏ¢
# demesg //¼ì²éÓ²¼þÉ豸ÊÇ·ñÓдíÎóÐÅÏ¢
# ifconfig //¼ì²éÍø¿¨ÉèÖÃÊÇ·ñÕýÈ·
# ping www.163.com // ¼ì²éÍøÂçÊÇ·ñÕý³£
£¨2£©. ¹Ø±Õ²»ÐèÒªµÄ·þÎñ
# export LANG='en_US' //ÉèÖÃÓïÑÔ
# setup //Ñ¡ÔñÆô¶¯µÄ·þÎñ
½øÈësystem service Ñ¡Ïî¡£
ÒÔspace ¼üÑ¡¶¨ËùÐè·þÎñ¡£
ÒÔϽöÁгöÐèÒªÆô¶¯µÄ·þÎñ£¬Î´ÁгöµÄ·þÎñÒ»Âɹرգº
crond
irqbalance ½öµ±·þÎñÆ÷CPUΪS.M.P¼Ü¹¹»òÖ§³ÖË«ºËÐÄ¡¢HT¼¼Êõʱ£¬²ÅÐ迪Æô£¬·ñÔò¹Ø±Õ¡£
microcode_ctl
network
vsftpd
sshd
syslog
£¨3£©¡¢ÐÞ¸Ä/etc/yum.repos.d/CentOS-Base.repo£¬½«¾µÏóÕ¾µãµØÖ·¸ÄΪÔÚÖйúµÄ¾µÏóÕ¾µãµØÖ·¡£²»È»ÎÒÃÇͨ¹ýyum°²×°Èí¼þËٶȻἫÂý¡£ÐÞ¸ÄÈçÏ£º
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.vmmatrix.net/CentOS/$releasever/os/$basearch/
http://mirror.be10.com/centos/$releasever/os/$basearch/
http://centos.hostlink.com.hk/$releasever/os/$basearch/
http://ftp.hostrino.com/pub/centos/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirror.vmmatrix.net/CentOS/$releasever/os/$basearch/
http://mirror.be10.com/centos/$releasever/os/$basearch/
http://centos.hostlink.com.hk/$releasever/os/$basearch/
http://ftp.hostrino.com/pub/centos/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#packages used/produced in the build but not released
[addons]
ÍƼöÐÅÏ¢
- linuxÃüÁîѧϰ±Ê¼Ç£¨11£©£ºnlÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨5£©£ºrmÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨4£©£ºmkdirÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨1£©£ºlsÃüÁî
- ½«CentosµÄyumÔ´¸ü»»Îª¹úÄڵİ¢ÀïÔÆÔ´
- ʹÓÃNginxÌí¼Óheader·ÀÖ¹ÍøÒ³±»frame
- linuxϼÓËÙscp´«Êä´óÎļþµÄËÙ¶È
- linuxϵͳÉ϶ÔnginxÈÕÖ¾·Ö¸î´¦Àí
- lnmp/nginxϵͳÕæÕýÓÐЧµÄͼƬ·ÀµÁÁ´ÍêÕûÉèÖÃÏê½â
- Í»ÆÆÊ®Íò²¢·¢µÄNginxµÄÅäÖü°ÓÅ»¯
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- ²éÕÒ²¢É¾³ý.svnĿ¼Îļþ
- redis ÆßÖÖÊý¾ÝÀàÐ͵ÄʹÓó¡¾°
- linux ÏÂÎļþ¸´ÖƵ½windowsÏÂÂÒÂëµÄ½â¾ö°ì·¨
- nginx³öÏÖ502 upstream sent too big he....
- linuxÏÂsudoÅäÖÃÏê½â
- linuxÃüÁîѧϰ±Ê¼Ç£¨15£©£ºtailÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨14£©£ºheadÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨13£©£ºlessÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨12£©£ºmoreÃüÁî
- ¼ÓÃÜËã·¨±È½Ï3DES AES RSA ECC MD5 SHA1µÈ
ÆÀÂÛ