linux·þÎñÆ÷°²×°£¨centos5.3 apache php mysql£©
×î½ü×°Á˼¸´Îlinux£¬Ñ§Á˺ܶ࣬°Ñ¹ý³ÌдÏÂÀ´ÁË£¬Ï£Íû¸ø¿´µÄÈË°ïÖú£¬Ò²¶à¸øЩ½¨Òé¡£
Ò»¡¢Ñ¡Ôñ×îС»¯°²×°£¨Ê²Ã´Ò²²»Ñ¡£¬µ«ÊÇ»¹ÊÇÑ¡ÁËvim£©
¶þ¡¢Ê¹ÓùâÅÌ×÷ΪԴ°²×°£¨ÏêÇé²Î¼û/etc/yum.repos.d/CentOS-Media.repo£©ËùÓÃÌ×¼þ£¨Ê¹ÓÃyumµÄÇ¿´ó¹¦ÄÜ£©
####²¢²»ÊǼòµ¥µÄÓÃyumÃüÁÐèÒªÔÚyumºóÃæ¼ÓһЩ¶«Î÷£¬/etc/yum.repos.d/CentOS-Media.repoÀïÃæ˵Ã÷ÁË¡£
1.°²×°wget£¬man
yum install wget£¨±È½ÏÊìϤµÄ£©
2.°²×°cron
yum list | grep ''£¨²»Ì«ÊìϤ£©
yum install vixie-cron.i386
3.°²×°apache,php,mysql
£¨¿´ÁËÍøÉÏһЩ×ÊÁÏ£¬ÓеÄÊÇ×Ô¼º±àÒëµÄ£¬¿´ÁËcentosµÄÍøÕ¾£¬½¨ÒéʹÓÃyum°²×°£¬Õâ¸öÊǺÍredhatÒ»ÑùµÄ°æ±¾£¬Èç¹ûÒ»¶¨ÒªÊ¹ÓÃа汾£¬¿É²Î¿¼
http://wiki.centos.org/HowTos
/PHP_5.1_To_5.2?highlight=%28php%29|%28mcrypt%29£©
ÎÒÊÇÒÔ¹âÅÌ×÷ΪԴÓÃyum°²×°µÄ
1)
yum list | grep 'httpd'
yum install *****
2)
yum list | grep 'php' (ÓкܶàphpÀ©Õ¹)
yum install *****(Ñ¡Ôñ×Ô¼º°²×°µÄ£¬Ö§³ÖͨÅä·û)
3£©
yum list | grep 'mysql'
yum install *****
mysqladmin -u root -p 'yourpassword'£¨¸ømysqlÉèÃÜÂ룩
ÉèÖÿª»úÆô¶¯£º
chkconfig --level 35 httpd on
chkconfig --level 35 mysqld on
chkconfig --list | grep 'httpd'
chkconfig --list | grep 'mysqld'
Èý.¹Øµô²»ÐèÒªµÄ·þÎñ
netstat -tnlp
Èç¹ûÊÇ×îС»¯°²×°µÄ£¬³ýÁËssh,httpd,mysqldÖ®Íâ²»»áÓÐʲô¡£ssh²»ÐèÒª¹Øµô¡£
ËÄ.ÅäÖÃÍøÂç
ÒòΪÊDzâÊÔ£¬°²×°¹ý³ÌÖÐÑ¡Ôñdhcp£¬ÏÖÔÚÅäÖÃһϣ¬»¹¿ÉÒÔ¸ü¼ÓÊìϤ¡£
Hostname *****.3322.org £¨ÔÚÏ£ÍøÉêÇëµÄ¶¯Ì¬ÓòÃû£¬ÈÔȻʹÓÃĬÈÏÖ÷»úÃûÒ²¿ÉÒÔ¡££©
IP: 192.168.0.153
Netmask 255.255.255.0
Network 192.168.0.0
Broadcast 192.168.0.255
Gateway 192.168.0.1
ÁªÍ¨dns 202.106.46.151, 202.106.195.68
1.ÐÞ¸ÄÖ÷»úÃû
vim /etc/sysconfig/network
2.ÐÞ¸ÄÍøÂç²ÎÊý
1£©
vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=************
Ïà¹ØÎĵµ£º
Linux ½ø³Ì¼äͨÐÅѧϰ
1.Linux ¼ä½ø³ÌͨÐŵķÖÀà
1. ¹ÜµÀͨÐÅ£¨pipe£©ºÍÃü ......
http://blog.csdn.net/jenshy/archive/2006/04/18/667944.aspx
(Ò»)LinuxÍøÂç±à³Ì--ÍøÂç֪ʶ½éÉÜ
LinuxÍøÂç±à³Ì
--
ÍøÂç֪ʶ½éÉÜ
¿Í»§¶ËºÍ·þÎñ¶Ë
ÍøÂç³ÌÐòºÍÆÕͨµÄ³ÌÐòÓÐÒ»¸ö×î´óµÄÇø±ðÊÇÍøÂç³ÌÐòÊÇÓÉÁ½¸ö²¿·Ö×é³ÉµÄ
--
¿Í»§¶ËºÍ·þÎñÆ÷¶Ë
.
¿Í»§¶Ë
&nbs ......
ϵͳ£ºfedora core 5
·þÎñÆ÷¶Ë³ÌÐò£º
/* server */
#include <stdio.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <netdb.h>
#include <unistd.h>
#include <string.h>
#inclu ......
ÏÂÔØVMWare½âѹºó¸ù¾ÝÌáʾÕý´¥°²×°VMWareµ½Ó²ÅÌÖÐ
(1) ½¨Á¢ÐéÄâ»ú
A.ÓÃÊó±ê×ó½¨Ë«»÷×ÀÃæÖеÄ"VMware workstation"ͼ±ê£¬ÔËÐÐÐéÄâ»ú
B.½¨Á¢Ò»Ì¨ÐéÄâ»ú¡£µã»÷“FILE(Îļþ)”-“NEW(н¨)”--“NewVirtual Machine(
н¨ÐéÄâ»ú)”£¬µ¯³öÐéÄâ»ú´´½¨²Ëµ¥¡£
C.¸ù¾ÝÏòµ¼Ò»²½Ò»²½µØ´´½¨ÐéÄ ......
£Ö£É°üº¬²åÈëģʽ¡¢ÃüÁîģʽ¡¢¿ÉÊÓģʽ
²åÈëģʽÓë¼Çʱ¾ÀàËƵ«¾ßÓÐÎļþʶ±ð¹¦Äܿɸù¾ÝÎļþµÄºó׺ÃûʹÓÃÏàÓ¦µÄÅÅ°æģʽ¡£
ÃüÁîģʽ¿É½øÐÐ×Ö·û´®µÄ²éÕÒ¡¢Ìæ»»µÈ²Ù×÷£¬¿ì½Ý¼ü±È½Ï¼òµ¥ºÃ¼Ç£¬¿É×Ô¶¨Òå¿ì½Ý¼ü£¬¿É½«Ò»Ð©¸´ÔÓµÄÃüÁÒåΪһ¸ö¼üÅ̲Ù×÷£¬¾ßÌå°´¸öÈËÏ°¹ß£¬ÐèÒªÊì¶Á.vim½Å±¾
¿ÉÊÓģʽ¿É½øÐÐÎı¾¿éµÄ²Ù×÷£¬Èç¼ôÇС¢ ......