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

[Linux]{Dedic}Your first own dedic for 7 euro/month!

PhoOwned

^_^
Joined
Nov 11, 2010
Messages
375
Reaction score
66
I found this offer on OVH.com :blink:
They sell 'cloud' servers for 0.01 euro/hour with 256MB ram, but now their system is bugged and when you setup 256MB ram server you get 2GB ram server (for 0.01euro/hour) :)
Parameters:
4x2GHz
2GB ram
100mb/s
5GB hdd
Only problem is HDD - is really slow :(

This is short tutorial for newbies how to install own TFS on this 'dedic'.
I'm not sure it is 100% safe. Maybe some linux pro will post in this thread bugs.

1. Buy points in ovh.com and order cloud server with OS Debian 5.0 32 bit and create .ppk file for Putty (there are 2 options of login).
2. Download 'Putty' (search google) to connect to server.
3. In putty put your IP and on left side of windows select 'Connection -> SSH -> Auth' and select your .ppk file (you will see link to this file when you order cloud). Press OPEN.
4. Your login is root
5. In putty write:
PHP:
adduser your_user_name
then set password, repeat password, press Enter few times, write Y when it ask and press Enter again.
6. then:
PHP:
cd /etc/apt/
pico sources.list
remove all and then paste:
PHP:
deb http://ftp.de.debian.org/debian lenny main
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb http://mirror.home-dn.net/debian-multimedia squeeze main
deb http://www.debian-multimedia.org/ testing main
deb-src http://www.debian-multimedia.org/ testing main
deb http://www.debian-multimedia.org squeeze main
deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ testing main contrib non-free
then press CTRL+O to save and CTRL+X to exit pico (or Pause)
7. then:
PHP:
apt-get update
apt-get upgrade
It can take few minutes.
8. then:
Code:
apt-get install libboost1.42-dev libboost-system1.42-dev libboost-filesystem1.42-dev libboost-date-time1.42-dev libboost-regex1.42-dev libboost-thread1.42-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev mysql-client-5.1 mysql-server-5.1 mysql-common libxml2-dev libxml+ apache2 php5 php5-mysql php5-gd php5-mcrypt zip subversion screenie
If server ask you about anything press Y and Enter.
Server will ask you (2 times) about 'mysql password'. Set secure (long) password AND DON'T FORGET IT!
9. Then:
PHP:
chmod -R 777 /var/www
10. Then upload your server files (data, config.lua) and SOURCE (.cpp and .h files)
To upload files you can use FileZilla Client (google it), set type SFTP, login Normal/Default, your IP, port (empty), login and password you set in point 5 of this tutorial.
11. Run another Putty and login to your 'user account'. Then (after you upload server in .zip file) write:
PHP:
unzip your_uploaded_file_name.zip
12. Then use cd command to enter folder with your source (.cpp and .h files) and write:
PHP:
./autogen.sh
./configure --enable-mysql
make
mv theforgottenserver ../tfs
(../tfs is example, its good if you store source files in folder 'sources' or something like that)
13. Then download phpmyadmin (from google):
PHP:
wget link_to_phpmyadmin.zip
then:
PHP:
unzip php_my_admin_file.zip
then:
PHP:
mv php_my_admin_directory_long_name phpmyadmin
14. Then:
PHP:
reboot
wait 1-2 minutes and login again with Putty
15. Open:
http://ip_of_cloud/phpmyadmin
and add database (schema.mysql)
16. Now install acc. maker and its ready to use!
--------------------------------------
1. Login with putty on 'user account'.
2. Then:
PHP:
screen
press anything, then:
PHP:
./tfs
You server should start!
Press CTRL+A+D to 'minimize' (like on windows :p ) your server. You can close Putty and server will be online!
3. To view your 'console' of server, login with Putty and use command:
PHP:
screenie

If you want check how it looks like, lags, login times etc., acc. maker, tibia 8.54, test server:
ForgotteNMS, highly edited evolution!.

If you do not understand anything SEARCH IN GOOGLE or on forum!

EDIT:
In point where you start using 'FileZilla' you should upload acc. maker (modern?) in .zip file to directory /var/www (enter few time to '..' direcotry and then /var/www) and unzip it like TFS files.
 
I'm not sure then, what guarantees me they won't fix that bug, and RAM lowers to 256MB? ;O
 
I used few servers from ovh and they always give more if bug is because of their mistake.

EDIT:
and as thread says it's 'first dedic' after month you get money from donations and buy real dedic server
it's also good server to learn how to use linux, if you configure something wrong and nothing work you can reinstall system for 0.01 euro :p
 
Last edited:
How is the performance, any OT running this so we can check etc lag issues?
 
Virtual Private Server NOT EQUALS Dedicated Hosting. That is all.
 
Server Online
Players Online: 42 / 1000
Monsters: 9105
Uptime: 55h 20m
IP: 188.165.53.93
I had 56 players online and no lags. [TFS 0.3.6, 19MB map]

EDIT:
RAM bug still works :thumbup:

TESTS:
Connection speed: 15-25mb/s (download speed for 23MB file from dallas [US], france and sweden)
HDD:
/dev/sda:
Timing cached reads: 4550 MB in 2.00 seconds = 2275.65 MB/sec
Timing buffered disk reads: 150 MB in 3.03 seconds = 49.47 MB/sec

/dev/sda1:
Timing cached reads: 4068 MB in 2.00 seconds = 2035.37 MB/sec
Timing buffered disk reads: 162 MB in 3.07 seconds = 52.85 MB/sec
 
Last edited:
Back
Top