English Linux server setup and firewall

9 replies
Goto Page
To the start Previous 1 Next To the start
Up
ReVoltage
User
Offline Off
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.
27.11.17 10:15:37 am
Up
Boolean
GAME BANNED
Offline Off
Yes, you can use 64 bit but you need to install few libraries to launch CS2D,
27.11.17 11:13:15 am
Up
apex2d
User
Offline Off
--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.

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
27.11.17 12:47:10 pm
Up
ReVoltage
User
Offline Off
@user Boolean: Yeah I know that, now what I'm asking is there any advantages for using 64 bit distributions. Because I can just use 32 bit distributions and not install any libraries..

@user apex2d: Well, the last time I remembered I use a different method than yours. Will still try tho, thanks..
27.11.17 12:53:15 pm
Up
Reaper
User
Offline Off
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.
www.cs2d.me has launched - Join Now *CLOSED*
27.11.17 01:04:23 pm
Up
ReVoltage
User
Offline Off
@user 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)
27.11.17 01:13:37 pm
Up
ohaz
User
Offline Off
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.
https://ohaz.engineer - Software Engineering
27.11.17 01:40:11 pm
Up
Reaper
User
Offline Off
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.
www.cs2d.me has launched - Join Now *CLOSED*
27.11.17 03:22:47 pm
Up
ReVoltage
User
Offline Off
Done, server and up and running.
Thanks everyone for the recommendation!

@user Reaper: Welp, already rent it with version 9.2
Though probably I won't be using any advanced stuff.-.
28.11.17 01:09:48 am
Up
Reaper
User
Offline Off
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*
To the start Previous 1 Next To the start