Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

Tag: How-to

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

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 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

Openstack Xena on Ubuntu 20.04 – Placement

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

[  Previous: Glance (3/9)  ]               [ 4/9 : Placement  ]                [  Next: Nova (5/9)  ] Create DB for placement service. create database placement; grant all privileges on placement.* to placement@’localhost’ identified by ‘password’; grant all privileges on placement.* to placement@’%’ identified by…

Read more

Openstack Xena on Ubuntu 20.04 – Glance

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

[  Previous: Keystone (2 / 9)  ]           [ 3 / 9 : Glance  ]            [  Next: Placement (4 / 9)  ] Create a project named “service”  openstack project create –domain default –description “Service Project” service Create DB for image services – execute the following in MySQL…

Read more

Openstack Xena on Ubuntu 20.04 – Keystone

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

[ Previous: Pre-requisites (1/9) ]         [ 2 / 9 : Keystone ]           [ Next: Glance (3 / 9) ] Create the database for Keystone service create database keystone; grant all privileges on keystone.* to keystone@’localhost’ identified by ‘password’; grant all privileges on keystone.* to keystone@’%’ identified by ‘password’;…

Read more

Openstack Xena on Ubuntu 20.04 – Requisites

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

[  1 /9  : Pre-requisites  ]                                                      [  Next: Keystone (2/9)  ] Install Ubuntu 20.04 as detailed here.  (We will remove snapd, netplan, motd and enable legacy networking) Two interfaces…

Read more

Manual backup VM image in KVM

Posted on December 13, 2021December 13, 2021 by sandeep

Start virt-manager on the KVM host and note the name of the guest VM. (In my case I want to take a backup of the OpenStack VM) The instance is running. It is recommended to shut down the instance before taking a backup. In the KVM host create a backup folder as required and copy…

Read more
  • 1
  • 2
  • 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