Fyzxs
Wanderer
I wanted to share my experience setting up RunUO on Ubuntu Server 12.04.
After a few WTFs and 'What am I doing wrong?' I found 3 very helpful posts
http://www.runuo.com/community/thre...ns-distro-for-opensuse-12-1-with-mono.504669/
http://www.runuo.com/community/threads/how-to-configure-runuo-for-linux.88184/page-7#post-750753
http://www.runuo.com/community/threads/runuo-2-1-neruns-distro.457586/page-17#post-3891869
Basing my installation off of these 3 posts, I had it working in no time.
I had it down so smooth that I wrote myself a little script to do it for when I inevitably screw something up.
This isn't a robust 'drop and run' script, it's a hack that is set up applicable to my machine/account and the repositories as it stands when I'm writing this post. Make a few edits and it should be good to go on your system and the latest SVN's.
To be clear - This can be cleaned up, streamlined and made easy to modify... I don't need to, therefore I didn't.
So... I'm bad at write ups; This is a sweet system and is fairly simple to set up and get operational. I hope this sample script helps others!
After a few WTFs and 'What am I doing wrong?' I found 3 very helpful posts
http://www.runuo.com/community/thre...ns-distro-for-opensuse-12-1-with-mono.504669/
http://www.runuo.com/community/threads/how-to-configure-runuo-for-linux.88184/page-7#post-750753
http://www.runuo.com/community/threads/runuo-2-1-neruns-distro.457586/page-17#post-3891869
Basing my installation off of these 3 posts, I had it working in no time.
I had it down so smooth that I wrote myself a little script to do it for when I inevitably screw something up.
This isn't a robust 'drop and run' script, it's a hack that is set up applicable to my machine/account and the repositories as it stands when I'm writing this post. Make a few edits and it should be good to go on your system and the latest SVN's.
Code:
#!/bin/sh
# Uncomment the next 3 lines if you haven't installed Mono yet
#echo Installing Mono...
#sudo apt-get -y install mono-2.0-devel
#sudo apt-get -y install libmono-winforms2.0-cil libmono-system-data2.0-cil libmono-system-web2.0-cil
echo Downloading RunUO SVN --quite--
svn export -q http://svn.runuo.com/repos/runuo/devel/
rm -r runuo
mv devel runuo
cd runuo/Server
echo Compiling the server
mono-csc -out:../RunUO.exe -d:MONO -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 -nowarn:219 -recurse:*.cs
echo Editing DataPath.cs
sed -i '16 s:null:@\"</PATH/TO/UO CLIENT/FILES>\":' </PATH/TO/THIS/SCRIPT/LOCATION>/runuo/Scripts/Misc/DataPath.cs
echo Setting up neruns --quite--
cd ../..
rm -r neruns
mkdir neruns
cd neruns
svn export -q http://runuo-nerun-distro.googlecode.com/svn/trunk/Distro%20for%20RunUO%202.2/Data/
svn export -q http://runuo-nerun-distro.googlecode.com/svn/trunk/Distro%20for%20RunUO%202.2/Scripts/
cp -rf * ../runuo
rm -rf *
svn export -q http://runuo-nerun-distro.googlecode.com/svn/trunk/Distro%20for%20RunUO%20SVN/Scripts/
cp -rf * ../runuo
echo Setting up RunUO.exe.config
cd ../runuo
# To find your version of libz, from the command line "locate libz"
# Update target section as needed
echo "<configuration>" >> RunUO.exe.config
echo " <dllmap dll=\"libz\" target=\"libz.so.1\"/>" >> RunUO.exe.config
echo "</configuration>" >> RunUO.exe.config
echo Done
To be clear - This can be cleaned up, streamlined and made easy to modify... I don't need to, therefore I didn't.
So... I'm bad at write ups; This is a sweet system and is fairly simple to set up and get operational. I hope this sample script helps others!