Just bought a VDS now how do i...

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
John
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Apr 12, 2010 1:12 pm

Just bought a VDS now how do i...

Post by John »

Install a game to it?
I only need this game
http://ut-files.com/index.php?dir=UT_De ... 348.tar.gz

The OS on my server is a Linux Cent05 or something

Thank you
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Just bought a VDS now how do i...

Post by Edge100x »

I'm not familiar with the UT99 demo specifically, but to install this, most likely you would need to download it, extract it, and then run it, like this:

Code: Select all

wget http://ut-files.com/index.php?dir=UT_Demo/Demo/&file=utdemo-linux-x86-348.tar.gz
tar xzvf utdemo-linux-x86-348.tar.gz
cd whatever_directory_it_just_created
./the_server_executable
You could alternately download and extract it on your home machine, then upload the entire folder to the VDS.

You'll also want to customize its configuration files and such, of course :). Additionally, it would be best to install and run it under a user other than root.
John
New to forums
New to forums
Posts: 6
Joined: Mon Apr 12, 2010 1:12 pm

Re: Just bought a VDS now how do i...

Post by John »

Ok im use to managing my servers through FTP with other GSP's. I use coreFTP so i just dload coreFTP to the VPS? When it comes to this stuff im very veyr slow lolol
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Just bought a VDS now how do i...

Post by Edge100x »

Linux definitely has a bit of a learning curve associated with it.

I'd recommend using SFTP on the VDS instead of mucking around with regular FTP, since it's very similar but saves you the trouble of installing an FTP server on the VDS. To use SFTP, you'd need to install an SFTP client such as WinSCP or FileZilla on your home computer, then connect according to the instructions on your "File manager" page.

You'll still end up needing to log in through SSH to run the game itself, though. SFTP would mainly be useful for editing the configuration files and potentially the initial setup.
John
New to forums
New to forums
Posts: 6
Joined: Mon Apr 12, 2010 1:12 pm

Re: Just bought a VDS now how do i...

Post by John »

Between you and me i think i just wasted $40 lol.
Anyway i can just pay someone from nfo to do all this and i just use my coreftp to access the files? lol like a regular server?

Anyways i installed filezilla on my home pc,but when i add the VPS ip port and all that it says it refuse my connection o:

Thank you for your help (:
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Just bought a VDS now how do i...

Post by Edge100x »

An unmanaged VDS is a different beast than a managed game server. With a managed game server, we do all the initial setup and make sure that the server runs properly at peak performance, with backups, a nice control panel, and so on; with a VDS, you have to do these things yourself.

With FileZilla, make sure that you are connecting with "SFTP" specifically. "FTP" will not work, and "FTPS" will not work. Connect to the server IP at port #22, and use the username and password that we show on the "File manager" page, you'll see the file system pop up.
John
New to forums
New to forums
Posts: 6
Joined: Mon Apr 12, 2010 1:12 pm

Re: Just bought a VDS now how do i...

Post by John »

Ok,i got it dloaded to the VPS. The problem now it wont let me open up the .exe so i start the game :?
User avatar
merc248
A semi-regular
A semi-regular
Posts: 27
Joined: Sun Apr 04, 2010 9:54 pm
Location: Seattle, WA
Contact:

Re: Just bought a VDS now how do i...

Post by merc248 »

(disclaimer: I'm not leasing a VDS from NFO)

.exe on the VDS, or your Windows machine?

You'll want to try executing a .sh or .bin file instead, since those are more typically Linux executable files.
Image
Image
John
New to forums
New to forums
Posts: 6
Joined: Mon Apr 12, 2010 1:12 pm

Re: Just bought a VDS now how do i...

Post by John »

Yes its a linux(sorry use to windows :p)
So i just rename it unrealtournament.bin? cause i double click it and nothing happens

Thank you
John
New to forums
New to forums
Posts: 6
Joined: Mon Apr 12, 2010 1:12 pm

Re: Just bought a VDS now how do i...

Post by John »

Sorry for double post can edit..
I dont have a .sh or .bin files.
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Just bought a VDS now how do i...

Post by Edge100x »

If you type "ls" at the command prompt while you're in the "System" folder for your server, do any of the files show green? If so, that's likely the file that you need to execute.
User avatar
merc248
A semi-regular
A semi-regular
Posts: 27
Joined: Sun Apr 04, 2010 9:54 pm
Location: Seattle, WA
Contact:

Re: Just bought a VDS now how do i...

Post by merc248 »

Hah, just tried to extract it on a NetBSD box and a Linux box just for shits and giggles:

Code: Select all

$ tar zxvf utdemo-linux-x86-348.tar.gz
utdemo
utdemo/Maps
utdemo/Maps/UT-Logo-Map.unr
utdemo/Maps/CTF-tutorial.unr
utdemo/Maps/DM-MorpheusDEMO.unr
utdemo/Maps/DM-PhobosDEMO.unr
utdemo/Maps/DM-TempestDEMO.unr
utdemo/Maps/DM-TurbineDEMO.unr
utdemo/Maps/DM-tutorial.unr
utdemo/Maps/DOM-SesmarDEMO.unr
utdemo/Maps/DOM-tutorial.unr
utdemo/Maps/Entry.unr
utdemo/Maps/CTF-CoretDEMO.unr
utdemo/System
utdemo/System/UWindow.u
gzip: data stream error

tar: End of archive volume 1 reached
tar: ustar vol 1, 16 files, 36072306 bytes read, 0 bytes written in 1 secs (36072306 bytes/sec)
utdemo/System/BotPack.utar: Unexpected EOF on archive file
Well, shit.

I also tried this:

Code: Select all

$ gunzip utdemo-linux-x86-348.tar.gz
gunzip: data stream error
gunzip: utdemo-linux-x86-348.tar.gz: uncompress failed
Maybe the package is simply compressed with an extremely out of date version of gzip, or it's totally broken.
Image
Image
User avatar
merc248
A semi-regular
A semi-regular
Posts: 27
Joined: Sun Apr 04, 2010 9:54 pm
Location: Seattle, WA
Contact:

Re: Just bought a VDS now how do i...

Post by merc248 »

Note: I've downloaded the files multiple times just to confirm that I downloaded it all the way through.
Image
Image
User avatar
merc248
A semi-regular
A semi-regular
Posts: 27
Joined: Sun Apr 04, 2010 9:54 pm
Location: Seattle, WA
Contact:

Re: Just bought a VDS now how do i...

Post by merc248 »

Here's a better link:

http://www.fileplanet.com/29122/20000/f ... 48-(Linux)

I was able to extract the archive from the file I downloaded from Fileplanet.

You'll want to download the .tar.gz file, transfer the file UNEXTRACTED over WinSCP or whatever other SFTP client you can use, then log into your VDS and type the following:

Code: Select all

$ tar zxvf UTDemo-Linux-x86-348.tar.gz
Then after it's extracted on you VDS, type the following:

Code: Select all

$ cd utdemo/System
System$ ./UnrealTournament
The "./" before "UnrealTournament" in that last line is extremely important, do not omit those two characters.
Image
Image
User avatar
merc248
A semi-regular
A semi-regular
Posts: 27
Joined: Sun Apr 04, 2010 9:54 pm
Location: Seattle, WA
Contact:

Re: Just bought a VDS now how do i...

Post by merc248 »

I should add why I emphasize transferring the file unextracted over SFTP: if you extract the files first on your desktop, then transfer the extracted files over SFTP, you'll lose all sorts of permissions, including the ability to execute the file in Linux. This is easily fixable, but it would be more complex to fix it than just extracting it on the VDS itself.
Image
Image
Post Reply