Knowledgebase:
CentOS 7 Standard Build Step By Step
Posted by Mike Kirk on 12 March 2018 09:09 AM
CentOS7 Standard Build:
# yum -y update
Download Webmin, please visit the Webmin download page and check for the Webmin RPM package number to insert in place of 1.831 (current is 880)
# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.831-1.noarch.rpm
# yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect
# rpm -U webmin-1.831-1.noarch.rpm
Install admin desktop:
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
# yum groupinstall "Server with GUI"
# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
# reboot
Accept License
Click "Finish Configuration"

Install VMware Tools:
# yum install open-vm-tools
http://partnerweb.vmware.com/GOSIG/CentOS_7.html

Docker Install:
# yum install docker
# yum install epel-release
# yum install docker-io
# systemctl start docker
# systemctl status docker
# systemctl enable docker
# service docker start
# service docker status
# chkconfig docker on
# docker run hello-world

Quick Docker commands:
# docker info
# docker version
# docker images

Run a Docker:
# docker run ubuntu cat /etc/issue

Remove Docker image:
# docker rmi ubuntu

Docker Info:
https://www.tecmint.com/install-docker-and-learn-containers-in-centos-rhel-7-6/


Automatic updates:
# yum -y install yum-cron
Once yum-cron is installed it is time to configure it.
The default configuration file is /etc/yum/yum-cron.conf.
You can edit the file using your favorite text editor.
The following options should be set:
update_cmd = default
apply_updates = yes
Save the file and restart the service:
# systemctl restart yum-cron
Enable the service on system boot:
# systemctl enable yum-cron
(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).