Category Archives: Linux

How to Add One User to Multiple Groups

Assalamualaikum, The utility is usermod and is used like: usermod -a -G group1,group2 username Where username is the user you want to modify and group1 and group2 are the new groups you want that user to join. Running the command … Continue reading

Posted in Linux, UNIX | Tagged , , , , , , ,

How to Check RAM/Memory by Percentage

Assalamualaikum, Using the the free command: This will report the percentage of memory in use % free | grep Mem | awk ‘{print $3/$2 * 100.0}’ 23.8171 This will report the percentage of memory that’s free % free | grep … Continue reading

Posted in Linux | Tagged , , , ,

RHEV/oVirt Environment is Non Responsive with Errors as: Received fatal alert: certificate_expired

Assalamualaikum. Issue 1. Certificates have expired and all hosts are non responsive 2. Getting error as below in the engine logs: ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.UploadStreamVDSCommand] (DefaultQuartzScheduler_Worker-64) [6d32f092] Command ‘UploadStreamVDSCommand(HostName = xyz, UploadStreamVDSCommandParameters:{runAsync=’true’, hostId=’12345dbe-1db1-11e1-ade1-00215e97f418′})’ execution failed: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_expired ERROR [org.ovirt.engine.core.bll.UploadStreamCommand] … Continue reading

Posted in Linux, oVirt, RedHat, RHEV, RHV, Virtualization | Tagged , , , ,

How to Identify the File System Type in Linux/Solaris

Salam.. There are few methods how to determine your linux file system. Below are commands that I usually use. Linux $ df -Th $ df -Th | grep “^/dev” $ fsck -N /dev/sd* $ lsblk -f $ mount | grep … Continue reading

Posted in freeBSD, Linux, Solaris, UNIX | Tagged ,

Happy New Year 2018!

.. Last login: Tue Jan 2 12:11:49 2018 from 104.223.123.98 [hanief@master ~]$ mv 2017 /archive [hanief@master ~]$ sudo mkdir 2018 [hanief@master ~]$ cd 2018 [hanief@master ~]$ vi goals.sh [hanief@master ~]$ chmod +x goals.sh [hanief@master ~]$ nohup ./goals.sh & [hanief@master ~]$ … Continue reading

Posted in Linux, UNIX | Tagged ,

CentOS-7 “Minimal Desktop” installation (GNOME)

Assalamualaikum.. For some reasons you need to install GUI on your CentOS server. In my case, I having a bad time to install Oracle Database 12c in my CentOS using CLI. I don’t have plenty of times struggling with CLI … Continue reading

Posted in Install, Linux, UNIX | Tagged , , , , , , , ,

How to Setup network on RHEL/CentOS 7 (Minimal)

Assalamualaikum… Issue: Not able to connect to network/internet. Caused by: Ethernet interfaces are not enabled by default. Step 1: First, type “nmcli d” command in your terminal for quick list ethernet card installed on your machine: Step 2: Type “nmtui” … Continue reading

Posted in Linux, UNIX | Tagged , ,