Difference between revisions of "XCAT Installation on Centos 7"
Jump to navigation
Jump to search
| Line 37: | Line 37: | ||
== Setup the software repos == | == Setup the software repos == | ||
| + | <pre> | ||
| + | yum -y install yum-utils | ||
| + | wget --no-check-certificate -P /etc/yum.repos.d https://xcat.org/files/xcat/repos/yum/latest/xcat-core/xcat-core.repo | ||
| + | |||
| + | yum -y install centos-release-stream | ||
| + | wget --no-check-certificate -P /etc/yum.repos.d https://xcat.org/files/xcat/repos/yum/xcat-dep/rh8/x86_64/xcat-dep.repo | ||
| + | </pre> | ||
| + | |||
== Download CentOS == | == Download CentOS == | ||
wget http://mirrors.ukfast.co.uk/sites/ftp.centos.org/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso | wget http://mirrors.ukfast.co.uk/sites/ftp.centos.org/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso | ||
Revision as of 10:55, 20 January 2021
Base Level Setup
Note: Starting point Centos minimal 7 with networking in place and setup
We start by setting the hostname and disabling SElinux
setenforce 0 sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux yum -y install vim tmux wget rsyslog systemctl enable rsyslog systemctl start rsyslog
Setup naming and hosts file
Set the hostname
hostnamectl set-hostname deploy.dt.internal
Set the /etc/hosts file
# Ensure there is a /etc/hosts entry for the internal interface 192.168.102.253 deploy.dt.internal deploy
Disable the firewall
Disable the firewall
systemctl disable firewalld systemctl stop firewalld
Setup the software repos
yum -y install yum-utils wget --no-check-certificate -P /etc/yum.repos.d https://xcat.org/files/xcat/repos/yum/latest/xcat-core/xcat-core.repo yum -y install centos-release-stream wget --no-check-certificate -P /etc/yum.repos.d https://xcat.org/files/xcat/repos/yum/xcat-dep/rh8/x86_64/xcat-dep.repo
Download CentOS
wget http://mirrors.ukfast.co.uk/sites/ftp.centos.org/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso
Define Compute image for provisioning
copycds ${iso_path}/CentOS-7-x86_64-DVD-1908.iso (where ${iso_path} is directory of the iso)