ÔõÑù¾ÙÐÐLinuxϵͳµÄÈí¼þ×°ÖúÍÉý¼¶
LinuxϵͳÊÇÏÖÔÚ×îÊ¢ÐеIJÙ×÷ϵͳ֮һ£¬ËüÔÚ×ÀÃæºÍЧÀÍÆ÷ÁìÓò¶¼ÓÐÆÕ±éÓ¦Óá£ÔÚLinuxϵͳÖУ¬Èí¼þµÄ×°ÖúÍÉý¼¶ÊǺÜÊÇÖ÷ÒªµÄ²Ù×÷£¬Ò²ÊÇÐí¶àÐÂÊÖÓû§¸ÐÓ¦ÒÉÐĵĵط½¡£±¾ÎĽ«¼òÒªÏÈÈÝLinuxϵͳµÄÈí¼þ×°ÖúÍÉý¼¶ÒªÁ죬²¢ÌṩһЩÏêϸµÄ´úÂëʾÀý£¬Ï£ÍûÄܹ»×ÊÖú³õѧÕ߸üºÃµØÕÆÎÕÕâЩ»ù´¡ÖªÊ¶¡£
Ò»¡¢Èí¼þ×°ÖÃ
ÔÚLinuxϵͳÖУ¬Èí¼þ×°ÖõÄÖ÷Òª·½·¨ÓÐÈýÖÖ£ºÔ´´úÂë±àÒë×°Öᢰü¹ÜÀíÆ÷×°ÖúͶþ½øÖÆ°ü×°Öá£ÏÂÃæ»®·Ö¾ÙÐÐÏÈÈÝ¡£
Ô´´úÂë±àÒë×°ÖÃ
Ô´´úÂë±àÒë×°ÖÃÊÇ×îÎÞа¡¢×îͨÓõÄÈí¼þ×°Ö÷½·¨£¬ËüÊÊÓÃÓÚËùÓÐLinuxϵͳ¡£¿ÉÊÇÔ´´úÂë±àÒë×°ÖÃÐèÒªÓû§ÊÖ¶¯ÏÂÔØÔ´´úÂë°ü¡¢¾ÙÐбàÒë¡¢×°Ö㬲¢´¦Öóͷ£ÒÀÀµ¹ØϵµÈÎÊÌ⣬Ïà¶Ô·±Ëö¡£ÏÂÃæÒÔ×°ÖÃNginxЧÀÍÆ÷ΪÀý¾ÙÐÐÏÈÈÝ£º
£¨1£©ÏÂÔØÔ´´úÂë°ü¡£¿ÉÒÔ´Ó¹ÙÍø£¨https://nginx.org£©»òÆäËû¾µÏñÕ¾µãÏÂÔØ¡£
£¨2£©½âѹԴ´úÂë°ü¡£½øÈëÏÂÔصÄĿ¼£¬Ö´ÐÐÒÔÏÂÏÂÁ
tar xvf nginx-1.18.0.tar.gz
£¨3£©×°ÖñàÒ빤¾ßºÍÒÀÀµ¹Øϵ¡£ÒªÔÚLinuxϵͳÉϱàÒëÔ´´úÂë°ü£¬ÐèҪװÖÃһЩ±àÒ빤¾ßºÍÒÀÀµ¹Øϵ£¬Èçgcc¡¢make¡¢perlµÈ¡£¿ÉÒÔʹÓðü¹ÜÀíÆ÷×°Öãº
sudo apt-get install build-essential
sudo apt-get install libpcre3 libpcre3-dev zlib1g zlib1g-dev libssl-dev
£¨4£©ÉèÖᢱàÒëºÍ×°Ö᣽øÈë½âѹºóµÄnginxĿ¼£¬Ö´ÐÐÒÔÏÂÏÂÁ
./configure
make
sudo make install
°ü¹ÜÀíÆ÷×°ÖÃ
LinuxϵͳÖг£Óõİü¹ÜÀíÆ÷ÓÐAPT¡¢YUM¡¢rpmµÈ£¬ËüÃÇÌṩÁËÀû±ãµÄÈí¼þ×°ÖúÍÉý¼¶·½·¨¡£ÒÔAPTΪÀý£¬ÎÒÃÇ¿ÉÒÔʹÓÃapt-getÏÂÁî¾ÙÐÐÈí¼þ×°Öã¬ÈçÏ£º
sudo apt-get update
sudo apt-get install nginx
¶þ½øÖÆ°ü×°ÖÃ
¶þ½øÖÆ°ü×°ÖÃÊÇÒ»ÖÖ¼òÆÓ¿ì½ÝµÄÈí¼þ×°Ö÷½·¨£¬¹ØÓÚһЩʢÐеÄÈí¼þ£¨ÈçChromeä¯ÀÀÆ÷¡¢SteamÓÎϷƽ̨µÈ£©ÓкܺõÄÖ§³Ö¡£Í¨³£¹ÙÍø»áÌṩ¶þ½øÖÆ°ü£¨Í¨³£ÊÇ.tar.gz»ò.debÃûÌã©£¬ÏÂÔغó½âѹ»ò×°Öü´¿É¡£ÏÂÃæÒÔ×°ÖÃGoogle Chromeä¯ÀÀÆ÷ΪÀý¾ÙÐÐÏÈÈÝ£º
£¨1£©ÏÂÔضþ½øÖÆ°ü¡£¿ÉÒÔ´Ó¹ÙÍø£¨https://www.google.com/chrome/£©ÏÂÔØÊÊÓÃÓÚLinuxµÄ.deb°ü¡£
£¨2£©×°ÖÃÒÀÀµ¹Øϵ¡£Chromeä¯ÀÀÆ÷ÐèÒªÒÀÀµÒ»Ð©ÏµÍ³¿â£¬Òò´ËÐèÒªÏȾÙÐÐ×°Öãº
sudo apt-get install libxss1 libappindicator1 libindicator7
£¨3£©×°ÖÃÈí¼þ¡£½øÈëÏÂÔØĿ¼£¬Ö´ÐÐÒÔÏÂÏÂÁ
sudo dpkg -i google-chrome-stable_current_amd64.deb
¶þ¡¢Èí¼þÉý¼¶
Èí¼þÉý¼¶ÊÇLinuxϵͳÖг£¼ûµÄ²Ù×÷£¬Ëü¿ÉÒÔÐÞ¸´Îó²î¡¢¸ÄÉÆÐÔÄÜ¡¢¸üй¦Ð§µÈ¡£Èí¼þÉý¼¶µÄÖ÷Òª·½·¨ÊÇ°ü¹ÜÀíÆ÷Éý¼¶£¬ÏÂÃæÒÔAPTΪÀý¾ÙÐÐÏÈÈÝ¡£
¸üÐÂÈí¼þÔ´
ÔÚ¾ÙÐÐÈí¼þÉý¼¶Ç°£¬ÐèÒªÏȸüÐÂÈí¼þÔ´ÐÅÏ¢¡£Ö´ÐÐÒÔÏÂÏÂÁ
sudo apt-get update
¼ì²é¿ÉÓøüÐÂ
Ö´ÐÐÒÔÏÂÏÂÁÁгö¿ÉÓøüУº
sudo apt-get upgrade
¸ÃÏÂÁÁгöϵͳÖÐËùÓпÉÓøüеÄÈí¼þ°üÁÐ±í¡£
Ö´ÐиüÐÂ
Ö´ÐÐÒÔÏÂÏÂÁ¶ÔËùÓÐÈí¼þ°ü¾ÙÐиüУº
sudo apt-get dist-upgrade
ÈôÊǸüÐÂÀú³ÌÖÐÓÐÌáÐÑ£¬Çëƾ֤ÌáÐѾÙÐвÙ×÷¡£
ÈôÊÇÖ»Ïë¸üÐÂij¸öÈí¼þ°ü£¬¿ÉÒÔÖ´ÐÐÒÔÏÂÏÂÁ
sudo apt-get upgrade packagename
Ò²¿ÉÒÔͨ¹ý°ü¹ÜÀíÆ÷×Ô´øµÄͼÐνçÃæ¾ÙÐÐÈí¼þÉý¼¶¡£²î±ðµÄ°ü¹ÜÀíÆ÷Óвî±ðµÄͼÐνçÃ棬ÈçAPTÓÐSynaptic¡¢Software CenterµÈ£¬¿ÉÒÔƾ֤×Ô¼ºµÄϲ»¶Ñ¡Ôñ¡£
×ܽá
±¾ÎÄÏÈÈÝÁËLinuxϵͳÖÐÈí¼þ×°ÖúÍÉý¼¶µÄÒªÁ죬²¢ÌṩÁËһЩÏêϸµÄ´úÂëʾÀý¡£ËäÈ»¸÷¸öLinux¿¯ÐаæµÄ°ü¹ÜÀíÆ÷ºÍÏÂÁîÂÔÓвî±ð£¬µ«Æä»ù´¡²Ù×÷ÊÇÀàËƵģ¬Ï£Íû¶ÁÕß¿ÉÒÔͨ¹ý±¾ÎÄѧϰµ½»ù±¾µÄÊÖÒÕ£¬¸üºÃµØÖÎÀí×Ô¼ºµÄLinuxϵͳ¡£
ÒÔÉϾÍÊÇÔõÑù¾ÙÐÐLinuxϵͳµÄÈí¼þ×°ÖúÍÉý¼¶µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡