Firstly we will install Mono, required to run MCDzienny on Linux systems.
1) Create a new repo config file
- Code: Select all
cd /etc/yum.repos.d
vi mono.repo
2) Add the following lines to the file
- Code: Select all
[Mono]
name=Mono Stack (RHEL_5)
type=rpm-md
baseurl=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/
gpgcheck=1
gpgkey=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/repodata/repomd.xml.key
enabled=1
3) Update the yum cache
- Code: Select all
yum clean all
4) Install the Mono server stack
- Code: Select all
yum install monotools-addon-server
The installed binaries will end up in "/opt/novell/mono/bin".
5) Issue the following command to set up your shell environment so that it finds mono, mcs and the other mono tools
- Code: Select all
source /opt/novell/mono/bin/mono-addon-environment.sh
6) Verify the version to check Mono installed correctly
- Code: Select all
mono --version
Mono JIT compiler version 2.6.7 (tarball Mon Jul 19 18:28:58 UTC 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC and Parallel Mark)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
7) Then issue the following command to make the Mono environment we just created permanent
- Code: Select all
cp /opt/novell/mono/bin/mono-addon-environment.sh /etc/profile.d
8) To complete the Mono installation we will install WCF, which will also install winforms for Mono among other dependencies
- Code: Select all
yum install mono-addon-wcf
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!