Build Linux environments - Installing Zen

A download installation package Zen

Zen official website to download  [http://dl.cnezsoft.com/zentao/9.8.3/ZenTaoPMS.9.8.3.zbox_64.tar.gz] installation package

Second, using ftp upload tools to the Linux system

Use ftp ZenTaoPMS.9.8.3.zbox_64.tar.gz installation package uploaded to the Linux system, / opt directory and extract

tar -zxvf ZenTaoPMS.9.8.3.zbox_64.tar.gz

Third, the configuration

1, carrying the modified Zen mysql Apache and port number, -ap the Apache port can be arbitrarily set, where I is 8088, -mp is the port mysql database
is then performed / opt / ZBOX / ZBOX Start , restart Zen

/opt/zbox/zbox -ap 8088
/opt/zbox/zbox -mp 8089
/opt/zbox/zbox start

2, create a database account, execute the command /opt/zbox/auth/adduser.sh :

/opt/zbox/auth/adduser.sh
admin
123456

3, open firewall ports, execute the command vi / etc / sysconfig / iptables , add the following :

-A INPUT -p tcp -m state --state NEW -m tcp --dport 8088 -j ACCEPT

Save and exit, perform service iptables restart restart firewall.

Fourth, access Zen

Then opening the browser, enter the address: HTTP: // server public network ip: 8088 / . This page is temporarily inaccessible, you need to turn on Ali cloud server port 8088
open cloud server security group ECS- - Configuration Rules

Add the security group rules, the new 8088 port access

  • Rules direction: the direction
  • Protocol Type: Custom FTP
  • Port Range: 8088/8088
  • Authorization object: 0.0.0.0/0

Go to a browser to access http: // server public network ip: 8088 / , you can open a Zen address

First Landing can use admin 123456 landing access

 

Note: If you experience connection problems sql

Execute the following command:

/opt/zbox/zbox stop
/opt/zbox/zbox start

 

禅道官网下载 【http://dl.cnezsoft.com/zentao/9.8.3/ZenTaoPMS.9.8.3.zbox_64.tar.gz】安装包

二、使用ftp工具上传至Linux系统中

使用ftp将ZenTaoPMS.9.8.3.zbox_64.tar.gz安装包上传到Linux系统/opt目录下并解压

tar -zxvf ZenTaoPMS.9.8.3.zbox_64.tar.gz

三、配置

1、修改禅道自带的Apache和mysql端口号,-ap是Apache端口可以随意设置,我这里是8088,-mp是mysql数据库的端口
接着执行/opt/zbox/zbox start,重启禅道

/opt/zbox/zbox -ap 8088
/opt/zbox/zbox -mp 8089
/opt/zbox/zbox start

2、创建数据库账号,执行命令/opt/zbox/auth/adduser.sh

/opt/zbox/auth/adduser.sh
admin
123456

3、开放防火墙端口,执行命令vi /etc/sysconfig/iptables,添加以下内容

-A INPUT -p tcp -m state --state NEW -m tcp --dport 8088 -j ACCEPT

保存并退出,执行service iptables restart重启防火墙。

四、访问禅道

接着点开浏览器,输入地址:http://服务器公网ip:8088/。这个页面暂时是无法访问,需要在阿里云服务器上开启8088端口
打开云服务器ECS-安全组-配置规则

添加安全组规则,新增8088端口访问权限

  • 规则方向:入方向
  • 协议类型:自定义 FTP
  • 端口范围: 8088/8088
  • 授权对象:0.0.0.0/0

再去浏览器访问http://服务器公网ip:8088/, 就可以打开禅道地址了

首次登陆可以使用admin 123456登陆访问

 

注:如果遇到sql连接问题

可执行以下命令:

/opt/zbox/zbox stop
/opt/zbox/zbox start

 

Guess you like

Origin www.cnblogs.com/yitao326/p/11126091.html