[4.0.02.42] Start your first production allods server on Linux (Ubuntu Server 16.04)

Сорок два

Administrator
Staff member
#1

ATTENTION: This guide is NOT finished and is under writing !

The installed version of the OS is Ubuntu 16.04

Before starting the guide, I recommend you to install a graphical desktop environment like "mate" and some useful packages that give us more friendly our job.


So firstly, start to install basics packages on our server :
Bash:
sudo apt-get install git zsh unrar htop zip traceroute xrdp x11-xkb-utils pkg-config mate-core mate-desktop-environment mate-notification-daemon
Then for a friendly command line I'll recommend you to install Oh My ZSH too. Like this :
Bash:
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
And now, when you goes on prompt, type
Bash:
zsh
to start oh-my-zsh terminal.
Create a new folder where the server will be, like
Bash:
mkdir -p /srv/allods-server
In this folder put the content of this archive (server).

Uncompress all XDB_*.pak files located in games /srv/allods-server/data/packs/ in /srv/allods-server/data then remove this pak files.
So your data folder should look like this (in my case I've for the moment only uncompressed most important XDB_*.pak files, but extract them all, you won't have to do this in the future)
View attachment 11
Java

  • Installation from the repository:
Code:
 sudo apt-get install openjdk-7-jdk

PostgreSQL

  • Installation from the repository:
Code:
sudo apt-get install postgresql-9.3
sudo apt-get install odbc-postgresql
sudo apt-get install libpostgresql-jdbc-java
sudo apt-get install pgadmin3
If the driver is not installed in this case either, you can try to reproduce the following command before installing it:
Bash:
sudo apt-get install unixodbc-bin unixodbc
sudo apt-get install odbc-postgresql
(thanks @vanchik )
  • Installation from executable
(choose your package on resource page)

Apache2, PHP, MySQL

  • Installation from the repository:
Code:
 sudo apt-get install apache2 mysql-server php7.0 phpmyadmin libapache2-mod-php php-mysqlnd
--
Will be complete soon[/CODE]
 
Last edited:

Сорок два

Administrator
Staff member
#3
I would like to see the following parts of the manual:
  • Server configuration
  • Starting the AO server
At the moment I don't have the time to complete this tutorial. So if anyone have any knowledges in Allods on Linux, you can help me finish this guide or you'll have to wait that I've time to spent on this guide
 
#4
A typo crept into the installation command of the odbc driver!
sudo apt-get install odbc-posgresql
so be right:
sudo apt-get install odbc-postgresql

UPD:
If the driver is not installed in this case either, you can try to reproduce the following command before installing it:
sudo apt-get install unixodbc-bin unixodbc
and then:
sudo apt-get install odbc-postgresql
 

Zorno

New member
#5
Will you continue the guide or is it like 99% of the internet, just unfinished stuff ? Just asking because its the only reason i registered here :D
 

Сорок два

Administrator
Staff member
#6
Will you continue the guide or is it like 99% of the internet, just unfinished stuff ? Just asking because its the only reason i registered here :D
Hello. You have to know it takes time to create tutorial and trying to explain in the most simple way. Especially when you have to write the tutorial in a language that isn't your. And at the moment I don't have enought time to complete this due to my profesionnal life. So yeah, i'll finish this guide one day, but I don't know when, you have to be patient. And if you're not happy about that just learn yourself, you have to understand that sometimes you have to make the work by yoursself and do not wait for someone to do it for you.

Just experiment by yourself and with motivation and a minimum of reasoning you can understand and manage to start your allods server with all the actual resources that are available on internet.