Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

Category: Installation Steps

Rabbit MQ Cluster + HAProxy + Keepalived

Posted on April 13, 2025May 4, 2025 by sandeep

I observed some challenges in my tests when using RMQ version 4, downloading the required packages from specific repos. I decided to go with Rabbitmq 3.10.  I launched 3  Debian 12 VMs, as packages are maintained as part of the distro. All the VMs have 3 NICs bridged to physical host NICs dedicated to specific…

Read more

Preparing custom Debian 11 MATE image

Posted on March 6, 2022March 7, 2022 by sandeep

Need: QCOW2 image for orchestrating Debian 11 Server image with following customizations 1. Minimal server installation + MATE Desktop Environment + xRDP + Firefox2. ‘apparmor’ disabled3. Install required packages – zip, unzip, net-tools, cloud-guest-utils, sudo4. Configure max number of open files and processes to 655365. SSH access to be enabled only from two specific subnets…

Read more

Setup Ubuntu 20.04 repository mirror server

Posted on February 20, 2022February 20, 2022 by sandeep

Need: I keep bringing up Kubernetes clusters / destroying them as a part of my learning of Kubernetes. When using Kubespray, I observed the required packages were getting downloaded from the internet. Though I have a decent 300 Mbps internet connectivity, I decided to check if I can have a local repository mirror in my…

Read more

Preparing custom Debian 11 server cloud image

Posted on December 31, 2021March 15, 2025 by sandeep

Need: QCOW2 image for orchestrating Debian 11 Server image with following customizations Basic server installation’apparmor’ disabledInstall required packages – zip, unzip, net-tools, cloud-guest-utils, sudoConfigure max number of open files and processes to 65536SSH access to be enabled only from two specific subnets (private networks)Custom resizedisk script which will be triggered on first boot to resize…

Read more

Complile Linux Kernel (on Debian 11)

Posted on December 26, 2021 by sandeep

Install required packages. root@server1:~# apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison dwarves Download the source of the required/planned version of the Linux kernel  (I had decided on 5.15) root@server1:~# wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.11.tar.xz Extract the xz file (to default folder) root@server1:~# tar xvf linux-5.15.11.tar.xzroot@server1:~# cd linux-5.15.11/root@server1:~/linux-5.15.11# Copy the existing configuration file root@server1:~/linux-5.15.11#…

Read more

Openstack Xena – Test Home Lab

Posted on December 19, 2021April 17, 2022 by sandeep

[  Previous: Cinder (9/9)  ]   [ Test Home Lab ] Access http://controller/horizon and log in using the ‘labuser’ account created We will need one floating IP to associate with the test VM we will bring up – Let us allocate on floating IP. Choose Network->Floating IP option in the dashboard. Click on Allocate IP to…

Read more

Openstack Xena on Ubuntu 20.04 – Horizon

Posted on December 19, 2021April 17, 2022 by sandeep

[  Previous: Home Lab (7/9)  ]         [  8/9: Horizon  ]          [  Next: Cinder (9/9) ] Install package. apt -y install openstack-dashboard Update configurations in /etc/openstack-dashboard/local_settings.py  as shown below (changes in green) # Modify CACHES = {     ‘default’: {         ‘BACKEND’: ‘django.core.cache.backends.memcached.MemcachedCache’,    …

Read more

Openstack Xena on Ubuntu 20.04 -Home Lab

Posted on December 19, 2021April 17, 2022 by sandeep

[  Previous: Neutron (6/9)  ]         [  7/9: Home Lab  ]          [  Next: Horizon (8/9)  ] Create Project, Networks, vRouter and Security Group Create a project ‘homelab’ openstack project create –domain default –description “Home Lab” homelab Create a ‘labuser’ account openstack user create –domain default –project homelab –password password…

Read more

Openstack Xena on Ubuntu 20.04 – Neutron

Posted on December 19, 2021April 17, 2022 by sandeep

[  Previous: Nova (5/9)  ]            [ 6/9 : Neutron  ]             [  Next: Home Lab (7/9)  ] Create DB for neutron services. Execute the following in MySQL prompt create database neutron_ml2; grant all privileges on neutron_ml2.* to neutron@’localhost’ identified by ‘password’; grant all privileges on neutron_ml2.*…

Read more

Openstack Xena on Ubuntu 20.04 – Nova

Posted on December 18, 2021April 17, 2022 by sandeep

[  Previous: Placement (4/9)  ]               [ 5/9 : Nova  ]                [  Next: Neutron (6/9)  ] Create DB for nova services.  Execute following in MySQL prompt create database nova; grant all privileges on nova.* to nova@’localhost’ identified by ‘password’; grant all privileges on…

Read more
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Recent Posts

  • Ceph + KVM: 4. Orchestrating Ceph RBD backed VMs on KVM Hosts
  • Rabbit MQ Cluster + HAProxy + Keepalived
  • Install and configure MariaDB / Galera cluster
  • Ceph + KVM : 3. Installing KVM, cutsomized monitoring scripts
  • Ceph + KVM : 5. Service checks and CLI commands
  • Ceph + KVM : 2. Installation – Ceph Storage
  • Ceph + KVM : 1. Planning and preparing for Ceph Storage
  • Openstack Xena on Ubuntu 20.04 – Cinder
  • Preparing custom Debian 11 MATE image
  • Setup Ubuntu 20.04 repository mirror server

Archives

  • April 2025
  • March 2025
  • October 2024
  • September 2024
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • October 2020
  • February 2020
  • January 2020
  • December 2019
© 2025 Home Lab | Powered by Minimalist Blog WordPress Theme