{"id":51531,"date":"2024-10-08T19:25:15","date_gmt":"2024-10-08T11:25:15","guid":{"rendered":"https:\/\/server.hk\/cnblog\/51531\/"},"modified":"2024-11-14T10:42:52","modified_gmt":"2024-11-14T02:42:52","slug":"ubuntu-17-10-%e5%ae%89%e8%a3%9d%e4%b9%8b%e5%be%8c%e9%9c%80%e8%a6%81%e5%81%9a%e7%9a%84-9-%e4%bb%b6%e4%ba%8b","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/51531\/","title":{"rendered":"Ubuntu 17.10 \u5b89\u88dd\u4e4b\u5f8c\u9700\u8981\u505a\u7684 9 \u4ef6\u4e8b"},"content":{"rendered":"<h1 id=\"ubuntu-17-10-%e5%ae%89%e8%a3%9d%e4%b9%8b%e5%be%8c%e9%9c%80%e8%a6%81%e5%81%9a%e7%9a%84-9-%e4%bb%b6%e4%ba%8b-ePyeUYzAxc\">Ubuntu 17.10 \u5b89\u88dd\u4e4b\u5f8c\u9700\u8981\u505a\u7684 9 \u4ef6\u4e8b<\/h1>\n<p>Ubuntu 17.10 \u662f\u4e00\u500b\u529f\u80fd\u5f37\u5927\u7684\u64cd\u4f5c\u7cfb\u7d71\uff0c\u9069\u5408\u5404\u7a2e\u7528\u9014\uff0c\u5f9e\u684c\u9762\u5230\u4f3a\u670d\u5668\u61c9\u7528\u3002\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u70ba\u4e86\u78ba\u4fdd\u7cfb\u7d71\u7684\u5b89\u5168\u6027\u548c\u6027\u80fd\uff0c\u4f7f\u7528\u8005\u9700\u8981\u9032\u884c\u4e00\u4e9b\u5fc5\u8981\u7684\u8a2d\u7f6e\u548c\u512a\u5316\u3002\u4ee5\u4e0b\u662f\u5b89\u88dd Ubuntu 17.10 \u4e4b\u5f8c\u9700\u8981\u505a\u7684\u4e5d\u4ef6\u4e8b\u3002<\/p>\n<h2 id=\"1-%e6%9b%b4%e6%96%b0%e7%b3%bb%e7%b5%b1-ePyeUYzAxc\">1. \u66f4\u65b0\u7cfb\u7d71<\/h2>\n<p>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u7b2c\u4e00\u4ef6\u4e8b\u5c31\u662f\u66f4\u65b0\u7cfb\u7d71\u3002\u9019\u53ef\u4ee5\u78ba\u4fdd\u4f60\u64c1\u6709\u6700\u65b0\u7684\u5b89\u5168\u88dc\u4e01\u548c\u529f\u80fd\u3002\u6253\u958b\u7d42\u7aef\u6a5f\uff0c\u8f38\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>sudo apt update\nsudo apt upgrade<\/code><\/pre>\n<h2 id=\"2-%e5%ae%89%e8%a3%9d%e5%bf%85%e8%a6%81%e7%9a%84%e6%87%89%e7%94%a8%e7%a8%8b%e5%bc%8f-ePyeUYzAxc\">2. \u5b89\u88dd\u5fc5\u8981\u7684\u61c9\u7528\u7a0b\u5f0f<\/h2>\n<p>\u6839\u64da\u4f60\u7684\u9700\u6c42\uff0c\u5b89\u88dd\u4e00\u4e9b\u5e38\u7528\u7684\u61c9\u7528\u7a0b\u5f0f\u3002\u4f8b\u5982\uff0c\u5c0d\u65bc\u958b\u767c\u8005\u4f86\u8aaa\uff0c\u53ef\u80fd\u9700\u8981\u5b89\u88dd Git \u548c\u7de8\u7a0b\u5de5\u5177\uff1a<\/p>\n<pre><code>sudo apt install git build-essential<\/code><\/pre>\n<h2 id=\"3-%e8%a8%ad%e5%ae%9a%e9%98%b2%e7%81%ab%e7%89%86-ePyeUYzAxc\">3. \u8a2d\u5b9a\u9632\u706b\u7246<\/h2>\n<p>\u5b89\u5168\u6027\u662f\u4f3a\u670d\u5668\u7ba1\u7406\u4e2d\u6700\u91cd\u8981\u7684\u90e8\u5206\u4e4b\u4e00\u3002\u4f7f\u7528 UFW\uff08Uncomplicated Firewall\uff09\u4f86\u8a2d\u5b9a\u9632\u706b\u7246\uff1a<\/p>\n<pre><code>sudo ufw enable\nsudo ufw allow ssh<\/code><\/pre>\n<p>\u9019\u6a23\u53ef\u4ee5\u78ba\u4fdd SSH \u9023\u63a5\u7684\u5b89\u5168\u6027\u3002<\/p>\n<h2 id=\"4-%e5%ae%89%e8%a3%9d-ssh-%e4%bc%ba%e6%9c%8d%e5%99%a8-ePyeUYzAxc\">4. \u5b89\u88dd SSH \u4f3a\u670d\u5668<\/h2>\n<p>\u5982\u679c\u4f60\u6253\u7b97\u9060\u7a0b\u7ba1\u7406\u4f60\u7684 Ubuntu \u7cfb\u7d71\uff0c\u5247\u9700\u8981\u5b89\u88dd SSH \u4f3a\u670d\u5668\uff1a<\/p>\n<pre><code>sudo apt install openssh-server<\/code><\/pre>\n<p>\u5b89\u88dd\u5f8c\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6aa2\u67e5 SSH \u4f3a\u670d\u5668\u7684\u72c0\u614b\uff1a<\/p>\n<pre><code>sudo systemctl status ssh<\/code><\/pre>\n<h2 id=\"5-%e8%a8%ad%e5%ae%9a%e8%87%aa%e5%8b%95%e6%9b%b4%e6%96%b0-ePyeUYzAxc\">5. \u8a2d\u5b9a\u81ea\u52d5\u66f4\u65b0<\/h2>\n<p>\u70ba\u4e86\u4fdd\u6301\u7cfb\u7d71\u7684\u5b89\u5168\u6027\uff0c\u5efa\u8b70\u8a2d\u5b9a\u81ea\u52d5\u66f4\u65b0\u3002\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88dd unattended-upgrades\uff1a<\/p>\n<pre><code>sudo apt install unattended-upgrades<\/code><\/pre>\n<p>\u7136\u5f8c\u555f\u7528\u81ea\u52d5\u66f4\u65b0\uff1a<\/p>\n<pre><code>sudo dpkg-reconfigure --priority=low unattended-upgrades<\/code><\/pre>\n<h2 id=\"6-%e5%ae%89%e8%a3%9d%e9%a1%8d%e5%a4%96%e7%9a%84%e9%a9%85%e5%8b%95%e7%a8%8b%e5%bc%8f-ePyeUYzAxc\">6. \u5b89\u88dd\u984d\u5916\u7684\u9a45\u52d5\u7a0b\u5f0f<\/h2>\n<p>\u6839\u64da\u4f60\u7684\u786c\u9ad4\uff0c\u53ef\u80fd\u9700\u8981\u5b89\u88dd\u984d\u5916\u7684\u9a45\u52d5\u7a0b\u5f0f\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4f86\u6aa2\u67e5\u548c\u5b89\u88dd\u9a45\u52d5\u7a0b\u5f0f\uff1a<\/p>\n<pre><code>sudo ubuntu-drivers devices\nsudo ubuntu-drivers autoinstall<\/code><\/pre>\n<h2 id=\"7-%e8%a8%ad%e5%ae%9a%e6%99%82%e5%8d%80%e5%92%8c%e8%aa%9e%e8%a8%80-ePyeUYzAxc\">7. \u8a2d\u5b9a\u6642\u5340\u548c\u8a9e\u8a00<\/h2>\n<p>\u78ba\u4fdd\u7cfb\u7d71\u7684\u6642\u5340\u548c\u8a9e\u8a00\u8a2d\u7f6e\u6b63\u78ba\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4f86\u8a2d\u5b9a\u6642\u5340\uff1a<\/p>\n<pre><code>sudo timedatectl set-timezone Asia\/Hong_Kong<\/code><\/pre>\n<p>\u8a9e\u8a00\u8a2d\u7f6e\u53ef\u4ee5\u901a\u904e\u7cfb\u7d71\u8a2d\u7f6e\u9032\u884c\u8abf\u6574\u3002<\/p>\n<h2 id=\"8-%e6%b8%85%e7%90%86%e4%b8%8d%e5%bf%85%e8%a6%81%e7%9a%84%e6%aa%94%e6%a1%88-ePyeUYzAxc\">8. \u6e05\u7406\u4e0d\u5fc5\u8981\u7684\u6a94\u6848<\/h2>\n<p>\u5b89\u88dd\u5f8c\uff0c\u7cfb\u7d71\u4e2d\u53ef\u80fd\u6703\u6709\u4e00\u4e9b\u4e0d\u5fc5\u8981\u7684\u6a94\u6848\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4f86\u6e05\u7406\uff1a<\/p>\n<pre><code>sudo apt autoremove\nsudo apt clean<\/code><\/pre>\n<h2 id=\"9-%e9%80%b2%e8%a1%8c%e5%82%99%e4%bb%bd-ePyeUYzAxc\">9. \u9032\u884c\u5099\u4efd<\/h2>\n<p>\u6700\u5f8c\uff0c\u9032\u884c\u7cfb\u7d71\u5099\u4efd\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u53ef\u4ee5\u4f7f\u7528\u5de5\u5177\u5982 Deja Dup \u4f86\u9032\u884c\u5099\u4efd\u8a2d\u7f6e\uff0c\u78ba\u4fdd\u6578\u64da\u7684\u5b89\u5168\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-ePyeUYzAxc\">\u7e3d\u7d50<\/h2>\n<p>\u5b89\u88dd Ubuntu 17.10 \u5f8c\uff0c\u9032\u884c\u4e0a\u8ff0\u4e5d\u9805\u8a2d\u7f6e\u53ef\u4ee5\u5e6b\u52a9\u4f60\u63d0\u5347\u7cfb\u7d71\u7684\u5b89\u5168\u6027\u548c\u6027\u80fd\u3002\u7121\u8ad6\u662f\u7528\u65bc\u500b\u4eba\u4f7f\u7528\u9084\u662f\u4f3a\u670d\u5668\u90e8\u7f72\uff0c\u9019\u4e9b\u6b65\u9a5f\u90fd\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u3002\u5982\u679c\u4f60\u9700\u8981\u66f4\u9ad8\u6548\u7684\u7ba1\u7406\u548c\u904b\u884c\u74b0\u5883\uff0c\u53ef\u4ee5\u8003\u616e\u4f7f\u7528 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u670d\u52d9\uff0c\u9019\u5c07\u70ba\u4f60\u7684\u61c9\u7528\u63d0\u4f9b\u7a69\u5b9a\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discover the 9 essential tasks to complete after installing Ubuntu 17.10 for optimal performance and enhanced user experience.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-51531","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/51531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=51531"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/51531\/revisions"}],"predecessor-version":[{"id":51532,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/51531\/revisions\/51532"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=51531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=51531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=51531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}