Database mysql
- Go to download the corresponding installation file from https://gantt-online.com/deploy and unzip it
- Enter the unzipped folder in the command line window and modify the configuration content of
conf.yaml
- Execute the command
./gantt-online -c
to get the client token (root permission is required on Linux) - Copy the token from Step 3 to create a license authorization code
- Copy the license created in Step 4 and fill it into the configuration file
conf.yaml
- Initialize the service
./gantt-online -i -f conf.yaml
(root permission required on Linux) - Start the service
./gantt-online -f conf.yaml
(root permission required on Linux)
If on Windows, the command
./gantt-online
needs to be changed togantt-online.exe
Recommends Using systemd
Shortcut ( ./gantt-online -f conf.yaml &)
Recommend using the following method
Copy code
#/usr/lib/systemd/system/gantt-online.service
#sudo systemctl daemon-reload
[Unit]
Description=zz plan
[Service]
Type=simple
# Fill in the absolute path of your running file and configuration below
ExecStart=/home/gantt/start -f /home/gantt/conf.yaml
Restart=always
RestartSec=9
User=root
Group= root
[Install]
WantedBy=multi-user.target
- Enable the service
systemctl enable gantt-online.service
- Start the service
systemctl start gantt-online.service
- Stop the service
systemctl stop gantt-online.service
- Restart the service
systemctl restart gantt-online.service
( ./gantt-online -f conf.yaml &)
or use launchctl
to manage
Can use nssm
for service management