This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
documentation:server-install-os [2018/11/07 23:51] mpospisek [CentOS 7 Minimal Install] |
documentation:server-install-os [2019/08/01 09:09] tjotov removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Operating system install ====== | ||
- | ===== CentOS 7 Minimal Install | + | |
+ | ====== Operating System Installation ====== | ||
+ | |||
+ | ==== CentOS 7 Minimal Install ==== | ||
Please use CentOS 7 Minimal Install DVD image. See e.g. ftp:// | Please use CentOS 7 Minimal Install DVD image. See e.g. ftp:// | ||
Line 12: | Line 14: | ||
<codedoc code: | <codedoc code: | ||
- | [root@AIM-4 ~]# fdisk -l | + | # fdisk -l |
Disk /dev/sda: 25.8 GB, 25769803776 bytes, 50331648 sectors | Disk /dev/sda: 25.8 GB, 25769803776 bytes, 50331648 sectors | ||
Line 29: | Line 31: | ||
Sector size (logical/ | Sector size (logical/ | ||
I/O size (minimum/ | I/O size (minimum/ | ||
- | |||
Disk / | Disk / | ||
Line 36: | Line 37: | ||
I/O size (minimum/ | I/O size (minimum/ | ||
</ | </ | ||
- | |||
- | |||
- | Base environment | ||
- | SSH keys | + | **yum settings and OS update** |
- | <codedoc code: | + | |
- | ssh-keygen -t rsa | + | |
- | </ | + | |
- | + | ||
- | yum settings and OS update | + | |
<codedoc code: | <codedoc code: | ||
vi / | vi / | ||
Line 56: | Line 49: | ||
</ | </ | ||
- | Useful utilities | + | ==== Base environment ==== |
+ | |||
+ | **SSH keys** | ||
+ | <codedoc code: | ||
+ | ssh-keygen -t rsa | ||
+ | </ | ||
+ | |||
+ | **Useful utilities** | ||
<codedoc code: | <codedoc code: | ||
- | yum install wget mc net-tools unzip dialog | + | ~~codedoc: |
</ | </ | ||
- | Time synchronization | + | **System time** |
<codedoc code: | <codedoc code: | ||
yum install ntp | yum install ntp | ||
Line 82: | Line 83: | ||
</ | </ | ||
- | VMware tools, if needed | + | ==== VMware tools ==== |
+ | ... if needed | ||
<codedoc code: | <codedoc code: | ||
yum install open-vm-tools | yum install open-vm-tools | ||
Line 90: | Line 91: | ||
</ | </ | ||
- | Replace firewalld with iptables | + | ==== Replace firewalld with iptables |
<codedoc code: | <codedoc code: | ||
Line 124: | Line 125: | ||
Next, execute the folowing: | Next, execute the folowing: | ||
- | <sxh bash> | + | <codedoc code:bash> |
systemctl stop firewalld.service | systemctl stop firewalld.service | ||
systemctl disable firewalld.service | systemctl disable firewalld.service | ||
systemctl enable iptables.service | systemctl enable iptables.service | ||
systemctl start iptables.service | systemctl start iptables.service | ||
- | </sxh> | + | </codedoc> |
+ | |||
+ | ==== selinux ==== | ||
- | selinux | ||
<codedoc code: | <codedoc code: | ||
# TBD | # TBD | ||
Line 139: | Line 141: | ||
</ | </ | ||
- | <sxh bash; highlight [6]> | + | <sxh bash; highlight: [6]> |
# This file controls the state of SELinux on the system. | # This file controls the state of SELinux on the system. | ||
# SELINUX= can take one of these three values: | # SELINUX= can take one of these three values: | ||
Line 153: | Line 155: | ||
</ | </ | ||
- | Restart | + | ==== Restart |
+ | |||
<codedoc code: | <codedoc code: | ||
init 6 | init 6 | ||
</ | </ | ||