[Tutorial]How to run MCDzienny on CentOS 5 & 6

[Tutorial]How to run MCDzienny on CentOS 5 & 6

Postby radiovision » 06 Sep 2012, 19:53

Hi there,

I was the original author of the 'How to install on CentOS using Mono' guide, but decided this now needs a bit of updating due to repo changes. The installation process is the same for both CentOS 5 & 6. I successfully installed MCDzienny on CentOS 6.2 32bit using this method.

Firstly we will install Mono, required to run MCDzienny on Linux systems.

1) Due to the Novell repo no longer serving Mono packages, we need to use the EPEL repo. Check if you already have the EPEL repo enabled:
Code: Select all
yum repolist

If 'epel' is listed then skip to step 6.

2) If the EPEL repo isn't listed, you need to enable it. Download the key required to install the repo:
CentOS 5:
Code: Select all
wget https://fedoraproject.org/static/217521F6.txt --no-check-certificate
mv 217521F6.txt  /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

CentOS 6:
Code: Select all
wget https://fedoraproject.org/static/0608B895.txt --no-check-certificate
mv 0608B895.txt /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6


3) Check the key installed successfully. It should appear in the list
Code: Select all
rpm -qa gpg*


4) Install the correct rpm package to finally enable the repo:
For CentOS 5:
Code: Select all
wget http://mirrors.coreix.net/fedora-epel/5/i386/epel-release-5-4.noarch.rpm


For CentOS 6:
Code: Select all
wget http://mirrors.ukfast.co.uk/sites/dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm


5) Verify the EPEL repo is now installed:
Code: Select all
yum repolist


6) Download Mono:
Code: Select all
yum install mono-core


7) Finally, install the mono-wcf required by MCDzienny:
Code: Select all
yum install mono-wcf


You can verify Mono is installed by running 'mono -V', which will show you the Mono version information.

Now we have installed Mono, we now need to download and install MCDzienny

8) Download the latest version of MCDzienny and extract all the files onto your server

9) From the MCDzienny directory, open properties/server.properties and change the Running on Mono property to true

10) Run the lava server from the MCDzienny directory using the command mono --gc=sgen MCDziennyCLI.exe , hurray!

NOTE to Dzienny: Could you verify if the Mono version installed by the EPEL repo is compatible with the latest version of MCDzienny? As I'm writing this guide I've noticed that the EPEL repo contains version 2.4.3 of Mono which is a few years old now. It works perfectly well with my server version but I haven't updated for over a year now. I decided to write this updated guide as I wanted to provide an easy way of installing with a new repo considering the old one no longer hosts Mono for linux. Thanks!
radiovision
 
Posts: 11
Joined: 09 Jul 2011, 16:27

Re: [Tutorial]How to run MCDzienny on CentOS 5 & 6

Postby radiovision » 06 Sep 2012, 20:07

Another Note: I can no longer edit this post so if someone could do it for me. the garbage collector tag sgen isn't supported on this version of Mono so please remove '--gc=sgen' from above. If someone can find another repo with a updated Mono version it would be much appreciated, rather than compiling from source. I had quite a few problems installing from Mono source, so would be nice to provide a yum install package option still like above.
radiovision
 
Posts: 11
Joined: 09 Jul 2011, 16:27


Return to How-To

Who is online

Users browsing this forum: No registered users and 2 guests

cron