• 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!

Nothing to fully working server with RL map on Debian 7. Or just how to configure a dedicated server

When i used ./tfs comand and load map done shot me this error every time.

bhwvq1.png
 
Ive got a problem ;)
Code:
root@XXXX:~# apt-get install php5-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-fpm
Code:
root:~# service nginx restart
Restarting nginx: [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()
nginx.


FIXED :) !



Ive got problem a little with this
xxxpip.png
 
Last edited:
Bump i have the same problem as above :'(

I have gcc version 4,7 installed i believe i need 4.8 or higher?? however i cannot find how to upgrade my gcc :'( I'm running debian 7.7
 
Last edited:
Should i just write "cmake" or something after that? cmake ???

Or should i go to /root/forgottenserver/src/ I dont get it :/
Thanks in advance

@dominique120
@Ninja
@Mark
 
Last edited:
Should i just write "cmake" or something after that? cmake ???

Or should i go to /root/forgottenserver/src/ I dont get it :/
Thanks in advance

@dominique120
@Ninja
@Mark

Do you mean when you compile? if so you need to type in
Code:
cmake ..
Like litterlly type the dots. then after that command has finished running type in
Code:
make

Also to my previous post you must have gcc 4.8 or high to compile tfs 1.1
 
I got this error when im type cmake .. "CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt. my server folder contain /root/forgottenserver"

I dont know how to fix this

Thanks in advance

@beastn
 
Its because you need to change to your server directory so you can compile. Copy these steps exactly how i write them ok?

This command will download TFS to /root/
Code:
git clone https://github.com/otland/forgottenserver.git

This command changes your directory to TFS
Code:
cd forgottenserver

This command makes another directory called build inside tfs (Example: /root/theforgottenserver/build and then it will change to the build directory (/root/theforgottenserver/build)
Code:
mkdir build && cd build

This is the command that will prep your server to compile
Code:
cmake ..

This command will then begin compiling your server.
Code:
make

Does that make more sence? Post any errors you get.
 
It worked, but get an bug while compiling the server

Code:
/root/forgottenserver/src/ban.cpp: In member function ‘bool Ban::acceptConnection(uint32_t)’:
/root/forgottenserver/src/ban.cpp:34:16: error: ‘IpConnectMap’ has no member named ‘emplace’
make[2]: *** [CMakeFiles/tfs.dir/src/ban.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2

@beastn
 
What linux version are you using?
 
No you cant use tfs 1.1 with debian 7. You need to use Fedora or Centos 7. I'm using Centos 7 and have got it to work. I will be writing up a tutorial soon but for now this is what to do.

1) Download Centos 7 from HERE
2) Follow THIS TUTORIAL to install and configure LAMP server
3) Run this code before you compile
Code:
yum install mysql-devel
4) Compile your server using the steps i provided.

And you're done =)

Or you can do as @Ninja said and upgrade to debian 8.
 
I'll try to install Debian 8, will see if it works or ill change it to Centos or fedora...

But dont have any experience on Centos or fedora ? maybe you can help me @beastn
 
I'll try to install Debian 8, will see if it works or ill change it to Centos or fedora...

But dont have any experience on Centos or fedora ? maybe you can help me @beastn

If you need help with CentOS or Fedora(The are essentially the same) you can ask me in a PM or in the support board and I'll be glad to help
 
I'll try to install Debian 8, will see if it works or ill change it to Centos or fedora...

But dont have any experience on Centos or fedora ? maybe you can help me @beastn

You will be fine man there is only two things really that will confuse you.

Centos doesnt come with 'ifconfig' so install "net-tools" if you want that function and also instead of using the command "apt-get" you use "yum"
 
service nginx restart [fail]

Does anyone know how can remove everything and start from scratch with nginx..

Have try this codes.
sudo apt-get remove nginx
sudo apt-get purge nginx
 
Sorry dude i'm in America for a holiday. Its easy to just get a windows machine and install virtual machine software on it like "VMworkstation" that way you can run your server on your main machine whilst it being separate. and if you make a mistake all you have to do is restart your VM. but to uninstall and start again would be ÿum remove nginx
 
service nginx restart [fail]

Does anyone know how can remove everything and start from scratch with nginx..

Have try this codes.
sudo apt-get remove nginx
sudo apt-get purge nginx

Is apache installed?
 
Back
Top