**This guide is written for ubuntu and debian. Commands in other distros are not the same**
I saw the thread for how to run a server in windows, but many people use linux, especially if renting a dedi-box. Although to some linux might seem complicated, it's suprisingly easy to use and takes almost no time to get to grips with at all. Also, it tends to be more stable, and won't automatically re-boot to do updates
This results in minimal downtime.
If you are using a home computer, skip to step 2.
1) So you have a linux server, but it's in a remote location, so the first thing you need is to download putty. It's an SSH client that means you can enter commands as if you were at the computer. So go and download it, and enter in your IP, username and password to login.
Once you are logged in, type the following commands:
Each of those will take quite some time to complete, so go watch some TV and come back when it's done.
What we have just done is installed a graphical interface to the machine, rather than a command prompt only screen, which is much harder to use. VNC is like remote desktop but for linux, so you can use it graphically as if you were at the machine.
Now you must start the vncserver, so you can actually view it, simply type
It will ask for a password, so give one (you'll have you type it twice) and then it will print some information in your screen, which amongst other things will containt:
The number after the colon is the screen number, which i'll come to in a minute.
Download TightVNC Viewer and run it. In the "VNC server" box type the ip of your machine, followed by a colon then the screen number, for example
It will ask for a password, so enter your password and if all went successfully you will be a looking at a desktop, as if you were at the computer!
2) Install wine.
Steam and the server programs are windows programs, but we are running linux. Fortunately there is a nice little app called "wine", which runs your windows programs in linux, so first of all we need to download and install it. Load up a terminal and type:
3) Download tahoma.ttf to the windows\fonts folder
Steam uses tahoma, so won't run if you don't have it. You can find it with google (I won't link for obvious reasons) and download it. Finally, Browse to your wine C:\ drive and then to the fonts directory. (home/username/.wine/drive_C/windows/fonts) and copy Tahoma.ttf
4) Download and install steam
Load up firefox (it comes with gnome so should be on your system, if it's not, 'sudo apt-get install firefox' in the terminal will install it) and go to the steam website. Download the .msi to your desktop.
Load the terminal, and type
Follow the instructions and login, hopefully it's now as if you were running steam on a windows computer!
5) Install the server and finish up.
Lastly we need to install the server, located in tools. Let it download, and install it as usual.
There will also be incoming connections to your pc, so make sure you open the ports in your router if you have one.
All done! If there's anything you didn't understand let me know and I'll go through it in more detail.
Thanks.
I saw the thread for how to run a server in windows, but many people use linux, especially if renting a dedi-box. Although to some linux might seem complicated, it's suprisingly easy to use and takes almost no time to get to grips with at all. Also, it tends to be more stable, and won't automatically re-boot to do updates
This results in minimal downtime.If you are using a home computer, skip to step 2.
1) So you have a linux server, but it's in a remote location, so the first thing you need is to download putty. It's an SSH client that means you can enter commands as if you were at the computer. So go and download it, and enter in your IP, username and password to login.
Once you are logged in, type the following commands:
Code:
sudo apt-get install gdm
sudo apt-get install gnome
sudo apt-get install vncserver
What we have just done is installed a graphical interface to the machine, rather than a command prompt only screen, which is much harder to use. VNC is like remote desktop but for linux, so you can use it graphically as if you were at the machine.
Now you must start the vncserver, so you can actually view it, simply type
Code:
vncserver -geometry 1024?768 -depth 24
It will ask for a password, so give one (you'll have you type it twice) and then it will print some information in your screen, which amongst other things will containt:
Code:
...desktop is xxxx:1
The number after the colon is the screen number, which i'll come to in a minute.
Download TightVNC Viewer and run it. In the "VNC server" box type the ip of your machine, followed by a colon then the screen number, for example
Code:
17.34.58.12:2
It will ask for a password, so enter your password and if all went successfully you will be a looking at a desktop, as if you were at the computer!
2) Install wine.
Steam and the server programs are windows programs, but we are running linux. Fortunately there is a nice little app called "wine", which runs your windows programs in linux, so first of all we need to download and install it. Load up a terminal and type:
Code:
sudo apt-get install wine
3) Download tahoma.ttf to the windows\fonts folder
Steam uses tahoma, so won't run if you don't have it. You can find it with google (I won't link for obvious reasons) and download it. Finally, Browse to your wine C:\ drive and then to the fonts directory. (home/username/.wine/drive_C/windows/fonts) and copy Tahoma.ttf
4) Download and install steam
Load up firefox (it comes with gnome so should be on your system, if it's not, 'sudo apt-get install firefox' in the terminal will install it) and go to the steam website. Download the .msi to your desktop.
Load the terminal, and type
Code:
cd
cd Desktop
wine msiexec /i SteamInstall.msi
Follow the instructions and login, hopefully it's now as if you were running steam on a windows computer!
5) Install the server and finish up.
Lastly we need to install the server, located in tools. Let it download, and install it as usual.
There will also be incoming connections to your pc, so make sure you open the ports in your router if you have one.
All done! If there's anything you didn't understand let me know and I'll go through it in more detail.
Thanks.
Last edited:











