Forum

> > CS2D > Servers > Linux server setup and firewall
Forums overviewCS2D overview Servers overviewLog in to reply

English Linux server setup and firewall

9 replies
To the start Previous 1 Next To the start

old Linux server setup and firewall

ReVoltage
User Off Offline

Quote
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.

old Re: Linux server setup and firewall

apex2d
User Off Offline

Quote
--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.

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

1
screen -S (SessionName) (Directory)

And it should look like this

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.

old Re: Linux server setup and firewall

ReVoltage
User Off Offline

Quote
@user Baloon: 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..

old Re: Linux server setup and firewall

Reaper
User Off Offline

Quote
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.

old Re: Linux server setup and firewall

ReVoltage
User Off Offline

Quote
@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)

old Re: Linux server setup and firewall

ohaz
User Off Offline

Quote
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.

old Re: Linux server setup and firewall

Reaper
User Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview