How to Install ZenTao on Manjaro

ZenTao is an open-source project management software developed in PHP that helps you manage your projects efficiently. In this tutorial, we will guide you on how to install ZenTao on Manjaro.

Requirement

Installation

Follow the below steps to install ZenTao on your Manjaro:

Step 1: Install Required Packages

Before installing ZenTao, you need to install some required packages that are necessary for running ZenTao. Open your terminal and run the command:

sudo pacman -S php php-fpm php-gd php-intl php-mbstring php-pdo php-redis php-xml mariadb

Step 2: Create a MySQL Database

Create a new MySQL database and user for ZenTao.

sudo mysql -u root -p
CREATE DATABASE zentao DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'zentao'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON zentao.* TO 'zentao'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Step 3: Download and Extract ZenTao

Download the latest version of ZenTao from the official website using wget command:

wget https://dl.cnezsoft.com/zentao/11.5.1/ZenTaoPMS.11.5.1.zbox_64.tar.gz

Extract the downloaded file to the /opt directory:

sudo tar -zxvf ZenTaoPMS.11.5.1.zbox_64.tar.gz -C /opt/
sudo mv /opt/zbox/ /opt/zentao/

Step 4: Configure Nginx

Create a new Nginx configuration file for ZenTao:

sudo nano /etc/nginx/sites-available/zentao

And add the following configuration:

server {
     listen 80;
     server_name example.com; ## Replace with your domain name
     root /opt/zentao/www;
 
     index index.php index.html;
 
     access_log /var/log/nginx/zentao.access.log;
     error_log /var/log/nginx/zentao.error.log;
 
     location / {
         try_files $uri $uri/ /index.php?$query_string;
     }
 
     location ~ \.php$ {
         try_files $uri /index.php =404;
         fastcgi_split_path_info ^(.+\.php)(/.+)$;
         fastcgi_pass 127.0.0.1:9000;
         fastcgi_index index.php;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         include fastcgi_params;
     }
}

Save and exit the file.

Create a symbolic link for the new Nginx configuration file:

sudo ln -s /etc/nginx/sites-available/zentao /etc/nginx/sites-enabled/

Remove default nginx configuration:

sudo rm /etc/nginx/nginx.conf
sudo ln -sf /opt/zentao/app/nginx/nginx.conf /etc/nginx/nginx.conf

Restart the Nginx service to apply the changes:

sudo systemctl restart nginx

Step 5: Access ZenTao Web Installer

Navigate to http://localhost/ in your browser to access the ZenTao web installer. Select your preferred language, and you will see the ZenTao installation page.

Follow the on-screen instructions to complete the installation. During the installation process, you will need to provide your MySQL database information that you have created in step 2.

After Installation, you can access the ZenTao dashboard by navigating to http://localhost or your preferred domain name.

Congratulations, you have successfully installed ZenTao on your Manjaro system.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!