Category: RockyLinux
-
Setting Up Passwordless SSH Login between a Client and Two Servers
Passwordless SSH login using SSH keys can enhance security and simplify remote access to servers. This guide will walk you through the process of generating SSH keys and configuring passwordless logins between a client and two servers. Step 1: Generate SSH Key Pair on the Client Machine Open a terminal on the client machine and…
-
Install Tinc Mesh VPN on Linux
In this tutorial, we’ll guide you through the process of setting up a Tinc VPN service with a static IP. For this demonstration, we’ll assume you have one machine in the cloud with a static IP (referred to as ‘your_server’) and another machine (‘your_client’) located behind multiple NAT firewalls. Tinc is a highly versatile mesh…
-
Installing phpMyAdmin and WordPress on Rocky Linux
This guide provides a step-by-step approach to installing phpMyAdmin and WordPress on Rocky Linux. Customize the paths, IPs, and database configurations as needed for your specific setup. Prerequisites: Ensure that your Rocky Linux system has sudo enabled and that you have already installed the LAMP (Linux, Apache, MySQL/MariaDB, PHP) stack. Step 1: Install phpMyAdmin sudo…
-
Setting Up a Static IP on Rocky Linux
This guide provides a numbered step-by-step approach to setting up an Ethernet network with a static IP on Rocky Linux. Customize the IP address and device name as needed for your specific configuration. Step 1: Check Network Manager Status systemctl status NetworkManager Step 2: Edit Interface Configuration cd /etc/sysconfig/network-scripts sudo nano ‘interface name’ Update the…
-
Setting up LAMP (Linux, Apache, MySQL/MariaDB, PHP) on Rocky Linux
This guide is for Rocky Linux 8, but will be very similar for other versions or RHEL, please adjust the PHP and MariaDB versions as needed for your specific requirements. Prerequisites: Ensure the user has sudo privileges, which can be done by adding the user to the ‘wheel’ group, for example: Add user ‘user’ to…
-
Upgrading to PHP 8.2 on RHEL/RockyLinux
Step 1: List Available PHP Modules To see a list of available PHP modules, run the following command: dnf module list | grep php Step 2: Update Your System Before proceeding, it’s a good practice to update your system: sudo yum update -y Step 3: Reboot Your System After updates, it’s recommended to reboot your…
-
Securely Access Your Home Lab Using Cloudflare and a Domain
Cloudflared is a powerful tool that excels in enhancing both security and network accessibility. From a security perspective, it serves as a robust solution for creating secure tunnels to your private resources, ensuring that sensitive data and services are protected from unauthorized access. With built-in encryption and authentication, Cloudflared offers peace of mind in an…