RLC Installation Guide¶
This guide provides detailed instructions for installing Rocky Linux from CIQ (RLC) using various methods.
Prerequisites¶
Before installing RLC:
- Hardware Requirements:
- Minimum 2GB RAM (4GB recommended)
- 10GB available disk space (20GB recommended)
- UEFI or BIOS-compatible system
-
Network connectivity
-
Access Requirements:
- Valid CIQ subscription
- CIQ Depot credentials
Installation Methods¶
Method 1: Fresh Installation from ISO¶
- Download RLC ISO:
- Access CIQ Depot at https://depot.ciq.com/
- Navigate to "Rocky Linux from CIQ"
-
Download the appropriate ISO file
-
Create Bootable Media:
# Linux/macOS sudo dd if=rlc-installer.iso of=/dev/sdX bs=4M status=progress # Windows - use Rufus or similar tool
-
Boot and Install:
- Boot from installation media
- Follow the standard Rocky Linux installation process
- Configure network and repositories during installation
Method 2: Migration from Community Rocky Linux¶
-
Backup Your System:
# Create system backup sudo rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /backup/
-
Add RLC Repositories:
# Add CIQ repository configuration sudo cat > /etc/yum.repos.d/rlc.repo << EOF [rlc-baseos] name=Rocky Linux from CIQ - BaseOS baseurl=https://depot.ciq.com/rlc/baseos/\$releasever/\$basearch/ enabled=1 gpgcheck=1 gpgkey=https://depot.ciq.com/keys/RPM-GPG-KEY-CIQ [rlc-appstream] name=Rocky Linux from CIQ - AppStream baseurl=https://depot.ciq.com/rlc/appstream/\$releasever/\$basearch/ enabled=1 gpgcheck=1 gpgkey=https://depot.ciq.com/keys/RPM-GPG-KEY-CIQ EOF
-
Configure Authentication:
# Set up depot authentication echo "machine depot.ciq.com login YOUR_USERNAME password YOUR_TOKEN" > ~/.netrc chmod 600 ~/.netrc
-
Update System:
# Update package metadata sudo dnf clean all sudo dnf makecache # Perform system update sudo dnf distro-sync
Method 3: Cloud Marketplace Installation¶
AWS Marketplace¶
- Navigate to AWS Marketplace
- Search for "Rocky Linux from CIQ"
- Launch instance with desired configuration
- Connect and configure as needed
Azure Marketplace¶
- Access Azure Marketplace
- Find "Rocky Linux from CIQ"
- Deploy to your resource group
- Configure networking and access
Google Cloud Platform¶
- Visit GCP Marketplace
- Locate "Rocky Linux from CIQ"
- Deploy to your project
- Set up firewall rules and access
Post-Installation Configuration¶
Verify Installation¶
# Check OS version
cat /etc/os-release
# Verify repositories
dnf repolist enabled
# Check for RLC-specific packages
rpm -qa | grep -i ciq
Configure Updates¶
# Enable automatic security updates
sudo dnf install dnf-automatic
sudo systemctl enable --now dnf-automatic.timer
# Configure update policy
sudo vim /etc/dnf/automatic.conf
Set Up Monitoring¶
# Install monitoring tools
sudo dnf install htop iotop nethogs
# Configure log monitoring
sudo journalctl --vacuum-time=30d
Network Configuration¶
Static IP Configuration¶
# Configure static IP using NetworkManager
sudo nmcli con mod "System eth0" ipv4.addresses 192.168.1.100/24
sudo nmcli con mod "System eth0" ipv4.gateway 192.168.1.1
sudo nmcli con mod "System eth0" ipv4.dns 8.8.8.8,8.8.4.4
sudo nmcli con mod "System eth0" ipv4.method manual
sudo nmcli con up "System eth0"
Firewall Configuration¶
# Configure firewall
sudo firewall-cmd --permanent --add-service=ssh
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --reload
Storage Configuration¶
LVM Setup¶
# Create physical volume
sudo pvcreate /dev/sdb
# Create volume group
sudo vgcreate rlc-vg /dev/sdb
# Create logical volumes
sudo lvcreate -L 10G -n var-lv rlc-vg
sudo lvcreate -L 20G -n home-lv rlc-vg
# Format and mount
sudo mkfs.xfs /dev/rlc-vg/var-lv
sudo mkfs.xfs /dev/rlc-vg/home-lv
Security Configuration¶
SSH Hardening¶
# Edit SSH configuration
sudo vim /etc/ssh/sshd_config
# Recommended settings:
# Port 2222
# PermitRootLogin no
# PasswordAuthentication no
# PubkeyAuthentication yes
sudo systemctl restart sshd
User Management¶
# Create admin user
sudo useradd -m -G wheel admin-user
sudo passwd admin-user
# Configure sudo access
echo "admin-user ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/admin-user
Troubleshooting¶
Common Issues¶
Repository Access Problems:
# Check network connectivity
ping depot.ciq.com
# Verify credentials
curl -u USERNAME:TOKEN https://depot.ciq.com/test
# Clear repository cache
sudo dnf clean all
Package Conflicts:
# Check for conflicts
sudo dnf check
# Resolve conflicts
sudo dnf distro-sync --allowerasing
Boot Issues:
# Boot in emergency mode
# Add to kernel parameters: systemd.unit=emergency.target
# Check filesystem
sudo fsck /dev/sdX
Validation¶
System Health Check¶
# Run comprehensive system check
sudo dnf check
sudo rpm -Va
sudo systemctl --failed
sudo journalctl -p err --since "24 hours ago"
Performance Baseline¶
# CPU information
lscpu
# Memory information
free -h
# Disk performance
sudo hdparm -tT /dev/sda
# Network test
speedtest-cli
Next Steps¶
After successful installation:
- Configuration Guide - System optimization and tuning
- Security Guide - Security hardening and best practices
- Migration Guide - Migrating applications and services
For support and additional resources, see:
- FAQ - Frequently asked questions
- Troubleshooting - Common issues and solutions