Hello!
I work now for a company from Germany and I am from Romania. Usually I'm doing some PHP code and webdesign. We have the MySQL database on one server and the website on another. Now our website hoster is going crazy and the boss want's to buy/rent a root server. The server on wich is the database is not the best too.
We are two guys who know a little bit of Linux and one that want's to learn. Our boss want's us to administrate the server and learn something from this so he won't hire a specialist. We found at
www.hosteurope.de and
www.server4you.de some servers to rent. My [our] question is what is the best distribution to choose for the server: RedHat Enterprise ES Basic [this one +15 Euro/Month], SuSe or Debian?
I want to mention that on this server will run a big MySQL database and an Apache webserver with PHP, maybe some CGI later.
My other questions are:
1) Which is the best way to aministrate this server from a different country [from distance]? I think about SSH or is there a better, secure way of doing that?
2) Wich distribution to choose? like above.
3) What else should we use or not use for the best security? I know a little bit of "iptables" firewall.
4) Use the MySQL server on another port than it's default?
5) Should we buy an usual webadress and forward it's index.html to our webserver? And make a policy to our firewall that the only accepted connection is from the IP adress of the webadress? Or should we use the direct connection to our server?
6) How should our firewall look like? First block everything, then open ports 22 tcp [ssh] for a specific IP-adress, 80 tcp/udp [http], 443 tcp/udp [https] and 3306 tcp/udp [MySQL] or another port? What else?
7) How to filter services on each port? For example I found 22 trojans working on port 80 like http. But how can I block them on this port an allow only http?
8) What about flooding? Yes we will block pinging our IP adress...but syn, fin...how to block them and what other floods to stop?
You can give me some links, but some answers to my questions are better.
Thank you in advance!
With regards, Boby!