Linux·þÎñÆ÷ά»¤µÄ¼¸¸öÔÔò
Linux·þÎñÆ÷ËäÈ»Ïà¶ÔÀ´Ëµ±ÈWindwos·þÎñÆ÷ÒªÎȶ¨Ó밲ȫ¡£µ«ÊÇÎȶ¨°²È«µÄLinux·þÎñÆ÷£¬ÈÔÈ»Àë²»¿ªºÏÀíµÄ¼°Ê±µÄά»¤¹¤×÷¡£
¡¡¡¡Ò»¡¢ÈÃÈí¼þ°ü±£³Ö×îеİ汾
¡¡¡¡Linux·þÎñÆ÷µÄÈí¼þ°üÒ²ÈçͬWindwos²Ù×÷ϵͳµÄ²¹¶¡Ò»ÑùÔÚ²»¶ÏµÄÉý¼¶¡£Linux·þÎñÆ÷Èí¼þµÄÉý¼¶Ö÷ÒªÓÐÁ½¸öÄ¿µÄ¡£Ò»ÊÇÔöÇ¿Èí¼þµÄ¹¦ÄÜ£¬¶þÊǽâ¾öһЩÒÑÖªµÄ°²È«Â©¶´¡£ÈçRedHat¹«Ë¾ÔÚÖªµÀÐµİ²È«Â©¶´Ö®ºó£¬¾Í»áÂíÉÏÑо¿¿ª·¢³öÏàÓ¦µÄ½â¾ö·½°¸£¬È»ºóÔÙа汾µÄÈí¼þ°üÖнøÐнâ¾ö¡£Îª´Ëϵͳ¹ÜÀíÔ±±ØÐëÒª¼°Ê±µÄÁ˽âÈí¼þ°üµÄ×îÐÂÐÅÏ¢²¢¼°Ê±µÄ¶ÔÈí¼þ°ü½øÐÐÉý¼¶£¬ÈÃÈí¼þ°ü±£³Ö×îеİ汾¡£
¡¡¡¡ÄÇôϵͳ¹ÜÀíÔ±¸ÃÈçºÎÖªµÀ×îеÄÈí¼þ°æ±¾Ó밲ȫ©¶´ÄØ£¿±ÊÕßÍƼöÉÏͼËùʾµÄRedHat¹«Ë¾µÄÒ»¸öÖ§³ÖÍøÕ¾¡£Í¨³£Çé¿öÏ£¬RedHat¹«Ë¾Ôڵõ½°²È«Â©¶´µÄ֪ͨºó£¬»áÔÚ×î¶Ìʱ¼äÄÚÕÒµ½Ïà¹ØµÄ½â¾ö·½°¸£¬²¢ÔÚÕâ¸ö¼¼ÊõÖ§³Öƽ̨ÉϽøÐй«²¼²¢Á¬½Ó×îа汾µÄÈí¼þ°üÏÂÔصØÖ·¡£Ò»°ãÀ´Ëµ90%ÒÔÉϵÄLinux²Ù×÷ϵͳϵÄÈí¼þ×îа汾¿ÉÒÔÔÚÕâ¸öÍøÕ¾ÉÏÕÒµ½¡£ËùÒÔϵͳ¹ÜÀíÔ±ÐèҪÿÌìÈ¥¹Ø×¢Ò»ÏÂÕâ¸öÍøÕ¾£¬ÒÔÁ˽âÈí¼þ°ü×îеİ汾ÐÅÏ¢Ó밲ȫ©¶´ÐÅÏ¢¡£ÔÚ±ØÒªµÄÇé¿öÏ£¬¼°Ê±¶ÔÈí¼þ°ü½øÐÐÉý¼¶¡£
¡¡¡¡¶þ¡¢´´½¨ÈíÅÌÆô¶¯ÅÌ
¡¡¡¡ËäÈ»ÏÖÔÚÈíÅÌÓõÄÔ½À´Ô½ÉÙ£¬µ«ÊÇÔÚһЩ´óÐ͵ķþÎñÆ÷ÖУ¬ÈçIBMµÄ·þÎñÆ÷ÖÐÈÔÈ»ÁôÓÐÈíÇý¡£ÕâÖ÷ÒªÊÇÒòΪÓÐʱºòͨ¹ýÈíÇý¿ÉÒÔ½â¾öһЩ¸´ÔÓµÄÎÊÌ⡣Ϊ´ËÔÚ²¿ÊðÍê±ÏLinux·þÎñÆ÷Ö®ºó£¬×îºÃÄܹ»½¨Á¢Ò»ÕÅÈíÅÌÆô¶¯ÅÌ£¬ÔÚ²»Ê±Ö®ÐèµÄʱºò¿ÉÒÔÓÃËüÀ´¾È¼±¡£
¡¡¡¡ÈçÓÐʱºòϵͳ¹ÜÀíÔ±ÔÚ°²×°¹ý³ÌÖпÉÄÜ»áÓöµ½Ò»Ð©ÄªÃûÆäÃîµÄÎÊÌ⣬Èç°²×°Á˺öà´Î¶¼ÔÚÖм俨סÁË£¬ÎÞ·¨°²×°³É¹¦¡£ÕâºÜÓпÉÄÜÊÇÒòΪ°²×°¾µÏñµÄÎÊÌâ¡£´Ëʱϵͳ¹ÜÀíÔ±¾ÍÐèÒªÒ»¸öÐÞÕý¹ýµÄÈíÅ̾µÏñ¡£ËäÈ»ÕâÖÖÇé¿ö±È½ÏÉÙ¼û£¬µ«ÊÇÔÚ²¿Êð±È½Ï´óÐ͵ķþÎñÆ÷ʱ»¹ÊDZȽÏÈÝÒ×Óöµ½µÄ¡£µ±Óöµ½ÕâÖÖÇé¿öµÄʱºò£¬ÏµÍ³¹ÜÀíÔ±²»ÒªÃ¤Ä¿µÄÈ¥ÖØÐÂÏÂÔØ°²×°¾µÏñ»òÕß²ÉÈ¡ÆäËû·Ñʱ·ÑÁ¦µÄ¶¯×÷£¬¿ÉÒÔÏȲÉÓñê×¼µÄ°²×°ÈíÅÌÀ´Æô¶¯°²×°¿´¿´¡£»òÐí¾Í¿ÉÒÔ½â¾ö°²×°¹ý³ÌÖеĹÊÕÏÁË¡£
¡¡¡¡ÕýÊÇÒòΪÈíÅÌÆô¶¯ÅÌÔÚLinux·þÎñÆ÷ά»¤Öл¹¾ßÓкÜÖØÒªµÄµØλ£¬Îª´ËRedHatÒ²ÌṩÁËÐí¶à´´½¨ÈíÅÌÆô¶¯Å̵ķ½·¨¡£ÈçÔÚ°²×°¹ý³ÌÖд´½¨ÈíÅÌÆô¶¯Å̵ȵȡ£ÕâЩÆô¶¯Å̵Ĵ´½¨·½·¨±È½Ï³£¹æ£¬±ÊÕßÒ²¾Í²»Õ¹¿ªÃèÊöÁË¡£±ÊÕßÔÚÕâÀïÊÇÒª¸ú´ó¼Ò½éÉÜÒ»¸öÔÚWindows»·¾³Ï´´½¨ÈíÅÌÆô¶¯Å̵ķ½·¨¡£ÕâÖ÷ÒªÊÇÒòΪ´ó²¿·Öϵͳ¹ÜÀíÔ±Êֱ߻¹ÊÇÓÐһ̨Windwos²Ù×÷ϵͳµÄµçÄÔ¡£¶øÖ»ÊÇ°ÑLinux²Ù×÷ϵͳµ±×÷·þÎñÆ÷À´Ê¹Ó᣶ø·þÎñÆ÷·ÅÖÃÔڹ̶¨µÄµØ·½£¬ÓÐЩÉõÖÁûÓÐÅä
Ïà¹ØÎĵµ£º
¹ØÓÚlinuxµÄÎļþȨÏÞ£¬Á˽âһϵļ¸¸öÒªµã¾ÍÐÐÁË£¬Ê×ÏÈlinuxÓÐÓû§×éµÄ¸ÅÄÿ¸öÓû§×éÓ÷ÖÅäÓÐÒ»¸öid,ÓÃÓÚΨһµÄ±êʶ£¬¿ÉÒÔÓÃÓÚ·½±ãÖ¸¶¨´ËÓû§×éÖеÄÓû§²Ù×÷ijЩÎļþµÄȨÏÞ¡£Í¬Ñùÿ¸öÓû§Ò²ÓµÓÐÒ»¸öÓû§id£¬ÓÃÓÚΨһ±êʶÓû§£¬¶ø¶ÔÓÚÿ¸öÎļþÓà ls -l -a ¾Í¿ÉÒÔÏÔʾµ±Ç°Ä¿Â¼ÏÂÃæËùÓеÄÎļþÎļþ¼ÐµÄÏêϸÐÅÏ¢¡£ÀýÈ磺ÎÒÃÇÔ ......
Èç¹ûÊÇÒÔtarballÐÎʽ°²×°°²×°£¬È¥rar
ÍøÕ¾ÏÂÔØÏàÓ¦°æ±¾µÄtarball¡£µØַΪ
http://www.rarlab.com/
ÒÔ3.8°æ±¾ÎªÀý£¬Èç¹ûÊÇi386µÄƽ̨,Ö´ÐÐÒÔÏÂÃüÁ
$wget http://www.rarlab.com/rar
/rarlinux-3.8.0.tar.gz
rar
Èí¼þ²»ÐèÒª°²×°£¬Ö±½Ó½âѹµ½/usr/localÏ£¬ÒÔϲÙ×÷ÐèÒªÓÐroot
ȨÏÞ¡£
#tar zxvf rarlinux-3.8.0 ......
1.¶¨Ò庯ÊýÖ¸ÕëÀàÐÍ
Òª¸ù¾Ý¶¯Ì¬¿âÖÐҩʹÓõĺ¯Êý£¬ÔÚÍâÃ涨ÒåͬÑùÀàÐ͵ĺ¯ÊýÖ¸ÕëÀàÐÍ£¬¹©ÒÔºóʹÓÃ
typedef unsigned long(*POpenDev)(IN unsigned long int);
2. ¶¨Ò庯ÊýÖ¸Õë
POpenDev OpenDev;
3.¶¯Ì¬¼ÓÔض¯Ì¬¿â
HANDLE sohandle = NULL;
sohandle = dlopen("libNiKeyDll.so", RTLD_NOW);
......
Linuxϳ£ÓÃѹËõ¸ñʽµÄѹËõÓë½âѹ·½·¨
---------------------------------------------
.tar
´ò°ü£ºtar cvf *.tar *.*(ÔÎļþ»òĿ¼)
½â°ü£ºtar xvf *.tar
---------------------------------------------
.gz
½âѹ1£ºgunzip *.gz
½âѹ2£ºgzip -d *.gz
ѹËõ£ºgzip *.*(ÔÎļþ»òĿ¼)
--------------------------- ......
ɱËÀ½ø³Ì×ȫµÄ·½·¨Êǵ¥´¿Ê¹ÓÃkillÃüÁ²»¼ÓÐÞÊηû£¬²»´ø±êÖ¾¡£Ê×ÏÈʹÓÃps -efÃüÁîÈ·¶¨ÒªÉ±ËÀ½ø³ÌµÄPID£¬È»ºóÊäÈëÒÔÏÂÃüÁ
# kill pid
×¢ÊÍ£º±ê×¼µÄkillÃüÁîͨ³£¶¼ÄܴﵽĿµÄ£¬ÏÔʾZ״̬µÄ½ø³ÌÒѾËÀÍö¡£ÖÕÖ¹ÓÐÎÊÌâµÄ½ø³Ì£¬²¢°Ñ½ø³ÌµÄ×ÊÔ´ÊͷŸøϵͳ¡£È»¶ø£¬Èç¹û½ø³ÌÆô¶¯ÁË×Ó½ø³Ì£¬Ö ......