参考文档:https://docs.bitnami.com/installer/faq/linux-faq/
1、下载地址
https://bitnami.com/stack/redmine-plus-agile/installer
2、安装
根据脚本提示一步步安装并运行
$ chmod 755 redmineplusagile-VERSION-linux.run
$ ./redmineplusagile-VERSION-linux.run3、运行管理器
Bitnami native installers include a graphical tool to manage services. This tool is named manager-linux-x64.run on Linux and is located in the installation directory.
$ ./manager-linux-x64.run4、添加开机启动
RedHat-Like Distributions (Red Hat, Fedora Core, CentOS, Suse, …)
If the stack was installed as the root user, copy the installdir/ctlscript.sh script to the /etc/init.d directory. It's advisable to rename this script to something more specific, such as bitname-APPNAME. Use the following command:
Note: Only use sudo if the stack was installed as root
sudo cp installdir/ctlscript.sh /etc/init.d/redmineplusagileIf the stack was installed as a different user, create the script below at /etc/init.d/redmineplusagile, replacing USERNAME with the name of the user account that the stack was installed under:
#!/bin/bash
su USERNAME -c "installdir/ctlscript.sh $@"Add or modify the following lines at the beginning of the /etc/init.d/redmineplusagile script.
#!/bin/sh
#
# chkconfig: 2345 80 30
# description: redmineplusagile servicesThis will execute the script in runlevels 2, 3, 4 and 5, with priority 80 to start and 30 to stop.
Install the script as a service.
Note: Only use sudo if the stack was installed as root
sudo chkconfig --add redmineplusagileReboot your system and the servers should start automatically. |