Build Zen paths with Linux

Source: Internet
Author: User
Tags iptables

1. Open source version of the installation package download (64-bit download 64-bit, 32-bit check 32-bit)

[Email protected]~]# wget http://dl.cnezsoft.com/zentao/9.0.1/ZenTaoPMS.9.0.1.zbox_32.tar.gz

2. Unzip the installation package directly into the/OPT directory

[Email protected]~]# tar-zxvf zentaopms.9.0.1.zbox_32.tar.gz-c/opt

Modify Zen path with Apache, MySQL Port

In order not to occupy the default 80, 3306 port on the server, we modify the Apache, MySQL port that comes with Zen Lane

Modify Zen Lane's own Apache port:

[[Email protected]]#/opt/zbox/zbox-ap 7000

Modify the Zen path to bring your own MySQL port:

[Email protected]] #/OPT/ZBOX/ZBOX-MP 7001

4. Restart Zen Road Service

[[Email protected]~]#/opt/zbox/zbox Start

Apacheis Running

Mysqlis Running

Execute the/opt/zbox/zbox start command to open Apache and MySQL.

Execute the/opt/zbox/zbox stop command to stop Apache and MySQL.

Execute the/opt/zbox/zbox restart command to restart Apache and MySQL.

5. Create a Database account

[[Email protected]]#/opt/zbox/auth/adduser.sh

Thistool is used to add user to access Adminer

Account:adminer

Note: The user name of the database: root, the password is empty. Database management is Adminer, but for security purposes, authentication is required to access Adminer, and you need to run a script to add an account

Command line Login Zen path comes with MySQL database:

Opt/zbox/bin/mysql-u root-p 3306-p

To import the data backed up by the row:

/opt/zbox/bin/mysql-u root-p 3306-p Zentaopro < Zentao.sql

If it is the first time to install "Zen Road", this is skipped, if you have already installed "Zen Road", you want to import the previous data, you can import the backup of the Zentao.sql file;

6. Configure Iptables firewall rules to allow port access

[Email protected]] #iptables-A input-p TCP--dport 7000-j ACCEPT

[[email protected]] #iptables-A input-p TCP--dport 7001-j ACCEPT

Restart the firewall for the rule to take effect:

[[email protected]] #service iptables Save

[[email protected]] #service iptables restart

7. Browser Access

http://IP:7000

Build Zen paths with Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.