[UBUNTU] How to make an OTserver. TFS 0.3.6pl1
OtStrikers :: Open Tibia :: Tutorials :: ● Basic Open Tibia
Page 1 of 1
[UBUNTU] How to make an OTserver. TFS 0.3.6pl1
Ubuntu - From nothing to complete server (TFS, ModernAAC, MySQL, Lighttpd)!
Ok. Begin by downloading the newest Ubuntu server from Ubuntu homepage . Burn it to a CD and boot up on your server. People using VPS or dedicated might request reinstallation from the companies.
Note: Choose OpenSSD if you want remote access.
When your done installing (it doesn't need any futher guiding as there is very good explainations, then login, either using SSH (using putty from PuTTY: a free telnet/ssh client) or from the console directly. Now a console window with shell access will start up and you will be able to do basic things on your server. We begin my installing the webserver.
Post upgrade
We don't like the old packages (also 0.4 might depends on newer once):
Often VPS/VDS and dedicated servers comes with apache2. You will have to run a extra step to get rid of it:
Run this commands:
Try to access your server from: http://yourserver/phpmyadmin/index.php
Next step is to install TFS:
This is the steps for 0.3. 0.4 require you to upload the package to the server using winscp or filezilla first. I'll later add a tutorial step how to update rev without replacing your own edits.
First run:
Upload the .tar.gz rev to your home directory. And run this:
Start the server
The server can be started really easy, even with auto restart:
Last step is to install ModernAAC Trunk (Cause you guys just love unstable experimental versions ):
Go to: http://yourserver/, and you'll be redirected to the installation page. Fill out the form, and submit.
To update the modernaac rev run:
Credits goes to: Stian - Otland/Vapus.
Ok. Begin by downloading the newest Ubuntu server from Ubuntu homepage . Burn it to a CD and boot up on your server. People using VPS or dedicated might request reinstallation from the companies.
Note: Choose OpenSSD if you want remote access.
When your done installing (it doesn't need any futher guiding as there is very good explainations, then login, either using SSH (using putty from PuTTY: a free telnet/ssh client) or from the console directly. Now a console window with shell access will start up and you will be able to do basic things on your server. We begin my installing the webserver.
Post upgrade
We don't like the old packages (also 0.4 might depends on newer once):
- Code:
sudo apt-get update
sudo apt-get upgrade
Often VPS/VDS and dedicated servers comes with apache2. You will have to run a extra step to get rid of it:
- Code:
sudo apt-get remove apache2 phpmyadmin mysql-server
Run this commands:
- Code:
sudo apt-get install mysql-server
- Code:
sudo apt-get install lighttpd php5-cgi
sudo lighty-enable-mod fastcgi
- Code:
sudo apt-get install phpmyadmin
Try to access your server from: http://yourserver/phpmyadmin/index.php
Next step is to install TFS:
This is the steps for 0.3. 0.4 require you to upload the package to the server using winscp or filezilla first. I'll later add a tutorial step how to update rev without replacing your own edits.
First run:
- Code:
cd
sudo apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libcrypto++-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev libluajit-5.1-dev
- Code:
svn co svn://svn.otland.net/public/forgottenserver/tags/0.3.6pl1 tfs
cd tfs
Upload the .tar.gz rev to your home directory. And run this:
- Code:
tar xf *trunk*.tar.gz
mv *trunk* tfs
chmod 777 -R tfs
cd tfs
- Code:
./autogen.sh
./configure --enable-mysql
make -j 2
Start the server
The server can be started really easy, even with auto restart:
- Code:
cd
screen -A -S tfs
cd tfs
while true; do ./theforgottenserver; done
- Code:
screen -r tfs
- Code:
screen -X -S tfs
- Code:
killall -9 theforgottenserver
Last step is to install ModernAAC Trunk (Cause you guys just love unstable experimental versions ):
- Code:
cd /var/www
sudo rm index.html
sudo svn co svn://svn.tech1.org/modernaac/trunk .
sudo chown www-data -R .
sudo chmod 777 -R .
Go to: http://yourserver/, and you'll be redirected to the installation page. Fill out the form, and submit.
To update the modernaac rev run:
- Code:
cd /var/www
sudo svn up
Credits goes to: Stian - Otland/Vapus.
Sweddy- Administrator
- Profession :
- HTML Coder
Posts : 18
Reputation : 4
Join date : 2011-12-21
Age : 31
Location : Sweden
OtStrikers :: Open Tibia :: Tutorials :: ● Basic Open Tibia
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Nov 05, 2013 9:57 am by ftcyber
» heyyy
Tue Jul 02, 2013 9:44 am by Amiroslo
» Emporia - Global map by 5mok3 [8.6x]
Tue Feb 05, 2013 5:39 am by elsab3
» Information! This is a must read!
Sat Jan 28, 2012 6:28 am by Zatjin
» Which world are/were you playing in?
Thu Jan 26, 2012 4:18 pm by Zatjin
» How to make a proper thread (APPLYING)
Thu Jan 26, 2012 3:23 pm by Zatjin
» [Sweden][8.6] Quzed.TK BrandNEW RL Server
Thu Jan 26, 2012 2:27 pm by Cypher
» Inactive!
Thu Jan 26, 2012 2:24 pm by Cypher
» League of Legends (LoL)
Wed Jan 18, 2012 8:22 am by FreshM
» Blazing RPG - We are in a need of a team!
Wed Jan 18, 2012 4:24 am by Zatjin