{"id":141,"date":"2024-07-24T14:30:41","date_gmt":"2024-07-24T06:30:41","guid":{"rendered":"http:\/\/192.168.5.24\/?p=141"},"modified":"2025-06-12T16:32:07","modified_gmt":"2025-06-12T08:32:07","slug":"%e7%a6%85%e9%81%93%e9%a1%b9%e7%9b%ae%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f%e7%9a%84%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/bigvip.dpdns.org\/?p=141","title":{"rendered":"\u7985\u9053\u9879\u76ee\u7ba1\u7406\u7cfb\u7edf\u7684\u90e8\u7f72"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u4e00\u3001\u4f7f\u7528docker\u90e8\u7f72<\/h3>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>docker run -d -v \/data:\/data -p 80:80 -e MYSQL_INTERNAL=true hub.zentao.net\/app\/zentao <\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e8c\u3001\u4f7f\u7528LAMP\u90e8\u7f72<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>1\u3001\u5b89\u88c5WEB\u670d\u52a1\u5668\u548c\u6570\u636e\u5e93<\/strong>\nyum -y install httpd mariadb-server-5.5.68-1.el7\n\n<strong>2\u3001\u5b89\u88c5PHP<\/strong>\nyum -y install php73-php php73-php-cli php73-php-common php73-php-devel php73-php-gd php73-php-pdo php73-php-mysql php73-php-mbstring php73-php-bcmath php73-php-ldap php73-php-ssl<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>\u589e\u52a0httpd\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/strong>\ncat \/etc\/httpd\/conf.d\/zentao.conf\n&lt;VirtualHost *:80>\nServerName localhost\nDocumentRoot \/opt\/zentaopms\/www\n&lt;Directory  \/opt\/zentaopms\/www>\n  Options Indexes FollowSymLinks\n  AllowOverride All\n  Require all granted\n&lt;\/Directory>\n&lt;\/VirtualHost>\n-----------------------------------------end ---------------------------------\n<strong>\n\u542f\u52a8httpd\u3001mariadb\uff1a<\/strong>\nsystemctl enable --now httpd\nsystemctl enable --now mysql\n\n<strong>\u4fee\u6539\u6570\u636e\u5e93\u7684\u5bc6\u7801\uff1a<\/strong>\nmysqladmin -uroot -p password<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">\u5b89\u88c5\u7985\u9053<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>unzip ZenTaoPMS-20.1.1-php7.2_7.4.zip -d \/opt<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"772\" height=\"599\" src=\"https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-41.png\" alt=\"\" class=\"wp-image-1265\" srcset=\"https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-41.png 772w, https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-41-300x233.png 300w, https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-41-768x596.png 768w\" sizes=\"auto, (max-width: 772px) 100vw, 772px\" \/><\/figure>\n\n\n\n<p>\u7136\u540e\u6309\u63d0\u793a\u4e00\u6b65\u6b65\u5b8c\u6210\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"859\" height=\"656\" src=\"https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-39.png\" alt=\"\" class=\"wp-image-1263\" srcset=\"https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-39.png 859w, https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-39-300x229.png 300w, https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-39-768x587.png 768w, https:\/\/bigvip.dpdns.org\/wp-content\/uploads\/2024\/07\/image-39-816x623.png 816w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u4f7f\u7528docker\u90e8\u7f72 \u4e8c\u3001\u4f7f\u7528LAMP\u90e8\u7f72 \u5b89\u88c5\u7985\u9053 \u7136\u540e\u6309\u63d0\u793a\u4e00\u6b65\u6b65\u5b8c\u6210\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,36],"tags":[27],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-linux","category-36","tag-docker"],"_links":{"self":[{"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":6,"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":1267,"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions\/1267"}],"wp:attachment":[{"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bigvip.dpdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}