linuxÏÂÈí¼þµÄ»ù±¾°²×°ºÍжÔØ
LinuxÈí¼þµÄ°²×°ºÍжÔØÒ»Ö±ÊÇÀ§ÈÅÐí¶àÐÂÓû§µÄÄÑÌâ¡£ÔÚWindowsÖУ¬ÎÒÃÇ¿ÉÒÔʹÓÃÈí¼þ×Ô´øµÄ°²×°Ð¶ÔسÌÐò»òÔÚ¿ØÖÆÃæ°åÖеēÌí¼Ó/ɾ³ý³Ì
Ðò”À´ÊµÏÖ¡£ÓëÆäÏàÀàËÆ£¬ÔÚ²»Í¬Linux·¢ÐаæÏÂÒ²Óй¦ÄÜÇ¿´óµÄÈí¼þ°²×°Ð¶Ôع¤¾ß£¨Èí¼þ°ü¹ÜÀíÆ÷£©£¬ÈçRedHat/FedoraϵÁоÍÓÐÃûΪRPMµÄ
¹ÜÀíÆ÷ÒÔ¼°Í¼ÐνçÃæµÄÈí¼þ°ü¹ÜÀíÆ÷¡£Ëü¿ÉÒÔÓÃÀ´½¨Á¢¡¢°²×°¡¢²éѯ¡¢¸üС¢Ð¶ÔØÈí¼þ¡£
Èí¼þµÄ°²×°
LinuxÏÂÈí¼þµÄ°²×°Ö÷ÒªÓÐÁ½ÖÖ²»Í¬µÄÐÎʽ¡£µÚÒ»ÖÖ°²×°ÎļþÃûΪxxx.tar.gzÖ®ÀàµÄѹËõ°ü£»ÁíÒ»ÖÖ°²×°ÎļþÃûΪxxx.rpmµÄ°²×°°ü¡£ÒÔµÚÒ»ÖÖ·½Ê½·¢ÐеÄÈí¼þ¶àΪÒÔÔ´ÂëÐÎʽ·¢Ë͵ģ»µÚ¶þÖÖ·½Ê½ÔòÊÇÖ±½ÓÒÔ¶þ½øÖÆÐÎʽ·¢Ë͵ġ£
¶ÔÓÚµÚÒ»ÖÖ£¬°²×°·½·¨ÈçÏ£º
1 .Ê×ÏÈ£¬½«°²×°Îļþ¿½±´ÖÁÒ»¸ö±àÒëĿ¼ÖС£½¨ÒéÑ¡Ôñ·Åµ½ /usr/srcÏ¡£
#cp xxx.tar.gz /usr/src/
2 .ÓÉÓÚ¸ÃÎļþÊDZ»Ñ¹Ëõ²¢´ò°üµÄ,Ó¦¶ÔÆä½âѹËõ¡£ÃüÁîΪ£º
#tar xvzf filename.tar.gz
Èç¹ûÊÇfilename.tar.bz2¸ñʽµÄ£¬Ó¦¸ÃÓÃÈçÏÂÃüÁîÀ´½âѹ£º
#tar jxvf filename.tar.bz2
3. Ö´ÐиÃÃüÁîºó£¬°²×°Îļþ°´Â·¾¶£¬½âѹËõÔÚµ±Ç°Ä¿Â¼Ï¡£ÓÃlsÃüÁî¿ÉÒÔ¿´µ½½âѹËõºóµÄÎļþ¡£Í¨³£ÔÚ½âѹËõºó²úÉúµÄÎļþÖУ¬ÓÐÃûΪ“INSTALL”»ò“README”µÄÎļþ¡£¸ÃÎļþΪ´¿Îı¾Îļþ£¬Ïêϸ½²ÊöÁ˸ÃÈí¼þ°üµÄ°²×°·½·¨¡£
4.Ö´ÐнâѹËõºó²úÉúµÄÒ»¸öÃûΪconfigureµÄ¿ÉÖ´Ðнű¾³ÌÐò¡£ËüÊÇÓÃÓÚ¼ì²éϵͳÊÇ·ñÓбàÒëʱËùÐèµÄ¿â£¬ÒÔ¼°¿âµÄ°æ±¾ÊÇ·ñÂú×ã±àÒëµÄÐèÒªµÈ°²×°ËùÐèÒªµÄϵͳÐÅÏ¢¡£ÎªËæºóµÄ±àÒ빤×÷×ö×¼±¸¡£Äã¿ÉÒÔÊäÈëÈçÏÂÃüÁî²é¿´¿ÉÓõÄÅäÖÃÑ¡ÏîÀ´¶¨ÖƱàÒ룺
#./configure --help
²»Í¬µÄÈí¼þ³ýÁËһЩͨÓõÄÅäÖÃÑ¡ÏîÍ⣬ͨ³£»¹ÓÐһЩÌض¨µÄÅäÖÃÑ¡Ïî¡£
ÀýÈ磬Èç¹ûÄúÏë°ÑÈí¼þ°²×°µ½Ö¸¶¨Ä¿Â¼£¬Ó¦¸ÃÓÃ#./configure –prefix=Äú×Ô¼ºÖ¸¶¨µÄĿ¼£¬±ÈÈçÎÒÏë°ÑÒ»¸ömlterm°²×°µ½/opt/mltermĿ¼ÖУ¬Ó¦¸ÃÈçÏÂÊäÈë
#./configure –prefix=/opt/mlterm
5.¼ì²éͨ¹ýºó£¬½«Éú³ÉÓÃÓÚ±àÒëµÄMakeFileÎļþ¡£´Ëʱ£¬¿ÉÒÔ¿ªÊ¼½øÐбàÒëÁË¡£±àÒëµÄ¹ý³ÌÊÓÈí¼þµÄ¹æÄ£ºÍ¼ÆËã»úÐÔÄܵIJ»Í¬£¬ËùºÄ·ÑµÄʱ¼äÒ²²»Í¬¡£ÃüÁîΪ£º
#make¡£
6.³É¹¦±àÒëºó£¬¼üÈëÈçϵÄÃüÁʼ°²×°£º
#make install
ÖÁ´Ë£¬Èí¼þµÄ°²×°½áÊø¡£
¶ÔÓÚµÚ¶þÖÖ£¬Æä°²×°·½·¨Òª¼òµ¥µÃ¶à¡£
ͬµÚÒ»ÖÖ·½Ê½Ò»Ñù£¬½«°²×°Îļþ¿½±´ÖÁÄãµÄĿ¼ÖС£È»ºóʹÓÃrpmÀ´°²×°¸ÃÎļþ¡£ÃüÁîÈçÏ£º
#rpm -i filename.rpm
rpm½«×Ô¶¯½«°²×°Îļþ½â°ü£¬²¢½«Èí¼þ°²×°µ½È±Ê¡µÄĿ¼Ï¡£²¢½«Èí¼þµÄ°
Ïà¹ØÎĵµ£º
¡¡Èç¹ûÄãµÄ·þÎñÆ÷apache»¹Ã»Óа²×°£¬ÄǺܼòµ¥£¬ÔÚ±àÒëapacheʱ½«mod_rewriteÄ£¿é±àÒë½øÈ¥¾Í¿ÉÒÔ£¬Ïà¹ØÎĵµ¿ÉÒÔÔÚhttp://man.ddvip.com/soft/apache2.2/misc/rewriteguide.html
ÖÐÕÒµ½¡£Èç¹ûÄãµÄapacheÒѾ°²×°ºÃÁË£¬ÏÖÔÚÖ»Ïë±àÒë³ömod_rewrite.soÄ£¿é£¬ÔÚapacheÖнøÐмÓÔØ£¬ÏÂÃæÎÒÃǾͽéÉÜÕâ¸ö·½·¨¡£
¡¡¡¡ÒÔFedora² ......
¹¦ÄÜÃèÊö£º
ÔÚÏûÏ¢¶ÓÁÐÉϽøÐÐÊÕ·¢ÏûÏ¢¡£ÎªÁË·¢ËÍÏûÏ¢£¬µ÷Óýø³Ì¶ÔÏûÏ¢¶ÓÁбØÐëÓÐдȨÄÜ¡£½ÓÊÕÏûϢʱ±ØÐëÓжÁȨÄÜ¡£
Ó÷¨£º
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg);
ssize_t msgrcv ......
LinuxϵͳʡÂÔÊäÈëÓû§ÃûÃÜÂë(×Ö·û½çÃæÏ£©
1¡¢Ê¡ÂÔÃÜÂëÑéÖ¤
ºÜ¼òµ¥£¬Ö»Ðè°Ñ/etc/passwdÖеÄroot:x:0:0:root:/root:/bin/bash£¬¸ÄΪroot::0:0:root:/root:/bin/bash£¬¾Í¿ÉÒÔÁË£¬¾ÍÊÇÈ¥µôÁËÀïÃæµÄx£¬ÕâÑùrootÓû§¾Í²»ÓÃÃÜÂëÁË¡£ÆäËûÓû§Ò²Ò»Ñù¡£
2¡¢Ê¡ÂÔÊäÈëÓû§Ãû
(1)ÐÞ¸Ä/etc/inittab
ÔÚinittabÖУ¬ÓÐÈçÏÂÅä ......
1. ¼ì²éOracleµÄ½ø³Ì
$ ps -ef|grep "ora_"|grep -v grep
oracle 5998 1 0 11:15:59 ? 0:01 ora_j000_PPRD10
oracle 2968 1  ......
ÍøÂçÅäÖÃÎļþ LINUX ÔÚ °²×°ÖÐ »ù±¾µÄÅäÖà ¶¼ÒѾÍê³ÉÁË ¶¼ÒÔÎı¾·½Ê½ ±£´æÔÚ/etcĿ¼ÏÂ
.
ÍøÂçÅäÖÃÎļþ£º/etc/sysconfig/network
²é¿´ÃüÁ
[root@localhost ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=localhost.localdomai ......