Setup Orcus Server on a Linux system

The CLI version (CommandLine) of the Orcus server is compatible with Mono, a .Net Framework for Linux systems/OSX. That allows you to run the application on Linux if Mono is installed. This tutorial will show you how to install Mono and how to setup the server on a Linux VPS.

First, the Linux system/version is important, for some versions Mono is harder to setup.

If you are lucky, your operating system is listed here and it is really easy to setup Mono. The instructions are found on the site too. If you are using Cent OS 6, everything is a little bit more complicated.

Setup Mono on CentOS 6

First, we should update all packages. Please be aware that the following commands don’t ask you about changes, please remove -y if you want to be notified about upcoming changes.
yum -y update

After that, we have to install some new packages:
yum -y install nano bison gettext glib2 freetype fontconfig libpng libpng-devel libX11 libX11-devel glib2-devel libgdi* libexif glibc-devel urw-fonts java unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget

Now we have to download the Mono source. We navigate to our src directory:
cd /usr/local/src
and download the newest Mono source. Pick the newest Mono version from this folder.
wget http://download.mono-project.com/sources/mono/mono-4.6.0.125.tar.bz2
then unpack it and navigate to it’s folder
tar jxf mono-4.6.0.125.tar.bz2
cd mono-4.6.0.125

now, we just have to build Mono:
./configure --prefix=/opt/mono
make && make install

Once this is complete, do the following:
nano ~/.bash_profile
If nano opened this file, we have to add these two lines:
export PATH=$PATH:/opt/mono/bin
export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig
Now you can close nano (Ctrl+X) and safe the changes (just press Y+enter after Ctrl+X).

Create the server

Open Orcus and click on Create new server

Create Server

Then select Console and just click on Extract. Save the file somewhere and upload it to your VPS.

ExtractOrcusServer

 

Navigate using the terminal to the folder where you dropped the file. Now, execute that file using Mono:

FOR CENTOS 6: /opt/mono/bin/mono Orcus.Server.CommandLine.exe
FOR OTHER SYSTEMS: mono Orcus.Server.CommandLine.exe

Now, just follow the upcoming introduction.