{"id":122,"date":"2009-10-28T15:04:43","date_gmt":"2009-10-28T07:04:43","guid":{"rendered":"http:\/\/sashakrasnoyarsk.ru\/?p=122"},"modified":"2009-12-17T16:27:02","modified_gmt":"2009-12-17T09:27:02","slug":"questions-and-hints-about-linux-software-%d1%88%d0%bb%d1%8e%d0%b7-%d0%b2-%d0%b8%d0%bd%d1%82%d0%b5%d1%80%d0%bd%d0%b5%d1%82-%d0%bd%d0%b0-%d0%b1%d0%b0%d0%b7%d0%b5-ubuntu","status":"publish","type":"post","link":"https:\/\/sashakrasnoyarsk.ru\/?p=122","title":{"rendered":"Questions and Hints about Linux software: \u0428\u043b\u044e\u0437 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043d\u0430 \u0431\u0430\u0437\u0435 Ubuntu"},"content":{"rendered":"<p>src: http:\/\/forum.ubuntu.ru\/index.php?topic=3244.0<br \/>\ntitle: \u0428\u043b\u044e\u0437 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 Ubuntu-Server<!--more--><br \/>\n1.\u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432:<br \/>\nsudo apt-get update<br \/>\nsudo apt-get upgrade<br \/>\n\u0415\u0441\u043b\u0438 \u043d\u0430\u0434\u043e, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440:<br \/>\nsudo reboot<br \/>\n\u0415\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u0438, \u0435\u0449\u0435 \u0440\u0430\u0437 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c:<br \/>\nsudo apt-get upgrade<br \/>\n2.\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c squid:<br \/>\nsudo apt-get install squid<br \/>\n\u0418\u0434\u0435\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \/etc\/squid\/squid.conf, \u0438\u0449\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<br \/>\n&#8212;code&#8212;<br \/>\n&#8230;<br \/>\nhttp_port 3128 #&lt;&lt;&lt; \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<br \/>\n&#8230;<br \/>\ncache_dir ufs \/var\/spool\/squid 100 16 256 #&lt;&lt;&lt; \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<br \/>\n&#8230;<br \/>\nacl our_networks src 192.168.0.0\/24 #&lt;&lt;&lt; \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<br \/>\nhttp_access allow our_networks #&lt;&lt;&lt; \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<br \/>\n&#8230;<br \/>\nvisible_hostname proxy.localdomain #&lt;&lt;&lt; \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0447\u043a\u0443, \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u0437\u0430\u043c\u0435\u043d \u0441\u0442\u0440\u043e\u043a\u0438 2161<br \/>\n&#8230;<br \/>\n&#8212;code&#8212;<br \/>\n\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c squid:<br \/>\nsudo \/etc\/init.d\/squid restart<\/p>\n","protected":false},"excerpt":{"rendered":"<p>src: http:\/\/forum.ubuntu.ru\/index.php?topic=3244.0 title: \u0428\u043b\u044e\u0437 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 Ubuntu-Server<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,67,6,66,75,7,21],"tags":[],"class_list":["post-122","post","type-post","status-publish","format-standard","hentry","category-linux","category-linux-qh","category-pc","category-qh","category-software-linux-qh-qh","category-software","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=122"}],"version-history":[{"count":3,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}