centos安裝禪道的步驟

來源:互聯網
上載者:User

標籤:

1、下載 XAMPP 套件: https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/stats/timeline  下載的檔案是 xampp-linux-x64-7.0.6-0-installer.run

2、 執行 ./xampp-linux-x64-7.0.6-0-installer.run

3、 啟動 /opt/lampp/lampp start

4、 下載禪道 ZenTaoPMS.8.0.stable.zip ,解壓後,把zentaopms放到 /opt/lampp/htdocs 目錄:    /opt/lampp/htdocs/zentaopms

5、 開啟安裝頁面: http://IP/zentaopms/www/install.php 。安裝日誌在 : /opt/lampp/htdocs/zentaopms/tmp/log 。

6、 安裝完成後,訪問: http://IP:PORT/zentaopms/www/index.php

7、 修改禪道訪問的連接埠和檔案目錄: vi /opt/lampp/etc/httpd.conf

Listen 9011

DocumentRoot "/mnt/software"
<Directory "/mnt/software">

 

備忘:

1、頁面白屏,日誌報錯:

17:24:48 Undefined property: config::$debug in /opt/lampp/htdocs/zentaopms/module/common/view/header.lite.html.php on line 20 when visiting /zentaopms/www/install.php

17:25:02 Uncaught PDOException: SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than ‘max_allowed_packet‘ bytes in /opt/lampp/htdocs/zentaopms/module/install/model.php:379

解決辦法:

串連mysql, 執行: set global net_buffer_length=1000000;  set global max_allowed_packet=1000000000;

mysql> set global net_buffer_length=1000000;
Query OK, 0 rows affected, 2 warnings (0.00 sec)

mysql> set global max_allowed_packet=1000000000;
Query OK, 0 rows affected, 1 warning (0.00 sec)

 

2、修改centos 的防火牆配置,開啟9011 連接埠:

vi /etc/sysconfig/iptables

[[email protected] etc]# more /etc/sysconfig/iptables
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT DROP [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:syn-flood - [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 9011 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 21 -j ACCEPT
-A INPUT -p icmp -m limit --limit 100/sec --limit-burst 100 -j ACCEPT
-A INPUT -p icmp -m limit --limit 1/s --limit-burst 10 -j ACCEPT
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j syn-flood
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A syn-flood -p tcp -m limit --limit 3/sec --limit-burst 6 -j RETURN
-A syn-flood -j REJECT --reject-with icmp-port-unreachable
COMMIT

 

centos安裝禪道的步驟

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.