{"id":451,"date":"2026-07-20T12:38:20","date_gmt":"2026-07-20T04:38:20","guid":{"rendered":"https:\/\/daogu.work\/?p=451"},"modified":"2026-07-20T12:38:22","modified_gmt":"2026-07-20T04:38:22","slug":"%e7%bb%99-oracle-linux-arm-%e5%8a%a0%e8%bf%9c%e7%a8%8b%e6%a1%8c%e9%9d%a2%e7%9a%84%e8%b8%a9%e5%9d%91%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/daogu.work\/?p=451","title":{"rendered":"\u7ed9 Oracle Linux ARM \u52a0\u8fdc\u7a0b\u684c\u9762\u7684\u8e29\u5751\u8bb0\u5f55"},"content":{"rendered":"\n<p>\u624b\u4e0a\u6709\u4e00\u53f0 Oracle Cloud ARM \u5b9e\u4f8b\uff0c\u7cfb\u7edf\u662f <code>Oracle-Linux-8.6-aarch64-2022.08.08-0<\/code>\uff0c\u5b9e\u9645\u5185\u5b58\u7ea6 18GB\u3002\u673a\u5668\u5df2\u7ecf\u7528\u4e86\u51e0\u5e74\uff0c\u5e73\u65f6\u4e3b\u8981\u901a\u8fc7 SSH \u8fde\u63a5\uff0c\u4e0a\u9762\u8fd8\u8dd1\u8fc7 Jupyter\u548c\u4e00\u4e9b\u5176\u4ed6\u670d\u52a1\u3002<\/p>\n\n\n\n<p>\u6700\u8fd1\u60f3\u7ed9\u5b83\u589e\u52a0\u4e00\u4e2a\u56fe\u5f62\u684c\u9762\u3002\u76ee\u7684\u4e0d\u662f\u628a Linux \u4e91\u670d\u52a1\u5668\u53d8\u6210\u5b8c\u6574\u7684 Windows VPS\uff0c\u800c\u662f\u9700\u8981\u6d4f\u89c8\u5668\u3001\u8f7b\u91cf IDE \u6216\u56fe\u5f62\u5316\u5de5\u5177\u65f6\uff0c\u53ef\u4ee5\u76f4\u63a5\u4ece Mac \u8fde\u4e0a\u53bb\u3002Claude Code\u3001Codex CLI\u3001Python\/Jupyter \u548c\u957f\u65f6\u95f4\u811a\u672c\u4ecd\u7136\u7559\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u3002<\/p>\n\n\n\n<p>\u6700\u7ec8\u5df2\u7ecf\u5b9e\u73b0\u4e86\u684c\u9762\u7aef\u8fde\u63a5\uff0c\u4e5f\u80fd\u5728\u8fdc\u7a0b\u684c\u9762\u4e2d\u4f7f\u7528\u6d4f\u89c8\u5668\u3002\u5b9e\u9645\u4f7f\u7528\u7684\u8fde\u63a5\u65b9\u5f0f\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Mac Windows App\n    -&gt; 127.0.0.1:13389\n    -&gt; SSH \u672c\u5730\u7aef\u53e3\u8f6c\u53d1\n    -&gt; \u670d\u52a1\u5668 127.0.0.1:3389\n    -&gt; xrdp<\/code><\/pre>\n\n\n\n<p>3389 \u4e0d\u5bf9\u516c\u7f51\u5f00\u653e\u3002\u9700\u8981\u684c\u9762\u65f6\uff0c\u5148\u5728 Mac \u5efa\u7acb SSH \u96a7\u9053\uff0c\u518d\u6253\u5f00 Windows App\u3002\u8fd9\u6bd4\u4e3a\u52a8\u6001\u5bb6\u5ead\u516c\u7f51 IP \u5355\u72ec\u7ef4\u62a4\u4e00\u6761 RDP \u767d\u540d\u5355\u7701\u4e8b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u670d\u52a1\u5668\u7aef\u7684\u51c6\u5907\u987a\u5e8f<\/h2>\n\n\n\n<p>\u8fd9\u53f0\u673a\u5668\u4f7f\u7528\u7684\u662f Oracle Linux 8.6 ARM64\u3002\u6b63\u5f0f\u5b89\u88c5\u524d\uff0c\u5148\u786e\u8ba4\u7cfb\u7edf\u3001\u67b6\u6784\u3001\u5185\u5b58\u548c\u6839\u5206\u533a\u7a7a\u95f4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/etc\/oracle-release\nuname -m\nfree -h\ndf -h \/<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u66f4\u65b0\u7cfb\u7edf\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf update<\/code><\/pre>\n\n\n\n<p>\u672c\u673a\u957f\u671f\u6ca1\u6709\u66f4\u65b0\uff0c\u6267\u884c\u65f6\u9047\u5230\u4e86 <code>tuned<\/code> \u4e0e <code>tuned-profiles-oci<\/code> \u7684\u4f9d\u8d56\u51b2\u7a81\u3002DNF \u63d0\u793a\u53ef\u4ee5\u4f7f\u7528 <code>--nobest<\/code> \u9009\u62e9\u517c\u5bb9\u5019\u9009\uff0c\u56e0\u6b64\u5b9e\u9645\u5904\u7406\u65b9\u5411\u6539\u4e3a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf update --nobest<\/code><\/pre>\n\n\n\n<p>\u7cfb\u7edf\u66f4\u65b0\u5b8c\u6210\u540e\uff0c\u5b89\u88c5\u684c\u9762\u73af\u5883\u548c xrdp\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf -y groupinstall \"Server with GUI\" --nobest\nsudo dnf -y install xrdp xorgxrdp\nsudo systemctl enable --now xrdp\nsudo firewall-cmd --permanent --add-service=rdp\nsudo firewall-cmd --reload<\/code><\/pre>\n\n\n\n<p>\u7b2c\u4e00\u6761\u5b89\u88c5 <code>Server with GUI<\/code> \u8f6f\u4ef6\u7ec4\uff1b\u8fd9\u53f0\u673a\u5668\u4ecd\u7136\u9700\u8981 <code>--nobest<\/code> \u907f\u5f00\u524d\u9762\u9047\u5230\u7684\u6700\u4f73\u5019\u9009\u51b2\u7a81\u3002\u968f\u540e\u5b89\u88c5 <code>xrdp<\/code> \u548c <code>xorgxrdp<\/code>\uff0c\u5e76\u7acb\u5373\u542f\u52a8 xrdp\u3001\u8bbe\u7f6e\u4e3a\u5f00\u673a\u542f\u52a8\u3002<\/p>\n\n\n\n<p>\u6700\u540e\u4e24\u6761\u628a <code>rdp<\/code> \u670d\u52a1\u52a0\u5165 firewalld \u7684\u6c38\u4e45\u89c4\u5219\u5e76\u91cd\u65b0\u52a0\u8f7d\u3002\u8fd9\u91cc\u653e\u884c\u7684\u662f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u9632\u706b\u5899\uff0c\u548c OCI \u5b89\u5168\u5217\u8868\u6216 NSG \u4e0d\u662f\u540c\u4e00\u5c42\u3002\u6700\u7ec8\u65b9\u6848\u6ca1\u6709\u5728 OCI \u4e2d\u589e\u52a0\u516c\u7f51 3389 \u5165\u7ad9\u89c4\u5219\uff0cRDP \u4ecd\u7136\u901a\u8fc7 SSH \u96a7\u9053\u8bbf\u95ee\u3002<\/p>\n\n\n\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u81f3\u5c11\u8981\u68c0\u67e5\u670d\u52a1\u548c\u76d1\u542c\u72b6\u6001\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl status xrdp --no-pager\nsudo systemctl is-enabled xrdp\nsudo ss -lntp | grep 3389<\/code><\/pre>\n\n\n\n<p>\u8fd9\u4e09\u9879\u5206\u522b\u786e\u8ba4 xrdp \u662f\u5426\u8fd0\u884c\u3001\u662f\u5426\u8bbe\u7f6e\u4e3a\u5f00\u673a\u542f\u52a8\uff0c\u4ee5\u53ca 3389 \u5b9e\u9645\u76d1\u542c\u5728\u54ea\u4e2a\u5730\u5740\u3002\u68c0\u67e5\u6b63\u5e38\u540e\uff0c\u518d\u7ee7\u7eed\u51c6\u5907\u767b\u5f55\u8d26\u6237\u548c SSH \u96a7\u9053\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u51c6\u5907 xrdp \u767b\u5f55\u8d26\u6237<\/h2>\n\n\n\n<p>\u670d\u52a1\u5668\u5e73\u65f6\u4f7f\u7528 <code>opc<\/code> \u7528\u6237\u901a\u8fc7 SSH \u5bc6\u94a5\u767b\u5f55\u3002\u6267\u884c <code>sudo -i<\/code> \u65f6\u4e0d\u8981\u6c42\u5bc6\u7801\uff0c\u4f46\u8fd9\u4e0d\u4ee3\u8868 <code>opc<\/code> \u5df2\u7ecf\u6709\u53ef\u4f9b xrdp \u4f7f\u7528\u7684\u672c\u673a\u5bc6\u7801\u3002<\/p>\n\n\n\n<p>\u5f53\u65f6\u68c0\u67e5\u8d26\u6237\u72b6\u6001\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo passwd -S opc<\/code><\/pre>\n\n\n\n<p>\u8f93\u51fa\u7684\u7b2c\u4e8c\u5217\u662f <code>LK<\/code>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>opc LK ... (Password locked.)<\/code><\/pre>\n\n\n\n<p>xrdp \u767b\u5f55\u9700\u8981 Linux \u7528\u6237\u540d\u548c\u672c\u673a\u5bc6\u7801\u3002\u8bbe\u7f6e\u5bc6\u7801\u65f6\uff0c\u7b2c\u4e00\u6b21\u53c8\u88ab\u7cfb\u7edf\u590d\u6742\u5ea6\u7b56\u7565\u62d2\u7edd\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>BAD PASSWORD: The password contains less than 1 non-alphanumeric characters<\/code><\/pre>\n\n\n\n<p>\u9700\u8981\u8bbe\u7f6e\u4e00\u4e2a\u7b26\u5408\u5f53\u524d\u7cfb\u7edf\u7b56\u7565\u7684\u5bc6\u7801\uff0c\u518d\u68c0\u67e5\u72b6\u6001\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo passwd opc\nsudo passwd -u opc\nsudo passwd -S opc<\/code><\/pre>\n\n\n\n<p>\u8fd9\u91cc\u5bb9\u6613\u6df7\u6dc6\u56db\u4ef6\u4e8b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SSH \u79c1\u94a5\u7528\u4e8e\u4ece Mac \u8ba4\u8bc1\u5230\u670d\u52a1\u5668\uff1b<\/li>\n\n\n\n<li>\u79c1\u94a5\u53e3\u4ee4\u7528\u4e8e\u89e3\u9501 Mac \u672c\u5730\u7684\u79c1\u94a5\u6587\u4ef6\uff1b<\/li>\n\n\n\n<li>Linux \u8d26\u6237\u5bc6\u7801\u4f9b xrdp\/PAM \u9a8c\u8bc1 <code>opc<\/code>\uff1b<\/li>\n\n\n\n<li><code>sudo<\/code> \u7684\u514d\u5bc6\u914d\u7f6e\u53ea\u51b3\u5b9a\u6267\u884c sudo \u65f6\u662f\u5426\u8be2\u95ee\u5bc6\u7801\u3002<\/li>\n<\/ul>\n\n\n\n<p>SSH \u53ef\u4ee5\u7ee7\u7eed\u4fdd\u6301 <code>PasswordAuthentication no<\/code>\uff0c\u4e0d\u9700\u8981\u4e3a\u4e86 xrdp \u91cd\u65b0\u5f00\u653e SSH \u5bc6\u7801\u767b\u5f55\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4ece Mac \u5efa\u7acb SSH \u96a7\u9053<\/h2>\n\n\n\n<p>\u6700\u521d\u8003\u8651\u8fc7\u76f4\u63a5\u5728 OCI \u548c\u670d\u52a1\u5668\u9632\u706b\u5899\u4e2d\u5f00\u653e 3389\uff0c\u5e76\u628a\u6765\u6e90\u9650\u5236\u4e3a\u5bb6\u5ead\u516c\u7f51 IP\u3002\u4f46\u672c\u5730\u516c\u7f51 IP \u4f1a\u53d8\u5316\uff0c\u540e\u7eed\u9700\u8981\u4e0d\u65ad\u4fee\u6539\u89c4\u5219\u3002\u65e2\u7136\u670d\u52a1\u5668\u5df2\u7ecf\u6709 SSH \u5bc6\u94a5\u5165\u53e3\uff0cRDP \u76f4\u63a5\u590d\u7528 SSH \u901a\u9053\u66f4\u7b80\u5355\u3002<\/p>\n\n\n\n<p>\u5b9e\u9645\u64cd\u4f5c\u65f6\u8fd8\u9047\u5230\u8fc7\u4e00\u6b21\uff1a\u539f SSH \u79c1\u94a5\u627e\u4e0d\u5230\u5177\u4f53\u8def\u5f84\u3002\u76f4\u63a5\u8fd0\u884c\u96a7\u9053\u547d\u4ee4\u65f6\uff0c\u670d\u52a1\u5668\u8fd4\u56de\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Permission denied (publickey,gssapi-keyex,gssapi-with-mic).<\/code><\/pre>\n\n\n\n<p>\u670d\u52a1\u5668\u6b63\u5e38\u53ea\u4fdd\u5b58\u516c\u94a5\uff0c\u65e0\u6cd5\u4ece\u670d\u52a1\u5668\u53d6\u56de\u539f\u79c1\u94a5\u3002\u627e\u4e0d\u5230\u65e7\u79c1\u94a5\u65f6\uff0c\u5e94\u5728 Mac \u672c\u5730\u91cd\u65b0\u751f\u6210\u5bc6\u94a5\u5bf9\uff0c\u518d\u628a\u65b0\u516c\u94a5\u8ffd\u52a0\u5230\u670d\u52a1\u5668\u3002<\/p>\n\n\n\n<p>Mac \u4e0a\u751f\u6210 Ed25519 \u5bc6\u94a5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh-keygen -t ed25519 \\\n  -f ~\/.ssh\/oci_jupyter_ed25519 \\\n  -C \"oci-jupyter\"<\/code><\/pre>\n\n\n\n<p>\u67e5\u770b\u516c\u94a5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat ~\/.ssh\/oci_jupyter_ed25519.pub<\/code><\/pre>\n\n\n\n<p>\u5728\u5f53\u524d\u4ecd\u7136\u80fd\u591f\u767b\u5f55\u7684\u670d\u52a1\u5668\u4f1a\u8bdd\u4e2d\u51c6\u5907\u76ee\u5f55\u548c\u6587\u4ef6\u6743\u9650\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo install -d -m 700 -o opc -g opc \/home\/opc\/.ssh\nsudo vi \/home\/opc\/.ssh\/authorized_keys\nsudo chown opc:opc \/home\/opc\/.ssh\/authorized_keys\nsudo chmod 600 \/home\/opc\/.ssh\/authorized_keys<\/code><\/pre>\n\n\n\n<p>\u628a\u65b0\u516c\u94a5\u8ffd\u52a0\u5230 <code>authorized_keys<\/code>\uff0c\u4e0d\u8981\u8986\u76d6\u539f\u6709\u516c\u94a5\u3002\u5728\u786e\u8ba4\u65b0\u5bc6\u94a5\u53ef\u7528\u524d\uff0c\u4e5f\u4e0d\u8981\u5173\u95ed\u5f53\u524d\u8fd8\u80fd\u767b\u5f55\u7684 SSH \u7a97\u53e3\u3002<\/p>\n\n\n\n<p>\u53e6\u5f00\u4e00\u4e2a Mac \u7ec8\u7aef\u6d4b\u8bd5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh -i ~\/.ssh\/oci_jupyter_ed25519 \\\n  -o IdentitiesOnly=yes \\\n  opc@\u670d\u52a1\u5668\u516c\u7f51IP<\/code><\/pre>\n\n\n\n<p>\u786e\u8ba4\u5bc6\u94a5\u767b\u5f55\u6b63\u5e38\u540e\uff0c\u5efa\u7acb\u672c\u5730\u7aef\u53e3\u8f6c\u53d1\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh -i ~\/.ssh\/oci_jupyter_ed25519 \\\n  -o IdentitiesOnly=yes \\\n  -N -L 13389:127.0.0.1:3389 \\\n  opc@\u670d\u52a1\u5668\u516c\u7f51IP<\/code><\/pre>\n\n\n\n<p><code>-N<\/code> \u8868\u793a\u4e0d\u6267\u884c\u8fdc\u7a0b\u547d\u4ee4\uff0c\u53ea\u5efa\u7acb\u8f6c\u53d1\u3002\u56e0\u6b64\u8f93\u5165\u79c1\u94a5\u53e3\u4ee4\u540e\uff0c\u7ec8\u7aef\u4f1a\u4e00\u76f4\u8fd0\u884c\uff0c\u770b\u8d77\u6765\u50cf\u201c\u5361\u4f4f\u201d\uff0c\u8fd9\u662f\u6b63\u5e38\u72b6\u6001\u3002\u4fdd\u6301\u8fd9\u4e2a\u7ec8\u7aef\u4e0d\u8981\u5173\u95ed\u3002<\/p>\n\n\n\n<p><code>-L 13389:127.0.0.1:3389<\/code> \u7684\u542b\u4e49\u662f\uff1aMac \u672c\u5730\u76d1\u542c 13389\uff0c\u6536\u5230\u8fde\u63a5\u540e\u901a\u8fc7 SSH \u8f6c\u53d1\uff0c\u518d\u7531\u670d\u52a1\u5668\u8fde\u63a5\u81ea\u5df1\u7684 <code>127.0.0.1:3389<\/code>\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f7f\u7528 Windows App \u8fde\u63a5<\/h2>\n\n\n\n<p>\u5728 Mac \u7684 Windows App \u4e2d\u6dfb\u52a0\u4e00\u53f0 PC\uff0c\u5730\u5740\u586b\u5199\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>127.0.0.1:13389<\/code><\/pre>\n\n\n\n<p>\u767b\u5f55\u4fe1\u606f\u586b\u5199\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u7528\u6237\u540d\uff1aopc\n\u5bc6\u7801\uff1aopc \u7684 Linux \u672c\u673a\u5bc6\u7801<\/code><\/pre>\n\n\n\n<p>\u8fd9\u91cc\u4e0d\u662f SSH \u79c1\u94a5\u53e3\u4ee4\u3002\u8fde\u63a5\u6210\u529f\u540e\u5c31\u53ef\u4ee5\u8fdb\u5165 Oracle Linux \u684c\u9762\uff0c\u6d4f\u89c8\u5668\u4e5f\u53ef\u4ee5\u6b63\u5e38\u6253\u5f00\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u672c\u5730\u7aef\u53e3\u65e0\u6cd5\u76d1\u542c\uff0c\u53ef\u4ee5\u5148\u68c0\u67e5 13389 \u662f\u5426\u5df2\u88ab\u5176\u4ed6\u8fdb\u7a0b\u5360\u7528\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lsof -nP -iTCP:13389 -sTCP:LISTEN<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u96a7\u9053\u4fdd\u6301\u8fd0\u884c\uff0c\u4f46 Windows App \u4ecd\u7136\u65e0\u6cd5\u8fde\u63a5\uff0c\u5219\u56de\u5230\u670d\u52a1\u5668\u68c0\u67e5 <code>xrdp<\/code> \u670d\u52a1\u30013389 \u76d1\u542c\u548c <code>opc<\/code> \u8d26\u6237\u72b6\u6001\u3002\u5173\u95ed SSH \u96a7\u9053\u6240\u5728\u7684\u7ec8\u7aef\u540e\uff0c\u8fdc\u7a0b\u684c\u9762\u8fde\u63a5\u4e5f\u4f1a\u4e2d\u65ad\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8fd9\u6b21\u9047\u5230\u7684\u51e0\u4e2a\u95ee\u9898<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">DNF \u66f4\u65b0\u51b2\u7a81<\/h3>\n\n\n\n<p>\u7cfb\u7edf\u63d0\u793a <code>tuned<\/code> \u4e0e <code>tuned-profiles-oci<\/code> \u7684\u6700\u4f73\u5019\u9009\u7248\u672c\u51b2\u7a81\u3002\u672c\u6b21\u6ca1\u6709\u76f4\u63a5\u4f7f\u7528 <code>--allowerasing<\/code>\uff0c\u800c\u662f\u6309 DNF \u63d0\u793a\u6539\u7528 <code>--nobest<\/code>\uff0c\u907f\u514d\u5728\u6ca1\u6709\u786e\u8ba4\u4e8b\u52a1\u5185\u5bb9\u65f6\u66ff\u6362 OCI \u76f8\u5173\u5305\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6839\u5206\u533a\u7a7a\u95f4\u4e0d\u8db3<\/h3>\n\n\n\n<p>\u8fd9\u53f0\u673a\u5668\u7684 36GB \u6839\u5206\u533a\u6700\u521d\u4f7f\u7528\u7387\u8fbe\u5230 98%\uff0c\u53ea\u5269 1.1GB\uff0c\u66f4\u65b0\u8fd8\u63d0\u793a\u81f3\u5c11\u9700\u8981 969MB\u3002\u8fd9\u4e2a\u95ee\u9898\u4e0d\u5177\u6709\u666e\u904d\u6027\uff0c\u6240\u4ee5\u4e0d\u5c55\u5f00\u5b8c\u6574\u6e05\u7406\u8fc7\u7a0b\u3002<\/p>\n\n\n\n<p>\u9700\u8981\u6392\u67e5\u65f6\uff0c\u5148\u770b\u6839\u5206\u533a\u3001\u4e3b\u8981\u76ee\u5f55\u3001Podman \u548c\u5df2\u5220\u9664\u4f46\u4ecd\u88ab\u5360\u7528\u7684\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>df -h \/\nsudo du -xhd1 \/ | sort -h\nsudo podman system df -v\nsudo podman ps -a\nsudo lsof +L1<\/code><\/pre>\n\n\n\n<p>\u672c\u673a\u6700\u7ec8\u6e05\u7406\u5230\u7ea6 9.2GB \u7a7a\u95f2\u3002\u5177\u4f53\u53d1\u73b0\u8fc7 root \u56de\u6536\u7ad9\u91cc\u7684 ISO\u3001\u65e7 Rocket.Chat \u76ee\u5f55\u3001MongoDB \u5927\u65e5\u5fd7\u548c\u672a\u4f7f\u7528\u7684\u5bb9\u5668\u955c\u50cf\uff0c\u4f46\u8fd9\u4e9b\u90fd\u662f\u672c\u673a\u5386\u53f2\u9057\u7559\uff0c\u4e0d\u80fd\u76f4\u63a5\u53d8\u6210\u5176\u4ed6\u670d\u52a1\u5668\u7684\u5220\u9664\u6e05\u5355\u3002<\/p>\n\n\n\n<p>\u8fd8\u6709\u4e00\u4e2a\u5b9e\u9645\u8e29\u5751\uff1a\u670d\u52a1\u5668\u91cd\u542f\u540e\uff0c\u539f\u6765\u8fd0\u884c\u7684 Draw.io \u5bb9\u5668\u6ca1\u6709\u81ea\u52a8\u542f\u52a8\uff0c\u968f\u540e\u6267\u884c <code>podman system prune<\/code> \u65f6\u88ab\u5f53\u6210 stopped \u5bb9\u5668\u5220\u9664\u3002\u6e05\u7406\u524d\u4e00\u5b9a\u8981\u5148\u770b <code>podman ps -a<\/code>\uff0c\u4e0d\u8981\u53ea\u770b\u5f53\u524d\u8fd0\u884c\u5bb9\u5668\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">firewalld \u672c\u8eab\u4e5f\u62a5\u9519<\/h3>\n\n\n\n<p>\u7b2c\u4e00\u6b21\u6267\u884c firewalld \u7684 RDP \u653e\u884c\u547d\u4ee4\u65f6\uff0c\u7cfb\u7edf Python \u7f3a\u5c11 <code>decorator<\/code> \u6a21\u5757\uff0c<code>firewall-cmd<\/code> \u76f4\u63a5\u62a5\u9519\u3002\u9047\u5230\u76f8\u540c\u60c5\u51b5\u65f6\uff0c\u9700\u8981\u5148\u4fee\u590d firewalld \u5bf9\u5e94\u7684\u7cfb\u7edf RPM\/Python \u4f9d\u8d56\uff0c\u518d\u91cd\u65b0\u6267\u884c\u5b89\u88c5\u6bb5\u4e2d\u7684 <code>--add-service=rdp<\/code> \u548c <code>--reload<\/code>\u3002\u4e0d\u8981\u7528 <code>pip<\/code> \u968f\u610f\u4fee\u6539 firewalld \u4f7f\u7528\u7684\u7cfb\u7edf Python \u73af\u5883\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">50Mbps \u4e0d\u662f ARM \u514d\u8d39\u673a\u7684\u7edf\u4e00\u7ed3\u8bba<\/h3>\n\n\n\n<p>Oracle Always Free \u6587\u6863\u4e2d\u201c\u4e92\u8054\u7f51\u6700\u9ad8 50Mbps\u201d\u7684\u63cf\u8ff0\u5bf9\u5e94 AMD <code>VM.Standard.E2.1.Micro<\/code>\uff0c\u4e0d\u80fd\u76f4\u63a5\u5957\u5230 Ampere A1 ARM \u5b9e\u4f8b\u4e0a\u3002\u8fdc\u7a0b\u684c\u9762\u7684\u5b9e\u9645\u4f53\u9a8c\u4ecd\u53d6\u51b3\u4e8e\u5b9e\u4f8b\u89c4\u683c\u3001\u533a\u57df\u3001\u94fe\u8def\u548c\u672c\u5730\u7f51\u7edc\uff0c\u672c\u6587\u6ca1\u6709\u505a\u4e13\u95e8\u6d4b\u901f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8fd9\u5957\u684c\u9762\u9002\u5408\u505a\u4ec0\u4e48<\/h2>\n\n\n\n<p>\u76ee\u524d\u4e3b\u8981\u628a\u5b83\u5f53\u6210\u4e91\u7aef\u5f00\u53d1\u73af\u5883\u7684\u56fe\u5f62\u5165\u53e3\u3002\u6d4f\u89c8\u5668\u3001\u7ec8\u7aef\u3001\u8f7b\u91cf IDE\u3001Jupyter \u548c CLI AI \u5de5\u5177\u90fd\u53ef\u4ee5\u653e\u5728\u670d\u52a1\u5668\u4e0a\uff0cMac \u53ea\u8d1f\u8d23\u8fde\u63a5\u3002<\/p>\n\n\n\n<p>\u5b83\u4e0d\u662f GPU \u63a8\u7406\u4e3b\u673a\uff0c\u4e5f\u4e0d\u9002\u5408\u6e38\u620f\u3001\u89c6\u9891\u526a\u8f91\u6216\u9ad8\u7801\u7387\u8fdc\u7a0b\u89c6\u9891\u3002ARM64 \u8fd8\u4f1a\u9047\u5230\u8f6f\u4ef6\u517c\u5bb9\u6027\u5dee\u5f02\uff0c\u6709\u4e9b\u95ed\u6e90\u8f6f\u4ef6\u3001\u65e7\u4e8c\u8fdb\u5236\u5305\u548c\u53ea\u63d0\u4f9b x86_64 \u7684\u5bb9\u5668\u955c\u50cf\u4e0d\u80fd\u76f4\u63a5\u8fd0\u884c\u3002Claude Code\u3001Codex CLI \u7b49\u5de5\u5177\u7684\u54cd\u5e94\u901f\u5ea6\u4ecd\u53d6\u51b3\u4e8e API\u3001\u7f51\u7edc\u548c\u8d26\u6237\u989d\u5ea6\uff0c\u589e\u52a0\u684c\u9762\u4e0d\u4f1a\u8ba9\u6a21\u578b\u672c\u8eab\u53d8\u5feb\u3002<\/p>\n\n\n\n<p>\u73b0\u5728\u9700\u8981\u684c\u9762\u65f6\uff0c\u6211\u4f1a\u5148\u542f\u52a8 SSH \u96a7\u9053\uff0c\u518d\u6253\u5f00 Windows App\u3002\u7528\u5b8c\u5173\u95ed\u96a7\u9053\uff0cRDP \u8fde\u63a5\u968f\u4e4b\u65ad\u5f00\u3002\u5bf9\u8fd9\u53f0\u4e2a\u4eba\u670d\u52a1\u5668\u6765\u8bf4\uff0c\u8fd9\u79cd\u65b9\u5f0f\u5df2\u7ecf\u591f\u7528\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u53c2\u8003\u8d44\u6599<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Oracle Cloud Infrastructure Always Free Resources\uff1a<a href=\"https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/FreeTier\/freetier_topic-Always_Free_Resources.htm\">https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/FreeTier\/freetier_topic-Always_Free_Resources.htm<\/a><\/li>\n\n\n\n<li>OpenSSH <code>ssh(1)<\/code>\uff1a<a href=\"https:\/\/man.openbsd.org\/ssh\">https:\/\/man.openbsd.org\/ssh<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u624b\u4e0a\u6709\u4e00\u53f0 Oracle Cloud ARM \u5b9e\u4f8b\uff0c\u7cfb\u7edf\u662f Oracle-Linux-8.6-aarch64- [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[234],"tags":[245,246],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-homelab-virtualization","tag-oracle","tag-xrdp"],"_links":{"self":[{"href":"https:\/\/daogu.work\/index.php?rest_route=\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daogu.work\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daogu.work\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daogu.work\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daogu.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=451"}],"version-history":[{"count":1,"href":"https:\/\/daogu.work\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":452,"href":"https:\/\/daogu.work\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions\/452"}],"wp:attachment":[{"href":"https:\/\/daogu.work\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daogu.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daogu.work\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}