Startup as Unix service – Free and open source project management software

  1. Home
  2. Hosting MyCollab on your own server
  3. Startup as Unix service

Startup as Unix service

MyCollab provides the tool to install MyCollab as windows service after you download MyCollab distribution

MyCollab supports Linux startup scripts from the version 5.3.3+. If you are using the older version, you have to install the new MyCollab instance instead of upgrading method

Install Java

To quick install Java on Linux, you can use the command apt-get (or yum). First, update the package index

sudo apt-get update

then check whether Java is installed and its version

java -version

If java program does not exist, it will show the error message like “The program can be found in the following package:”. Otherwise, it will display the java program

 

Screen Shot 2016-06-07 at 5.50.16 PM

MyCollab requires Java 8 or higher version. To install Java is quite easy.

sudo apt-get install openjdk-8-jre
This will install the Java Runtime Environment (JRE). If you want to install Java Development Kit (JDK), run the following command

sudo apt-get install openjdk-8-jdk

Install MyCollab

Before creating the MyCollab startup service, you need to Install MyCollab first

Create the MyCollab startup symbolic link

First, create the symbolic link

sudo ln -s %MYCOLLAB_HOME%/bin/startup.sh /etc/init.d/mycollab_start

%MYCOLLAB_HOME% is the folder which you installed MyCollab, for instance if you installed MyCollab in /user/local/mycollab then the above command should be

sudo ln -s /usr/local/mycollab/bin/startup.sh /etc/init.d/mycollab_start

Make it executable

sudo chmod ugo+x /etc/init.d/mycollab_start

Configure the init system to run this script at startup.

sudo update-rc.d /etc/init.d/mycollab_start

It is done. In the next time, when you restart the server machine, MyCollab will start automatically

Was this article helpful to you? Yes 8 No 1

How can we help?