User Tools

Site Tools


documentation:server-install-os

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:server-install-os [2018/11/07 23:54]
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://ftp.cvut.cz/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso. Please use CentOS 7 Minimal Install DVD image. See e.g. ftp://ftp.cvut.cz/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso.
Line 12: Line 14:
  
 <codedoc code:bash> <codedoc code:bash>
-[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/physical): 512 bytes / 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
-  
    
 Disk /dev/mapper/centos-swap: 5343 MB, 5343543296 bytes, 10436608 sectors Disk /dev/mapper/centos-swap: 5343 MB, 5343543296 bytes, 10436608 sectors
Line 36: Line 37:
 I/O size (minimum/optimal): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
 </codedoc> </codedoc>
-  
- 
-Base environment 
  
-SSH keys +**yum settings and OS update**
-<codedoc code:bash> +
-ssh-keygen -t rsa +
-</codedoc> +
- +
- yum settings and OS update+
 <codedoc code:bash> <codedoc code:bash>
 vi /etc/yum.conf vi /etc/yum.conf
Line 56: Line 49:
 </sxh> </sxh>
    
-Useful utilities+==== Base environment ==== 
 + 
 +**SSH keys**
 <codedoc code:bash> <codedoc code:bash>
-yum install wget mc net-tools unzip dialog+ssh-keygen -t rsa
 </codedoc> </codedoc>
 + 
 +**Useful utilities**
 +<codedoc code:bash>
 +~~codedoc:clean:yum install wget mc net-tools unzip dialog epel-release~~
 +</codedoc>
 +
 +**System time**
  
-Time synchronization 
 <codedoc code:bash> <codedoc code:bash>
 yum install ntp yum install ntp
Line 82: Line 83:
 </codedoc> </codedoc>
  
-VMware toolsif needed +==== VMware tools ==== 
 +... if needed
 <codedoc code:bash> <codedoc code:bash>
 yum install open-vm-tools yum install open-vm-tools
Line 90: Line 91:
 </codedoc> </codedoc>
  
-Replace firewalld with iptables+==== Replace firewalld with iptables ====
  
 <codedoc code:bash> <codedoc code:bash>
Line 131: Line 132:
 </codedoc> </codedoc>
  
-selinux+==== selinux ==== 
 <codedoc code:bash> <codedoc code:bash>
 # TBD # TBD
Line 153: Line 155:
 </sxh> </sxh>
    
-Restart +==== Restart ==== 
 + 
 <codedoc code:bash> <codedoc code:bash>
 init 6 init 6
 </codedoc> </codedoc>