Aetherius Shadowblade
Member
I would to thank the community for all their help with getting my Linux ServUO server and shard up and running. Thank everyone for putting up with my million posts that was stacked on top of one another which irritated some people but forgave me.
I thought after my success I should write a tutorial about how I did it for other people who may be interested. I needed to write this tutorial after I screwed some settings on my Linux L.A.M.P server that dealt with Apache. I was able to do this at one time, I can do it again.
Some of the programs that I use to accomplish this goal are:
You may get some errors, I would recommend researching them on ServUO.com. The community there are knowledgeable, friendly, and a great bunch of people. I didn’t have any, that’s why I didn’t list them and add the solutions because mine was working from before and all I did was copy it on a usb stick as a back-up copy and re-installed it on the refreshed server.
I am assuming that you have Ubuntu 14.04 LTS installed with SSH, L.A.M.P., ftp, DNS Server, and PostGreSQL. Google on how to install it but I have listed one to save you some time----
http://ubuntuserverguide.com/2014/04/how-to-install-ubuntu-server-14-04-trusty-tahr.html
1. use your SSH software or log into your server.
2. Get root access by typing sudo su and entering your password.
3. Sudo apt-get update && apt-get upgrade
4. Next we need to edit your sources.list file. Do the following.
Vi /etc/apt/sources.list
add the following line of code to your sources.list
deb http://debian.meebey.net/experimental/mono /
leave the space between the last slash and mono, if you don’t it will throw an error and will not update.
5. sudo apt-get install mono-complete
* * * * * * * * UPDATE 9-24-14 * * * * * * * *
6. Install MonoDevelop
sudo apt-get install monodevelop
7. Compile ServUO with the following code:
mcs -sdk:4.5 -out:ServUO.exe -d:MONO -d:Framework_4_0 -d:ServUO -optimize+ -unsafe r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml,OpenUO.Core.dll,OpenUO.Ultima.dll,OpenUO.Ultima.Windows.Forms.dll,SevenZipSharp.dll -nowarn:219 -recurse:Server/*.cs
8. * * * VERY IMPORTANT * * *
A. YOU MUST BE SIGNED IN AS THE ROOT USER OF YOUR SERVER, NOT A USER
1. type sudo su to get root access (if you have not already)
2. type sudo chmod 777 /path/to/your/server's/save/folder
a. so your server can write the saves, if you don't, it will crash the server.
3. mono ServUO.exe
9. Enjoy and have fun.
I thought after my success I should write a tutorial about how I did it for other people who may be interested. I needed to write this tutorial after I screwed some settings on my Linux L.A.M.P server that dealt with Apache. I was able to do this at one time, I can do it again.
Some of the programs that I use to accomplish this goal are:
- For SSH I use FireSSH which you can find under addons for Mozilla Firefox, which allows for cutting and pasting.
- To edit all of the files on the server, I use vi <filename> which is already installed with the server. I have found you don’t need anything more than that.
- Tmux is used to run the server even while I log off. I like it because I found it to be the most stable one out there. I tried using screen, but it killed the server session after twelve hours of operation. I was not happy.
You may get some errors, I would recommend researching them on ServUO.com. The community there are knowledgeable, friendly, and a great bunch of people. I didn’t have any, that’s why I didn’t list them and add the solutions because mine was working from before and all I did was copy it on a usb stick as a back-up copy and re-installed it on the refreshed server.
I am assuming that you have Ubuntu 14.04 LTS installed with SSH, L.A.M.P., ftp, DNS Server, and PostGreSQL. Google on how to install it but I have listed one to save you some time----
http://ubuntuserverguide.com/2014/04/how-to-install-ubuntu-server-14-04-trusty-tahr.html
1. use your SSH software or log into your server.
2. Get root access by typing sudo su and entering your password.
3. Sudo apt-get update && apt-get upgrade
4. Next we need to edit your sources.list file. Do the following.
Vi /etc/apt/sources.list
add the following line of code to your sources.list
deb http://debian.meebey.net/experimental/mono /
leave the space between the last slash and mono, if you don’t it will throw an error and will not update.
5. sudo apt-get install mono-complete
* * * * * * * * UPDATE 9-24-14 * * * * * * * *
6. Install MonoDevelop
sudo apt-get install monodevelop
7. Compile ServUO with the following code:
mcs -sdk:4.5 -out:ServUO.exe -d:MONO -d:Framework_4_0 -d:ServUO -optimize+ -unsafe r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml,OpenUO.Core.dll,OpenUO.Ultima.dll,OpenUO.Ultima.Windows.Forms.dll,SevenZipSharp.dll -nowarn:219 -recurse:Server/*.cs
8. * * * VERY IMPORTANT * * *
A. YOU MUST BE SIGNED IN AS THE ROOT USER OF YOUR SERVER, NOT A USER
1. type sudo su to get root access (if you have not already)
2. type sudo chmod 777 /path/to/your/server's/save/folder
a. so your server can write the saves, if you don't, it will crash the server.
3. mono ServUO.exe
9. Enjoy and have fun.
Last edited: