Posts

VNC Configuration using Ansible in CentOS 6

Image
1. Install epel repo on CentOS 6 system:     # yum install epel-release  -y 2. Install ansible using yum:     # yum install ansible  -y 3. Go to the '/etc/ansible/roles' directory and run the below command to create the required directory structure:     # ansible-galaxy  init  vnc6  --offline        - vnc6 was created successfully   # tree vnc6        vnc6     ├── defaults     │   └── main.yml     ├── files     ├── handlers     │   └── main.yml     ├── meta     │   └── main.yml     ├── README.md     ├── tasks     │   └── main.yml     ├── tests     │   ├── inventory     │   └── test.yml     └── vars         └── main.yml     4....

xRDP configuration on Ubuntu 16.04, 18.04 & 20.04 LTS Server and Desktop

Image
xRDP is one of the most commonly used opensource remote desktop protocol (rdp). By following the below steps it can easily be configured on different flavors of Ubuntu system. Configuration : a. Login to the Ubuntu server as 'root' and run the update: # apt-get update && apt-get upgrade -y b. Install the 'xfce4' desktop environment: # apt-get install xfce4 xfce4-goodies -y c. Install the 'xrdp' package: # apt-get install xorgxrdp xrdp -y d. Enable the 'xfce4-session' for both 'ubuntu' and 'root' user: # echo xfce4-session >~/.xsession # su - ubuntu $ echo xfce4-session >~/.xsession Now the system is ready. You can login to the system using RDP via 'root' or 'ubuntu' user along with their own password. NOTE : If 'ufw' is enabled, make sure to allow the network access to RDP this system. To check the 'ufw' status: # ufw status To allo...

How to Install Kubernetes (k8s) v1.21.0 on CentOS 7.x ?

Image
Kubernetes ( k8s ) is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications. The open source project is hosted by the Cloud Native Computing Foundation ( CNCF ). It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon 15 years of experience of running production workloads at Google, combined with best-of-breed ideas and practices from the community. K ubernete s is also known as k8s as there are 8 letters between 'k' and 's'. It follows a server client architecture where the server is known as master and the clients are known as workers. In this article we will use one master and three worker nodes to deploy the kubernetes cluster. From the master node we have to manage the cluster using two tools known as 'kubeadm' and 'kubectl'. Here is a simple architecture I...

[RHOSP] Red Hat Openstack 11 Deployment on Nested KVM Infrastructure

Image
This type of deployment is mainly helpful for POC or demo where all required opensatck components can be integrated to see how their functionality will work. I have a KVM host installed with RHEL 7.5 having the following resources: [ root@kvmhost ~ ]# free -h                  total      used      free          shared    buff/cache   available Mem:       70G       57G      339M        234M       12G          12G Swap:      4.0G      734M    3.3G [ root@kvmhost ~ ]# cat /proc/cpuinfo | egrep processor processor       : 0 processor       : 1 processor       : 2 processor       : 3 processor  ...