Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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µÄÃüÁî×é³É

    ³õѧLinux£¬×öѧϰ±Ê¼ÇÖ®Óá£Ò²Çë¸ßÊÖÃǶà¶àÖ¸½Ì£¡
LinuxÃüÁî×é³É£ºshellÄÚ²¿ÃüÁî+shellÍⲿÃüÁî
shellÄÚ²¿ÃüÁ×î¼òµ¥×î³£ÓõÄÃüÁÔÚshellÆô¶¯Ê±½øÈëÄÚ´æ
shellÍⲿÃüÁ¶ÀÁ¢µÄ¿ÉÖ´ÐгÌÐò¡£ÊÇһЩʹÓù¤¾ß³ÌÐò
  
LinuxÃüÁîµÄ¸ñʽ£º
ÃüÁîÌå [Ñ¡Ïî] [ÃüÁîµÄ²ÎÊý£¬ÃüÁîµÄ¶ÔÏó]&n ......

LinuxÏÂÅäÖúÍʹÓÃACE±Ê¼Ç

1.  ÏÂÔØ ACE 5.7.
´Ó http://download.dre.vanderbilt.edu/ ÏÂÔØ ACE+TAO+CIAO-5.7.tar.gz°ü¡£
2.  ½âѹ
½«Ñ¹Ëõ°ücopyµ½linuxĿ¼/data/ACEÀȻºó½âѹ, tar -zxvf ACE+TAO+CIAO-5.7.tar.gz¡£
½âѹºóµÄĿ¼ÊÇ /data/ACE_wrappers.
3.  ÅäÖÃconfig.hºÍplatform_macros.GNU¡£
¹Ù·½ÎĵµÉÏÊÇÕâôдµÄ£º ......

proftpÔÚlinuxÏ°²×°ÅäÖÃÖ¸ÄÏ


proftpÔÚlinuxÏ°²×°ÅäÖÃÖ¸ÄÏ
Ò»¡¢°²×°»·¾³
¡ô Red Hat AS 5.0
¶þ¡¢°²×°°ü×¼±¸
¡ô proftpd-1.3.2.tar.gz
Èý¡¢Ð½¨Ä¿Â¼
¡ô /usr/app/
ËÄ¡¢°²×°²½Öè
¡ô Óû§£ºroot
¡ô ½«Ñ¹ËõÎļþ£ºproftpd-1.3.2.tar.gz¿½±´µ½/usr/app/ÏÂÃæ
¡ô ½âѹËõÎļþ
  #cd /usr/app/
  #tar –vzxf proftpd-1.3.2.tar.gz ......

¾Å¿îLinuxÎı¾±à¼­Æ÷

ÔªÀϼ¶µÄ¹¤¾ß
Emacs
KVIM
ÓÃÏÖ´úµÄ·½Ê½±àд´úÂë
Arachnophilia¡¡¡¡
Bluefish£ºBluefish±ê°ñÆä×ÔÉíÊÇ“Ò»¿îΪÊìÁ·µÄWebÉè¼ÆÔ±ºÍ³ÌÐòÔ±¶øÉèµÄ±à¼­Æ÷”¡£
Komodo Edit
NEdit
×Ö´¦ÀíµÄһЩѡÔñ
Gedit£ºÊÇLinux GNOME×ÀÃæÉÏÒ»¿îСÇɵÄÎı¾±à¼­Æ÷¡£
Kate
¼¯³ÉµÄ¹¤¾ß
Quanta Plus
Quanta Plus±ê°ñ×ÔÉíΪһ¸ ......

php strip_tagsº¯Êý

strip_tags
È¥µô HTML ¼° PHP µÄ±ê¼Ç¡£
Óï·¨: string strip_tags(string str);
·µ»ØÖµ: ×Ö·û´®
±¾º¯Êý¿ÉÈ¥µô×Ö·û´®Öаüº¬µÄÈκΠHTML ¼° PHP µÄ±ê¼Ç×Ö·û´®¡£ÈôÊÇ×Ö·û´®µÄ HTML ¼° PHP ±êÇ©Ô­À´¾ÍÓÐ´í£¬ÀýÈçÉÙÁË´óÓڵķûºÅ£¬ÔòÒ²»á·µ»Ø´íÎ󡣶ø±¾º¯ÊýºÍ fgetss() ÓÐ×ÅÏàͬµÄ¹¦ÄÜ
//×¢
strip Ó¢[strip]
vi. 1. Íѹâ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ