STEAM GROUP
Linux Game Server Managers linuxgsm
STEAM GROUP
Linux Game Server Managers linuxgsm
58
IN-GAME
567
ONLINE
Founded
February 9, 2015
raffle Oct 16, 2015 @ 1:02pm
fastdl ubuntu server
Hi I have been looking online for some guide on how to install a fastdl in ubuntu alongside your game server, I saw something about nginx and i installed it and it's working when i put my server ip on my browser but I have no idea how to set it up and where to put my files.

Is anyone experienced on this or can point me in some kind of direction? Many thanks
< >
Showing 1-8 of 8 comments
Mazer Oct 16, 2015 @ 1:16pm 
On your web server, set up the directory structure, substituting <www-root> with your actual web root directory (/var/www or whatever you have nginx serving out of). Create two directories (sound is optional, but meh):
* <www-root>/maps
* <www-root>/sound
Change ownership:
* chown www-data:www-data <www-root>/maps
* chown www-data:www-data <www-root>/sound

Upload maps to your <www-root>/maps directory. Make sure that the www-data user has read access.

On your gameserver, add
sv_downloadurl "http://yoursi.te/"
to your game server config file (not the LGSM script, but the server config file).

Finally, watch your web logs. If there are issues, the logs will tell you the "why" and "where".
Last edited by Mazer; Oct 16, 2015 @ 1:21pm
raffle Oct 16, 2015 @ 1:45pm 
Hi thanks a lot for your quick response!

Unfortunately I have 0 experience with ubuntu, I followed a guide to set up my game server with every instruction so I was able to do it. I really appreciate taking the time to try and explain it to me but sadly I don't really understand.

How exactly do I set up the set up that directory structure? I tried using filezilla and going on "/var/www" and creating those folders but it doesn't work. Also i dont have any domain name I just type "104.238.185.92" on the browser. Is it possible to set this up without a domain?

Sorry for being a noob, many thanks
Mazer Oct 16, 2015 @ 4:29pm 
Yes...will post more detailed instructions this evening for you. What game are you running specifically?
raffle Oct 16, 2015 @ 4:52pm 
Thank you so much man, I really appreciate it. You're too kind. The game's Blade Symphony.
Mazer Oct 16, 2015 @ 8:47pm 
For Ubuntu, your default root directory for nginx is either:
/usr/share/nginx/html/
or
/usr/share/nginx/www
Check those, and if neither exist (or both), verify with the 'DocumentRoot' setting in the configuration file:
/etc/nginx/available-sites/default

Okay, so now you know where to create directories. Assume it's the first directory (html and not www). Then you would want to become root on the server and issue:
mkdir /usr/share/nginx/html/maps mkdir /usr/share/nginx/html/sound chown www-data:www-data /usr/share/nginx/html/maps chown www-data:www-data /usr/share/nginx/html/sound

Once you get that far, let's do a sanity check. You should be able to verify that this is the right place by issuing (again as root) on the server:
echo "Blade Server Maps" > /usr/share/nginx/html/maps/index.html chown www-data:www-data /usr/share/nginx/html/maps/index.html
Then pull up a browser to see if you can see the content above using

http://IP.ADD.RE.SS/maps/index.html

Do you see it?
Last edited by Mazer; Oct 16, 2015 @ 8:48pm
raffle Oct 17, 2015 @ 5:56am 
Thank you so much for taking the time to write up that super clear guide. I just tested it on my server and I'm downloading things fine now. You're the most patient & helpful person I have encountered online! A milltion thanks :)
mindless Oct 17, 2015 @ 11:56pm 
you forgot about bzip2 compression though
raffle Oct 18, 2015 @ 8:20am 
Nah, i'm good with that mindless ;)
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Oct 16, 2015 @ 1:02pm
Posts: 8