Category Archives: Unix

How to Stop ssh attacks with fail2ban in CentOS

Stop ssh attacks with fail2ban in CentOS   Every server on the web is subject to frequent breaking attempts, and when there are services running on default ports like 22 for ssh it becomes even more common. However, using a simple tool freely available called fail2ban we can easily keep those intruders out of our […]

Firefox OS will be cheaper than Android

  The first device with Firefox OSwill cost less than $100 (Rs 5,500). This was revealed by Matthew Key, the chief operating officer of Telefonica, a telecom operator which will be using Mozilla’s upcoming mobile operating system that was announced recently. He also revealed that Brazil will be the first country to receive the device, […]

How to configure OpenSSL over apache on Ubuntu

How to configure OpenSSL over apache on Ubuntu Setting up OpenSSL with Ubuntu 12.04 over the apache. First, log on to your server and install Apache: $sudo apt-get install apache2 Now, install and enable SSL module: $sudo a2enmod ssl $sudo /etc/init.d/apache2 reload Creation a directory on this location $mkdir /etc/apache2/ssl $cd /etc/apache2/ssl Run these following […]

How to Reset mysql Root Password on Linux and Unix ?

How to Reset mysql Root Password on Linux and Unix ? Step 1: Stop the mysql server using the following command /etc/init.d/mysql stop Or service mysql stop Step 2: Start the mysql server manually without permission tables which allows us to login as root user without password, using the following command mysqld_safe —skip-grant-tables You should […]

How to Monitor your web server bandwidth usage with vnstat

How to Monitor your web server bandwidth usage with vnstat To use nethogs on a Ubuntu/Debian server or desktop it is easy. First start by installing it using the command: apt-get install -y nethogs The you can use it this way: # Start nethogs on the default network interface nethogs # Specify which network interface […]