Run below commands to delete filesystem (fs) from zone named zone01: # zonecfg -z zone01 zonecfg:zone01> remove fs dir=/data01 zonecfg:zone01> remove fs dir=/data02 zonecfg:zone01> commit zonecfg:zone01> exit # Now destroy the zfs filesystem from the hosts: # zfs destroy data_pool/data01/zone01 # zfs destroy data_pool/data02/zone01
A gateway is a network node used in telecommunications that connects two networks with different transmission protocols together. Gateways serve as an entry and exit point for a network as all data must pass through or communicate with the gateway prior to being routed. All the possible ways to find default gateway in Linux The most commonly used tools […]
We can simply install and configure the SAR on Linux servers. In debian based server we can use the command “apt” to install the SAR utility. First install sysstat package on the server with the help of apt command root@Ubuntu:~# apt install sysstat After install When we try to run sar command to get below […]
# systemctl start docker (Starting Docker service) # systemctl enable docker (Enabling Docker at boot level) # docker –version (Checking Docker version) # docker info (Gives all information about host and containers) # docker run/pull image (images can be downloaded from Docker Hub) # docker run hello-world (Just download and start a test container) # […]
Below is the simple program to install a package named “vsftpd” in linux OS. You need to import “os” module for that. #!/usr/bin/python3.6 import os try: os.system(‘dnf install vsftpd’) except: exit("Failed to install package")
RPM vs dpkg Function rpm command dpkg command List installed packages rpm -qa dpkg -l List content of installed package rpm -ql “pkgname” dpkg -L “pkgname” List content of package file rpm -qlp “pkgname”.rpm dpkg –contents “pkgname”.deb Install package rpm -i “pkgname”.rpm dpkg -i “pkgname”.deb Show to which package a file belongs rpm -qf /path/to/file […]
Issue: Between 06:00 UTC on 30 Aug 2022 and 16:00 UTC on 31 Aug 2022, customers running Ubuntu 18.04 (bionic) Virtual Machines (VMs) who have Ubuntu unattended-upgrades enabled would have received systemd version 237-3ubuntu10.54 which would have resulted in Domain Name System (DNS) resolution errors. This issue was confined to this single Ubuntu version and […]
In RHEL8, Network is managed by NetworkManager daemon. We can use it to configure and manage networks in system.NetworkManager package is preinstalled in RHEL8.nmcli tool can be used to configure networks using command line. nmtui is text-based user interface for NetworkManager.You can still use ifcfg files to configure network configurations. Service “NetworkManager” is used for starting/stopping […]
# ansible all -i hosts –list-hosts (To see all hosts in inventory file named hosts) # ansible rl6 -i hosts –list-hosts (To see hosts of host group named rl6 created in inventory) # ansible ungrouped -i hosts –list-hosts (To see ungrouped hosts) # ansible rhel -i hosts –list-hosts (To see group parent to contains children […]
To register your system to RedHat Customer Portal Subscription management. Use below commands and use your RedHat login credential: # subscription-manager register #it will ask Username/Password. To get List of available subscriptions: # subscription-manager list –available –all To active a subscription, you need to subscribe it through Pool ID (which can be get from above […]
Recent Blog