Assign IP to L4D2 games on unmanaged VDS
-
- A semi-regular
- Posts: 26
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Jan 23, 2015 10:39 am
Assign IP to L4D2 games on unmanaged VDS
HI
For years I rented servers for L4D2 game always managed VDS and single servers
Now I would like to try an unmanged VDS (ubuntu 14.04)
I hired one and installed one L4d2 game on it, updated it, but how do i assign an IP to the game on the VDS and how would I start that game
Any help or advice would be much appreciated
Thanks in advance
For years I rented servers for L4D2 game always managed VDS and single servers
Now I would like to try an unmanged VDS (ubuntu 14.04)
I hired one and installed one L4d2 game on it, updated it, but how do i assign an IP to the game on the VDS and how would I start that game
Any help or advice would be much appreciated
Thanks in advance
Re: Assign IP to L4D2 games on unmanaged VDS
go to the directory that contains srcds_run, there are a few ways to start a server, but this is the easiest way IMO.
./srcds_run -game left4dead2 +map c1m1_hotel +ip 12.34.56.78
Replace the IP address with your IP of course. This will start the server in your current putty session(if you're using that). to shut down the server, do ctrl+c.
If you want to start the server in a screen(apt-get install screen) so you can detach and run the game server in the background, you can use this:
screen -AmdS myservername ./srcds_run -game left4dead2 +map c1m1_hotel +ip 12.34.56.78
Replace myservername with something you will remember so you can reattach the screen with screen -r later.
I apologize if these instructions seem a little unclear, please let me know if you need additional clarification/help.
./srcds_run -game left4dead2 +map c1m1_hotel +ip 12.34.56.78
Replace the IP address with your IP of course. This will start the server in your current putty session(if you're using that). to shut down the server, do ctrl+c.
If you want to start the server in a screen(apt-get install screen) so you can detach and run the game server in the background, you can use this:
screen -AmdS myservername ./srcds_run -game left4dead2 +map c1m1_hotel +ip 12.34.56.78
Replace myservername with something you will remember so you can reattach the screen with screen -r later.
I apologize if these instructions seem a little unclear, please let me know if you need additional clarification/help.
Not a NFO employee
-
- A semi-regular
- Posts: 26
- Joined: Fri Jan 23, 2015 10:39 am
Re: Assign IP to L4D2 games on unmanaged VDS
@soja
Thank you so much, very kind of you to help
I will try what you have suggested tomorrow and will let you know how I get on
much appreciated
Thank you so much, very kind of you to help
I will try what you have suggested tomorrow and will let you know how I get on
much appreciated
-
- A semi-regular
- Posts: 26
- Joined: Fri Jan 23, 2015 10:39 am
Re: Assign IP to L4D2 games on unmanaged VDS
@soja
Just to say you suggestion worked like a dream
A couple of things i would like to ask
how to restart the l4d2 game on the server or stop the game
I will add another l4d2 game tomorrow, do i use the same ip for this one
many thanks
Just to say you suggestion worked like a dream
A couple of things i would like to ask
how to restart the l4d2 game on the server or stop the game
I will add another l4d2 game tomorrow, do i use the same ip for this one
many thanks
Re: Assign IP to L4D2 games on unmanaged VDS
To stop the server, you can type this in your terminal to enter the server console(screen)
screen -r myservername
(myservername from when you started the server)
Once in there, you can ctrl+c to close the screen, which will shutdown the server.
If you want to leave the server console without shutting down the server, use ctrl+a+d.
You can use the same IP, the game server will automatically use the next available port. The new server you start up will use 27016 for example, instead of 27015. You can control this on the command line by adding +port, so the server will always boot on that port.
An example to boot up your second server would be:
screen -AmdS myservername2 ./srcds_run -game left4dead2 +map c1m1_hotel +ip 12.34.56.78 +port 27016
screen -r myservername
(myservername from when you started the server)
Once in there, you can ctrl+c to close the screen, which will shutdown the server.
If you want to leave the server console without shutting down the server, use ctrl+a+d.
You can use the same IP, the game server will automatically use the next available port. The new server you start up will use 27016 for example, instead of 27015. You can control this on the command line by adding +port, so the server will always boot on that port.
An example to boot up your second server would be:
screen -AmdS myservername2 ./srcds_run -game left4dead2 +map c1m1_hotel +ip 12.34.56.78 +port 27016
Not a NFO employee
-
- A semi-regular
- Posts: 26
- Joined: Fri Jan 23, 2015 10:39 am
Re: Assign IP to L4D2 games on unmanaged VDS
@soja
Just to say thank you for you kind help
I now have 4 L4D2 games running on one of VDS
And i will be asking to change my other VDS (4 cores) to unmanaged as I think the games run much smoother and the hit kill ratio is much better
Thank you soja I'm indebted to you
Just to say thank you for you kind help
I now have 4 L4D2 games running on one of VDS
And i will be asking to change my other VDS (4 cores) to unmanaged as I think the games run much smoother and the hit kill ratio is much better
Thank you soja I'm indebted to you
Re: Assign IP to L4D2 games on unmanaged VDS
My pleasure, I love to help!
If you need anything else please ask
If you need anything else please ask
Not a NFO employee
-
- A semi-regular
- Posts: 26
- Joined: Fri Jan 23, 2015 10:39 am
Re: Assign IP to L4D2 games on unmanaged VDS
Hi
With soja help Ive now have 10 vds up and running L4D2
Ive written small scripts to update them, restart them and so on, and all this works fine
Now I would like to install sourcebans
Ive installed mysql-dfsg-5.0_5.0.96.orig.tar.gz and it says it is running, but im not sure where to go from here
Can anyone explain what I need to do next please
Thank you in advance
With soja help Ive now have 10 vds up and running L4D2
Ive written small scripts to update them, restart them and so on, and all this works fine
Now I would like to install sourcebans
Ive installed mysql-dfsg-5.0_5.0.96.orig.tar.gz and it says it is running, but im not sure where to go from here
Can anyone explain what I need to do next please
Thank you in advance
Re: Assign IP to L4D2 games on unmanaged VDS
I would recommend ordering some web hosting here and using that for MySQL/website hosting. https://www.nfoservers.com/order-webhosting.php
This will have MySQL already installed and configured, all you need to do is make your database and configure your servers!
You can install phpmyadmin on the Autoinstallers tab to manage your database(a lot of guides and tutorials will have you use this).
If you still want to use your VDS for MySQL let me know, or if you have any questions using NFO webhosting ask away!
This will have MySQL already installed and configured, all you need to do is make your database and configure your servers!
You can install phpmyadmin on the Autoinstallers tab to manage your database(a lot of guides and tutorials will have you use this).
If you still want to use your VDS for MySQL let me know, or if you have any questions using NFO webhosting ask away!
Not a NFO employee
-
- A semi-regular
- Posts: 26
- Joined: Fri Jan 23, 2015 10:39 am
Re: Assign IP to L4D2 games on unmanaged VDS
@soja
What type of webhosting should I order Lite / Standard or Pro?
It will only ever be used for saucebans and maybe a web page
Thanks again for your kind help
What type of webhosting should I order Lite / Standard or Pro?
It will only ever be used for saucebans and maybe a web page
Thanks again for your kind help
Re: Assign IP to L4D2 games on unmanaged VDS
The cheapest package(Lite) will serve you well
Not a NFO employee
-
- A semi-regular
- Posts: 26
- Joined: Fri Jan 23, 2015 10:39 am
Re: Assign IP to L4D2 games on unmanaged VDS
Ive now have the lite package
Is their any guides to this, I hate to keep bothering you but all this part is new to me
Do i need to install any of these?
phpMyAdmin 4.3.6
phpBB 3.0.12
WordPress 4.0
Drupal 7.32
Django 1.5.4
Is their any guides to this, I hate to keep bothering you but all this part is new to me
Do i need to install any of these?
phpMyAdmin 4.3.6
phpBB 3.0.12
WordPress 4.0
Drupal 7.32
Django 1.5.4
-
- This is my homepage
- Posts: 251
- Joined: Tue Jan 28, 2014 5:32 am
Re: Assign IP to L4D2 games on unmanaged VDS
Depends on your needs. All of those are CMS or bulletin board packages, except phpmyadmin, which is a SQL db utility.
You don't need any of those as per say, but you can install wordpress to setup a basic webpage.
You don't need any of those as per say, but you can install wordpress to setup a basic webpage.
Re: Assign IP to L4D2 games on unmanaged VDS
For a sourcebans website you only need phpmyadmin thereSoulreaper wrote:Ive now have the lite package
Is their any guides to this, I hate to keep bothering you but all this part is new to me
Do i need to install any of these?
phpMyAdmin 4.3.6
phpBB 3.0.12
WordPress 4.0
Drupal 7.32
Django 1.5.4
Not a NFO employee
-
- A semi-regular
- Posts: 26
- Joined: Fri Jan 23, 2015 10:39 am
Re: Assign IP to L4D2 games on unmanaged VDS
Ok im tearing my hair out arggggggg
I made a database using myphpadmin
Ive installed sourcebans on the web server
at the end it said delete this folder? lol what folder
when i try to view the sourcebans on my web server it says page cannot be found
http://pwwebhosting.site.nfoservers.com ... /index.php
SOS please
I made a database using myphpadmin
Ive installed sourcebans on the web server
at the end it said delete this folder? lol what folder
when i try to view the sourcebans on my web server it says page cannot be found
http://pwwebhosting.site.nfoservers.com ... /index.php
SOS please