RHEL(Red Hat Enterprise Linux) Installation
Installing RHEL via Serial Console
Serial Console
Installation Workflow
1
Prepare RHEL kickstart ISO
sudo dnf install lorax -y# Root Password
# This example sets the root password to ‘redhat’. Please modify it according to your requirements.
rootpw redhat
# System language lang en_US.UTF-8
# System timezone
timezone America/New_York --utc
# Use text mode install text
# Accept the license eula --agreed
# Do not configure the X Window System skipx
# Partitioning
clearpart --all --initlabel
autopart --type=lvm --noswap
# Include kernel arguments required for booting into the installed media
bootloader --location=mbr --driveorder=sda --append="8250.nr_uarts=4 console=ttyS0,115200n8"
repo --name="BaseOS" --baseurl=file:///run/install/repo/BaseOS
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
%packages --ignoremissing
@^server-product-environment @core
@base
@Development Tools
dnf
openssh-server
openssh-clients
dhcp-client
%end
%post
# Enable ssh login on boot
echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config systemctl restart sshd.service
systemctl enable [email protected]
%end
reboot sudo lorax/src/bin/mkksiso --ks <kickstart_file_name> --rm "rd.live.check" -c "8250.nr_uarts=4 console=ttyS0,115200n8 inst.ks=hd:LABEL=:/kickstart.ks" <RHEL_ISO_ name>.iso <New_KS_ISO_name >.iso
2
Installation via BMC iKVM
Procedure
1
2
3

4



Last updated
Was this helpful?
































