Posts

How to Configure SELinux on CentOS Stream 9

To configure SELinux on CentOS Stream 9, follow the steps below.Step 1 : SELinux is enabled by default. Check the current status using the command:getenforce Step 2 : Display SELinux status details:sestatus Step 3 : SELinux Modes:Enforcing: Enforces access controls and denies policy violations.Permissive: Logs policy violations but allows them to occur.Disabled: SELinux is turned off.Step 4 : Disable SELinux:- Disable temporarily:setenforce 0 - Disable permanently:Edit /etc/selinux/configAnd set

How To Install FirewallD on CentOS Stream 9

To install FirewallD on CentOS Stream 9, follow the steps below.Step 1 : Ensure your system is up-to-date by running the following command:sudo yum update Step 2 : If FirewallD is not already installed, you can install it using the following command:sudo yum install firewalld Step 3 : Start the FirewallD service with the following command:sudo systemctl start firewalld Step 4 : Enable FirewallD to start at boot:sudo systemctl enable firewalld Step 5 : Verify the status of FirewallD with:sudo sys

How to Update CentOS Stream 9

To update CentOS Stream 9, follow these steps:Step 1 : Open the terminal or establish an SSH connection.Step 2 : Check for available updates using the command:sudo yum check-update Step 3 : Perform the system update using the command:sudo yum -y update Step 4 : If required, reboot your system:sudo reboot Congratulations! You have successfully updated your CentOS Stream 9 system.

CentOS Stream 9 Guides

CentOS Stream 9 stands as a prominent Linux operating system built upon the open-source codebase of Red Hat Enterprise Linux (RHEL). Renowned for its flexibility and stability, CentOS Stream is gaining attention from both user communities and enterprises.Table of ContentsInstallHow to Create Bootable USB installer for CentOS Stream 9How to Install CentOS Stream 9InitialLAMP stackLEMP stackNodejsFTP / SFTPMail ServerPHPContainer PlatformOthersCentOS Stream 9 is your go-to choice, seamlessly marry

How to Install CentOS Stream 9

To install CentOS Stream 9, follow these steps:Step 1 : Boot from the DVD or USB containing the CentOS Stream 9 installation media.Step 2 : Choose "Install CentOS Stream 9" from the boot menu.Step 3 : Select your preferred language.Step 4 : On the Installation Summary screen, click on "Installation Destination"- Choose the target disk for installation.- If everything is in order, click "Done" to return to the Installation Summary.Step 5 : On the Installation Summary screen, click "Root Password.

How to Create Bootable USB installer for CentOS Stream 9

To create a bootable USB installer for CentOS Stream 9, follow the steps below.Step 1 : Download CentOS Stream 9 ISOVisit https://centos.org/download/ and download the CentOS Stream 9 ISO file.Step 2 : Download Rufus from https://rufus.ie.Step 3 : Insert your USB flash drive into a USB port on your computer.Step 4 : Run the Rufus application on your computer.Step 5 : Configure Rufus- Select your USB flash drive from the "Device" dropdown menu.- Click on the "Select" button next to "Boot selectio

How to Install RabbitMQ on on Rocky Linux 9

To install RabbitMQ on Rocky Linux 9, follow the steps below.Step 1 : Update:sudo dnf update Step 2 : Import RabbitMQ and Erlang keys:## primary RabbitMQ signing key rpm --import 'https://github.com/rabbitmq/signing-keys/releases/download/3.0/rabbitmq-release-signing-key.asc' ## modern Erlang repository rpm --import 'https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-erlang.E495BB49CC4BBE5B.key' ## RabbitMQ server repository rpm --import 'https://github.com/rabbit

How to Install and Configure Jenkins on Rocky Linux 9

To install Jenkins on Rocky Linux 9, follow the steps below:Step 1 : Ensure your system is up-to-date by running the following command:sudo dnf update Step 2 : Install OpenJDK, which is required to run Jenkins:sudo dnf install java-17-openjdk Step 3 : Add the Jenkins repository key to verify package integrity:sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key Step 4 : Add the Jenkins repository to your system:sudo wget -O /etc/yum.repos.d/jenkins.repo \ https://pkg.je

How To Install Memcached on Rocky Linux 9

To install Memcached on Rocky Linux 9, follow the steps below.Step 1 : Ensure your system is up-to-date by running the following command in the terminal:sudo dnf update Step 2 : Install Memcached using the package manager:sudo dnf install memcached Step 3 : Start the Memcached service and enable it to start on boot:sudo systemctl start memcached sudo systemctl enable memcached Step 4 : Verify the status of Memcached to ensure it is running without any issues:sudo systemctl status memcached Congr

How to Install and Configure VNC Server on Rocky Linux 9

To install VNC Server on Rocky Linux 9, follow the steps below.Step 1 : Run the following command to update system packages:sudo dnf update Step 2 : Install the EPEL repository to access additional packages:sudo dnf install epel-release Step 3 : Install the Xfce desktop environment using the following command:sudo dnf groupinstall "Xfce" "base-x" Step 4 : Set the default graphical target to enable graphical mode on startup:sudo systemctl set-default graphical Step 5 : Install the TigerVNC server

How to Install and Use rsync on Rocky Linux 9

To install and use rsync on Rocky Linux 9, follow these steps:Step 1 : Updatesudo dnf update Step 2 : Once the system is updated, you can proceed to install rsync. Use the following command:sudo dnf install rsync Step 3 : Copying Files Locally- You can use rsync to copy files within your local system. For example, to copy a directory from one location to another, use the following syntax:rsync -av /path/source_directory /path/destination_directory Step 4 : Uploading to a Remote Server- To upload

How to Install PHP 8.3 on Rocky Linux 9

To install PHP 8.3 on Rocky Linux 9, follow these steps:Step 1 : Updatesudo dnf update Step 2 : Import PHP Remi Repositorysudo dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm Step 3 : Check available PHP modulessudo dnf module list php Step 4 : Enable PHP Remi Repositorysudo dnf module enable php:remi-8.3 Step 5 : Install PHP coresudo dnf install php83 php83-php-fpm php83-php-cli Step 6 : Install commonly used PHP extensionssudo dnf install php83-php-{mysqlnd,curl,gd,mcrypt,j

How To Install and Configure Postfix on Rocky Linux 9

To install and configure Postfix on Rocky Linux 9, follow the steps below.Step 1 : Updatesudo dnf update Step 2 : Install Postfixsudo dnf install postfix Step 3 : Start and Enable Postfixsudo systemctl start postfix sudo systemctl enable postfix Step 4 : Verify Postfixsudo systemctl status postfix Step 5 : Test Postfix- Install s-nailsudo dnf install s-nail - Open a temporary mail page, e.g., temp-mail.org- Send mail to the temporary mail addressecho "Test email body" | mail -s "Test email subje

How to Configure Static IP Address on Rocky Linux 9

To configure a static IP address on Rocky Linux 9, follow the steps below.Step 1 : Obtain a list of network interfaces along with their UUIDs.nmcli connection show Step 2 : Edit the configuration for the desired interface, setting the IP address to 192.168.1.30 with a subnet mask of /24.sudo nmcli connection modify enp0s3 ipv4.addresses 192.168.1.30/24 Step 3 : Set the gateway for the interface.sudo nmcli connection modify enp0s3 ipv4.gateway 192.168.1.1 Step 4 : Configure DNS servers for the in

How to Manage Network Interfaces on Rocky Linux 9

To manage network interfaces on Rocky Linux 9, follow these steps.Use ipStep 1 : To display detailed information about all network interfaces, use the following command:ip addr show Step 2 : You can use the shortened command:ip a Step 3 : To deactivate and reactivate a specific network interface (e.g., enp0s3), use the following commands:sudo ip link set enp0s3 down sudo ip link set enp0s3 up Use ifconfigStep 4 : To display detailed information about all network interfaces using ifconfig, enter