[GUIDE] DoL server on Ubuntu

A place where you can talk about anything Dawn of Light or DAOC related

Moderators: Project Admin, Support Team

[GUIDE] DoL server on Ubuntu

Postby HunabKu » Fri Mar 17, 2017 1:12 pm

Hi all dolers.
Here a guide to install DoL on Ubuntu.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: [GUIDE] DoL server on Ubuntu

Postby HunabKu » Tue Jun 13, 2017 12:10 pm

Updated Monodevelop Installation Method.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: [GUIDE] DoL server on Ubuntu

Postby Sumy » Sun Jul 16, 2017 11:13 pm

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
User avatar
Sumy
Inactive Staff Member
 
Posts: 481
Joined: Sat Mar 24, 2007 7:42 pm

Re: [GUIDE] DoL server on Ubuntu

Postby HunabKu » Wed Jul 19, 2017 4:39 pm

\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.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: [GUIDE] DoL server on Ubuntu

Postby Sumy » Fri Jul 21, 2017 12:32 am

It has do be a linebreak and \n is on linux the default :)
User avatar
Sumy
Inactive Staff Member
 
Posts: 481
Joined: Sat Mar 24, 2007 7:42 pm

Re: [GUIDE] DoL server on Ubuntu

Postby HunabKu » Fri Jul 21, 2017 4:46 am

Year but need to be a space like
Code: Select all
en_US.CP1252 CP1252
not
Code: Select all
en_US.CP1252
CP1252
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: [GUIDE] DoL server on Ubuntu

Postby Sumy » Fri Jul 21, 2017 1:20 pm

Strange because on locale reconfigure it worked like it should.
User avatar
Sumy
Inactive Staff Member
 
Posts: 481
Joined: Sat Mar 24, 2007 7:42 pm


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest