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 […]
Category Archives: Linux
How to install FreePBX on Asterisk Go to the t Directory cd /usr/src wget http://mirror.freepbx.org/freepbx-2.9.0.tar.gz tar -zxvf freepbx-2.9.0.tar.gz cd freepbx-2.9.0 Create database and import to SQL directory mysqladmin create asterisk -u root -p mysqladmin create asteriskcdrdb -u root -p mysql -u root -p asterisk < SQL/newinstall.sql mysql -u root -p asteriskcdrdb […]
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 […]
Google I/O 2012 – Introducing Google Compute Engine httpvh://www.youtube.com/watch?v=0-sF5ZWB_FY Over the past few years, Google has been working constantly to build some cloud -ased platforms and other infrastructure for third-party developers, to help them build applications and websites, provide storage, or analysis of data. Google has already built several products that do just this, […]
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 […]
How to Prevent IP Spoofing on linux Open a Terminal and enter the following : sudo vi /etc/host.conf Add or edit the following lines : order bind,hosts nospoof on
HOw to Protect su by limiting access only to admin group. To limit the use of su by admin users only we need to create an admin group, then add users and limit the use of su to the admin group. Add a admin group to the system and add your own admin username to […]
SSH Hardening – disable root login and change port. The easiest way to secure SSH is to disable root login and change the SSH port to something different than the standard port 22. Before disabling the root login create a new SSH user and make sure the user belongs to the admin group . If […]
Whilst Adobe provide a 32bit version of their Adobe Air application for Linux, a native x64 version remains a dream. Thankfully, with few installed dependencies, the 32bit version will happily run on a 64bit installation too Step 1 . Get Air, Get Dependencies First things first – you will need a copy of […]