RHEL - AtoZ Linux https://atozlinux.com Linux News, Tutorials, Freebies & Many More Fri, 27 Dec 2024 07:59:55 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.2 List Of Useful Server Monitoring Tools For Linux System Administrator https://atozlinux.com/best-server-monitoring-tools-for-linux/ https://atozlinux.com/best-server-monitoring-tools-for-linux/#respond Fri, 27 Dec 2024 03:14:43 +0000 https://itsubuntu.com/?p=1835 List Of Useful Server Monitoring Tools For Linux System Administrator These are the massive and useful collections of the important tools/software or command-line utility that might be useful for server administrators. If you are a system administrator or system engineer then you might need the help of tools to monitor and manage the servers. Best […]

The post List Of Useful Server Monitoring Tools For Linux System Administrator first appeared on AtoZ Linux.

]]>
List Of Useful Server Monitoring Tools For Linux System Administrator

These are the massive and useful collections of the important tools/software or command-line utility that might be useful for server administrators. If you are a system administrator or system engineer then you might need the help of tools to monitor and manage the servers.

Best List Of Free IPAM Tools For IP Address Management

IP Address Tracker: Free IPAM tool to scan, track, and manage IP addresses.

phpIPAM: phpIPM is an open-source web  IP address management tool for network administrators.

GestioIP: GestioIP is also a web-based IP address management software.  It is also integrated with Microsoft DNS by securing dynamic DNS updates with full IPv4/IPv6 support.

NiPaP Neat Address Planner:  It is one of the best open-source IPAM software. NIPAP is a sleek, intuitive, and powerful IP address management system built to efficiently handle large amounts of IP addresses. It has native support of IPv6.

IP Plan: IPplan is a web-based, multilingual, IP address management, DNS, and tracking tool based on PHP 4, simplifying the administration of your IP address space.

Server Monitoring Tools For Linux In 2022

Cacti: Open-source web-based network monitoring tool.

Icigna: Open-source computer system and network monitoring application.

GoAccess is an open-source tool that runs in a terminal in *nix systems or via a browser. It is a  real-time web log analyzer and interactive viewer.

Nagios Core: Nagios Core, is a free and open-source computer-software application that offers monitoring and alerting services for servers, switches, applications, and services.

Zabbix: Zabbix is an enterprise-class open-source monitoring software tool.

SmokePing: It is loaded with plenty of features like Interactive graph explorer, a Wide range of latency measurement plugins, Live Latency Charts with the most ‘interesting’ graphs, and many more.

MultiTail:  It allows you to monitor log files and command output in multiple windows in a terminal. It uses colors to display the logfiles which makes them easy to read for users.

CPUlimit: It is a small tool that monitors and then limits the CPU usage of a process. cpulimit can be used to prevent a process from running for more than a specified time ratio.

Justniffer is a network protocol analyzer. It captures network traffic and produces logs. It gives you the option to choose whether to collect low-level data or high-level data with this sniffer.

Shinken: It is a Nagios-compatible monitoring framework, written in Python, and can be used to monitor your servers and applications.

top:  top is a processing activity monitoring command for Linux. It gives you a real-time view of a running system.

Run the following command in Linux to execute the top command:

sudo top

vmstat: The vmstat command lets you know about processes, memory, traps, paging, block IO, and CPU activity.

sudo vmstat

ps: Using ps command will help you to get a snapshot of the current processes. ps similar to the top command it provides you the more information.

sudo ps

pmap: The pmap command in Linux displays the memory usage map of a process or multiple processes. Monitors the process memory usage on Linux. We need process id which we can get from ps or top command:

sudo pmap PID

netstat: netstat is a Linux network and statistics monitoring tool. It is a built-in tool that is used to list out the TCP network connections, routing tables, and a number of network interfaces in the system.

sudo netstat

iptraf: iptraf command can be used to gather real-time network statistics on the Linux system. You can easily figure out the TCP connection packet and byte count, TCP/UDP traffic breakdowns, interface statistics and activity indicators, and station packet and byte count with this command.

sudo iptraf

iostat: This command is used for monitoring system input and system output. It helps to monitor Linux’s average CPU load and disk activity.

sudo iostat

sar: SAR or System Activity Report is a Unix System V-derived system monitor command which is used to check CPU activity, memory/paging, network, interrupts, device load, and swap space utilization.

mpstat: It is used to Monitor multiprocessor usage on Linux.

sudo mpstat

tcpdump: tcpdump is a common packet analyzer. tcpdump allows the user to display TCP/IP and other packets that are being transmitted or received over a network.

iotop: iotop is a Linux I/O monitoring tool. iotop tool is based on Python.

sudo iotop

htop: htop is similar to the top command. It is used to view the interactive process. It is a third-party application.

sudo htop

atop: atop is an interactive monitor tool to view the load on your Linux system, i.e. CPU, memory, disk, and network.

iftop: iftop is a real-time network monitoring tool. It can be used to monitor network bandwidth.

sudo iftop

nmon: nmon is short for Nigel’s performance Monitor for Linux on POWER. It displays and records local system information.

glances: glances is an open-source cross-platform monitoring tool for Linux-based operating systems. It is written in python. glances can be used to monitor CPU, Network Interfaces, Load Average, Memory, Disk I/O, Processes, and many more.

Nload : Nload is a command-line tool that is mainly used to monitor the network throughput.  The output of this tool can be seen using two graphs, one for incoming and one for the outgoing network.

yum install nload

or

sudo apt-get install nload

Collectd: collectd is a daemon that collects system and application performance metrics periodically. This tool gathers metrics from various sources which can be used to monitor systems and find possible bottlenecks.

The post List Of Useful Server Monitoring Tools For Linux System Administrator first appeared on AtoZ Linux.

]]>
https://atozlinux.com/best-server-monitoring-tools-for-linux/feed/ 0
How to Install MySQL On RHEL 9 / Rocky Linux 9 https://atozlinux.com/how-to-install-mysql-on-rhel-9-rocky-linux-9/ https://atozlinux.com/how-to-install-mysql-on-rhel-9-rocky-linux-9/#respond Fri, 16 Feb 2024 16:19:01 +0000 https://atozlinux.com/?p=126203 How to Install MySQL On RHEL 9 / Rocky Linux 9 In this tutorial post, we will explain how to install MySQL database server on RHEL 9 or Rocky Linux 9. How to Install MySQL On RHEL 9 / Rocky Linux 9 Let’s start with the MySQL installation: Install MySQL on RHEL 9 / Rocky […]

The post How to Install MySQL On RHEL 9 / Rocky Linux 9 first appeared on AtoZ Linux.

]]>
How to Install MySQL On RHEL 9 / Rocky Linux 9

In this tutorial post, we will explain how to install MySQL database server on RHEL 9 or Rocky Linux 9.

How to Install MySQL On RHEL 9 / Rocky Linux 9

Let’s start with the MySQL installation:

Install MySQL on RHEL 9 / Rocky Linux 9

MySQL version 8 is available from the Appstream repository on RHEL 9 / Rocky 9. Before installing the MySQL database server, update the system with the following command:

sudo dnf update

Now, after updating your system run the following command to install the mysql-server package.

sudo dnf install mysql-server -y

Once installed, run the following command to check the version installed:

mysql --version

How to Start and Enable MySQL Server

Start systemd service with the following command:

sudo systemctl start mysqld.service

Once you have executed the command, you might want to confirm if the service is running as shown.

sudo systemctl status mysqld.service

Enable the database server to start on boot using the following command:

sudo systemctl enable mysqld

Secure MySQL on RHEL 9 / Rocky Linux 9

MySQL comes with the mysql_secure_installation security script from where you can modify the default options of your database server.

sudo mysql_secure_installation

You can configure the details like passwords.

How to Access MySQL Database Server

To log in to the MySQL server, run the following command as sudo user. The -u option specifies the user logging in and -p option prompts for the password.

sudo mysql -u root -p

Provide the MySQL root user’s password and hit ENTER.

Conclusion

In this post, we have walked you through the installation of MySQL server  on RHEL 9 or Rocky Linux 9. Let us know if you have any other easy and better way to install database server on RHEL and Rocky Linux.

The post How to Install MySQL On RHEL 9 / Rocky Linux 9 first appeared on AtoZ Linux.

]]>
https://atozlinux.com/how-to-install-mysql-on-rhel-9-rocky-linux-9/feed/ 0
Fix : there are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d” Error https://atozlinux.com/fix-there-are-no-enabled-repositories-in-etc-yum-repos-d-etc-yum-repos-d-etc-distro-repos-d/ https://atozlinux.com/fix-there-are-no-enabled-repositories-in-etc-yum-repos-d-etc-yum-repos-d-etc-distro-repos-d/#respond Tue, 12 Sep 2023 09:59:39 +0000 https://atozlinux.com/?p=125824 Fix “There are no enabled repositories RHEL solution” error or Fix : there are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d” Error You will come across this error while installing a software  when you don’t not enabled your RHEL subscription. So one and only solution is to enable RHEL subscription. Solution for the: Error: There […]

The post Fix : there are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d” Error first appeared on AtoZ Linux.

]]>
Fix “There are no enabled repositories RHEL solution” error or Fix : there are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d” Error

You will come across this error while installing a software  when you don’t not enabled your RHEL subscription. So one and only solution is to enable RHEL subscription.

Solution for the:

Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d",  "/etc/distro.repos.d" 

How To Fix : there are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d” Error

In this tutorial, we will take you through the step-by-step guide to fix the Fix “There are no enabled repositories RHEL solution” error or Fix : there are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d” Error

How To Fix there are no enabled repositories RHEL solution error

Register your RHEL subscription and enable the package manager

How to enable Red Hat repositories with subscription-manager command

Make sure you have paid or trial Redhat subscription in your RHEL.

# subscription-manager register

How to enable Red Hat repositories without RHEL subscription

Don’t worry if you don’t have RHEL subscription. We have another method where you can mount the ISO image of RedHat and make it your local repository with the following command/

# mkdir /media/rhel-iso
# mount /dev/cdrom /media/rhel-iso/

Now create a new dnf repo file at /etc/yum.repos.d/RHEL_Disc.repo with the following content:

[RHEL_Disc]
name=rhel-8.4-x86_64-dvd
baseurl="file:///media/rhel-iso/AppStream/"
gpgcheck=0

Now run the following command to  check for new repos to enable this repository:

# dnf repolist

Now, you can easily install any software from repos without going having any error in RHEL.

The post Fix : there are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d” Error first appeared on AtoZ Linux.

]]>
https://atozlinux.com/fix-there-are-no-enabled-repositories-in-etc-yum-repos-d-etc-yum-repos-d-etc-distro-repos-d/feed/ 0
How To Fix The “sudo: command not found” Error On Linux https://atozlinux.com/how-to-fix-the-sudo-command-not-found-error-on-linux/ https://atozlinux.com/how-to-fix-the-sudo-command-not-found-error-on-linux/#respond Fri, 21 Jul 2023 11:18:44 +0000 https://atozlinux.com/?p=125743 This tutorial post will guide you through the solution to fix the “sudo: command not found” error on Linux. This error is very rare as sudo is installed by default in the most of the Linux operating systems. You will encounter this error when you try to install or peform any command using sudo privilege. […]

The post How To Fix The “sudo: command not found” Error On Linux first appeared on AtoZ Linux.

]]>
This tutorial post will guide you through the solution to fix the “sudo: command not found” error on Linux. This error is very rare as sudo is installed by default in the most of the Linux operating systems. You will encounter this error when you try to install or peform any command using sudo privilege.

How To Fix The “sudo: command not found” Error On Linux

One and only solution to fix this error is by installing sudo in your Linux.

For Ubuntu or debian based operating system:

Run the following command to install sudo on Ubuntu or debian Linux:

apt install sudo

Now you need to add your user to the sudo group with the following command:

usermod -aG sudo your_username

For Arch-based systems:

Run the following command to install sudo on Arch based Linux operating system:

pacman -S sudo

Then, run the following to add the user to the wheel group on arch based distro:

usermod -aG wheel your_username

For Fedora and other RHEL-based distros

Run the following command to install sudo on RHEL based Linux operating system :

dnf install sudo

Then, add your user to the sudo group by running  the following command:

usermod -aG wheel your_username

Summary: This tutorial will guide you through the solution to fix “sudo: command not found” error on Linux. Let us know if there is any issues while running commands mentioned in this post.

The post How To Fix The “sudo: command not found” Error On Linux first appeared on AtoZ Linux.

]]>
https://atozlinux.com/how-to-fix-the-sudo-command-not-found-error-on-linux/feed/ 0
How To Apply Updates Automatically With dnf-automatic In RHEL, AlmaLinux And Rocky Linux [2024] https://atozlinux.com/apply-updates-automatically-with-dnf-automatic/ https://atozlinux.com/apply-updates-automatically-with-dnf-automatic/#respond Tue, 31 Jan 2023 16:09:27 +0000 https://itsubuntu.com/?p=124458 Apply Updates Automatically With dnf-automatic In RHEL, AlmaLinux, And Rocky Linux DNF Automatic tool is used to check and download package updates automatically and regularly. It checks for updates available, and then performs the automatic updates. How To Apply Updates Automatically With dnf-automatic In RHEL, AlmaLinux, And Rocky Linux [2024] Install dnf-automatic dnf-automatic is available […]

The post How To Apply Updates Automatically With dnf-automatic In RHEL, AlmaLinux And Rocky Linux [2024] first appeared on AtoZ Linux.

]]>
Apply Updates Automatically With dnf-automatic In RHEL, AlmaLinux, And Rocky Linux

DNF Automatic tool is used to check and download package updates automatically and regularly. It checks for updates available, and then performs the automatic updates.

How To Apply Updates Automatically With dnf-automatic In RHEL, AlmaLinux, And Rocky Linux [2024]

Install dnf-automatic

dnf-automatic is available in the default repositories of RHEL and its derivatives. Run the following command to install the dnf-automatic package:

# dnf install dnf-automatic

Run the following command to verify the installation:

# rpm -qi dnf-automatic

How To Enable DNF Automatic

Modify the /etc/dnf/automatic.conf configuration file:

To select, enable, and start a systemd timer unit that downloads available updates:

# systemctl enable dnf-automatic-download.timer

# systemctl start dnf-automatic-download.timer

To select, enable, and start a systemd timer unit that downloads and installs available updates:

# systemctl enable dnf-automatic-install.timer
# systemctl start dnf-automatic-install.timer

To select, enable, and start a systemd timer unit that reports available updates, use:

# systemctl enable dnf-automatic-notifyonly.timer
# systemctl start dnf-automatic-notifyonly.timer

To select, enable, and start a systemd timer unit that <downloads, downloads and installs, or reports available updates, use:

# systemctl enable dnf-automatic.timer
# systemctl start dnf-automatic.timer

How To Apply Updates Automatically with dnf-automatic

Now run the following command. The following command will enable the timer unit.

sudo systemctl enable --now dnf-automatic.timer

Now the updates are downloaded and installed (if enabled) automatically when they are available.

At last run the following command to verify that the timer is enabled:

# systemctl status <systemd timer unit>

The post How To Apply Updates Automatically With dnf-automatic In RHEL, AlmaLinux And Rocky Linux [2024] first appeared on AtoZ Linux.

]]>
https://atozlinux.com/apply-updates-automatically-with-dnf-automatic/feed/ 0