{"id":27798,"date":"2025-04-19T21:21:35","date_gmt":"2025-04-19T13:21:35","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/27798.html"},"modified":"2025-04-19T21:21:35","modified_gmt":"2025-04-19T13:21:35","slug":"odoo18%e7%a4%be%e5%8c%ba%e7%89%88%e5%9c%a8rocky%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e7%9a%84%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/27798.html","title":{"rendered":"Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72"},"content":{"rendered":"<p>\u5728 Rocky Linux \u670d\u52a1\u5668\u4e0a\u90e8\u7f72 Odoo 18\u7684\u6b65\u9aa4\u5982\u4e0b&#xff1a;<\/p>\n<h4>1. \u66f4\u65b0\u7cfb\u7edf<\/h4>\n<p>\u9996\u5148&#xff0c;\u786e\u4fdd\u4f60\u7684\u7cfb\u7edf\u662f\u6700\u65b0\u7684\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> dnf update<\/p>\n<h4>2. \u5b89\u88c5PostgreSQL \u6570\u636e\u5e93<\/h4>\n<p>Odoo \u9700\u8981PostgreSQL \u6570\u636e\u5e93<\/p>\n<p>sudo dnf update<\/p>\n<p><span class=\"token function\">sudo<\/span> dnf update<br \/>\n<span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> -y postgresql-server postgresql-contrib<\/p>\n<h4>3. \u8bbe\u7f6e PostgreSQL \u6570\u636e\u5e93<\/h4>\n<p>\u521d\u59cb\u5316 PostgreSQL \u6570\u636e\u5e93\u5e76\u542f\u52a8\u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> postgresql-setup &#8211;initdb <span class=\"token comment\"># \u521d\u59cb\u5316\u6570\u636e\u5e93<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl start postgresql  <span class=\"token comment\">#\u542f\u52a8 PostgreSQL \u670d\u52a1<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> postgresql  <span class=\"token comment\">#\u8bbe\u7f6e\u4e3a\u5f00\u673a\u81ea\u542f<\/span><\/p>\n<h4>3.2. \u914d\u7f6e PostgreSQL<\/h4>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;PostgreSQL \u53ea\u5141\u8bb8\u672c\u5730\u8fde\u63a5\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\u6765\u66f4\u6539\u6b64\u8bbe\u7f6e\u3002\u6253\u5f00 PostgreSQL \u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/var\/lib\/pgsql\/data\/postgresql.conf<\/p>\n<p>\u5728\u6587\u4ef6\u4e2d\u627e\u5230\u4ee5\u4e0b\u884c&#xff1a;<\/p>\n<p>#listen_addresses &#061; &#039;localhost&#039;<\/p>\n<p>\u5c06\u5176\u4fee\u6539\u4e3a&#xff1a;<\/p>\n<p>listen_addresses &#061; &#039;*&#039;<\/p>\n<p>\u8fd9\u5c06\u5141\u8bb8 PostgreSQL \u63a5\u53d7\u6765\u81ea\u6240\u6709 IP \u5730\u5740\u7684\u8fde\u63a5\u3002<\/p>\n<h4>3.3. \u914d\u7f6e\u8eab\u4efd\u9a8c\u8bc1<\/h4>\n<p>\u63a5\u4e0b\u6765&#xff0c;\u7f16\u8f91 pg_hba.conf \u6587\u4ef6\u4ee5\u914d\u7f6e\u8eab\u4efd\u9a8c\u8bc1\u65b9\u6cd5&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/var\/lib\/pgsql\/data\/pg_hba.conf<\/p>\n<p>\u627e\u5230\u5bf9\u5e94\u7684\u884c<\/p>\n<p># IPv4 local connections:<br \/>\nhost    all             all             127.0.0.1\/32            ident<\/p>\n<p>\u5c06\u5176\u4fee\u6539\u4e3a&#xff1a;<\/p>\n<p>host    all             all             0.0.0.0\/0               md5<\/p>\n<p>\u8fd9\u5c06\u5141\u8bb8\u6240\u6709 IP \u5730\u5740\u4f7f\u7528 MD5 \u5bc6\u7801\u8fdb\u884c\u8fde\u63a5\u3002<\/p>\n<p>\u53e6&#xff1a;\u5bf9\u4e0b\u9762\u7684\u884c\u8fdb\u884c\u4fee\u6539&#xff0c;\u53ef\u4ee5\u4fdd\u8bc1\u6211\u4eec\u4f7f\u7528sudo -u postgres psql \u9ed8\u8ba4\u7528\u6237\u767b\u5f55\u65f6\u4e0d\u9700\u8981\u8f93\u5165\u5bc6\u7801<\/p>\n<p># &#034;local&#034; is for Unix domain socket connections only<br \/>\nlocal    all             all                         trust <\/p>\n<p>\u5982\u679c\u5fd8\u8bb0\u4e86\u5bc6\u7801&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u8be5\u6b65\u9aa4\u91cd\u7f6e\u5bc6\u7801<\/p>\n<h4>3.4. \u91cd\u542f PostgreSQL \u670d\u52a1<\/h4>\n<p>\u5b8c\u6210\u914d\u7f6e\u540e&#xff0c;\u91cd\u542f PostgreSQL \u670d\u52a1\u4ee5\u5e94\u7528\u66f4\u6539&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl restart postgresql<\/p>\n<h4>3.5. \u521b\u5efa\u6570\u636e\u5e93\u7528\u6237<\/h4>\n<p>\u4f7f\u7528 PostgreSQL \u7684\u9ed8\u8ba4\u7528\u6237 postgres \u767b\u5f55&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> -u postgres psql<\/p>\n<p>\u5728 PostgreSQL \u63d0\u793a\u7b26\u4e0b&#xff0c;\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u5e93\u7528\u6237&#xff1a;<\/p>\n<p><span class=\"token keyword\">CREATE<\/span> <span class=\"token keyword\">USER<\/span> your_username <span class=\"token keyword\">WITH<\/span> PASSWORD <span class=\"token string\">&#039;your_password&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u786e\u4fdd\u5c06 your_username \u548c your_password \u66ff\u6362\u4e3a\u4f60\u81ea\u5df1\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002<\/p>\n<h4>3.6.\u7ed9\u4e88\u7528\u6237\u521b\u5efa\u6570\u636e\u5e93\u7684\u6743\u9650<\/h4>\n<p>\u5728 PostgreSQL \u547d\u4ee4\u884c\u4e2d&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6388\u4e88\u7279\u5b9a\u7528\u6237\u521b\u5efa\u6570\u636e\u5e93\u7684\u6743\u9650\u3002\u5c06 your_username \u66ff\u6362\u4e3a\u8981\u6388\u4e88\u6743\u9650\u7684\u7528\u6237\u540d&#xff1a;<\/p>\n<p><span class=\"token keyword\">ALTER<\/span> <span class=\"token keyword\">USER<\/span> your_username CREATEDB<span class=\"token punctuation\">;<\/span><\/p>\n<h4>3.7. \u9000\u51fa PostgreSQL<\/h4>\n<p>\u5b8c\u6210\u540e&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u9000\u51fa PostgreSQL&#xff1a;<\/p>\n<p>\\\\q<\/p>\n<h4>3.8. \u6d4b\u8bd5\u8fde\u63a5<\/h4>\n<p>\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6d4b\u8bd5\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93&#xff1a;<\/p>\n<p>psql -h localhost -U your_username <\/p>\n<p>\u8f93\u5165\u4f60\u5728\u7b2c 8 \u6b65\u4e2d\u8bbe\u7f6e\u7684\u5bc6\u7801\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419132131-6803a35b35d68.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fdb\u5165PostgreSQL \u547d\u4ee4\u884c&#xff0c;\u4ee3\u8868\u8be5\u7528\u6237\u521b\u5efa\u6210\u529f\u3002<\/p>\n<h4>4. \u4e0b\u8f7d Odoo 17<\/h4>\n<p>Odoo github\u7f51\u5740<\/p>\n<p>\u4f7f\u7528 Git \u514b\u9686 Odoo 18 \u7684\u4ee3\u7801\u5e93&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> clone https:\/\/gitclone.com\/github.com\/odoo\/odoo.git<\/p>\n<h4>5. \u521b\u5efa Python \u865a\u62df\u73af\u5883<\/h4>\n<p>\u4e3a\u4e86\u7ba1\u7406 Odoo \u7684 Python \u4f9d\u8d56\u9879&#xff0c;\u5efa\u8bae\u4f7f\u7528\u865a\u62df\u73af\u5883&#xff08;python3.10&#xff09;&#xff1a; \u6ce8&#xff1a;\u5efa\u8bae\u4f7f\u75283.10\u7248\u672c&#xff0c;3.9\u7248\u672c\u4e0d\u652f\u6301&#xff0c;3.12\u7248\u672c\u90e8\u5206\u5e93\u62a5\u9519\u3002 \u53e6: Rocky\u670d\u52a1\u5668\u4e2d\u65e0\u6cd5\u76f4\u63a5\u5b89\u88c5python3.10 \u6545\u5982\u6709\u9700\u6c42&#xff0c;\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u5b89\u88c5<\/p>\n<p>\u5b89\u88c5\u4f9d\u8d56<\/p>\n<p>dnf <span class=\"token function\">install<\/span> <span class=\"token function\">wget<\/span> <span class=\"token function\">make<\/span> gcc bzip2-devel openssl-devel zlib-devel libffi-devel -y  <span class=\"token comment\">#\u4e0b\u8f7d\u6e90\u7801<\/span><br \/>\n<span class=\"token function\">wget<\/span> https:\/\/www.python.org\/ftp\/python\/3.10.5\/Python-3.10.5.tgz  <span class=\"token comment\">#\u89e3\u538b\u3001\u5b89\u88c5<\/span><\/p>\n<p><span class=\"token function\">tar<\/span> xvf Python-3.10.5.tgz<br \/>\n<span class=\"token builtin class-name\">cd<\/span> Python-3.10.5  <span class=\"token comment\"># \u8fdb\u5165\u76ee\u5f55<\/span><br \/>\n.\/configure &#8211;enable-optimizations <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">make<\/span> <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">make<\/span> <span class=\"token function\">install<\/span>  <span class=\"token comment\"># \u5b89\u88c5<\/span><\/p>\n<p>make install \u53ef\u80fd\u6743\u9650\u4e0d\u591f&#xff0c;\u8bf7\u4f7f\u7528 sudo make install<\/p>\n<p>\u63a5\u4e0b\u6765\u521b\u5efa\u865a\u62df\u73af\u5883&#xff0c;\u521b\u5efa\u8def\u5f84\u81ea\u884c\u5b9a\u4e49&#xff0c;\u4e0d\u505a\u8981\u6c42&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> pip3 <span class=\"token function\">install<\/span> virtualenv<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> \/odoo\/venv<br \/>\n<span class=\"token function\">sudo<\/span> virtualenv \/odoo\/venv<\/p>\n<p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\u5e76\u5b89\u88c5 Odoo \u4f9d\u8d56\u9879&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">source<\/span> \/odoo\/venv\/bin\/activate<\/p>\n<p>\u8fdb\u5165Odoo\u76ee\u5f55&#xff0c;\u914d\u7f6e\u865a\u62df\u73af\u5883<\/p>\n<p>pip <span class=\"token function\">install<\/span> -r requirements.txt<\/p>\n<p>\u5176\u4e2d\u51fa\u73b0\u7684\u95ee\u9898&#xff0c;\u4e0d\u518d\u4e00\u4e00\u9648\u8bc9&#xff0c;\u6309\u7167\u5176\u63d0\u793a&#xff0c;\u914d\u5408GPT\u5373\u53ef\u5b89\u88c5\u5b8c\u6210&#xff1b;<\/p>\n<h4>6. \u914d\u7f6e Odoo<\/h4>\n<p>\u5728Odoo\u8def\u5f84\u4e0b\u521b\u5efa Odoo \u914d\u7f6e\u6587\u4ef6\u5e76\u5bf9\u5176\u8fdb\u884c\u4fee\u6539&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> odoo.conf<\/p>\n<p>\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>[options]<br \/>\nadmin_passwd &#061; odoo<br \/>\nhttp_prot &#061; 8069<br \/>\ndb_host &#061; False<br \/>\ndb_port &#061; False<br \/>\ndb_name &#061; False<br \/>\ndb_user &#061; odoo<br \/>\ndb_password &#061; odoo<br \/>\ndb_filter &#061; False<br \/>\naddons_path &#061;\/home\/admin\/odoo\/odoo\/addons, \/home\/admin\/odoo\/odoo\/odoo\/addons,\/home\/admin\/.local\/share\/Odoo\/addons\/17.0,<br \/>\nlogfile &#061; \/var\/log\/odoo\/odoo.log<\/p>\n<p>admin_passwd\u4e3a\u540e\u7eedOdoo\u7ba1\u7406\u5bc6\u7801&#xff0c;\u518d\u540e\u7eed\u6b65\u9aa4\u4e2d\u4f1a\u63d0\u5230 http_prot &#061; 8069 \u4e3a\u9ed8\u8ba4\u7aef\u53e3 db_user &#061; odoo db_password &#061; odoo \u4e3a\u4e4b\u524d\u521b\u5efa\u7684\u6570\u636e\u5e93\u7528\u6237\u4ee5\u53ca\u5bc6\u7801 addons_path\u4e2d\u7684\u6587\u4ef6\u8def\u5f84\u8bf7\u6ce8\u610f\u4fee\u6539<\/p>\n<h4>7. \u8bbe\u7f6e\u65e5\u5fd7\u76ee\u5f55<\/h4>\n<p>\u521b\u5efa\u65e5\u5fd7\u76ee\u5f55\u5e76\u8bbe\u7f6e\u6743\u9650&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> \/var\/log\/odoo<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> -R odoo:odoo \/var\/log\/odoo<\/p>\n<h4>8. \u521b\u5efa\u7cfb\u7edf\u670d\u52a1<\/h4>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u7ba1\u7406 Odoo&#xff0c;\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7cfb\u7edf\u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/systemd\/system\/odoo.service<\/p>\n<p>\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>[Unit]<br \/>\nDescription&#061;Odoo<br \/>\nAfter&#061;postgresql.service<\/p>\n<p>[Service]<br \/>\nUser&#061;odoo<br \/>\nExecStart&#061;odoo\/venv\/bin\/python3 \/odoo\/odoo-bin -c \/odoo\/odoo.conf<br \/>\nRestart&#061;always<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<\/p>\n<h4>9. \u542f\u52a8 Odoo \u670d\u52a1<\/h4>\n<p>\u91cd\u65b0\u52a0\u8f7d\u7cfb\u7edf\u670d\u52a1\u5e76\u542f\u52a8 Odoo&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl daemon-reload<br \/>\n<span class=\"token function\">sudo<\/span> systemctl start odoo<br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> odoo<\/p>\n<p>\u6216\u8005&#xff0c;\u4e0d\u4f7f\u7528\u7cfb\u7edf\u670d\u52a1&#xff0c;\u76f4\u63a5\u4f7f\u7528python\u8fd0\u884c\u4e5f\u53ef&#xff0c; \u786e\u4fdd\u865a\u62df\u73af\u5883\u5728\u6fc0\u6d3b\u72b6\u6001&#xff0c;\u5728Odoo\u8def\u5f84\u4e0b\u76f4\u63a5\u4f7f\u7528python\u8fd0\u884c&#xff0c;nohup\u547d\u4ee4<\/p>\n<p><span class=\"token function\">nohup<\/span> python odoo-bin -c odoo.conf <span class=\"token operator\">&gt;<\/span> odoo.log <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span> <span class=\"token operator\">&amp;<\/span><\/p>\n<p>nohup&#xff1a;\u8868\u793a\u201cno hang up\u201d&#xff0c;\u5141\u8bb8\u7a0b\u5e8f\u5728\u7528\u6237\u9000\u51fa\u540e\u7ee7\u7eed\u8fd0\u884c\u3002 python odoo-bin -c odoo.conf&#xff1a;\u8fd9\u662f\u60a8\u8981\u8fd0\u884c\u7684 Odoo \u542f\u52a8\u547d\u4ee4\u3002 odoo.log&#xff1a;\u5c06\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\u5230 odoo.log \u6587\u4ef6\u4e2d&#xff0c;\u4ee5\u4fbf\u60a8\u53ef\u4ee5\u67e5\u770b Odoo \u7684\u8f93\u51fa\u65e5\u5fd7\u3002 2&gt;&amp;1&#xff1a;\u5c06\u6807\u51c6\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6807\u51c6\u8f93\u51fa&#xff0c;\u8fd9\u6837\u9519\u8bef\u4fe1\u606f\u4e5f\u4f1a\u5199\u5165 odoo.log \u6587\u4ef6\u3002 &amp;&#xff1a;\u5c06\u547d\u4ee4\u653e\u5165\u540e\u53f0\u8fd0\u884c&#xff0c;\u8fd9\u6837\u60a8\u53ef\u4ee5\u7ee7\u7eed\u4f7f\u7528\u7ec8\u7aef\u3002<\/p>\n<h4>10. \u8bbf\u95ee Odoo<\/h4>\n<p>\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee Odoo&#xff0c;\u4f7f\u7528\u4ee5\u4e0b URL&#xff1a;<\/p>\n<p>http:\/\/your_server_ip:8069<\/p>\n<p>\u4f60\u5e94\u8be5\u80fd\u591f\u770b\u5230 Odoo \u7684\u6b22\u8fce\u9875\u9762\u3002<\/p>\n<h4>11. \u521d\u59cb\u5316 Odoo<\/h4>\n<p>\u8fdb\u5165\u4e4b\u540e \u5927\u81f4\u5185\u5bb9\u5982\u4e0b Master Password\u662f\u5728odoo.conf\u4e2d\u7684admin_passwd \u9009\u62e9\u4e00\u4e2a\u6570\u636e\u5e93\u540d\u79f0 \u521b\u5efa\u4f60\u7684\u6570\u636e\u5e93 email\u548cpassword \u662f\u540e\u7eed\u767b\u5f55\u6240\u9700\u4f7f\u7528\u7684 language\u9009\u62e9\u4e2d\u6587 country\u9009\u62e9\u4e2d\u56fd Demo Data\u5efa\u8bae\u52fe\u9009 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419132131-6803a35b573e3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u70b9\u51fb\u521b\u5efa\u6570\u636e\u5e93&#xff0c;\u7b49\u5f85\u4e00\u5b9a\u65f6\u95f4&#xff0c;\u9875\u9762\u8df3\u8f6c\u5230\u767b\u5f55\u754c\u9762 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419132131-6803a35bcd81a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8f93\u5165\u4f60\u5728\u4e0a\u56fe\u8bbe\u7f6e\u7684email\u548cpassword&#xff0c;\u767b\u5f55\u8fdb\u53bb <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419132132-6803a35c009e4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u70b9\u51fb\u5de6\u4e0a\u89d2&#xff0c;\u5207\u6362\u5230\u5e94\u7528 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419132133-6803a35d4fc96.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6b64\u65f6&#xff0c;Odoo\u914d\u7f6e\u6210\u529f&#xff0c;\u8bf7\u81ea\u4e3b\u9009\u62e9\u4f60\u6240\u9700\u8981\u7684\u6a21\u5757\u5e76\u542f\u7528<\/p>\n<h4>12.\u8fd0\u7ef4<\/h4>\n<p>\u4f7f\u7528 netstat \u547d\u4ee4&#xff08;\u5982\u679c\u5df2\u5b89\u88c5&#xff09;\u6765\u67e5\u627e\u5360\u7528\u7aef\u53e3\u7684\u8fdb\u7a0b&#xff1a;<\/p>\n<p>sudo netstat -tuln | grep 8069<\/p>\n<p>\u82e5\u80fd\u627e\u5230\u5982\u4e0b\u6240\u793a&#xff1a;8069\u7aef\u53e3\u5904\u4e8e\u76d1\u542c\u72b6\u6001&#xff0c;\u4e00\u822c\u4ee3\u8868odoo\u6b63\u5e38\u8fd0\u884c <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419132134-6803a35eb2c78.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u603b\u7ed3<\/h4>\n<p>\u4ee5\u4e0a\u6b65\u9aa4\u6982\u8ff0\u4e86\u5728 Rocky Linux \u670d\u52a1\u5668\u4e0a\u90e8\u7f72 Odoo 18\u7684\u8fc7\u7a0b\u3002\u786e\u4fdd\u5728\u6bcf\u4e00\u6b65\u4e2d\u4ed4\u7ec6\u68c0\u67e5\u914d\u7f6e\u548c\u6743\u9650&#xff0c;\u4ee5\u786e\u4fdd Odoo \u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n<h4>\u6ce8&#xff1a;<\/h4>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u4e2d\u6709\u90e8\u5206\u6587\u4ef6\u8def\u5f84\u4f4d\u7f6e\u53ef\u80fd\u4e0d\u5bf9\u5e94&#xff0c;\u5728\u5b9e\u9645\u90e8\u7f72\u8fc7\u7a0b\u4e2d&#xff0c;\u8bf7\u4ed4\u7ec6\u68c0\u67e5\u3002 \u65f6\u95f4\u6709\u9650&#xff0c;\u90e8\u5206\u7ec6\u8282\u5e76\u672a\u63cf\u8ff0\u5230\u4f4d&#xff0c;\u4e5f\u5e76\u672a\u5168\u90e8\u8d34\u56fe&#xff0c;\u8bf7\u7b49\u5f85\u540e\u7eed\u66f4\u65b0\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e33\u6b21\uff0c\u6536\u85cf26\u6b21\u3002\u4ee5\u4e0a\u6b65\u9aa4\u6982\u8ff0\u4e86\u5728 Rocky Linux \u670d\u52a1\u5668\u4e0a\u90e8\u7f72 Odoo 18\u7684\u8fc7\u7a0b\u3002\u786e\u4fdd\u5728\u6bcf\u4e00\u6b65\u4e2d\u4ed4\u7ec6\u68c0\u67e5\u914d\u7f6e\u548c\u6743\u9650\uff0c\u4ee5\u786e\u4fdd Odoo \u6b63\u5e38\u8fd0\u884c\u3002_odoo18<\/p>\n","protected":false},"author":2,"featured_media":27792,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1646,81,43,44],"topic":[],"class_list":["post-27798","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-gpt","tag-python","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72 - \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\/27798.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e33\u6b21\uff0c\u6536\u85cf26\u6b21\u3002\u4ee5\u4e0a\u6b65\u9aa4\u6982\u8ff0\u4e86\u5728 Rocky Linux \u670d\u52a1\u5668\u4e0a\u90e8\u7f72 Odoo 18\u7684\u8fc7\u7a0b\u3002\u786e\u4fdd\u5728\u6bcf\u4e00\u6b65\u4e2d\u4ed4\u7ec6\u68c0\u67e5\u914d\u7f6e\u548c\u6743\u9650\uff0c\u4ee5\u786e\u4fdd Odoo \u6b63\u5e38\u8fd0\u884c\u3002_odoo18\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/27798.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T13:21:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419132131-6803a35b35d68.png\" \/>\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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27798.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/27798.html\",\"name\":\"Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T13:21:35+00:00\",\"dateModified\":\"2025-04-19T13:21:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/27798.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/27798.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27798.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72\"}]},{\"@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":"Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72 - \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\/27798.html","og_locale":"zh_CN","og_type":"article","og_title":"Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e33\u6b21\uff0c\u6536\u85cf26\u6b21\u3002\u4ee5\u4e0a\u6b65\u9aa4\u6982\u8ff0\u4e86\u5728 Rocky Linux \u670d\u52a1\u5668\u4e0a\u90e8\u7f72 Odoo 18\u7684\u8fc7\u7a0b\u3002\u786e\u4fdd\u5728\u6bcf\u4e00\u6b65\u4e2d\u4ed4\u7ec6\u68c0\u67e5\u914d\u7f6e\u548c\u6743\u9650\uff0c\u4ee5\u786e\u4fdd Odoo \u6b63\u5e38\u8fd0\u884c\u3002_odoo18","og_url":"https:\/\/www.wsisp.com\/helps\/27798.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T13:21:35+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419132131-6803a35b35d68.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/27798.html","url":"https:\/\/www.wsisp.com\/helps\/27798.html","name":"Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T13:21:35+00:00","dateModified":"2025-04-19T13:21:35+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/27798.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/27798.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/27798.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Odoo18\u793e\u533a\u7248\u5728Rocky\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72"}]},{"@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\/27798","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=27798"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27798\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/27792"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=27798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=27798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=27798"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=27798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}