Difference between revisions of "CentOS 8.x Cloudstack 4.15 Initialize infrastructure server"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Initialize infrastructure server">CentOS 8.x Cloudstack 4.15|Cloudstack 4.15</yambe:breadcrumb> =CentOS 8.x Cloudstack 4.15 Initialize infrastructure s...")
 
m
Line 15: Line 15:
#::: SELINUX=disabled
#::: SELINUX=disabled
#::</pre>
#::</pre>
# Disable and stop firewalld
#:<pre>
#:: systemctl stop firewalld
#:: systemctl disable firewalld
#:</pre>
# Install Java 11:
# Install Java 11:
#:<pre>
#:<pre>

Revision as of 03:32, 11 February 2021

<yambe:breadcrumb self="Initialize infrastructure server">CentOS 8.x Cloudstack 4.15|Cloudstack 4.15</yambe:breadcrumb>

CentOS 8.x Cloudstack 4.15 Initialize infrastructure server

Cloudstack setup is distributed with management server, DB server, hosts, etc. Most of those machines need common initialization (Eg Java setup). Basic set of initialization step for cloudstack infrastructure servers are:

  1. Set desired hostname
    hostnamectl set-hostname <desired-hostname>
  2. Disable SELinux using
    setenforce 0
    Edit '/etc/sysconfig/selinux'
    SELINUX=disabled
  3. Disable and stop firewalld
    systemctl stop firewalld
    systemctl disable firewalld
  4. Install Java 11:
    dnf -y install java-11-openjdk-devel
  5. Validate that Java 11 is default
    alternatives --display java
  6. Configure chronyc for getting correct time via NTP using CentOS 8.x chronyc ntp client configuration




<yambe:breadcrumb self="Initialize infrastructure server">CentOS 8.x Cloudstack 4.15|Cloudstack 4.15</yambe:breadcrumb>