Ok. Begin by downloading the newest Ubuntu server from Ubuntu homepage | Ubuntu (currently 10.04). 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):
VPS/VDS/Dedicated pre step
Often VPS/VDS and dedicated servers comes with apache2. You will have to run a extra step to get rid of it:
Mysql / Webserver
Run this commands:
(It will now ask you for the a password for the root user)
(First question is your mysql root password, leave the second black to make a random PMA password, and in the list remember to select "lighttpd").
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:
Then 0.3.6pl1:
0.4:
Upload the .tar.gz rev to your home directory. And run this:
Now run this:
when it's done, you need to edit the config.lua file (using nano -w config.lua or winscp/filezilla).
Start the server
The server can be started really easy, even with auto restart:
Click Ctrl + A + D to put the screen session into the background. If you want to resume the session run:
To kill the screen run:
to make sure TFS is not running, you can also use this:
Note: The auto restarter WILL kickin if you don't kill the screen.
Last step is to install ModernAAC Trunk (Cause you guys just love unstable experimental versions ):
First go to http://youserver/phpmyadmin/index.php, login and create a new database. Name it "theforgottenserver".
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:
Don't forget to upload your own data and mods to TFS!
If the server is ready to go public, then please sign it up on VAPus - Otlist
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
VPS/VDS/Dedicated pre step
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
Now run this:
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
Click Ctrl + A + D to put the screen session into the background. If you want to resume the session run:
Code:
screen -r tfs
To kill the screen run:
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 .
First go to http://youserver/phpmyadmin/index.php, login and create a new database. Name it "theforgottenserver".
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
If the server is ready to go public, then please sign it up on VAPus - Otlist
Last edited: