yum -y install vim wget net-tools systemctl stop NetworkManager systemctl disable NetworkManager mount /dev/sr0 /mnt cd /tmp/ tar -xf /mnt/VMwareTools-10.3.21-14772444.tar.gz ./vmware-tools-distrib/vmware-install.pl systemctl stop firewalld systemctl disable firewalld vim /etc/selinux/config vim /etc/sysconfig/network-scripts/ifcfg-ens192 systemctl restart network yum -y install httpd systemctl enable httpd systemctl start httpd echo $HOSTNAME >> /var/www/html/index.html
|