1匀奏,禪道官方下載頁?https://www.zentao.net/download/80178.html
2埂陆,下載后將文件傳至遠程服務器乘盖,并解壓早歇;
?解壓命令倾芝;?sudo tar -zxvf? ZenTaoPMS.7.3.stable.zbox_32.tar.gz -C /opt? ? ?
需要根據(jù)所下載的文件名替換命令中相應部分;
3箭跳,安裝并配置nginx;
參考:http://www.reibang.com/p/39ed41ea935d?;
4,配置nginx
conf.d文件夾下新建zentao.conf,內(nèi)容如下:
server {
? ? listen 80 ;
? ? listen [::]:80 ;
? ? server_name? xxxx;
? ? root? ?/opt/zbox/app/zentao/www;
? ? charset utf-8;
? ? access_log? /etc/nginx/logs/access.log ;
? ? error_log? /etc/nginx/logs/error.log ;
location /
{
? ? ? ? ? proxy_set_header Host $host;
? ? ? ? proxy_set_header X-Real-IP $remote_addr;
? ? ? ? proxy_set_header X-Forwarded-Host $host;
? ? ? ? proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
? ? ? ? ? proxy_pass http://xxxx:xxx/;
}
}
5,修改zentao 請求方式 requestType 為GET
vi?/opt/zbox/app/zentao/config/config.php
6,打完收工