{"id":409,"date":"2022-07-22T19:15:54","date_gmt":"2022-07-22T11:15:54","guid":{"rendered":"http:\/\/nas.hepcloud.top:7000\/?p=409"},"modified":"2024-05-05T22:15:30","modified_gmt":"2024-05-05T14:15:30","slug":"ubuntu%e4%b8%8a%e6%89%8b%e6%8c%87%e5%8d%97%e6%9b%b4%e6%96%b0%e9%98%bf%e9%87%8c%e6%ba%90%e3%80%81%e5%ae%89%e8%a3%85ssh%e3%80%81%e5%ae%89%e8%a3%85chrome%e3%80%81%e5%ae%89%e8%a3%85%e6%90%9c%e7%8b%97","status":"publish","type":"post","link":"http:\/\/www.huerpu.cc:7000\/?p=409","title":{"rendered":"ubuntu\u4e0a\u624b\u6307\u5357(\u66f4\u65b0\u963f\u91cc\u6e90\u3001\u5b89\u88c5ssh\u3001\u5b89\u88c5chrome\u3001\u5b89\u88c5\u641c\u72d7\u8f93\u5165\u6cd5\u3001\u8bbe\u7f6e\u56fa\u5b9aIP)"},"content":{"rendered":"<h3>ubuntu\u4e0a\u624b\u6307\u5357(\u66f4\u65b0\u963f\u91cc\u6e90\u3001\u5b89\u88c5ssh\u3001\u5b89\u88c5chrome\u3001\u5b89\u88c5\u641c\u72d7\u8f93\u5165\u6cd5\u3001\u8bbe\u7f6e\u56fa\u5b9aIP)<\/h3>\n<h3>\u4e00\u3001\u66f4\u65b0\u5e76\u5b89\u88c5\u57fa\u7840\u8f6f\u4ef6<\/h3>\n<pre><code class=\"language-shell\">#\u5207\u6362root\u7528\u6237\nsudo su -\n\n#\u66f4\u65b0\napt update \n\n#\u5347\u7ea7\napt upgrade\n\n#install vim\napt install vim\n\n#install net-tools\napt install net-tools\n\n#\u5c06PermitRootLogin\u7684\u503c\u6539\u4e3ayes\uff0c\/\u641c\u7d22\u5373\u53ef\uff0c\u8d85\u7ea7\u7b80\u5355\nvim \/etc\/ssh\/sshd_config\nPermitRootLogin yes<\/code><\/pre>\n<h3>\u4e8c\u3001\u5b89\u88c5ssh\u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\u52a8<\/h3>\n<pre><code class=\"language-shell\">#install ssh\napt install openssh-server\napt install openssh-client\n\n#\u91cd\u542fssh\u670d\u52a1\nservice ssh restart\n\nvim \/root\/.bashrc\n#\u589e\u52a0\u4e00\u6761\u8bb0\u5f55service ssh start\nservice ssh start<\/code><\/pre>\n<h3>\u4e09\u3001\u5b89\u88c5chrome\u6d4f\u89c8\u5668<\/h3>\n<p>chrome\u5b98\u7f51\u4e0b\u8f7dchrome\u7684deb\u5b89\u88c5\u5305<\/p>\n<pre><code class=\"language-shell\">#\u5207\u6362\u5230\u4e0b\u8f7d\u76ee\u5f55\ncd \/home\/jason\/Download\n\n#install chrome\ndpkg -i google-chrome-stable_current_am64.deb<\/code><\/pre>\n<h3>\u56db\u3001\u8bbe\u7f6eubuntu\u66f4\u65b0\u6e90\u4e3a\u963f\u91cc\u6e90<\/h3>\n<pre><code class=\"language-shell\">#\u66f4\u6362\u963f\u91cc\u6e90\nvim \/etc\/apt\/sources.list\n\n#\u6ce8\u91ca\u6389\u539f\u6709\u7684\uff0c\u5e76\u628a\u4e0b\u9762\u7684\u8d34\u8fc7\u53bb\ndeb http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy main restricted universe multiverse\ndeb-src http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy main restricted universe multiverse\ndeb http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy-security main restricted universe multiverse\ndeb-src http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy-security main restricted universe multiverse\ndeb http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy-updates main restricted universe multiverse\ndeb-src http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy-updates main restricted universe multiverse\ndeb http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy-proposed main restricted universe multiverse\ndeb-src http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy-proposed main restricted universe multiverse\ndeb http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy-backports main restricted universe multiverse\ndeb-src http:\/\/mirrors.aliyun.com\/ubuntu\/ jammy-backports main restricted universe multiverse\n\n#\u66f4\u65b0\napt update \n\n#\u5347\u7ea7\napt upgrade<\/code><\/pre>\n<h3>\u4e94\u3001\u5b89\u88c5\u641c\u72d7\u8f93\u5165\u6cd5<\/h3>\n<pre><code class=\"language-shell\">#\u4e0b\u8f7d\u8f93\u5165\u6cd5\u7f51\u5740  http:\/\/pinyin.sogou.com\/linux\/\n\n#\u5b89\u88c5fcitx\u5e76\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\napt install fcitx fcitx-table-wbpy\ncp \/usr\/share\/applications\/fcitx.desktop \/etc\/xdg\/autostart\/\n\n#\u5378\u8f7dibus\napt purge ibus\n\n#\u5b89\u88c5\u641c\u72d7\u62fc\u97f3\ndpkg -i sogoupinyin_4.0.1.2800_x86_64.deb\n\n#\u5b89\u88c5\u8f93\u5165\u6cd5\u4f9d\u8d56\napt install libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2\napt install libgsettings-qt1\n\n#\u91cd\u542f\u7535\u8111\nreboot\n\n#\u53f3\u4e0a\u89d2\u8f93\u5165\u6cd5\u56fe\u6807 -- confing -- + -- \u641c\u7d22sogou<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/07\/22\/image-20220721194059876.png\" alt=\"image-20220721194059876\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/07\/22\/image-20220721194148698.png\" alt=\"image-20220721194148698\" \/><\/p>\n<p>\u5982\u679c\u51fa\u73b0\u95ea\u5c4f\u53ef\u4ee5\u8f93\u5165\u4e0b\u9762\u4e24\u6761\u547d\u4ee4\u89e3\u51b3<\/p>\n<pre><code>export QT_QPA_PLATFORM=xcb\npkill fcitx; fcitx;\n\n#\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\/etc\/gdm3\/custom.conf\uff0c\u5f3a\u5236\u7cfb\u7edf\u4f7f\u7528Xorg\u4f5c\u4e3a\u663e\u793a\u670d\u52a1\u5668\uff0c\u5bf9\u4e0b\u9762\u4e00\u884c\u5185\u5bb9\u53d6\u6d88\u6ce8\u91ca\u5373\u53ef\nWaylandEnable=false<\/code><\/pre>\n<h3>\u516d\u3001\u8bbe\u7f6e\u56fa\u5b9aIP<\/h3>\n<p>\u5728\u7cfb\u7edf\u8bbe\u7f6esetting\u4e2d\u70b9\u51fbnetwork\uff0c\u7136\u540e\u70b9\u51fb\u6709\u7ebf\u8fde\u63a5\u540e\u9762\u7684\u8bbe\u7f6e\u6309\u94ae\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/07\/22\/image-20220722181026383.png\" alt=\"image-20220722181026383\" \/><\/p>\n<p>\u70b9\u51fbIPv4\uff0c\u9009\u62e9\u624b\u52a8Manual\u3002<\/p>\n<p>192.168.31.77\u4e3a\u6211\u4eec\u8bbe\u7f6e\u7684\u56fa\u5b9aIP\u3002<\/p>\n<p>Netmask\u4e00\u822c\u90fd\u4e3a255.255.255.0\u3002<\/p>\n<p>Gateway\u9009\u62e9\u6211\u7684\u8def\u7531\u5668IP\uff0c\u4e5f\u5c31\u662f192.168.31.1\u3002<\/p>\n<p>DNS\u4e5f\u662f\u8def\u7531\u5668IP\u4e3a192.168.31.1\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/07\/22\/image-20220722181108835.png\" alt=\"image-20220722181108835\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ubuntu\u4e0a\u624b\u6307\u5357(\u66f4\u65b0\u963f\u91cc\u6e90\u3001\u5b89\u88c5ssh\u3001\u5b89\u88c5chrome\u3001\u5b89\u88c5\u641c\u72d7\u8f93\u5165\u6cd5\u3001\u8bbe\u7f6e\u56fa\u5b9aIP) \u4e00\u3001\u66f4\u65b0\u5e76\u5b89\u88c5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-409","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=409"}],"version-history":[{"count":3,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/409\/revisions"}],"predecessor-version":[{"id":740,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/409\/revisions\/740"}],"wp:attachment":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=409"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}