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

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

Startup as Windows service

MyCollab provides the tool to install MyCollab as windows service after you download MyCollab distribution. You can install MyCollab as Windows service on Windows (32 or 64 bit) and JRE (32 or 64 bit). To avoid strange issue during installation, you should keep the same architect of Windows and Java. For instance, if your Windows is 64 bit, you should install Java 64 bit as well.

You can install MyCollab as Windows service only with MyCollab 5.2.10 and above.

Verify you have Java 8+ is installed

Download the latest Java at http://www.oracle.com/technetwork/java/javase/downloads/index.html or verify Java version

Screen Shot 2016-03-31 at 2.03.39 PM

 

Install MySQL server if you have not yet

Download MySQL server if you do not have it on your Windows server yet. Get it at https://dev.mysql.com/downloads/installer/ and follow the installation instructions to finish.

Download and unpack MyCollab distribution

Go to MyCollab download software page from the official MyCollab page, fill your contact information and grab the latest MyCollab zip file. Open it in Windows Explorer and unzip it to any empty folder.

 

Once you complete, the contents of folder should look like this

Screen Shot 2016-03-31 at 2.42.36 PM

Install and configure MyCollab service

Configure service dependency to MySQL service

It is an optional step to keep MyCollab service run after MySQL service started when you start your Windows; otherwise, the MyCollab service does not start successfully when it try to connect to MySQL server, while the MySQL service does not run yet.

Access the folder %MYCOLLAB_HOME%/bin on your Windows Explorer and edit the file service.bat

REM Install service

IF NOT DEFINED EXT_INSTALL ( echo “Can not find the procrun program” goto end )

set PR_DEPENDSON=MySQL56

REM Service log configuration

Find the key PR_DEPENDSON, and fill the value of your MySQL service name, in our example the service name is MySQL56.
Open your command prompt under the administrator privileges. The quick method is searching the ‘Command Prompt’ program, right click and select ‘Run as administrator’

Screen Shot 2016-03-31 at 3.11.20 PM

 

Go to the %MYCOLLAB_HOME%/bin, and install MyCollab service

c:\MyCollab\bin>installService.bat

After you install MyCollab successfully,  you need to configure the service logon before starting MyCollab service. Click the file MyCollab5w.exe, select the tab ‘Logon’ and enter the windows user name/password to let Mycollab service can run under the authorized user of the server.

Screen Shot 2016-03-31 at 4.01.44 PM

If you pass all above steps, then you are ready to start MyCollab as Window service. Go to window services app, start MyCollab service then follow steps to continue to install MyCollab at https://community.mycollab.com/installing-mycollab/#install

Later, when you restart your Windows, you do not need to run the MyCollab because MyCollab service starts automatically as Windows service.

Was this article helpful to you? Yes 6 No 2

How can we help?