How to install whois on RHEL 8 / CentOS 8

I deployed RHEL 8 in the cloud server. However, I am unable to find the whois command on my newly created RHEL 8 Linux server. It says ‘-bash: whois: command not found’ I tried yum install whois, but it failed too. How do I install whois command on RHEL/CentOS 8 Linux using the command line?
The post How to install whois on RHEL 8 / CentOS 8 appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-install-whois-on-rhel-8-centos-8/…

How To Install MariaDB on CentOS 8

I am a new to MariaDB server and CentOS 8 sysadmin. How do I install MariaDB on CentOS 8 Linux server using the yum command?
The post How To Install MariaDB on CentOS 8 appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-install-mariadb-on-centos-8/…

pfetch Linux and Unix hardware information tool

The neofetch command like utility written in a bash shell. The main purpose of neofetch is to be used in screenshots to display other users what operating system or Linux distro you are using including theme, icons, hardware config and more. Now we have another tool called pfetch. It is a pretty system information tool written in POSIX sh. Let us see how to install and use pfetch Linux and Unix hardware information tool.
The post pfetch Linux and Unix hardware information tool appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/open-source/command-line-hacks/pfetch-linux-and-unix-hardware-information-tool/…

CentOS 8 dig command not found – How to install dig on CentOS 8

I deployed minimal version of CentOS 8 in the cloud server. However, I am unable to find the dig command on my newly created CentOS 8 Linux server. It says ‘-bash: dig: command not found’ I tried yum install dig, but it failed too. How do I install dig command on CentOS 8 Linux using the command line?
The post CentOS 8 dig command not found – How to install dig on CentOS 8 appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/centos-8-dig-command-not-found-how-to-install-dig-on-centos-8/…

How to install wget on CentOS 8 using the yum/dnf command

I am a new CentOS Enterprise Linux 8 user. How do I install wget on CentOS 8 using the dnf command or yum command?
The post How to install wget on CentOS 8 using the yum/dnf command appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-install-wget-on-centos-8-using-the-yum-dnf-command/…

How to set up a firewall using FirewallD on CentOS 8

I am a new CentOS Enterprise Linux 8 sysadmin. How do I set up a firewall using FirwallD on CentOS 8?
The post How to set up a firewall using FirewallD on CentOS 8 appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-set-up-a-firewall-using-firewalld-on-centos-8/…

Linux run a command with a time limit

I want to start command called foo, and kill it if still running after given DURATION in seconds. How do I run a command a time Limit on Linux? How do I run a Linux command, and have it timeout (abort) after N seconds?
The post Linux run a command with a time limit appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/linux-run-a-command-with-a-time-limit/…

How To Protect SSH With Fail2Ban on CentOS 8

My ssh log file shows too many password failures. Random IP address trying to brute force my sshd server running on CentOS 8 server. How do I protect ssh with fail2ban on CentOS 8 Linux server? How do I install Fail2Ban on CentOS 8?
The post How To Protect SSH With Fail2Ban on CentOS 8 appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-protect-ssh-with-fail2ban-on-centos-8/…

How To Enable and Install EPEL Repo on CentOS 8.x

How do I install the extra repositories such as Fedora EPEL repo on a CentOS Enterprise Linux server version 8.x? How to enable EPEL repo on CentOS 8.x?
The post How To Enable and Install EPEL Repo on CentOS 8.x appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-enable-and-install-epel-repo-on-centos-8-x/…

CentOS 8 Change Hostname (computer name) command

I am a new CentOS 8 Linux user and setup a server. They setup my server name to ‘li2025-143’ during deployment but now I would like to change the computer name to something else. How can I remove old name and set it to ‘nixcraft-centos8’ on CentOS Enterprise Linux? Can you tell me how do I change the CentOS 8 computer name? How do I assign a static hostname to server running CentOS 8?
The post CentOS 8 Change Hostname (computer name) command appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/centos-8-change-hostname-computer-name-command/…