Linux server setup and firewall
9 replies



27.11.17 03:49:51 am
I am planning to rent a Linux server and would like a recommendation about the distributions.
I know that cs2d_dedicated is 32 bit, but some says 64 bit distributions are better. So which are the best for cs2d? Also does the version have an effect on cs2d?
And, about firewall (inbound) which port should I whitelist, I assume only the port that I am using for the server? And I should whitelist port 21 for FTP right? I got rekt before for not setting this up..
Also if there any more advices or things that I should know, please tell me.
Thanks in advance.
I know that cs2d_dedicated is 32 bit, but some says 64 bit distributions are better. So which are the best for cs2d? Also does the version have an effect on cs2d?
And, about firewall (inbound) which port should I whitelist, I assume only the port that I am using for the server? And I should whitelist port 21 for FTP right? I got rekt before for not setting this up..
Also if there any more advices or things that I should know, please tell me.
Thanks in advance.
--Digital Ocean--
CS2D Server Setup
OS: Debian
Version: 8
Bit: x32
Settings: Ipv6
After you are Logged on into the VPS
( trough Console, PuTTy or other Remote Control tools)
Type
Step 1.
Step 2. Set your CS2D Dedicated Permission to 777 from FileZilla or Putty
Step 3 Execute your server by Typing
And it should look like this
Press CTRL + A + C To get our from Your current Session
Type screen -ls
(L and S) to see Running Sessions
Thanks.
CS2D Server Setup
OS: Debian
Version: 8
Bit: x32
Settings: Ipv6
After you are Logged on into the VPS
( trough Console, PuTTy or other Remote Control tools)
Type
Step 1.
Code:
1
apt-get install screen
Step 2. Set your CS2D Dedicated Permission to 777 from FileZilla or Putty
Step 3 Execute your server by Typing
Code:
1
screen -S (SessionName) (Directory)
And it should look like this
Code:
1
screen -S MyServer1 /root/CS2D/cs2d_dedicated
Press CTRL + A + C To get our from Your current Session
Type screen -ls
(L and S) to see Running Sessions
Thanks.
Eat Sleep Conquer Repeat. www.Radeon2D.forumid.net
Even with a 32-bit dist there is a high possibility that you need to install some libaries.
Atleast on Debian 4, 5, and 6 32 bit I had to install addional libs.
Debian 8 64-bit aswell.
Personally I would go with an 64-bit distribution.
Atleast on Debian 4, 5, and 6 32 bit I had to install addional libs.
Debian 8 64-bit aswell.
Personally I would go with an 64-bit distribution.
www.cs2d.me has launched - Join Now
*CLOSED*

@
Reaper: Thanks, I will consider 64 bit distribution then.
Also, between Ubuntu and Debian which one is better or which one would you prefer? Are there any noticeable difference between those two? And do I just use the newest version? (17.10 x64 for Ubuntu, and 9.2 x64 for Debian)

Also, between Ubuntu and Debian which one is better or which one would you prefer? Are there any noticeable difference between those two? And do I just use the newest version? (17.10 x64 for Ubuntu, and 9.2 x64 for Debian)
64 bit has the advantage of being able to use a larger address room (basically, it can use more than 3.7GB of RAM).
Ubuntu and Debian have a difference in how "up to date" their software is. Debian tries to use stable software that has been tested and in use for at least a few months, while ubuntu uses newer software (still by far not as bleeding edge as ArchLinux). In the end, it's a choice of preference. In Debian you might have to manually install some libraries if they're not available in the newest version, in ubuntu there is a slight (really small) chance, that stuff breaks when updating.
For both distributions, just use the newest version or the latest LTS (long term support) version.
Ubuntu and Debian have a difference in how "up to date" their software is. Debian tries to use stable software that has been tested and in use for at least a few months, while ubuntu uses newer software (still by far not as bleeding edge as ArchLinux). In the end, it's a choice of preference. In Debian you might have to manually install some libraries if they're not available in the newest version, in ubuntu there is a slight (really small) chance, that stuff breaks when updating.
For both distributions, just use the newest version or the latest LTS (long term support) version.
https://ohaz.engineer - Software Engineering
If you want to use Debian keep in mind that there were some changes with version 9.
For example MySQL has been replaced MariaDB.
nftables should become teh new standard (or has already become the new standard?) and will be replacing iptables.
That could be some important changes, especially when you are looking for some tutorials.
But don't install any version older then 8, I highly doubt anyway that many hosters even offer older images.
For example MySQL has been replaced MariaDB.
nftables should become teh new standard (or has already become the new standard?) and will be replacing iptables.
That could be some important changes, especially when you are looking for some tutorials.
But don't install any version older then 8, I highly doubt anyway that many hosters even offer older images.
www.cs2d.me has launched - Join Now
*CLOSED*

Done, server and up and running.
Thanks everyone for the recommendation!
@
Reaper: Welp, already rent it with version 9.2
Though probably I won't be using any advanced stuff.-.
Thanks everyone for the recommendation!
@


Though probably I won't be using any advanced stuff.-.
Should be no problem. Even if it would be a problem, I'm pretty sure your hoster will offer an option to install a different image.
www.cs2d.me has launched - Join Now
*CLOSED*




