On this page

  1. How to install mutt from source in CentOS 7 and configure SMTP options for Gmail, Yandex or custom SMTP server. How to reset lost root password for MySQL. Let’s Encrypt SSL certificate and installation under cPanel. How to install the latest kernel from source on CentOS 7.
  2. Assuming your server needed a new kernel and was thus upgraded, reboot your server to complete the process! CentOS Linux 7 Kernel Update 3.10.0-123.4.4 Released. Posted by Curtis K in Administration, CentOS 7, News. Install SNMP Service/Daemon on CentOS. I Need the Kernel Source.
  3. How to install the latest kernel from source on CentOS 7. I will just briefly go through the process of installing the currently latest kernel.
  4. Jan 31, 2008  Looking for some good guides / webpages / info on installing QMail on Centos 5 / RHEL5. Google's Gmail is based from a heavily modified qmail source for that very reason. That said, it is also one of the more difficult mta's to learn. CentOS 7 ↳ CentOS 7 - General Support ↳ CentOS 7 - Software Support.
  5. Install Qmail On Centos 7 Kernel Version. 1/8/2018 0 Comments. Google's Gmail is based from a heavily modified qmail source for that very reason.

Custom Compiled Kernel on CentOS 7. Updated Tuesday, August 1, 2017 by Linode Written by Alex Fornuto. Compile and Install the Kernel Download Kernel Sources.

Debian

  1. Step 1 - Kubernetes Installation

Kubernetes is an open source platform for managing containerized applications developed by Google. It allows you to manage, scale, and automatically deploy your containerized applications in the clustered environment. With Kubernetes, we can orchestrate our containers across multiple hosts, scale the containerized applications with all resources on the fly, and have centralized container management environment.

In this tutorial, I will show you step-by-step how to install and configure Kubernetes on CentOS 7. We will be using 1 server 'k8s-master' as the Kubernetes Host Master, and 2 servers as Kubernetes node, 'node01' and 'node02'.

Prerequisites

  • 3 CentOS 7 Servers
    • 10.0.15.10 k8s-master
    • 10.0.15.21 node01
    • 10.0.15.22 node02
  • Root privileges

What we will do?

  1. Kubernetes Installation
  2. Kubernetes Cluster Initialization
  3. Adding node01 and node02 to the Cluster
  4. Testing - Create First Pod

Step 1 - Kubernetes Installation

In this first step, we will prepare those 3 servers for Kubernetes installation, so run all commands on the master and node servers.

We will prepare all servers for Kubernetes installation by changing the existing configuration on servers, and also installating some packages, including docker-ce and kubernetes itself.

- Configure Hosts

Edit hosts file on all server using the vim editor.

Paste the host's list below.

Save and exit.

- Disable SELinux

In this tutorial, we will not cover about SELinux configuration for Docker, so we will disable it.

Run the command below to disable SELinux.

- Enable br_netfilter Kernel Module

The br_netfilter module is required for kubernetes installation. Enable this kernel module so that the packets traversing the bridge are processed by iptables for filtering and for port forwarding, and the kubernetes pods across the cluster can communicate with each other.

Run the command below to enable the br_netfilter kernel module.

Didn't found proper virtual sound canvas 3 windows 7 download link? Roland virtual sound canvas for windows 7 torrent.

The maximum popular versions of the program 2.0, 1.3 and 1.2. Sigma box drivers download.

- Disable SWAP

Disable SWAP for kubernetes installation by running the following commands.

And then edit the '/etc/fstab' file.

Comment the swap line UUID as below.

- Install Docker CE

Install the latest version of Docker-ce from the docker repository.

Install the package dependencies for docker-ce.

Add the docker repository to the system and install docker-ce using the yum command.

Wait for the docker-ce installation.

- Install Kubernetes

Add the kubernetes repository to the centos 7 system by running the following command.

Now install the kubernetes packages kubeadm, kubelet, and kubectl using the yum command below.

After the installation is complete, restart all those servers.

Log in again to the server and start the services, docker and kubelet.

- Change the cgroup-driver

We need to make sure the docker-ce and kubernetes are using same 'cgroup'.

Check docker cgroup using the docker info command.

And you see the docker is using 'cgroupfs' as a cgroup-driver.

Now run the command below to change the kuberetes cgroup-driver to 'cgroupfs'.

Reload the systemd system and restart the kubelet service.

Now we're ready to configure the Kubernetes Cluster.

Step 2 - Kubernetes Cluster Initialization

In this step, we will initialize the kubernetes master cluster configuration.

Move the shell to the master server 'k8s-master' and run the command below to set up the kubernetes master.

Centos Install Kernel

Note:

--apiserver-advertise-address = determines which IP address Kubernetes should advertise its API server on.

--pod-network-cidr = specify the range of IP addresses for the pod network. We're using the 'flannel' virtual network. If you want to use another pod network such as weave-net or calico, change the range IP address.

When the Kubernetes initialization is complete, you will get the result as below.

Note:

Copy the 'kubeadm join .. .. ..' command to your text editor. The command will be used to register new nodes to the kubernetes cluster.

Now in order to use Kubernetes, we need to run some commands as on the result.

Create new '.kube' configuration directory and copy the configuration 'admin.conf'.

Next, deploy the flannel network to the kubernetes cluster using the kubectl command.

The flannel network has been deployed to the Kubernetes cluster.

Install Qmail On Centos 7 Kernel Source

Wait for a minute and then check kubernetes node and pods using commands below.

And you will get the 'k8s-master' node is running as a 'master' cluster with status 'ready', and you will get all pods that are needed for the cluster, including the 'kube-flannel-ds' for network pod configuration.

Make sure all kube-system pods status is 'running'.

Kubernetes cluster master initialization and configuration has been completed.

Step 3 - Adding node01 and node02 to the Cluster

In this step, we will add node01 and node02 to join the 'k8s' cluster.

Connect to the node01 server and run the kubeadm join command as we copied on the top.

Connect to the node02 server and run the kubeadm join command as we copied on the top.

Wait for some minutes and back to the 'k8s-master' master cluster server check the nodes and pods using the following command.

Now you will get node01 and node02 has been added to the cluster with status 'ready'.

node01 and node02 have been added to the kubernetes cluster.

Step 4 - Testing Create First Pod

In this step, we will do a test by deploying the Nginx pod to the kubernetes cluster. A pod is a group of one or more containers with shared storage and network that runs under Kubernetes. A Pod contains one or more containers, such as Docker container.

Login to the 'k8s-master' server and create new deployment named 'nginx' using the kubectl command.

To see details of the 'nginx' deployment sepcification, run the following command.

And you will get the nginx pod deployment specification.

Next, we will expose the nginx pod accessible via the internet. And we need to create new service NodePort for this.

Run the kubectl command below.

Make sure there is no error. Now check the nginx service nodeport and IP using the kubectl command below.

Now you will get the nginx pod is now running under cluster IP address '10.160.60.38' port 80, and the node main IP address '10.0.15.x' on port '30691'.

From the 'k8s-master' server run the curl command below.

The Nginx Pod has now been deployed under the Kubernetes cluster and it's accessible via the internet.

Centos 7.2 Kernel

Install qmail on centos 7 kernel sources

Now access from the web browser.

http://10.0.15.10:30691/

And you will get the Nginx default page.

On the node02 server - http://10.0.15.11:30691/

The Kubernetes cluster Installation and configuration on CentOS 7 has been completed successfully.

Install Qmail On Centos 7 Kernel Source Yum

Reference

Coments are closed
© 2020 - an1mal.netlify.app
Scroll to top