Well i just got the 512SRV from http://thesrv.com/vps/ and im wondering what security i need to instal, ect ect?
+rep for helpies
Ross

Well i just got the 512SRV from http://thesrv.com/vps/ and im wondering what security i need to instal, ect ect?
+rep for helpies
Ross
Is it going to be a public or private server and will it have cPanel?
I'd setup (mainly for a public server):
- Notifications on root SSH login
- ClamAV antivirus
- Block PHP functions you don't need that may be used in shell scripts
- Install lfd, tripwire, rkhunter, chkrootkit
- Use IPTables or something to block people after 10 failed FTP/SSH attempts
- Use Mod_Security on Apache
- PHP Suexec
- Use secure passwords with punctuation
- Use PHP open_base dir
- Jail SSH access to the user's home directories
Last edited by Recursion; 11-08-2010 at 08:45 PM.
No im trying to find which package to get, it def wont have cpanel if you click order and see the packages im not entirely sure which ones best for what i need, the sever will be used for smstopaypal so it'l be public.
Ross
Get CentOS or Debian on it (my preference is CentOS) and install Virtualmin (it's free).
Virtualmin is a free control panel that will install all the basics for you - apache, php, mysql, mail servers, clamav
From a completely fresh installation of the operating system (no custom repositarys or anything) login as root
# wget http://software.virtualmin.com/gpl/scripts/install.sh
# sh install.sh
say yes when it asks.
# yum update (if on CentOS) apt-get upgrade (if on Debian)
When it's finished (it will take a while) visit https://youripaddressordomain:10000
You can view email accounts etc from https://youripaddressordomain:20000 once you've got domains set up.
I'm not that security conscious and leave things at that, but as you're dealing with money and customer details you're going to want to secure things a little.
Change the SSH port to something over 10000 and take a look at some things on Tom's list.
Last edited by N!ck; 11-08-2010 at 10:17 PM.
ross if you message me when your on msn next time i can help you with almost all this
unless it is absolutely necessary i wouldn't use a control panel at all and just use sftp if at all possible
Last edited by Colin-Roberts; 11-08-2010 at 10:35 PM.
.:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
.:.: Stand up for what is right, even if you stand alone:.:.
Were also wanting to have more than 1 domain connected, thus pretty much having 4-5 accounts. for different sites (our network of sites pretty much) would i need additional software for that?
+Colin i'v msged u
virtual admin, kloxo or any other control panel will allow that
.:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
.:.: Stand up for what is right, even if you stand alone:.:.
If you need to ask this question your VPS will be crazy insecure. I suggest you do get someone who knows what they're doing to set it up for you.
we're smiling but we're close to tears, even after all these years
A default installation of CentOS/Debian is pretty secure as it is other than the SSH port. It's when you start changing things/installing things that it becomes less secure and especially when you have other people accessing SSH.
Want to hide these adverts? Register an account for free!