All-in-one StartSSL cert in shared environment

  As a webdesigner/freelancer and newborn admin You have a few 'clients' on your box. You're upset with all those browser/mail-client SSL warnings which You and your clients must bypass all the time and you have a...

Simple way to configure SSL on our website

  Today the task is to configure a SSL version of our website domain placed in a different "secure_html" folder. First, you have to install an Apache module named 'mod_ssl' But you also need an Unique IP address -...

Script to Backup your websites and databases

  Backups are most important thing -just after hardening security - to maintain by sysadmin. We could define two types of backup which will do. First, a Full-system backup (all system files,user files,software...

Install Monit - be sure your services are running

  Monit is using to monitor services on Linux. It will start the service automatically if it's down for any reason. Our version 5.5-1 comes from rpmforge repository if you don't have this repo configured visit...

Install phpMyAdmin - database tasks via web-gui

  When it comes to manage your database tables outside terminal there comes a handy web-based tool : phpMyAdmin. This version comes from rpmforge repository. If you don't have rpmforge repo installed visit earlier...

Logwatch - Watch the logs with ease

  Reading logfiles is a daily basis for all sysadmins. Sometimes it could be exhausting for a newbie admin to even read them - therefore Logwatch comes in handy - it gives you all important info, summarized...

Roundcubemail and Fail2Ban

  Warning! Roundcube 1.0+ This fail2ban plugin for Roundcube seems to not work with recent Roundcube version 1.0+, details below... The task is to create a jail and filter for Fail2Ban to monitor unsuccessfull...

Fail2Ban watch own log

  In this tutorial we will create a custom jail and filter to gain the possibility to ban returning bad guys. First, create the filter: $ nano /etc/fail2ban/filter.d/prison.conf and paste this: # Fail2Ban...

Fail2Ban - Daily Yesterday summary

  Today we take care of a script that sends an e-mail daily with a summary of banned hosts previous day by Fail2ban (useful along with Logwatch) Of course if you don't you should have outgoing mail service...

Setup Apache with our first webpage (vhost)

  Now we'll configure our Apache web server to host our first webpage. DNS Before you proceed this tutorial make sure that your domain/subdomain is fully propagated in your DNS service. Sadly using Hostinger DNS...

Installing RHEL EPEL Repo on Centos 5 and 6

  If you have CentOS or RHEL on your VPS, it's wise that you ADD an EPEL (Extra Packages for Enterprise Linux) repository to Yum, with which you can install any of close to 7,000 EPEL packages. EPEL is a...

MySQL Database server configuration

MySQL comes pre-installed on a Hostinger VPS. And The advantage of using yum (as opposed to installing via source code) is that you will get any security updates (if and when distributed) and dependencies are...

Simple Apache + PHP support on your VPS

Now let's do the main puprpose of having VPS done - HTTP Server. For our needs (and for now) the choose will be Apache (obviously). The Apache+PHP and MySQL comes pre-installed on Hostinger VPS template. You have...

Installing nano, htop, mc - feel better?

As a newborn sysadmin you have already noticed how raw and ascetic could be a console environment and how much time took you to do simple tasks already, especially when you do not feel to powerfull in area of...

System update using 'yum'

When comes to installing and updating software on our CentOS server there is no easier method than using system tool called YUM and it is quite important security matter to have your server...

Hardening SSH Access (increase security)

Changing the Port number Hardening SSH access is second important thing on new VPS installation because through security holes you can soon lost neither access to your server nor data. First thing to avoid many...

Server (VPS, openvz) Firewall Script - iptables

It is crucial that you have configure the firewall for to not only avoid security holes but also any sort of brute-force attempts or DDoS attacks. On linux machines default firewall is controlled by...

Connecting to your first VPS (SSH)

You received an e-mail from Hostinger saying that your first VPS is ready. Now you've got your login, password and an IP address. What next? How to connect to your virtual private server? Simple, you have to use an...