How to add logical volume for swap in Redhat Linux

In our last post we have seen how to add a file for swap space.

In this post we will see how to add a LVM2 Logical Volume as swap.

Udemy

Here we have a VG name VG1 in which we will create a volume LV1 of 1GB.

# lvcreate VG1 -n LV1 -L 1G

Format the new swap space using mkswap:

VMWare AU/Asia Pacific

Continue reading “How to add logical volume for swap in Redhat Linux”

Solved: How to change the keyboard layout for Redhat Linux

Nowadays we work as global teams and with people speaking different languages.

Some times you may face a situation where the Linux OS is installed with preference to another language e.g. French.  The layout of french keyboard is different from that of US keyboard. Thus if you type  “A” in US keyboard it will actually print “Q” . (Here you can get images of french keyboard)

Udemy

This can be very frustrating since you are already accustomed with the US keyboard layout.

VMWare AU/Asia Pacific

Continue reading “Solved: How to change the keyboard layout for Redhat Linux”

Solved: Install ifconfig and ssh in Ubuntu

In this post we will see how to install ifconfig and ssh in Ubuntu 16.04 Xenial Xerus. You can install both or either of them independently .

ifconfig

By default you can check IP details in Ubuntu using

Udemy
ip addr

But if you are more comfortable with “ifconfig”  then follow on.

Ensure that your Ubuntu instance is connected to internet or to your local package repository server from which it can pull packages.

If you need ifconfig in your ubuntu server use following commands.

VMWare AU/Asia Pacific

Continue reading “Solved: Install ifconfig and ssh in Ubuntu”