{"id":78174,"date":"2026-02-26T13:18:24","date_gmt":"2026-02-26T05:18:24","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/78174.html"},"modified":"2026-02-26T13:18:24","modified_gmt":"2026-02-26T05:18:24","slug":"miniconda%e5%9c%a8ubuntu%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e9%83%a8%e7%bd%b2%e8%84%9a%e6%9c%ac%e5%88%86%e4%ba%ab%ef%bc%88%e4%b8%80%e9%94%ae%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/78174.html","title":{"rendered":"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09"},"content":{"rendered":"<h2>Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab&#xff08;\u4e00\u952e\u5b89\u88c5&#043;\u73af\u5883\u521d\u59cb\u5316&#xff09;<\/h2>\n<p>\u6700\u8fd1\u5728\u5e2e\u51e0\u4e2a\u56e2\u961f\u642d\u5efa\u6570\u636e\u79d1\u5b66\u548c\u673a\u5668\u5b66\u4e60\u5f00\u53d1\u5e73\u53f0&#xff0c;\u53d1\u73b0\u4e00\u4e2a\u9ad8\u9891\u9700\u6c42&#xff1a;\u5982\u4f55\u5728\u65b0\u7684Ubuntu\u670d\u52a1\u5668\u4e0a\u5feb\u901f\u3001\u4e00\u81f4\u5730\u90e8\u7f72Python\u73af\u5883\u3002\u624b\u52a8\u5b89\u88c5Miniconda\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4e3a\u4e0d\u540c\u7528\u6237\u8bbe\u7f6e\u6743\u9650&#xff0c;\u8fd9\u5957\u6d41\u7a0b\u91cd\u590d\u4e86\u4e0d\u4e0b\u5341\u6b21\u540e&#xff0c;\u6211\u610f\u8bc6\u5230\u662f\u65f6\u5019\u628a\u8fd9\u4e00\u5957\u64cd\u4f5c\u811a\u672c\u5316\u4e86\u3002\u5bf9\u4e8e\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u548c\u9700\u8981\u7ba1\u7406\u591a\u53f0\u670d\u52a1\u5668\u7684\u5f00\u53d1\u8005\u6765\u8bf4&#xff0c;\u4e00\u4e2a\u53ef\u9760\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c&#xff0c;\u4e0d\u4ec5\u4ec5\u662f\u8282\u7701\u65f6\u95f4&#xff0c;\u66f4\u662f\u4fdd\u8bc1\u73af\u5883\u4e00\u81f4\u6027\u3001\u51cf\u5c11\u4eba\u4e3a\u9519\u8bef\u7684\u5173\u952e\u3002\u8fd9\u7bc7\u6587\u7ae0&#xff0c;\u6211\u5c31\u6765\u5206\u4eab\u4e00\u5957\u7ecf\u8fc7\u5b9e\u6218\u68c0\u9a8c\u7684\u3001\u9762\u5411Ubuntu\u670d\u52a1\u5668\u7684Miniconda\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c&#xff0c;\u5b83\u4e0d\u4ec5\u80fd\u5b9e\u73b0\u4e00\u952e\u5b89\u88c5&#xff0c;\u8fd8\u80fd\u5b8c\u6210\u591a\u7528\u6237\u73af\u5883\u521d\u59cb\u5316&#xff0c;\u8ba9\u4f60\u5728\u51e0\u5206\u949f\u5185\u5c31\u62e5\u6709\u4e00\u4e2a\u751f\u4ea7\u5c31\u7eea\u7684Python\u57fa\u7840\u5e73\u53f0\u3002<\/p>\n<h3>1. \u811a\u672c\u8bbe\u8ba1\u6838\u5fc3\u601d\u8def\u4e0e\u51c6\u5907\u5de5\u4f5c<\/h3>\n<p>\u5728\u52a8\u624b\u5199\u811a\u672c\u4e4b\u524d&#xff0c;\u6211\u4eec\u5148\u660e\u786e\u51e0\u4e2a\u6838\u5fc3\u76ee\u6807\u3002\u9996\u5148&#xff0c;\u8fd9\u4e2a\u811a\u672c\u5fc5\u987b\u662f\u5e42\u7b49\u7684&#xff0c;\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u65e0\u8bba\u5728\u4e00\u53f0\u5168\u65b0\u7684\u670d\u52a1\u5668\u4e0a\u6267\u884c&#xff0c;\u8fd8\u662f\u5728\u4e00\u53f0\u5df2\u7ecf\u90e8\u5206\u5b89\u88c5\u8fc7\u7684\u670d\u52a1\u5668\u4e0a\u91cd\u590d\u6267\u884c&#xff0c;\u6700\u7ec8\u90fd\u5e94\u8be5\u5f97\u5230\u4e00\u4e2a\u9884\u671f\u7684\u3001\u4e00\u81f4\u7684\u72b6\u6001&#xff0c;\u800c\u4e0d\u4f1a\u56e0\u4e3a\u91cd\u590d\u6267\u884c\u5bfc\u81f4\u9519\u8bef\u6216\u6df7\u4e71\u3002\u5176\u6b21&#xff0c;\u5b83\u9700\u8981\u652f\u6301\u591a\u7528\u6237\u73af\u5883&#xff0c;\u5b89\u88c5\u7684Miniconda\u5e94\u8be5\u80fd\u88ab\u670d\u52a1\u5668\u4e0a\u7684\u6240\u6709&#xff08;\u6216\u6307\u5b9a&#xff09;\u7528\u6237\u8bbf\u95ee\u548c\u4f7f\u7528&#xff0c;\u800c\u4e0d\u662f\u4ec5\u4ec5\u4e3aroot\u6216\u67d0\u4e2a\u7279\u5b9a\u7528\u6237\u670d\u52a1\u3002\u6700\u540e&#xff0c;\u811a\u672c\u8981\u8db3\u591f\u7075\u6d3b\u548c\u5065\u58ee&#xff0c;\u80fd\u591f\u5904\u7406\u7f51\u7edc\u6ce2\u52a8\u3001\u6587\u4ef6\u6821\u9a8c\u5931\u8d25\u3001\u6743\u9650\u4e0d\u8db3\u7b49\u5e38\u89c1\u5f02\u5e38\u60c5\u51b5\u3002<\/p>\n<p>\u4e3a\u4e86\u5b9e\u73b0\u8fd9\u4e9b\u76ee\u6807&#xff0c;\u6211\u4eec\u7684\u811a\u672c\u5c06\u9075\u5faa\u4ee5\u4e0b\u903b\u8f91\u6d41\u7a0b&#xff1a;<\/p>\n<li>\u73af\u5883\u68c0\u67e5\u4e0e\u4f9d\u8d56\u5b89\u88c5&#xff1a;\u68c0\u67e5\u7cfb\u7edf\u662f\u5426\u4e3aUbuntu&#xff0c;\u5e76\u5b89\u88c5\u5fc5\u8981\u7684\u5de5\u5177\u5982wget\u3001bzip2\u3002<\/li>\n<li>Miniconda\u5b89\u88c5\u5305\u83b7\u53d6\u4e0e\u9a8c\u8bc1&#xff1a;\u52a8\u6001\u83b7\u53d6\u6216\u6307\u5b9a\u7279\u5b9a\u7248\u672c\u7684Miniconda\u5b89\u88c5\u811a\u672c&#xff0c;\u5e76\u8fdb\u884cSHA256\u6821\u9a8c\u4ee5\u786e\u4fdd\u6587\u4ef6\u5b8c\u6574\u6027\u3002<\/li>\n<li>\u9759\u9ed8\u5b89\u88c5\u4e0e\u8def\u5f84\u914d\u7f6e&#xff1a;\u4ee5\u975e\u4ea4\u4e92\u6a21\u5f0f\u5b89\u88c5Miniconda\u5230\u7cfb\u7edf\u7ea7\u76ee\u5f55&#xff08;\u5982\/opt\/miniconda3&#xff09;&#xff0c;\u907f\u514d\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u624b\u52a8\u786e\u8ba4\u3002<\/li>\n<li>\u7cfb\u7edf\u7ea7\u73af\u5883\u53d8\u91cf\u914d\u7f6e&#xff1a;\u5c06Conda\u7684\u4e8c\u8fdb\u5236\u8def\u5f84\u6dfb\u52a0\u5230\/etc\/profile.d\/\u4e0b\u7684\u72ec\u7acb\u811a\u672c\u4e2d&#xff0c;\u4f7f\u6240\u6709\u7528\u6237\u7684Shell\u5728\u767b\u5f55\u65f6\u90fd\u80fd\u81ea\u52a8\u8bc6\u522bconda\u547d\u4ee4\u3002<\/li>\n<li>\u57fa\u7840\u73af\u5883\u521d\u59cb\u5316&#xff1a;\u53ef\u9009\u6b65\u9aa4&#xff0c;\u521b\u5efa\u4e00\u4e9b\u56e2\u961f\u5171\u4eab\u7684\u3001\u5305\u542b\u5e38\u7528\u6570\u636e\u79d1\u5b66\u5305\u7684\u57fa\u7840\u865a\u62df\u73af\u5883\u3002<\/li>\n<li>\u6743\u9650\u4e0e\u6240\u6709\u6743\u8bbe\u7f6e&#xff1a;\u786e\u4fdd\u5b89\u88c5\u76ee\u5f55\u5177\u6709\u5408\u9002\u7684\u8bfb\u5199\u6743\u9650&#xff0c;\u65b9\u4fbf\u7279\u5b9a\u7528\u6237\u7ec4&#xff08;\u5982developers&#xff09;\u7ba1\u7406\u73af\u5883\u3002<\/li>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u8bf7\u786e\u4fdd\u4f60\u62e5\u6709\u76ee\u6807Ubuntu\u670d\u52a1\u5668\u7684sudo\u6743\u9650\u3002\u5efa\u8bae\u5728\/tmp\u76ee\u5f55\u6216\u4f60\u7684\u7528\u6237\u5bb6\u76ee\u5f55\u4e0b\u521b\u5efa\u811a\u672c\u6587\u4ef6\u3002<\/p>\n<p>\u63d0\u793a&#xff1a;\u867d\u7136\u811a\u672c\u8bbe\u8ba1\u4e3a\u81ea\u52a8\u5316\u8fd0\u884c&#xff0c;\u4f46\u9996\u6b21\u5728\u751f\u4ea7\u73af\u5883\u6267\u884c\u524d&#xff0c;\u5f3a\u70c8\u5efa\u8bae\u5728\u6d4b\u8bd5\u73af\u5883&#xff08;\u5982\u865a\u62df\u673a&#xff09;\u4e2d\u5b8c\u6574\u8dd1\u4e00\u904d&#xff0c;\u9a8c\u8bc1\u5176\u884c\u4e3a\u662f\u5426\u7b26\u5408\u9884\u671f\u3002<\/p>\n<h3>2. \u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5168\u91cf\u89e3\u6790<\/h3>\n<p>\u4e0b\u9762&#xff0c;\u6211\u5c06\u9010\u6bb5\u62c6\u89e3\u8fd9\u4e2a\u81ea\u52a8\u5316\u811a\u672c&#xff0c;\u5e76\u89e3\u91ca\u6bcf\u4e00\u90e8\u5206\u7684\u4f5c\u7528\u548c\u8bbe\u8ba1\u8003\u91cf\u3002\u4f60\u53ef\u4ee5\u5c06\u4ee5\u4e0b\u4ee3\u7801\u5757\u4fdd\u5b58\u4e3a\u4e00\u4e2a\u6587\u4ef6&#xff0c;\u4f8b\u5982deploy_miniconda.sh\u3002<\/p>\n<p>#!\/bin\/bash<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n# Miniconda for Ubuntu &#8211; Automated Deployment Script<br \/>\n# Author: [Your Name\/Team]<br \/>\n# Description: Installs Miniconda3 system-wide and configures for multi-user access.<br \/>\n# &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/p>\n<p>set -euo pipefail  # \u542f\u7528\u4e25\u683c\u9519\u8bef\u5904\u7406&#xff1a;\u547d\u4ee4\u5931\u8d25\u5219\u9000\u51fa&#xff0c;\u4f7f\u7528\u672a\u5b9a\u4e49\u53d8\u91cf\u62a5\u9519<\/p>\n<p>\u811a\u672c\u5f00\u5934\u7684set -euo pipefail\u662f\u7f16\u5199\u5065\u58eeShell\u811a\u672c\u7684\u9ec4\u91d1\u6cd5\u5219\u3002-e\u786e\u4fdd\u4efb\u4f55\u547d\u4ee4\u5931\u8d25&#xff08;\u8fd4\u56de\u975e\u96f6\u72b6\u6001&#xff09;\u65f6\u811a\u672c\u7acb\u5373\u9000\u51fa&#xff1b;-u\u9632\u6b62\u4f7f\u7528\u672a\u5b9a\u4e49\u7684\u53d8\u91cf&#xff1b;-o pipefail\u786e\u4fdd\u7ba1\u9053\u547d\u4ee4\u4e2d\u4efb\u4f55\u4e00\u4e2a\u73af\u8282\u5931\u8d25&#xff0c;\u6574\u4e2a\u7ba1\u9053\u90fd\u88ab\u89c6\u4e3a\u5931\u8d25\u3002\u8fd9\u80fd\u5e2e\u52a9\u6211\u4eec\u5c3d\u65e9\u53d1\u73b0\u9519\u8bef&#xff0c;\u800c\u4e0d\u662f\u8ba9\u9519\u8bef\u6084\u65e0\u58f0\u606f\u5730\u4f20\u9012\u4e0b\u53bb\u3002<\/p>\n<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# 1. \u914d\u7f6e\u53d8\u91cf\u533a (\u7528\u6237\u53ef\u6839\u636e\u9700\u8981\u4fee\u6539)<br \/>\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nCONDA_INSTALL_PATH&#061;&#034;\/opt\/miniconda3&#034;<br \/>\nMINICONDA_VERSION&#061;&#034;py310_23.1.0-1&#034;  # \u683c\u5f0f&#xff1a;py&lt;PY_VER&gt;_&lt;CONDA_VER&gt;<br \/>\nBASE_URL&#061;&#034;https:\/\/repo.anaconda.com\/miniconda&#034;<br \/>\nINSTALLER_NAME&#061;&#034;Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh&#034;<br \/>\nSHASUM_URL&#061;&#034;${BASE_URL}\/${INSTALLER_NAME}.sha256&#034;<br \/>\nTEMP_DIR&#061;&#034;\/tmp\/miniconda_install_$(date &#043;%s)&#034;  # \u4f7f\u7528\u65f6\u95f4\u6233\u521b\u5efa\u552f\u4e00\u4e34\u65f6\u76ee\u5f55<\/p>\n<p># \u53ef\u9009&#xff1a;\u4e3a\u7279\u5b9a\u7528\u6237\u7ec4\u8bbe\u7f6econda\u76ee\u5f55\u7684\u7ba1\u7406\u6743\u9650<br \/>\nCONDA_GROUP&#061;&#034;developers&#034;<br \/>\n# \u53ef\u9009&#xff1a;\u521b\u5efa\u7684\u57fa\u7840\u5171\u4eab\u73af\u5883\u540d\u53caPython\u7248\u672c<br \/>\nBASE_ENV_NAME&#061;&#034;ds_base&#034;<br \/>\nBASE_PYTHON_VERSION&#061;&#034;3.9&#034;<\/p>\n<p>\u8fd9\u4e2a\u914d\u7f6e\u533a\u662f\u811a\u672c\u7684\u201c\u63a7\u5236\u9762\u677f\u201d\u3002\u4f60\u53ef\u4ee5\u5728\u8fd9\u91cc\u5b9a\u5236\u51e0\u4e4e\u6240\u6709\u5173\u952e\u53c2\u6570&#xff1a;<\/p>\n<ul>\n<li>CONDA_INSTALL_PATH&#xff1a;\u6211\u63a8\u8350\u4f7f\u7528\/opt\u6216\/usr\/local\u4e0b\u7684\u76ee\u5f55\u4f5c\u4e3a\u7cfb\u7edf\u7ea7\u5b89\u88c5\u8def\u5f84&#xff0c;\u8fd9\u6bd4\u5b89\u88c5\u5728\u7528\u6237\u5bb6\u76ee\u5f55\u66f4\u7b26\u5408\u591a\u7528\u6237\u573a\u666f\u3002<\/li>\n<li>MINICONDA_VERSION&#xff1a;\u6307\u5b9a\u8981\u5b89\u88c5\u7684\u7248\u672c\u3002\u4f60\u53ef\u4ee5\u53bbMiniconda\u5b98\u65b9\u9875\u9762\u67e5\u770b\u6700\u65b0\u7248\u672c\u53f7\u8fdb\u884c\u66ff\u6362\u3002\u8fd9\u91cc\u4f7f\u7528\u53d8\u91cf\u62fc\u63a5&#xff0c;\u65b9\u4fbf\u7ef4\u62a4\u3002<\/li>\n<li>CONDA_GROUP&#xff1a;\u5982\u679c\u4f60\u5e0c\u671b\u4e00\u4e2a\u7528\u6237\u7ec4&#xff08;\u5982\u6240\u6709\u5f00\u53d1\u8005&#xff09;\u90fd\u80fd\u81ea\u7531\u521b\u5efa\u3001\u5220\u9664\u865a\u62df\u73af\u5883&#xff0c;\u53ef\u4ee5\u5728\u8fd9\u91cc\u8bbe\u7f6e\u3002\u811a\u672c\u540e\u7eed\u4f1a\u521b\u5efa\u8fd9\u4e2a\u7ec4\u5e76\u8c03\u6574\u76ee\u5f55\u6743\u9650\u3002<\/li>\n<\/ul>\n<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# 2. \u9884\u68c0\u67e5&#xff1a;\u7cfb\u7edf\u4e0e\u4f9d\u8d56<br \/>\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\necho &#034;[INFO] \u5f00\u59cb\u7cfb\u7edf\u4e0e\u4f9d\u8d56\u68c0\u67e5&#8230;&#034;<br \/>\n# \u68c0\u67e5\u662f\u5426\u4e3aUbuntu\/Debian\u7cfb<br \/>\nif ! grep -qi &#034;ubuntu\\\\|debian&#034; \/etc\/os-release; then<br \/>\n    echo &#034;[ERROR] \u6b64\u811a\u672c\u4ec5\u9002\u7528\u4e8eUbuntu\/Debian\u53ca\u5176\u884d\u751f\u7cfb\u7edf\u3002&#034;<br \/>\n    exit 1<br \/>\nfi<\/p>\n<p># \u66f4\u65b0\u5305\u5217\u8868\u5e76\u5b89\u88c5\u5fc5\u8981\u5de5\u5177<br \/>\nsudo apt-get update -qq  # -qq \u51cf\u5c11\u8f93\u51fa\u566a\u97f3<br \/>\nsudo apt-get install -y -qq wget bzip2 ca-certificates<\/p>\n<p># \u68c0\u67e5\u662f\u5426\u5df2\u5b89\u88c5conda (\u907f\u514d\u91cd\u590d\u5b89\u88c5)<br \/>\nif [[ -d &#034;${CONDA_INSTALL_PATH}&#034; ]] &amp;&amp; [[ -f &#034;${CONDA_INSTALL_PATH}\/bin\/conda&#034; ]]; then<br \/>\n    echo &#034;[WARN] Miniconda \u4f3c\u4e4e\u5df2\u5b89\u88c5\u4e8e ${CONDA_INSTALL_PATH}\u3002\u5982\u9700\u91cd\u88c5&#xff0c;\u8bf7\u5148\u624b\u52a8\u5220\u9664\u8be5\u76ee\u5f55\u3002&#034;<br \/>\n    # \u53ef\u4ee5\u9009\u62e9\u9000\u51fa&#xff0c;\u4e5f\u53ef\u4ee5\u9009\u62e9\u7ee7\u7eed\u6267\u884c\u540e\u7eed\u7684\u914d\u7f6e\u6b65\u9aa4<br \/>\n    # exit 0<br \/>\nfi<\/p>\n<p>\u9884\u68c0\u67e5\u90e8\u5206\u63d0\u5347\u4e86\u811a\u672c\u7684\u53cb\u597d\u5ea6\u548c\u5b89\u5168\u6027\u3002\u68c0\u67e5\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u53ef\u4ee5\u9632\u6b62\u7528\u6237\u5728\u9519\u8bef\u7684\u7cfb\u7edf\u4e0a\u8fd0\u884c\u811a\u672c\u3002\u5b89\u9759\u6a21\u5f0f(-qq)\u5b89\u88c5\u4f9d\u8d56\u80fd\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u63a7\u5236\u53f0\u8f93\u51fa\u3002\u68c0\u67e5\u662f\u5426\u5df2\u5b89\u88c5Conda\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u5e42\u7b49\u6027\u5b9e\u8df5&#xff0c;\u5b83\u907f\u514d\u4e86\u5728\u5df2\u6709\u5b89\u88c5\u4e0a\u91cd\u590d\u8fd0\u884c\u53ef\u80fd\u5e26\u6765\u7684\u95ee\u9898\u3002<\/p>\n<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# 3. \u4e0b\u8f7d\u4e0e\u6821\u9a8c\u5b89\u88c5\u5668<br \/>\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\necho &#034;[INFO] \u51c6\u5907\u4e0b\u8f7d Miniconda \u5b89\u88c5\u5668&#8230;&#034;<br \/>\nmkdir -p &#034;${TEMP_DIR}&#034;<br \/>\ncd &#034;${TEMP_DIR}&#034;<\/p>\n<p>echo &#034;[INFO] \u4e0b\u8f7d ${INSTALLER_NAME} &#8230;&#034;<br \/>\nwget -q &#8211;show-progress &#034;${BASE_URL}\/${INSTALLER_NAME}&#034;<\/p>\n<p>echo &#034;[INFO] \u4e0b\u8f7d SHA256 \u6821\u9a8c\u6587\u4ef6&#8230;&#034;<br \/>\nwget -q &#034;${SHASUM_URL}&#034;<\/p>\n<p>echo &#034;[INFO] \u9a8c\u8bc1\u6587\u4ef6\u5b8c\u6574\u6027&#8230;&#034;<br \/>\n# \u8ba1\u7b97\u4e0b\u8f7d\u6587\u4ef6\u7684SHA256&#xff0c;\u5e76\u4e0e\u4e0b\u8f7d\u7684\u6821\u9a8c\u6587\u4ef6\u5185\u5bb9\u5bf9\u6bd4<br \/>\ndownloaded_sha&#061;$(sha256sum &#034;${INSTALLER_NAME}&#034; | cut -d&#039; &#039; -f1)<br \/>\nexpected_sha&#061;$(cat &#034;${INSTALLER_NAME}.sha256&#034; | cut -d&#039; &#039; -f1)<\/p>\n<p>if [[ &#034;${downloaded_sha}&#034; !&#061; &#034;${expected_sha}&#034; ]]; then<br \/>\n    echo &#034;[ERROR] SHA256 \u6821\u9a8c\u5931\u8d25&#xff01;\u6587\u4ef6\u53ef\u80fd\u5df2\u635f\u574f\u6216\u88ab\u7be1\u6539\u3002&#034;<br \/>\n    echo &#034;        \u4e0b\u8f7d\u7684: ${downloaded_sha}&#034;<br \/>\n    echo &#034;        \u671f\u671b\u7684: ${expected_sha}&#034;<br \/>\n    exit 1<br \/>\nelse<br \/>\n    echo &#034;[OK] \u6587\u4ef6\u5b8c\u6574\u6027\u9a8c\u8bc1\u901a\u8fc7\u3002&#034;<br \/>\nfi<\/p>\n<p>\u6587\u4ef6\u6821\u9a8c\u662f\u5b89\u5168\u5b89\u88c5\u7684\u57fa\u77f3\u3002\u76f4\u63a5\u4ece\u5b98\u65b9\u955c\u50cf\u4e0b\u8f7d\u6821\u9a8c\u548c\u6587\u4ef6&#xff0c;\u5e76\u4e0e\u672c\u5730\u8ba1\u7b97\u7684\u54c8\u5e0c\u503c\u6bd4\u5bf9&#xff0c;\u53ef\u4ee5\u6709\u6548\u9632\u5fa1\u4e2d\u95f4\u4eba\u653b\u51fb\u6216CDN\u52ab\u6301\u5bfc\u81f4\u4e0b\u8f7d\u5230\u6076\u610f\u5b89\u88c5\u5305\u7684\u98ce\u9669\u3002cut -d&#039; &#039; -f1\u547d\u4ee4\u7528\u4e8e\u7cbe\u786e\u63d0\u53d6\u54c8\u5e0c\u503c\u5b57\u7b26\u4e32&#xff0c;\u56e0\u4e3asha256sum\u547d\u4ee4\u7684\u8f93\u51fa\u683c\u5f0f\u662f\u201c\u54c8\u5e0c\u503c \u6587\u4ef6\u540d\u201d\u3002<\/p>\n<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# 4. \u6267\u884c\u9759\u9ed8\u5b89\u88c5<br \/>\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\necho &#034;[INFO] \u5f00\u59cb\u5b89\u88c5 Miniconda \u5230 ${CONDA_INSTALL_PATH} &#8230;&#034;<br \/>\n# -b: \u6279\u5904\u7406\u6a21\u5f0f&#xff0c;\u65e0\u9700\u4ea4\u4e92<br \/>\n# -p: \u6307\u5b9a\u5b89\u88c5\u8def\u5f84<br \/>\n# -u: \u66f4\u65b0\u73b0\u6709\u5b89\u88c5&#xff08;\u5982\u679c\u5b58\u5728&#xff09;<br \/>\nbash &#034;${INSTALLER_NAME}&#034; -b -p &#034;${CONDA_INSTALL_PATH}&#034;<\/p>\n<p>echo &#034;[OK] Miniconda \u5b89\u88c5\u5b8c\u6210\u3002&#034;<\/p>\n<p>-b&#xff08;batch&#xff09;\u53c2\u6570\u662f\u5b9e\u73b0\u81ea\u52a8\u5316\u7684\u5173\u952e&#xff0c;\u5b83\u8ba9\u5b89\u88c5\u7a0b\u5e8f\u8df3\u8fc7\u6240\u6709\u7684\u4ea4\u4e92\u5f0f\u63d0\u95ee&#xff08;\u5982\u9605\u8bfb\u8bb8\u53ef\u8bc1\u3001\u786e\u8ba4\u5b89\u88c5\u8def\u5f84&#xff09;&#xff0c;\u76f4\u63a5\u4f7f\u7528\u9ed8\u8ba4\u503c\u6216\u6211\u4eec\u901a\u8fc7-p\u53c2\u6570\u6307\u5b9a\u7684\u8def\u5f84\u8fdb\u884c\u5b89\u88c5\u3002-u\u53c2\u6570\u5141\u8bb8\u811a\u672c\u5728\u5df2\u5b58\u5728\u65e7\u7248\u672c\u65f6\u8fdb\u884c\u5347\u7ea7\u3002<\/p>\n<h3>3. \u7cfb\u7edf\u7ea7\u914d\u7f6e\u4e0e\u591a\u7528\u6237\u8bbe\u7f6e<\/h3>\n<p>\u5b89\u88c5\u4e8c\u8fdb\u5236\u6587\u4ef6\u53ea\u662f\u7b2c\u4e00\u6b65&#xff0c;\u8ba9\u7cfb\u7edf\u6240\u6709\u7528\u6237\u90fd\u80fd\u65b9\u4fbf\u5730\u4f7f\u7528conda\u547d\u4ee4&#xff0c;\u5e76\u4e14\u7ba1\u7406\u597d\u73af\u5883\u9694\u79bb&#xff0c;\u624d\u662f\u66f4\u91cd\u8981\u7684\u914d\u7f6e\u73af\u8282\u3002<\/p>\n<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# 5. \u914d\u7f6e\u7cfb\u7edf\u7ea7\u73af\u5883\u53d8\u91cf<br \/>\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\necho &#034;[INFO] \u914d\u7f6e\u7cfb\u7edf\u7ea7\u73af\u5883\u53d8\u91cf&#8230;&#034;<br \/>\n# \u5728 \/etc\/profile.d\/ \u4e0b\u521b\u5efa\u914d\u7f6e\u811a\u672c&#xff0c;\u8fd9\u662f\u914d\u7f6e\u5168\u5c40\u73af\u5883\u53d8\u91cf\u7684\u63a8\u8350\u65b9\u5f0f<br \/>\nCONDA_PROFILE&#061;&#034;\/etc\/profile.d\/conda.sh&#034;<\/p>\n<p>sudo tee &#034;${CONDA_PROFILE}&#034; &gt; \/dev\/null &lt;&lt; EOF<br \/>\n# \u7531 Miniconda \u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u6dfb\u52a0<br \/>\n# \u5c06 Conda \u52a0\u5165 PATH&#xff0c;\u5e76\u8bbe\u7f6e Conda \u57fa\u7840\u73af\u5883\u4e3a\u4e0d\u81ea\u52a8\u6fc0\u6d3b<br \/>\nexport PATH&#061;&#034;${CONDA_INSTALL_PATH}\/bin:\\\\$PATH&#034;<br \/>\n# \u7981\u7528\u81ea\u52a8\u6fc0\u6d3b base \u73af\u5883&#xff0c;\u907f\u514d\u5f71\u54cd\u6240\u6709\u7528\u6237\u7684Shell<br \/>\nconda config &#8211;set auto_activate_base false<br \/>\nEOF<\/p>\n<p>echo &#034;[INFO] \u5df2\u521b\u5efa\u5168\u5c40\u914d\u7f6e\u6587\u4ef6: ${CONDA_PROFILE}&#034;<br \/>\necho &#034;[INFO] \u65b0\u767b\u5f55\u7684\u4f1a\u8bdd\u5c06\u81ea\u52a8\u8f7d\u5165 conda \u547d\u4ee4\u3002\u5f53\u524d\u4f1a\u8bdd\u8bf7\u624b\u52a8\u6267\u884c: source ${CONDA_PROFILE}&#034;<\/p>\n<p>\u5c06\u914d\u7f6e\u653e\u5728\/etc\/profile.d\/conda.sh\u662f\u4e00\u4e2a\u6700\u4f73\u5b9e\u8df5\u3002\/etc\/profile.d\/\u76ee\u5f55\u4e0b\u7684\u811a\u672c\u4f1a\u5728\u6240\u6709\u7528\u6237\u767b\u5f55\u65f6\u88absource\u6267\u884c\u3002\u8fd9\u6837\u505a\u7684\u597d\u5904\u662f&#xff1a;<\/p>\n<ul>\n<li>\u6a21\u5757\u5316&#xff1a;\u4e0e\u76f4\u63a5\u4fee\u6539\/etc\/profile\u6216\/etc\/bash.bashrc\u76f8\u6bd4&#xff0c;\u66f4\u5e72\u51c0&#xff0c;\u6613\u4e8e\u7ba1\u7406&#xff08;\u5220\u9664\u8be5\u6587\u4ef6\u5373\u53ef\u79fb\u9664\u914d\u7f6e&#xff09;\u3002<\/li>\n<li>\u5bf9\u6240\u6709Shell\u751f\u6548&#xff1a;\u9002\u7528\u4e8ebash\u3001sh\u7b49\u3002<\/li>\n<li>\u5185\u5bb9\u53ef\u63a7&#xff1a;\u6211\u4eec\u901a\u8fc7sudo tee\u548cHere Document (&lt;&lt; EOF)\u7cbe\u786e\u5199\u5165\u6211\u4eec\u9700\u8981\u7684\u5185\u5bb9\u3002<\/li>\n<\/ul>\n<p>\u811a\u672c\u4e2d\u7279\u522b\u8bbe\u7f6e\u4e86conda config &#8211;set auto_activate_base false\u3002\u5728\u670d\u52a1\u5668\u591a\u7528\u6237\u73af\u5883\u4e0b&#xff0c;\u5f3a\u70c8\u5efa\u8bae\u7981\u7528base\u73af\u5883\u7684\u81ea\u52a8\u6fc0\u6d3b\u3002\u56e0\u4e3abase\u73af\u5883\u662fConda\u7684\u6839&#xff0c;\u5982\u679c\u6bcf\u4e2a\u7528\u6237\u4e00\u767b\u5f55\u5c31\u81ea\u52a8\u8fdb\u5165&#xff0c;\u4ed6\u4eec\u5b89\u88c5\u7684\u5305\u53ef\u80fd\u4f1a\u76f8\u4e92\u51b2\u7a81&#xff0c;\u6216\u8005\u65e0\u610f\u4e2d\u4fee\u6539\u4e86\u5171\u4eab\u7684base\u73af\u5883&#xff0c;\u5bfc\u81f4\u7cfb\u7edf\u4e0d\u7a33\u5b9a\u3002\u8ba9\u6bcf\u4e2a\u7528\u6237\u663e\u5f0f\u5730\u521b\u5efa\u548c\u6fc0\u6d3b\u81ea\u5df1\u7684\u865a\u62df\u73af\u5883\u662f\u66f4\u6e05\u6670\u3001\u66f4\u5b89\u5168\u7684\u65b9\u5f0f\u3002<\/p>\n<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# 6. \u6743\u9650\u4e0e\u7528\u6237\u7ec4\u7ba1\u7406 (\u53ef\u9009)<br \/>\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nif [[ -n &#034;${CONDA_GROUP}&#034; ]]; then<br \/>\n    echo &#034;[INFO] \u8bbe\u7f6e\u76ee\u5f55\u6743\u9650\u7ed9\u7528\u6237\u7ec4: ${CONDA_GROUP}&#8230;&#034;<br \/>\n    # \u68c0\u67e5\u7528\u6237\u7ec4\u662f\u5426\u5b58\u5728&#xff0c;\u4e0d\u5b58\u5728\u5219\u521b\u5efa<br \/>\n    if ! getent group &#034;${CONDA_GROUP}&#034; &gt; \/dev\/null; then<br \/>\n        sudo groupadd &#034;${CONDA_GROUP}&#034;<br \/>\n        echo &#034;[INFO] \u5df2\u521b\u5efa\u7528\u6237\u7ec4: ${CONDA_GROUP}&#034;<br \/>\n    fi<br \/>\n    # \u5c06conda\u5b89\u88c5\u76ee\u5f55\u7684\u7ec4\u6240\u6709\u6743\u6539\u4e3a\u6307\u5b9a\u7ec4&#xff0c;\u5e76\u8bbe\u7f6esetgid\u4f4d<br \/>\n    sudo chgrp -R &#034;${CONDA_GROUP}&#034; &#034;${CONDA_INSTALL_PATH}&#034;<br \/>\n    sudo chmod -R g&#043;rwX &#034;${CONDA_INSTALL_PATH}&#034;<br \/>\n    sudo chmod g&#043;s &#034;${CONDA_INSTALL_PATH}&#034;  # setgid: \u5728\u6b64\u76ee\u5f55\u4e0b\u65b0\u5efa\u7684\u6587\u4ef6\u5c06\u7ee7\u627f\u7ec4\u6240\u6709\u6743<br \/>\n    echo &#034;[INFO] \u7528\u6237\u7ec4 ${CONDA_GROUP} \u7684\u6210\u5458\u73b0\u5728\u53ef\u4ee5\u7ba1\u7406 ${CONDA_INSTALL_PATH} \u4e0b\u7684\u73af\u5883\u3002&#034;<br \/>\n    echo &#034;       \u8bf7\u8bb0\u5f97\u5c06\u76f8\u5173\u7528\u6237\u52a0\u5165\u8be5\u7ec4: sudo usermod -aG ${CONDA_GROUP} &lt;username&gt;&#034;<br \/>\nfi<\/p>\n<p>\u8fd9\u90e8\u5206\u662f\u53ef\u9009\u7684&#xff0c;\u4f46\u5bf9\u4e8e\u56e2\u961f\u534f\u4f5c\u6781\u5176\u6709\u7528\u3002\u901a\u8fc7\u521b\u5efa\u4e00\u4e2a\u4e13\u95e8\u7684\u7528\u6237\u7ec4&#xff08;\u5982developers&#xff09;&#xff0c;\u5e76\u8c03\u6574Conda\u5b89\u88c5\u76ee\u5f55\u7684\u6743\u9650&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0&#xff1a;<\/p>\n<ul>\n<li>\u5171\u4eab\u7ba1\u7406&#xff1a;\u7ec4\u5185\u6240\u6709\u6210\u5458\u90fd\u53ef\u4ee5\u5728\/opt\/miniconda3\/envs\/\u4e0b\u521b\u5efa\u3001\u5220\u9664\u3001\u5b89\u88c5\u5305\u5230\u865a\u62df\u73af\u5883\u3002<\/li>\n<li>\u6743\u9650\u7ee7\u627f&#xff1a;chmod g&#043;s\u8bbe\u7f6e\u7684setgid\u4f4d\u786e\u4fdd\u4e86\u4efb\u4f55\u7528\u6237\u5728\u8be5\u76ee\u5f55\u4e0b\u521b\u5efa\u7684\u65b0\u6587\u4ef6&#xff08;\u5982\u65b0\u865a\u62df\u73af\u5883&#xff09;&#xff0c;\u5176\u6240\u5c5e\u7ec4\u90fd\u662fdevelopers&#xff0c;\u4ece\u800c\u7ef4\u6301\u4e86\u7ec4\u5185\u534f\u4f5c\u7684\u6743\u9650\u4e00\u81f4\u6027\u3002<\/li>\n<li>\u5b89\u5168\u9694\u79bb&#xff1a;\u5176\u4ed6\u975e\u7ec4\u6210\u5458\u7528\u6237\u4ecd\u7136\u53ef\u4ee5\u4f7f\u7528conda\u547d\u4ee4&#xff0c;\u4f46\u65e0\u6cd5\u4fee\u6539\u5171\u4eab\u7684\u73af\u5883&#xff0c;\u4ed6\u4eec\u53ef\u4ee5\u5728\u81ea\u5df1\u7684\u5bb6\u76ee\u5f55\u4e0b\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<h3>4. \u9ad8\u7ea7\u521d\u59cb\u5316\u4e0e\u8fd0\u7ef4\u5b9e\u8df5<\/h3>\n<p>\u57fa\u7840\u5b89\u88c5\u548c\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u6211\u4eec\u53ef\u4ee5\u8ba9\u811a\u672c\u505a\u4e00\u4e9b\u66f4\u201c\u806a\u660e\u201d\u7684\u4e8b\u60c5&#xff0c;\u6bd4\u5982\u521d\u59cb\u5316\u4e00\u4e9b\u5171\u4eab\u73af\u5883&#xff0c;\u6216\u8005\u96c6\u6210\u5230\u66f4\u5e7f\u6cdb\u7684\u8fd0\u7ef4\u6d41\u7a0b\u4e2d\u3002<\/p>\n<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# 7. \u521d\u59cb\u5316\u57fa\u7840\u5171\u4eab\u73af\u5883 (\u53ef\u9009)<br \/>\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nif [[ -n &#034;${BASE_ENV_NAME}&#034; ]]; then<br \/>\n    echo &#034;[INFO] \u521b\u5efa\u57fa\u7840\u5171\u4eab\u73af\u5883: ${BASE_ENV_NAME} (Python ${BASE_PYTHON_VERSION})&#8230;&#034;<br \/>\n    # \u5148\u52a0\u8f7dconda\u547d\u4ee4\u5230\u5f53\u524d\u811a\u672c\u73af\u5883<br \/>\n    source &#034;${CONDA_INSTALL_PATH}\/etc\/profile.d\/conda.sh&#034;<br \/>\n    # \u521b\u5efa\u73af\u5883<br \/>\n    conda create -y &#8211;name &#034;${BASE_ENV_NAME}&#034; python&#061;&#034;${BASE_PYTHON_VERSION}&#034;<br \/>\n    # \u6fc0\u6d3b\u73af\u5883\u5e76\u5b89\u88c5\u4e00\u4e9b\u5e38\u7528\u5305<br \/>\n    conda activate &#034;${BASE_ENV_NAME}&#034;<br \/>\n    conda install -y numpy pandas matplotlib scikit-learn jupyter<br \/>\n    conda deactivate<br \/>\n    echo &#034;[OK] \u57fa\u7840\u73af\u5883 &#039;${BASE_ENV_NAME}&#039; \u521b\u5efa\u5e76\u914d\u7f6e\u5b8c\u6210\u3002&#034;<br \/>\n    echo &#034;      \u7528\u6237\u53ef\u4ee5\u4f7f\u7528 &#039;conda activate ${BASE_ENV_NAME}&#039; \u6765\u4f7f\u7528\u6b64\u73af\u5883\u3002&#034;<br \/>\nfi<\/p>\n<p>\u521b\u5efa\u5171\u4eab\u57fa\u7840\u73af\u5883\u80fd\u6781\u5927\u63d0\u5347\u56e2\u961f\u6548\u7387\u3002\u65b0\u6210\u5458\u52a0\u5165\u540e&#xff0c;\u65e0\u9700\u81ea\u5df1\u4ece\u5934\u914d\u7f6e\u4e00\u5957\u5305\u542bNumPy\u3001Pandas\u7b49\u901a\u7528\u5e93\u7684\u73af\u5883&#xff0c;\u76f4\u63a5\u6fc0\u6d3b\u8fd9\u4e2a\u5171\u4eab\u73af\u5883\u5373\u53ef\u5f00\u59cb\u5de5\u4f5c\u3002\u8fd9\u4fdd\u8bc1\u4e86\u56e2\u961f\u5185\u90e8\u5de5\u5177\u94fe\u7684\u4e00\u81f4\u6027\u3002<\/p>\n<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# 8. \u6e05\u7406\u4e0e\u6700\u7ec8\u63d0\u793a<br \/>\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\necho &#034;[INFO] \u6e05\u7406\u4e34\u65f6\u6587\u4ef6&#8230;&#034;<br \/>\ncd \/<br \/>\nrm -rf &#034;${TEMP_DIR}&#034;<\/p>\n<p>echo -e &#034;\\\\n&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<br \/>\necho &#034;[SUCCESS] Miniconda \u81ea\u52a8\u5316\u90e8\u7f72\u5b8c\u6210&#xff01;&#034;<br \/>\necho &#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<br \/>\necho &#034;\u5b89\u88c5\u8def\u5f84: ${CONDA_INSTALL_PATH}&#034;<br \/>\necho &#034;\u5168\u5c40\u914d\u7f6e: ${CONDA_PROFILE}&#034;<br \/>\nif [[ -n &#034;${CONDA_GROUP}&#034; ]]; then<br \/>\n    echo &#034;\u7ba1\u7406\u7ec4: ${CONDA_GROUP} (\u8bf7\u5c06\u7528\u6237\u52a0\u5165\u6b64\u7ec4)&#034;<br \/>\nfi<br \/>\nif [[ -n &#034;${BASE_ENV_NAME}&#034; ]]; then<br \/>\n    echo &#034;\u5171\u4eab\u73af\u5883: ${BASE_ENV_NAME}&#034;<br \/>\nfi<br \/>\necho -e &#034;\\\\n\u4e0b\u4e00\u6b65\u64cd\u4f5c:&#034;<br \/>\necho &#034;1. \u8ba9\u6240\u6709\u7528\u6237\u91cd\u65b0\u767b\u5f55&#xff0c;\u6216\u624b\u52a8\u6267\u884c &#039;source ${CONDA_PROFILE}&#039;&#034;<br \/>\necho &#034;2. \u9a8c\u8bc1\u5b89\u88c5: conda &#8211;version&#034;<br \/>\necho &#034;3. \u7528\u6237\u521b\u5efa\u81ea\u5df1\u7684\u73af\u5883: conda create -n myenv python&#061;3.10&#034;<br \/>\necho &#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;\\\\n&#034;<\/p>\n<p>\u6e05\u6670\u7684\u6700\u7ec8\u8f93\u51fa\u80fd\u8ba9\u6267\u884c\u8005\u4e00\u76ee\u4e86\u7136\u5730\u77e5\u9053\u90e8\u7f72\u7ed3\u679c\u548c\u540e\u7eed\u6b65\u9aa4\u3002\u6e05\u7406\u4e34\u65f6\u6587\u4ef6\u662f\u4e00\u4e2a\u597d\u4e60\u60ef\u3002<\/p>\n<p>\u811a\u672c\u5199\u597d\u4e86&#xff0c;\u600e\u4e48\u7528\u5462&#xff1f;\u5f88\u7b80\u5355&#xff0c;\u901a\u8fc7SSH\u4f20\u5230\u670d\u52a1\u5668&#xff0c;\u8d4b\u4e88\u6267\u884c\u6743\u9650\u7136\u540e\u8fd0\u884c&#xff1a;<\/p>\n<p># \u672c\u5730\u64cd\u4f5c<br \/>\nscp deploy_miniconda.sh user&#064;your-server:\/tmp\/<br \/>\nssh user&#064;your-server<br \/>\n# \u670d\u52a1\u5668\u4e0a\u64cd\u4f5c<br \/>\ncd \/tmp<br \/>\nchmod &#043;x deploy_miniconda.sh<br \/>\n# \u6267\u884c\u811a\u672c&#xff0c;\u6240\u6709\u8f93\u51fa\u4f1a\u663e\u793a\u5728\u7ec8\u7aef<br \/>\nsudo .\/deploy_miniconda.sh<\/p>\n<p>\u8fd9\u4e2a\u811a\u672c\u662f\u7ebf\u6027\u7684&#xff0c;\u4f46\u5728\u5b9e\u9645\u751f\u4ea7\u90e8\u7f72\u4e2d&#xff0c;\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Ansible\u3001SaltStack\u6216Terraform\u8fd9\u6837\u7684\u914d\u7f6e\u7ba1\u7406\u5de5\u5177\u6765\u8c03\u7528\u5b83&#xff0c;\u6216\u8005\u5c06\u5176\u5c01\u88c5\u6210Docker\u955c\u50cf\u6784\u5efa\u7684\u4e00\u90e8\u5206\u3002\u8fd9\u65f6&#xff0c;\u4f60\u53ef\u4ee5\u8003\u8651\u5c06\u811a\u672c\u62c6\u5206\u6210\u66f4\u7ec6\u7c92\u5ea6\u7684\u51fd\u6570&#xff0c;\u6216\u8005\u901a\u8fc7\u547d\u4ee4\u884c\u53c2\u6570\u6765\u63a5\u53d7\u914d\u7f6e&#xff0c;\u4f7f\u5176\u53d8\u6210\u4e00\u4e2a\u66f4\u901a\u7528\u7684\u5de5\u5177\u3002<\/p>\n<p>\u4f8b\u5982&#xff0c;\u4e00\u4e2a\u7b80\u5355\u7684\u53c2\u6570\u5316\u6539\u9020\u5f00\u5934&#xff1a;<\/p>\n<p>#!\/bin\/bash<br \/>\n# \u7528\u6cd5: .\/deploy_miniconda.sh [-p PATH] [-v VERSION] [-g GROUP]<br \/>\nINSTALL_PATH&#061;&#034;\/opt\/miniconda3&#034;<br \/>\nVERSION&#061;&#034;py310_23.1.0-1&#034;<br \/>\nUSER_GROUP&#061;&#034;&#034;<\/p>\n<p>while getopts &#034;p:v:g:&#034; opt; do<br \/>\n  case ${opt} in<br \/>\n    p ) INSTALL_PATH&#061;&#034;$OPTARG&#034; ;;<br \/>\n    v ) VERSION&#061;&#034;$OPTARG&#034; ;;<br \/>\n    g ) USER_GROUP&#061;&#034;$OPTARG&#034; ;;<br \/>\n    \\\\? ) echo &#034;\u7528\u6cd5: $0 [-p \u5b89\u88c5\u8def\u5f84] [-v \u7248\u672c\u53f7] [-g \u7528\u6237\u7ec4]&#034;; exit 1 ;;<br \/>\n  esac<br \/>\ndone<br \/>\n# \u540e\u7eed\u811a\u672c\u4f7f\u7528\u8fd9\u4e9b\u53d8\u91cf&#8230;<\/p>\n<p>\u6700\u540e&#xff0c;\u5206\u4eab\u4e24\u4e2a\u5728\u8fd0\u7ef4\u4e2d\u8e29\u8fc7\u7684\u5751\u3002\u4e00\u662f\u78c1\u76d8\u7a7a\u95f4&#xff0c;\/opt\u6216\/usr\/local\u6240\u5728\u7684\u5206\u533a\u9700\u8981\u6709\u8db3\u591f\u7a7a\u95f4&#xff08;\u5efa\u8bae\u9884\u755910GB\u4ee5\u4e0a&#xff09;&#xff0c;\u56e0\u4e3a\u865a\u62df\u73af\u5883\u548c\u7f13\u5b58\u5305\u4f1a\u5360\u7528\u5927\u91cf\u7a7a\u95f4\u3002\u4e8c\u662f\u7f51\u7edc\u4ee3\u7406&#xff0c;\u5982\u679c\u670d\u52a1\u5668\u5904\u5728\u5185\u7f51\u9700\u8981\u4ee3\u7406\u8bbf\u95ee\u5916\u7f51&#xff0c;\u8bb0\u5f97\u5728\u8fd0\u884c\u811a\u672c\u524d\u8bbe\u7f6ehttp_proxy\u548chttps_proxy\u73af\u5883\u53d8\u91cf&#xff0c;\u5426\u5219wget\u4e0b\u8f7d\u4f1a\u5931\u8d25\u3002\u53ef\u4ee5\u5728\u811a\u672c\u7684\u4f9d\u8d56\u5b89\u88c5\u90e8\u5206\u4e4b\u540e\u6dfb\u52a0\u8fd9\u6837\u7684\u68c0\u6d4b&#xff1a;<\/p>\n<p>if [[ -n &#034;${http_proxy}&#034; ]]; then<br \/>\n    echo &#034;[INFO] \u68c0\u6d4b\u5230\u4ee3\u7406\u8bbe\u7f6e&#xff0c;\u5c06\u914d\u7f6econda\u4f7f\u7528\u4ee3\u7406&#8230;&#034;<br \/>\n    # \u53ef\u4ee5\u5c06\u4ee3\u7406\u8bbe\u7f6e\u5199\u5165conda\u914d\u7f6e<br \/>\nfi<\/p>\n<p>\u628a\u91cd\u590d\u7684\u5de5\u4f5c\u81ea\u52a8\u5316&#xff0c;\u628a\u7ecf\u9a8c\u6c89\u6dc0\u6210\u811a\u672c\u548c\u6587\u6863&#xff0c;\u8fd9\u662f\u5de5\u7a0b\u5e08\u63d0\u5347\u6548\u7387\u3001\u4fdd\u8bc1\u8d28\u91cf\u6700\u5b9e\u5728\u7684\u65b9\u6cd5\u3002\u5e0c\u671b\u8fd9\u5957\u811a\u672c\u80fd\u6210\u4e3a\u4f60\u670d\u52a1\u5668\u73af\u5883\u7ba1\u7406\u5de5\u5177\u7bb1\u91cc\u4e00\u4ef6\u79f0\u624b\u7684\u5de5\u5177\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab&#xff08;\u4e00\u952e\u5b89\u88c5\u73af\u5883\u521d\u59cb\u5316&#xff09;<br \/>\n\u6700\u8fd1\u5728\u5e2e\u51e0\u4e2a\u56e2\u961f\u642d\u5efa\u6570\u636e\u79d1\u5b66\u548c\u673a\u5668\u5b66\u4e60\u5f00\u53d1\u5e73\u53f0&#xff0c;\u53d1\u73b0\u4e00\u4e2a\u9ad8\u9891\u9700\u6c42&#xff1a;\u5982\u4f55\u5728\u65b0\u7684Ubuntu\u670d\u52a1\u5668\u4e0a\u5feb\u901f\u3001\u4e00\u81f4\u5730\u90e8\u7f72Python\u73af\u5883\u3002\u624b\u52a8\u5b89\u88c5Miniconda\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4e3a\u4e0d\u540c\u7528\u6237\u8bbe\u7f6e\u6743\u9650&#xff0c;\u8fd9\u5957\u6d41\u7a0b\u91cd\u590d\u4e86\u4e0d\u4e0b\u5341\u6b21\u540e&#xff0c;\u6211\u610f\u8bc6\u5230\u662f\u65f6\u5019\u628a\u8fd9\u4e00\u5957\u64cd\u4f5c\u811a\u672c\u5316\u4e86\u3002\u5bf9\u4e8e\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u548c\u9700\u8981\u7ba1\u7406\u591a\u53f0\u670d\u52a1\u5668\u7684\u5f00\u53d1\u8005\u6765\u8bf4&amp;#xff0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6322,103,774,3781],"topic":[],"class_list":["post-78174","post","type-post","status-publish","format-standard","hentry","category-server","tag-miniconda","tag-ubuntu","tag-774","tag-3781"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/78174.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab&#xff08;\u4e00\u952e\u5b89\u88c5\u73af\u5883\u521d\u59cb\u5316&#xff09; \u6700\u8fd1\u5728\u5e2e\u51e0\u4e2a\u56e2\u961f\u642d\u5efa\u6570\u636e\u79d1\u5b66\u548c\u673a\u5668\u5b66\u4e60\u5f00\u53d1\u5e73\u53f0&#xff0c;\u53d1\u73b0\u4e00\u4e2a\u9ad8\u9891\u9700\u6c42&#xff1a;\u5982\u4f55\u5728\u65b0\u7684Ubuntu\u670d\u52a1\u5668\u4e0a\u5feb\u901f\u3001\u4e00\u81f4\u5730\u90e8\u7f72Python\u73af\u5883\u3002\u624b\u52a8\u5b89\u88c5Miniconda\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4e3a\u4e0d\u540c\u7528\u6237\u8bbe\u7f6e\u6743\u9650&#xff0c;\u8fd9\u5957\u6d41\u7a0b\u91cd\u590d\u4e86\u4e0d\u4e0b\u5341\u6b21\u540e&#xff0c;\u6211\u610f\u8bc6\u5230\u662f\u65f6\u5019\u628a\u8fd9\u4e00\u5957\u64cd\u4f5c\u811a\u672c\u5316\u4e86\u3002\u5bf9\u4e8e\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u548c\u9700\u8981\u7ba1\u7406\u591a\u53f0\u670d\u52a1\u5668\u7684\u5f00\u53d1\u8005\u6765\u8bf4&amp;#xff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/78174.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-26T05:18:24+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78174.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/78174.html\",\"name\":\"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-26T05:18:24+00:00\",\"dateModified\":\"2026-02-26T05:18:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/78174.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/78174.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78174.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/78174.html","og_locale":"zh_CN","og_type":"article","og_title":"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab&#xff08;\u4e00\u952e\u5b89\u88c5\u73af\u5883\u521d\u59cb\u5316&#xff09; \u6700\u8fd1\u5728\u5e2e\u51e0\u4e2a\u56e2\u961f\u642d\u5efa\u6570\u636e\u79d1\u5b66\u548c\u673a\u5668\u5b66\u4e60\u5f00\u53d1\u5e73\u53f0&#xff0c;\u53d1\u73b0\u4e00\u4e2a\u9ad8\u9891\u9700\u6c42&#xff1a;\u5982\u4f55\u5728\u65b0\u7684Ubuntu\u670d\u52a1\u5668\u4e0a\u5feb\u901f\u3001\u4e00\u81f4\u5730\u90e8\u7f72Python\u73af\u5883\u3002\u624b\u52a8\u5b89\u88c5Miniconda\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4e3a\u4e0d\u540c\u7528\u6237\u8bbe\u7f6e\u6743\u9650&#xff0c;\u8fd9\u5957\u6d41\u7a0b\u91cd\u590d\u4e86\u4e0d\u4e0b\u5341\u6b21\u540e&#xff0c;\u6211\u610f\u8bc6\u5230\u662f\u65f6\u5019\u628a\u8fd9\u4e00\u5957\u64cd\u4f5c\u811a\u672c\u5316\u4e86\u3002\u5bf9\u4e8e\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u548c\u9700\u8981\u7ba1\u7406\u591a\u53f0\u670d\u52a1\u5668\u7684\u5f00\u53d1\u8005\u6765\u8bf4&amp;#xff0","og_url":"https:\/\/www.wsisp.com\/helps\/78174.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-26T05:18:24+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/78174.html","url":"https:\/\/www.wsisp.com\/helps\/78174.html","name":"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-26T05:18:24+00:00","dateModified":"2026-02-26T05:18:24+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/78174.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/78174.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/78174.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Miniconda\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c\u5206\u4eab\uff08\u4e00\u952e\u5b89\u88c5+\u73af\u5883\u521d\u59cb\u5316\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=78174"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78174\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=78174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=78174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=78174"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=78174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}