[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-posgresql
sudo apt-get install libpostgresql-jdbc-java
sudo apt-get install pgadmin3
  • 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]
 

Сорок два

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