--- Centos7 VM Build ---
https://linuxize.com/post/how-to-create-a-bootable-centos-7-usb-stick-on-linux/
VM-Scratch-from-ISO-File
centos-7-netinstall-guide
30 Things to Do After Minimal RHEL/CentOS 7 Installation
3.10 CentOS 7.7 NetInstall URL (Installation Source)
Example mirrors.sonic.net Alternatively use CentOS own mirror
http://mirrors.sonic.net/centos/7/os/x86_64/
http://mirror.centos.org/centos/7/os/x86_64/
http://mirrors.sonic.net/centos/7.7.1908/os/x86_64/
http://mirror.centos.org/centos/7.7.1908/os/x86_64/
Virtual System Name: fMRItest
vSphere Server: Weedemon
Cluster: Production
Routable IP: 128.226.6.72
MAC: 00:50:56:a2:76:fb
Netmask: 255.255.255.192
Gateway: 125.226.6.65
Broadcast: 128.226.6.127
fmriadmin - sudo user
https://centosone.binghamton.edu/SEC/Grow-XFS-root-xfs.html
/etc/hosts.allow /etc/hosts.deny
yum install net-tools
test sudo admin user (recreate if needed)
useradd -c SudoAdmin -d /home/fmriadmin -g 1000 -u 1000 -s /bin/bash -m fmriadmin
passwd fmriadmin
yum update
tsm
The /centos7-template.login should connect to the template clone.
================================================================
It will if the clone is powered on!!
Collect And Store the Network Information from the VMWARE Team
===============================================================
Virtual System Name:
vSphere Server: Weedemon
Cluster: Production
Routable IP: 128.226.
MAC: 00:50:56:
Netmask: 255.255.255.
Gateway: 125.226.
Broadcast: 128.226.
Change CFG File to the new IP (and possible other values)
=========================================================
cd /etc/sysconfig/network-scripts
cat cfg-ens192
nmtui
Reset Hostname and IP
=========================================================
cd /etc
find . -type f -print | xargs grep -il 128.226.6.72
find . -type f -print | xargs grep -il centos7-template
Change The root Password
========================
Add These Packages Till On centost-template Itself
==================================================
yum install bind-utils.x86_64
yum install nmap
Request DSN Entry
===============================================================================
Lorene B Evans <levans@binghamton.edu>,Michael P Hizny <mhizny@binghamton.edu>
DSM.SERVICE
============================================================
firewall-cmd --zone=public --add-port=1501/tcp --permanent
firewall-cmd --reload
netstat -tulpn | grep LISTEN
netstat -tulpn | egrep 1501
cd /usr/lib/systemd/system; ls -l dsm.service
wget http://centosone.binghamton.edu/Upload/
cat dsm.service
dsmc # confirm login
Create an yum update|check /boot script
========================================
#!/usr/bin/sh
# vi /usr/local/bin/upem.sh; chmod 700 /usr/local/bin/upem.sh
echo "=============================="
/usr/bin/yum update
echo "=============================="
uname -r
echo "=============================="
echo "cd /boot; ls -l; uname -r"
echo "=============================="
echo "grub2-mkconfig > /boot/grub2/grub.cfg"
echo "=============================="
Confirm VMADMIN user
=============================================================================
NOTE: userid must be changed to 1001 because of unique fmriadmin.
/etc/passwd:vmadmin:x:1001:1000:VM-ADMIN:/home/vmadmin:/bin/bash
/etc/group:wheel:x:10:fmriadmin,vmadmin
/etc/shadow:vmadmin:$6$WyVc4keQkCy1yIww$Gq76DEhFWlDHCxrLqqAYSXyCFS/NnqZPB/oCMtvSwLFhy.ZNYQTY5EQS1dbbtn60fwS65LdB3hKGoT.L.v2A6/:18558:0:99999:7:::
=============================================================================
=============================================================================
=============================================================================
------
vv0/2k1ng
------------

------------------