Category Archives: Linux

Apache CentOS Linux MySQL PHP

LAMP STACK

What is a LAMP Stack? “LAMP stack is a popular open source web platform commonly used to run dynamic web sites and servers. It includes Linux, Apache, MySQL, and PHP/Python/Perl and is considered by many the platform of choice for development and deployment of high performance web applications which require a solid and reliable foundation.” …

Administration CentOS Fedora FreeBSD Linux Tips and Tricks

Identify the process that is using some specific port

Sometimes, you may encounter a situation where you see some ports being used by some service, but you cannot exactly determine which application/service is using it. This article talks about how to identifying such services. FreeBSD In the case of FreeBSD, you can use “lsof” command to determine the service that is reserving port as below. lsof -i :199 …

CentOS Fedora

Verify RPM package integrity

In the case of Centos/RedHat OS, RPM tool can be used to verify the integrity of the installed package and check if any of the package has been compromised or not. RPM maintains a local database of all your packages installed in the system. ‘rpm -V packagename’ can be used to test package integrity.  If anything …

Administration FreeBSD Linux Tips and Tricks

Some useful ‘find’ commands

The ‘find’ command is quite useful as it helps to identify files with specific permissions, users,groups, size, etc.  Also, it is quite helpful to as it allows to process its results when combined with other commands. This article talks about some useful ‘find’ commands. Find all files named ‘test.jpg’ inside /home directory             …

CentOS Debian Fedora Linux Ubuntu

TOP 50 LINUX COMMANDS

Linux can be extremely scary. However, it is always great to have your hands on these nifty commands since you will have to use them all the time as a Linux Administrator.   vmstat Provides a snapshot of everything in a system, helping system administrators determine whether the bottleneck is CPU, Memory or I/O related. …

CentOS Debian Fedora FreeBSD Linux Tips and Tricks Ubuntu

A Basic Overview of the Vim Text Editor

Many articles in our Webair Community advise editing configuration files. We usually recommend using your preferred text editor. I personally prefer vim. Vim, or its older sibling vi, are installed by default on nearly every server that I come across. If you do not yet have a preferred text editor, read on to see if …

Administration CentOS Debian Fedora Linux Tips and Tricks Ubuntu

How to Manage a Linux Server with systemd

What Operating Systems Have Adopted systemd? CentOS: Yes, by default since CentOS 7 Fedora: Yes, since the release of Fedora 15 RedHat: Yes Debian: Yes, shipped since Debian 7 as a technology preview Arch: Yes Ubuntu: Available Gentoo: Available OpenSUSE: Available Slackware: No   What About chkconfig and Other Legacy Commands? With systemd it is …

Administration CentOS Debian Fedora Linux Ubuntu

Assign range of IP addresses to an interface.

Sometimes you may need to assign a wide range of IP addresses to your network interface in Linux systems. Instead of manually creating aliases for the network interface, it is much quicker to use the network ip range instead. For example, you need to assign the IP range 192.168.10.6 – 192.168.10.100 to your eth0 interface. …