Page 1 of 1

[GUIDE] DoL server on Ubuntu

PostPosted: Fri Mar 17, 2017 1:12 pm
by HunabKu
Hi all dolers.
Here a guide to install DoL on Ubuntu.

Re: [GUIDE] DoL server on Ubuntu

PostPosted: Tue Jun 13, 2017 12:10 pm
by HunabKu
Updated Monodevelop Installation Method.

Re: [GUIDE] DoL server on Ubuntu

PostPosted: Sun Jul 16, 2017 11:13 pm
by Sumy
Hey there, I used this as a base to get in touch with dol on ubuntu but I got some minor problems getting it running because I don't want to install a GUI, I just updated the guide a bit and added fixed to the issues I've ran in.
Code: Select all
sudo apt install -y git
printf "en_US.CP1252\nCP1252" >> /var/lib/locales/supported.d/local
sudo dpkg-reconfigure locales

sudo apt-get install mysql-client-5.6 mysql-client-core-5.6 mysql-server-core-5.6 mysql-server-5.6 libmysqlclient-dev
sudo apt-get install -y mono-complete
sudo apt-get install nuget

git clone YOUR_REPO_HERE

cd REPOR_DIR
mkdir Debug; ln -s Debug debug # sometimes two folders are created and mess up everything
nuget restore DOLServer/packages.config -SolutionDirectory ./
MONO_IOMAP=case xbuild "Dawn of Light.sln"
cd Debug
LANG=en_US.CP1252 mono --debug --gc=sgen --server DOLServer.exe

# quit DOLServer now

sed -i 's/ColoredConsoleAppender/ConsoleAppender/g' config/logconfig.xml

# open config/serverconfig.xml
# <DBType>MYSQL</DBType> # Change DBType to MYSQL
# <DBConnectionString>server=localhost;port=3306;database=YOUR_MYSQL_DATABASE;user id=YOUR_MYSQL_USER;password=YOUR_MYSQL_PASSWORD;treattinyasboolean=False;minimumPoolSize=10;maximumpoolsize=20;</DBConnectionString> # Change the connection string

LANG=en_US.CP1252 mono --debug --gc=sgen --server DOLServer.exe

Re: [GUIDE] DoL server on Ubuntu

PostPosted: Wed Jul 19, 2017 4:39 pm
by HunabKu
\n in the line printf "en_US.CP1252\nCP1252" >> /var/lib/locales/supported.d/local don't make a carriage return ? Need to be a space.
Can you make a guide. I can post it for you.
Thanks for your work.

Re: [GUIDE] DoL server on Ubuntu

PostPosted: Fri Jul 21, 2017 12:32 am
by Sumy
It has do be a linebreak and \n is on linux the default :)

Re: [GUIDE] DoL server on Ubuntu

PostPosted: Fri Jul 21, 2017 4:46 am
by HunabKu
Year but need to be a space like
Code: Select all
en_US.CP1252 CP1252
not
Code: Select all
en_US.CP1252
CP1252

Re: [GUIDE] DoL server on Ubuntu

PostPosted: Fri Jul 21, 2017 1:20 pm
by Sumy
Strange because on locale reconfigure it worked like it should.