• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Configuration Ubuntu - From nothing to complete server (TFS, ModernAAC, MySQL, Lighttpd)!

how do i restart apache after installing this way?

i had to edit the php.ini so i could upload my database but cant figure out how to restart it
 
Since this tutorial installs lighttpd and not apache, you can use "sudo /etc/init.d/lighttpd restart"
 
Since this tutorial installs lighttpd and not apache, you can use "sudo /etc/init.d/lighttpd restart"

thx fixed

ahh i spoke too soon :

error while loading shared libraries: liblua5.1.so.0: cannot open shared object file: No such file or directory

thats the error i get after doing ./theforgottenserver
 
1. Did you compile TFS on the server you should get this error in configure instead if you miss the lib.
2. Did you install the libs?
 
I installed the libs, and it was compiled a while ago i burnt the ot onto a disk before my comp crashed. just trying to get it running again.

8.54
 
alright, it probably has something to do with permissions. I have had to manually change stuff to read and write. :/
 
Error


root@unassigned:~/sourcer/trunk.r3915# apt-get install libluajit-5.1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libluajit-5.1-dev
root@unassigned:~/sourcer/trunk.r3915#


Thanks!
 
Error


root@unassigned:~/sourcer/trunk.r3915# apt-get install libluajit-5.1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libluajit-5.1-dev
root@unassigned:~/sourcer/trunk.r3915#


Thanks!

Same here. This package is outdated, or something?
 
stian@deathstar:~$ apt-cache search libluajit
libluajit-5.1-dev - Just in time compiler for Lua - development files
libluajit-5.1-common - Just in time compiler for Lua - common files
libluajit-5.1-2 - Just in time compiler for Lua - library version

Note that the package was ADDED in 10.04. 9.10, 9.4 and 8.04 (aga, old LTS) is does NOT have this package. Only 10.04 and 10.10 got it.
 
Problem 1:
I have a problem with the phpmyadmin part. I get a 404 error when I attempt to connect to phpmyadmin using Ubuntu 9.10. (I don't know if I have Apache installed, I'm fairly new to Linux) :

Solved: Ok I used:
sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
and it fixed the 404 error but caused problem 2 below.

Problem 2:
but now I get a "403 - Forbidden" message instead of 404 :S

Solved: This is the fix for the 403 error. Thanks to Slain :p (Works):

type this in command prompt..

gksudo nautilus
then click file system then var folder, right click on www folder..click properties, click permissions, change it all to read + write, the second one should be your username..then click on the do this for all files in it too. done.

if that dont work type cd /var
then type chmod 777 -R www
Then restart your computer and it will work.

Problem 3:
I updated to Ubuntu 10.04 and I am still having this problem:
Code:
dolbj1@ubuntu:~$ 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 luajit-5-1-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pkg-config is already the newest version.
screen is already the newest version.
E: Couldn't find package luajit-5-1-dev
Can't find the luajit-5-1-dev package. Any ideas?

Solved: Stian there's a typo in the tutorial, change "luajit-5-1-dev" to "luajit-5.1-dev"
 
Last edited:
help

Code:
debian:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6-xen
The following packages will be upgraded:
  libc6-xen
1 upgraded, 0 newly installed, 0 to remove and 168 not upgraded.
2 not fully installed or removed.
Need to get 0B/1206kB of archives.
After this operation, 53.2kB disk space will be freed.
Do you want to continue [Y/n]? y
Setting up libc6 (2.11.2-6) ...
Checking for services that may need to be restarted...
Checking init scripts...

Restarting services possibly affected by the upgrade:
  ssh: restarting...done.
  exim4: restarting...done.
  cron: restarting...done.

Services restarted successfully.
ldconfig: /etc/ld.so.conf.d/libc6-xen.conf:6: hwcap index 0 already defined as nosegneg
dpkg: error processing libc6 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Teh Maverick:
Yea, it's a typo.

And this tutorial will ONLY work with 10.04+.
 
I'm using Ubuntu 10.4
But whenever I try to access the site to install, is giving this error:

stian said:
cd /var/www
sudo svn co svn://svn.tech1.org/modernaac/trunk .
sudo chown www-data -R .
sudo chmod 777 -R .

Remember the dot ( . )

Also check out if there are any .htaccess files blocking your access. Looks more like thats the case.
 
Last edited:
Yes man, I put this and not work!
I'll check if have file blocking access.

Edit:
I removed the www folder
and recreated again and did what Stian said.
but still the same error.

Edit²:
I think the fault lies not in lighttpd.
because mysql is also not working.
I'm trying to access it by:
mysql -u root
mysql -u root -p

and neither works.

Edit³:
Solved the error above.
 
Last edited:
This guide might have some bugs if you already got a half working build (etc with apache).
 
sudo apt-get install lighttpd php5-cgi
sudo lighty-enable-mod fastcgi
Do you want to continue Y/n
Y
Abort???
 
Back
Top