How to Check and Display Runlevel on Unix or Linux System

This example shows the correct ways to check run level on unix or linux server. The runlevel is a software configuration of the system which allows only a selected group of processes to exist. The processes spawned by init command/process for each of these runlevels are defined in the /etc/inittab file. Usually runlevel 0, 1 …

Read more

How to Install MySQL on CentOS 7 / RHEL 7 / Oracle Linux 7

In this quick guide, I will show you how to install MYSQL on CentOS 7 / RHEL 7 / Oracle Linux 7 instead of MariaDB. MariaDB is the default implementation of MySQL in Red Hat Enterprise Linux 7 (RHEL 7) or CentOS 7. MariaDB is a community-developed fork of the MySQL database project, and provides …

Read more

How to Add SPF Record in Bind DNS Zone on Linux

In order to prevent the Hotmail.com, Gmail.com, Yahoo.com and other top internet mail provider interpret all mails originate from your server to be spam and then placed it into junkmail folder, it is recommended to add SPF (Sender Policy Framework) in your zone file. The ISPs and email providers usually will check for SPF record …

Read more

How to Install b2evolution blog on Linux

In this post, i will show on how to install b2evolution blog on Linux. This howto used Red Hat Enterprise Linux 6 as a sample, therefore it’s should be working on other linux distributions as well. b2evolution is an advanced weblog tool, i-e software allowing you to run your own blogs, newsfeeds or even photo …

Read more

How to Grep Multiples Lines and using Specific Keyword on Linux

grep is a command line text search utility originally written for Unix or linux. In linux you can grep multiple lines before or after matching the keywords. This examples has been tested on linux CentOS 6.2, but it may workings on other linux version such as Redhat Enterprise Linux 5 (RHEL5) or (RHEL6). Get grep …

Read more

How to Hide PHP Version in Linux

In general, most of the web server software has been installed with default settings that will lead to information leakage. One of them is a PHP software. PHP (Hypertest Preprocessor) is one of the most popular server-side HTML embedded scripting language for the websites today. In the current challenging times, there are lots of attacker …

Read more

How to Configure NFS Client on Linux

Network File System or NFS, is a server-client protocol for sharing files between computers on network. NFS server will enables it’s client to mount a file system on a remote server as if it were local to your own system. In this example, i will configure a nfs client on linux. NFS Server = centos62.ehowstuff.localNFS Server …

Read more

Linux Mint 15 brings prettier desktop, new software and driver managers

The Linux Mint project yesterday unveiled version 15 of the increasingly popular desktop operating system, with upgrades to the MATE and Cinnamon desktop environments as well as new applications for managing software and drivers. Code-named “Olivia,” Linux Mint 15 is based on the most recent version of Ubuntu and will be supported until January 2014. Linux Mint 15 …

Read more

How to Check Linux System Reboot Date and Time

Question : How to check when was my linux system last rebooted and how long was the system running ? Answer : The are several command to check last system rebooted. 1. Check last rebooted using “who -b” command : [root@server ~]# who -b system boot 2014-08-16 09:34 2. Check last rebooted using “last reboot” command : …

Read more