Reduce LVM based XFS filesystem in linux.
In linux, we can’t reduce the XFS filesystem in general. And to reduce any partition, we need to take backup of data at some other path and then re-create the...
In this category, you can see all articles related to Unix or Linux operating System.
In linux, we can’t reduce the XFS filesystem in general. And to reduce any partition, we need to take backup of data at some other path and then re-create the...
Today in this article, we will see how to disable or enable CPU multi threading from OS in Linux. 1. Check Current Multi-threading Status. [root@ngelinux ~]# cd /sys/devices/system/cpu/smt [root@ngelinux smt]#...
Let us see how to increase the DefaultTasksMax in RHEL, or CentOS 8 Operating system onwards. The default maximum tasks in RHEL/CentOS8 is quite low when you run any database...
Today we will see how to enable NTP in RHEL 7 onwards. Lets see it step by step. 1. Check current timezone and date [root@ngelinux samba]# date Thu Mar 7...
In this article, we will see how to download rpm packages with dependencies using yum. The trick is very useful especially for servers where the repo is not reachable. Lets...
To find the differences between two files in Linux using grep, we can use the following approaches. 1. Lines in File1 but not in File2 # grep -Fxv -f file2.txt...
From RHEL 8 onwards, the default core file path is changed to /var/lib/systemd/coredump unlike till RHEL 7 where its saved in current path by default. We can use below steps...
In this post, we will see how to restrict direct root login via password, and only allow login via keys. To achieve this, we need to change below setting in...
Lets see how to set timezone on Redhat Linux from RHEL 7 onwards. Earlier we used to link the timezone files. However now we can do it via a command...