<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.williams-net.org/index.php?action=history&amp;feed=atom&amp;title=Basic_Rocky_Linux_8_Installation</id>
	<title>Basic Rocky Linux 8 Installation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.williams-net.org/index.php?action=history&amp;feed=atom&amp;title=Basic_Rocky_Linux_8_Installation"/>
	<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=Basic_Rocky_Linux_8_Installation&amp;action=history"/>
	<updated>2026-06-01T01:39:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.williams-net.org/index.php?title=Basic_Rocky_Linux_8_Installation&amp;diff=693&amp;oldid=prev</id>
		<title>10.42.0.1: Created page with &quot;== Rocky Linux 8 Distribution Install == Rocky Linux 8 minimal install from DVD install disk During install process: * click on &#039;automatically create partitions * set hostname (if known)  * enable all basic network interfaces (do not rename -- it will crash the installer)  == Basic system prep == Most of the initial configuration is now contained in a script that can be executed directly from the config server as root on the target system:   curl -s http://config/config/...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=Basic_Rocky_Linux_8_Installation&amp;diff=693&amp;oldid=prev"/>
		<updated>2024-02-03T22:30:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Rocky Linux 8 Distribution Install == Rocky Linux 8 minimal install from DVD install disk During install process: * click on &amp;#039;automatically create partitions * set hostname (if known)  * enable all basic network interfaces (do not rename -- it will crash the installer)  == Basic system prep == Most of the initial configuration is now contained in a script that can be executed directly from the config server as root on the target system:   curl -s http://config/config/...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Rocky Linux 8 Distribution Install ==&lt;br /&gt;
Rocky Linux 8 minimal install from DVD install disk&lt;br /&gt;
During install process:&lt;br /&gt;
* click on &amp;#039;automatically create partitions&lt;br /&gt;
* set hostname (if known) &lt;br /&gt;
* enable all basic network interfaces (do not rename -- it will crash the installer)&lt;br /&gt;
&lt;br /&gt;
== Basic system prep ==&lt;br /&gt;
Most of the initial configuration is now contained in a script that can be executed directly from the config server as root on the target system:&lt;br /&gt;
&lt;br /&gt;
 curl -s http://config/config/rocky8-basic-config.sh | bash&lt;br /&gt;
&lt;br /&gt;
The contents of this script are included here for reference, though updates to the script may occur without updates to this page:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# script to do the basic install of a centos7 headless server&lt;br /&gt;
#&lt;br /&gt;
# Assumptions:&lt;br /&gt;
#  - this is run as root immediately after the install has completed&lt;br /&gt;
#  - the hostname has been set as desired before this script is run&lt;br /&gt;
#  - an administrator account &amp;#039;ewilliam&amp;#039; was created during installation&lt;br /&gt;
&lt;br /&gt;
CONFIG=http://config/config&lt;br /&gt;
&lt;br /&gt;
# first -- install all the basic necessities (some may already be there)&lt;br /&gt;
yum -y install net-tools rsync zsh epel-release mlocate util-linux-user&lt;br /&gt;
yum -y install nfs-utils psmisc smartmontools bind-utils&lt;br /&gt;
yum -y update&lt;br /&gt;
&lt;br /&gt;
# now disable SELinux (no comment)&lt;br /&gt;
sed -i &amp;#039;s/=enforcing/=disabled/g&amp;#039; /etc/selinux/config&lt;br /&gt;
setenforce 0&lt;br /&gt;
&lt;br /&gt;
# make sudo passwordless for group wheel&lt;br /&gt;
echo &amp;quot;%wheel ALL=(ALL) NOPASSWD:ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers.d/91-wheel-NOPASSWD&lt;br /&gt;
&lt;br /&gt;
# now that zsh is installed, make it the default&lt;br /&gt;
chsh -s /bin/zsh&lt;br /&gt;
chsh -s /bin/zsh ewilliam&lt;br /&gt;
&lt;br /&gt;
# copy the standard zsh config files&lt;br /&gt;
curl -s $CONFIG/common/.zshrc -o /root/.zshrc&lt;br /&gt;
curl -s $CONFIG/common/.zshrc -o /home/ewilliam/.zshrc&lt;br /&gt;
chown ewilliam.ewilliam /home/ewilliam/.zshrc&lt;br /&gt;
&lt;br /&gt;
# load ssh known_hosts from the config server&lt;br /&gt;
mkdir -p /root/.ssh&lt;br /&gt;
curl -s $CONFIG/ssh/known_hosts -o /root/.ssh/known_hosts&lt;br /&gt;
mkdir -p /home/ewilliam/.ssh&lt;br /&gt;
curl -s $CONFIG/ssh/known_hosts -o /home/ewilliam/.ssh/known_hosts&lt;br /&gt;
chown -R ewilliam.ewilliam /home/ewilliam/.ssh&lt;br /&gt;
&lt;br /&gt;
# get backup scripts&lt;br /&gt;
curl -s $CONFIG/common/backup -o /etc/cron.daily/backup&lt;br /&gt;
curl -s $CONFIG/common/rsync_backup.sh -o /usr/local/bin/rsync_backup.sh&lt;br /&gt;
chmod +x /usr/local/bin/rsync_backup.sh /etc/cron.daily/backup&lt;br /&gt;
&lt;br /&gt;
# configure log server&lt;br /&gt;
curl -s $CONFIG/common/99-remotelog.conf -o /etc/rsyslog.d/99-remotelog.conf&lt;br /&gt;
systemctl restart rsyslog&lt;br /&gt;
&lt;br /&gt;
# enable mail to the central email server&lt;br /&gt;
echo &amp;quot;root: ewilliam@williams.localnet&amp;quot; &amp;gt;&amp;gt; /etc/aliases&lt;br /&gt;
echo &amp;quot;ewilliam: ewilliam@williams.localnet&amp;quot; &amp;gt;&amp;gt; /etc/aliases&lt;br /&gt;
&lt;br /&gt;
# get the standard /etc/hosts file&lt;br /&gt;
curl -s $CONFIG/hosts -o /etc/hosts&lt;br /&gt;
&lt;br /&gt;
# install webmin&lt;br /&gt;
curl -s $CONFIG/centos7/webmin.repo &amp;gt; /etc/yum.repos.d/webmin.repo&lt;br /&gt;
curl -s https://download.webmin.com/jcameron-key.asc -o /tmp/webmin-key.asc &amp;amp;&amp;amp; \&lt;br /&gt;
  rpm --import /tmp/webmin-key.asc &amp;amp;&amp;amp; \&lt;br /&gt;
  rm /tmp/webmin-key.asc&lt;br /&gt;
yum -y install webmin&lt;br /&gt;
&lt;br /&gt;
# install the host/known_hosts synchronization&lt;br /&gt;
curl -s $CONFIG/host_check.sh &amp;gt; /etc/cron.hourly/host_check&lt;br /&gt;
chmod +x /etc/cron.hourly/host_check&lt;br /&gt;
&lt;br /&gt;
# install other status checks&lt;br /&gt;
curl -s $CONFIG/common/ssd-endurance &amp;gt; /etc/cron.weekly/ssd-endurance&lt;br /&gt;
chmod +x /etc/cron.weekly/ssd-endurance&lt;br /&gt;
&lt;br /&gt;
# now reboot&lt;br /&gt;
reboot&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Next Steps ==&lt;br /&gt;
The rest of the installation process is not OS-dependent and is described [[Common Post-Install|here]].&lt;/div&gt;</summary>
		<author><name>10.42.0.1</name></author>
	</entry>
</feed>