{"id":1015,"date":"2012-08-31T06:54:33","date_gmt":"2012-08-31T02:54:33","guid":{"rendered":"http:\/\/saradmin.ru\/?p=1015"},"modified":"2012-08-30T23:01:23","modified_gmt":"2012-08-30T19:01:23","slug":"%d0%ba%d0%be%d1%80%d0%be%d1%82%d0%ba%d0%be-%d0%b0%d0%bb%d0%b8%d0%b0%d1%81%d1%8b-%d0%b2-ubuntu","status":"publish","type":"post","link":"https:\/\/saradmin.ru\/?p=1015","title":{"rendered":"\u041a\u043e\u0440\u043e\u0442\u043a\u043e: \u0410\u043b\u0438\u0430\u0441\u044b \u0432 Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/saradmin.ru\/wp-content\/uploads\/console_150_80.png\" alt=\"\u0410\u043b\u0438\u0430\u0441\u044b \u0432 Ubuntu\" title=\"\u0410\u043b\u0438\u0430\u0441\u044b \u0432 Ubuntu\" width=\"150\" height=\"80\" class=\"alignleft size-full wp-image-756\" \/>\u0412\u0441\u0435, \u043a\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Ubuntu, \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u0425\u043e\u0440\u043e\u0448\u043e, \u0447\u0442\u043e \u0432 bash-\u0435 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0436\u0430\u0442\u044c Ctrl+R \u0438, \u0432\u0432\u0435\u0434\u044f \u0447\u0430\u0441\u0442\u044c \u0431\u0443\u043a\u0432, \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0440\u0430\u043d\u0435\u0435 \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043d\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0435\u0451 \u0437\u0430\u043d\u043e\u0432\u043e. \u041d\u043e \u0434\u0430\u0436\u0435 \u044d\u0442\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e, \u0438\u043d\u043e\u0433\u0434\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u0440\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435.<br \/>\n\u0412 Ubuntu \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u0430\u043b\u0438\u0430\u0441\u044b (alias) &#8212; \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u044b \u0438\u043b\u0438 \u0441\u0438\u043d\u043e\u043d\u0438\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0439 \u043a \u0430\u043f\u0430\u0447\u0443, \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u044b<br \/>\n<code>tailf \/var\/log\/apache2\/access.log<\/code>\u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e<br \/>\n<code>monitor<\/code><br \/>\n\u0418\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u043e<br \/>\n<code>sudo apt-get install mc<\/code>\u043f\u0440\u043e\u0441\u0442\u043e<br \/>\n<code>install mc<\/code><br \/>\n\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432 \u043b\u044e\u0431\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 \u0444\u0430\u0439\u043b <em><strong>~\/.bashrc<\/strong><\/em> \u0438 \u043f\u0440\u0430\u0432\u0438\u043c \u0435\u0433\u043e, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044f \u0432 \u043a\u043e\u043d\u0435\u0446 \u043d\u0430\u0448\u0438 \u0430\u043b\u0438\u0430\u0441\u044b \u0432 \u0432\u0438\u0434\u0435<\/p>\n<p><code>alias monitor='sudo tail -f \/var\/log\/apache2\/access.log'<br \/>\nalias install='sudo apt-get install'<\/code><\/p>\n<p>\u0418 \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u0432 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438, \u043d\u0430\u0431\u0440\u0430\u0432 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438<br \/>\n<code>source ~\/.bashrc<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u0430\u043b\u0438\u0430\u0441\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0431\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432<br \/>\n<code>alias<\/code><\/p>\n<p>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0430\u043b\u0438\u0430\u0441 \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<br \/>\n<code>unalias <em>\u0438\u043c\u044f_\u0430\u043b\u0438\u0430\u0441\u0430<\/em><\/code><\/p>\n<p>\u041f\u043e\u0445\u043e\u0436\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f: <a href=\"https:\/\/saradmin.ru\/?p=574\" title=\"\u0421\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u043a\u043e\u043c\u0430\u043d\u0434 \u0432 Linux\">\u0421\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u043a\u043e\u043c\u0430\u043d\u0434 \u0432 Linux<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0441\u0435, \u043a\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Ubuntu, \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u0425\u043e\u0440\u043e\u0448\u043e, \u0447\u0442\u043e \u0432 bash-\u0435 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0436\u0430\u0442\u044c Ctrl+R \u0438, \u0432\u0432\u0435\u0434\u044f \u0447\u0430\u0441\u0442\u044c \u0431\u0443\u043a\u0432, \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0440\u0430\u043d\u0435\u0435 \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043d\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0435\u0451 \u0437\u0430\u043d\u043e\u0432\u043e. \u041d\u043e \u0434\u0430\u0436\u0435 \u044d\u0442\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e, \u0438\u043d\u043e\u0433\u0434\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u0440\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435. \u0412 Ubuntu \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[26],"tags":[149,30,148,589,28,49,44],"class_list":["post-1015","post","type-post","status-publish","format-standard","hentry","category-linux","tag-alias","tag-apache","tag-console","tag-linux","tag-ubuntu","tag-49","tag-44"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2HrGV-gn","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/saradmin.ru\/index.php?rest_route=\/wp\/v2\/posts\/1015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/saradmin.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/saradmin.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/saradmin.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/saradmin.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1015"}],"version-history":[{"count":8,"href":"https:\/\/saradmin.ru\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions"}],"predecessor-version":[{"id":1021,"href":"https:\/\/saradmin.ru\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions\/1021"}],"wp:attachment":[{"href":"https:\/\/saradmin.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/saradmin.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/saradmin.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}