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

Ubuntu dedicated with Ubuntu desktop

AdventureOts

Member
Joined
Sep 26, 2016
Messages
74
Reaction score
17
All of this is based on Don daniello's guide. I just wanted to create this to be more detailed in case some people have problems.

!Start with a clean Ubuntu server/vps!

Log into your root account with putty or another software then execute these commands.

Code:
apt-get purge apache2* bind9* samba*
apt-get update
apt-get upgrade
apt-get install ubuntu-desktop
service lightdm start
dpkg-reconfigure xserver-xorg

Once you have done that Ubuntu Desktop will be installed.

Now to set up a way to connect to it (if your dedi/vps provider doesn't have a control panel to access it for you)

Code:
apt-get install tightvncserver
vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
ps aux | grep Xtightvnc
update-rc.d ssh defaults
reboot

After your VPS has rebooted, log into root again with putty and execute this command

Code:
vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565

Now you can download: TightVNC to access your VPS with ubuntu desktop

Stay logged in on putty as root and execute these commands

Code:
apt-get update
apt-get install -y -q python-paramiko python-yaml python-jinja2 python-simplejson git-core ansible aptitude
ansible-pull -i localhost, -U https://github.com/DevelopersPL/otshosting-provisioning.git -d /srv/otshosting-provisioning

Once it has finished (should take around 20 minutes) You can connect to the VPS with TightVNC or your service providers control panel.


Log into otsmanager using the password otsmanager.
 
Compiling your server to use with Ubuntu

Open home/otsmanager/forgottenserver

Take the config.lua file and put it on your desktop, it contains your database password.

Delete all files and put your servers files in.

delete the *build* folder if it is there.

execute these commands

Code:
cd forgottenserver
mkdir build && cd build

Put your servers *src* folder in the new build folder. Then execute:

Code:
cmake src
make

After that your server should compile and you will have your exe.

Make sure the exe file is in the build folder.

copy your exe file and place it in /home/otsmanager/forgottenserver

If everything has worked you will now be able to use the commands
start tfs
stop tfs
status tfs
ect
ect
 
Last edited:
Setting up database

open an internet browser and type in:

localhost:3380

username: forgottenserver
password: *found in the config.lua that should be on your desktop*

*Make sure you edit the config.lua in your server with the same information*

Click on forgottenserver database.

Click on structure

Go to the bottom, select all, drop (make sure check for unique is unmarked)

Import your servers database
 
Last edited:
Setting up website

This is very easy, just go into /home/otsmanager/www/public_html

Delete everything there and put your website files there.
 
Back
Top