Linux kernel is one of the largest open source project with upgrading versions. Updating the latest kernel version on Centos 7 is explained in this manual
Check the current kernel version using the following command.[root@linuxhelp ~]# uname -r 3.10.0-123.el7.x86_64
Add the EPEL GPG key to enable the EPEL repository and EPEL repo fastest mirror using the below command.[root@linuxhelp ~]# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
Before installation process enable the epel repo using following command.[root@linuxhelp ~]# rpm -Uvh [...]
In this tutorial we will learn, how to install Light weight Text Editor tools.Cherrytree
CherryTree is a note-taking editor tool that organises the notes into the hierarchical tree. It supports text formatting. It is written in GTK2 or Python language. FeaturesSupports the Rich text. Supports multi programming languages Saves images as png format Saves the embedded files to disk Multi-level lists handling is supported. Supports table creation and imports/expports tables as csv format. To install Cherrytree
Add the cherrytree package into repository by using the following command.root@linuxhelp:/home/user1# add-apt-repository [...]
Routing is the basic design for internet protocol. This protocol helps in transferring packet to the right machines. A router controls the traffic and sends packet to the destination network. Route add command in Linux is explained in this article with an example.
Options -A is used to specify the specific address family. -F option is used for the kernel’s FIB routing table. -C option is used to operate the kernel’s routing cache.
-v option is used for verbose operation. -n displays the numerical addresses. -e option is used to display the routing table in netstat-format. -arp Manipulate the system ARP [...]
Creating multiple IP address using a single network interface is known as IP aliasing. Aliasing does not require any additional adaptors.This makes aliasing more cost effect. Procedure to create Multiple IP Address to a single interface is explained in this article.To Assigning multiple IP’s on a single network interface
Navigate to the path where the network configuration files are placed by utilising the following command.[root@linuxhelp ~]# cd /etc/sysconfig/network-scripts/ [root@linuxhelp network-scripts]# ll total 224 -rw-r--r-- 5 root root 256 Jul 15 18:25 ifcfg-eth0 -rw-r--r-- 1 root root 254 [...]
Linux kernel is an important part in Linux operating system which allocates resources, security, low-level hardware interfaces, file management, etc., The procedure to install Linux Kernel 4.5 in Ubuntu is explained in this article.To install Linux Kernel 4.5
Before updating the kernel, check the kernel by using the uname command.root@linuxhelp:~# uname -mrs Linux 4.2.0-27-generic x86_64
Create a directory by using the following command.root@linuxhelp:~# mkdir -p linux-4.5/generic root@linuxhelp:~# cd linux-4.5/generic/ root@linuxhelp:~/linux-4.5/generic#
Download the package by executing the following [...]
In this tutorial we are going to show some editor or source code tool for Ubuntu distribution.Emacs
Emacs is the most popular code editors on Linux. It is a powerful, self-documenting editor, and customisable .Installation of emac root@linuxhelp:~# apt-get install emacs Reading package lists... Done Building dependency tree Reading state information... Done . . . Setting up emacs (46.1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ...
Open the emacs editor tool by using the following command.root@linuxhelp:~# emacs
Geany is a text editor which uses the GTK+ toolkit in an [...]
Memory management like Clear RAM Memory Cache, Buffer and Swap Space in Linux will be discussed in this article.To Clear Cache in Linux
Generally all the Linux System will have three options to clear cache without interrupting any services or processes.To Clear PageCache only [root@linuxhelp ~]# free -h total used free shared buffers cached Mem: 987M 923M 64M 5.1M 0B 240M -/+ buffers/cache: 682M 304M Swap: 2.0G 15M 1.9G [root@linuxhelp ~]# sync; echo 1 > [...]
While configuring Linux server, make sure that you should get a notification if any unauthorised login into root user. The server admin should get all email alerts from server. The procedure to set email alerts for SSH root login in Linux is explained.Install the mailx package
Execute the following command to install mailx package.[root@linuxhelp ~]# yum install mailx Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, : verify, versionlock Loading support for CentOS kernel ABI Setting up Install Process Loading mirror speeds from cached hostfile * [...]
Configuring sudo command and the difference between “su” & “sudo” in Linux distributions is discussed in this article.
The major difference between “su” and “sudo” is, the first compels you to share the root password to other users whereas “sudo” allows you to run commands without root passwords.
Switch to root user, enter the following command in the terminal.
Example:user1@linuxhelp:~$ su Password: root@linuxhelp:/home/user1# To Install “sudo”
By using the following command install “sudo”root@linuxhelp:/home/user1# apt-get install [...]
Usermod command is used to change the home directory of existing user, login name, login shell, comment of passwd file etc. The files that may be affected during this operation are /etc/passwd (user account information), /etc/shadow (secure account information) and /etc/group (group information). Only root/super user can use this command.Adding the information to user [root@linuxhelp Desktop]# usermod -c "Hello user" linuxhelp
The option ‘-c’ with usermod is used to set the information to the user. After adding the information to the user you view the status in /etc/passwd file.[root@linuxhelp Desktop]# grep -E --color [...]