Tag: Linux

How to disable swap on Ubuntu 21.04

How to check swap utilization ? Use free -h command sandeepsr@master:~$ free -h total used free shared buff/cache available Mem: 1.9Gi 222Mi 149Mi 1.0Mi 1.6Gi 1.5Gi Swap: 1.7Gi 0B 1.7Gi How to disable Swap ? Use swapoff -a command sandeepsr@master:~$ sudo swapoff -a sandeepsr@master:~$ free -h total used free shared buff/cache available Mem: 1.9Gi 221Mi […]

How to assign static IP address on Ubuntu 21.04

Step-1 : Identify the ethernet interface name ip link –> From the below example Interface name is enp0s3Now we will assign the IP to this interface sandeepsr@master:~$ ip link 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp0s3: mtu 1500 qdisc fq_codel state UP […]

Linux – Ubuntu 21.04 install in VirtualBox

Step-by-Step guide to install Ubuntu – 21.04 in VirtualBox Download Ubuntu ISO from here Launch VirtualBox and Click on New Provide a name to the VM and type of Operating system as well flavour, Click on Create Adjust the VDI disk size as required and click on Create Increase the Processor count if required &&for […]