CentOS配置Bitnami Redmine服务

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS配置Bitnami Redmine服务相关的知识,希望对你有一定的参考价值。

参考文档:https://docs.bitnami.com/installer/faq/linux-faq/

1、下载地址

https://bitnami.com/stack/redmine/installer

2、安装

根据脚本提示一步步安装并运行

$ chmod 755 bitnami-APPNAME-VERSION-linux.run
$ ./bitnami-APPNAME-VERSION-linux.run

3、运行管理器

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.run

技术分享

4、添加开机启动

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/bitnami-APPNAME

    If the stack was installed as a different user, create the script below at /etc/init.d/bitnami-APPNAME, replacing USERNAME with the name of the user account that the stack was installed under:

     #!/bin/bash
     su USERNAME -c "installdir/ctlscript.sh [email protected]"
  • Add or modify the following lines at the beginning of the /etc/init.d/bitnami-APPNAME script.

     #!/bin/sh
     #
     # chkconfig: 2345 80 30
     # description: Bitnami services

    This will execute the script in runlevels 2, 3, 4 and 5, with priority 80 to start and 30 to stop.
    Reboot your system and the servers should start automatically.

以上是关于CentOS配置Bitnami Redmine服务的主要内容,如果未能解决你的问题,请参考以下文章

centos7 BitNami一键安装Redmine

Bitnami Redmine相关配置

Bitnami Redmine安装配置指南

linux-centos6.5一键安装 Redmine

Bitnami redmine升级

centos7.5安装redmine-3.4.6-5