Tag: Homelab

  • How to Install Docker and Docker Compose on Ubuntu Server using get-docker.sh Script

    How to Install Docker and Docker Compose on Ubuntu Server using get-docker.sh Script

    Docker and Docker Compose are powerful tools for developers and system administrators alike. They enable you to run applications in isolated containers, promoting consistency, portability, and efficient resource management. Today, we’ll explore how to effortlessly install both on your Ubuntu server using the official get-docker.sh script.

    Benefits of Using get-docker.sh:

    • Simple and Efficient: This script automates the installation process, saving you time and effort compared to manual configuration.
    • Official Source: Downloading from the official Docker repository ensures you’re getting the latest stable version and reliable updates.
    • Streamlined Workflow: Once installed, you’ll be ready to leverage containerized applications and development environments with ease.

    Prerequisites:

    • An Ubuntu server with internet access.
    • Administrative (sudo) privileges.
    • Basic familiarity with the terminal and sudo commands.

    Step 1: Update Your System

    First, SSH into your server and update your package index to ensure you have the latest information about available packages.

    sudo apt update && sudo apt dist-upgrade

    Step 2: Download and Run the get-docker.sh Script

    The get-docker.sh script is an official Docker installation script that simplifies the installation process.

    Download the script:

    curl -fsSL https://get.docker.com -o get-docker.sh

    Run the script:

    sh get-docker.sh

    This script will install Docker Engine, Docker CLI, Docker Compose and containerd.

    Docker and Docker Compose installation process

    When the installation finish, you will see Docker version on the terminal screen as follow:

    Docker and Docker Compose installation finished

    Step 3: Verify Docker Installation

    After the installation is complete, verify that Docker is installed correctly by running the following commands:

    docker --versiondocker compose version

    You should see the version number of Docker and Docker Compose, confirming that it is installed correctly.

    Conclusion:

    By following these steps, you’ve successfully installed Docker and Docker Compose on your Ubuntu server using the get-docker.sh script. Now, you’re ready to leverage the power of containerized applications and development environments to streamline your workflow and enhance your development experience.

    Additional Notes:

    • Remember to restart your terminal session after installation for the changes to take effect.
    • Consult the official Docker and Docker Compose documentation for further details and advanced usage.

    I hope this blog post has been helpful! Feel free to leave any comments or questions below.

  • How to Install Proxmox Backup Server as a VM and backup to NAS

    Setting up a Proxmox Backup Server (PBS) as a virtual machine (VM) within Proxmox Virtual Environment (PVE) is a great way to manage your backups efficiently. This guide will walk you through the process of installing PBS as a VM and configuring it to back up your Proxmox VMs and LXC containers to a Network Attached Storage (NAS).

    Step 1: Prepare the Proxmox Backup Server ISO

    1. Download the ISO: First, download the Proxmox Backup Server ISO from the official Proxmox website.
    2. Upload the ISO to Proxmox: Navigate to your Proxmox web interface, go to the storage section, and upload the ISO file.
    Upload the Proxmox Backup Server ISO image to the Proxmox host

    Step 2: Create a Virtual Machine for Proxmox Backup Server

    1. Create a New VM: In the Proxmox web interface, click on “Create VM”.
    2. Configure VM Settings:
      • Node: Select the node where you want to create the VM.
      • VM ID: Assign a unique ID for the VM.
      • Name: Give your VM a name, e.g., ProxmoxBackupServer.
      • Check Start At Boot box to make sure the PBS automatically start when the system boot.
    3. OS Configuration:
      • ISO Image: Select the Proxmox Backup Server ISO you uploaded.
      • Guest OS Type: Choose Linux and Other Linux 6.x or higher kernel.
    4. System Configuration: leave it as default
    5. Hard Disk:
      • Bus/Device: Choose VirtIO Block.
      • Storage: Select your storage location.
      • Disk Size: Allocate sufficient disk space (e.g., 32GB or more).
      • SSD Emulation: checked.
    6. CPU:
      • Cores: Assign at least 2 cores.
      • Type: Set to host for better performance.
    7. Memory:
      • RAM: Allocate at least 4GB.
      • Ballooning Device: unchecked.
    8. Network:
      • Model: Choose VirtIO (paravirtualized).

    Step 3: Install Proxmox Backup Server

    1. Start the VM: Boot the VM from the ISO.
    2. Follow the Installation Wizard: Complete the installation by setting the root password, email, time zone, and network settings.
    3. Access the Web Interface: Once installed, access the PBS web interface via https://<PBS_IP>:8007.

    Step 4: Add a CIFS for SMB mount and Configure NAS for Backup Storage in Proxmox Backup Server

    Install CIFS Utils:

    After PBS installation finished, login (or SSH) as root and install CIFS Utils:

    apt install cifs-utils

    Create a Mount Directory:

    mkdir /mnt/omvnas

    Add SMB credentials to mount NAS:

    Create .smbcreds to store NAS login data:

    nano /etc/samba/.smbcreds

    Put the username and password to the file and Save (Ctrl+O, Enter, Ctrl+X):

    username=smb_usernamepassword=smb_password

    Change file permission to be read-only by root:

    chmod 400 /etc/samba/.smbcreds

    Mount the SMB Share:

    Create shared folder on OMVNAS, then mount it to the /mnt/omvnas folder. Remember to replace //IP-OF-NAS/SHARE-NAME to your actual NAS shared folder:

    mount -t cifs -o rw,vers=3.0,credentials=/etc/samba/.smbcreds,uid=34,gid=34 //IP-OF-NAS/SHARE-NAME /mnt/omvnas
    Step-by-Step Guide to Install OpenMediaVault on Proxmox and Enabling SMB Share
    A comprehensive guide for installing OpenMediaVault on Proxmox and setting up an SMB share for easy file sharing across your network

     

    Check if the shared folder is mounted successfully by make a new directory name “test” using the command in terminal, and check it appear in your NAS:

    mkdir /mnt/omvnas/test

    Make the Mount Persistent:

    Edit the fstab file to automatically mount the folder when the PBS server boot:

    nano /etc/fstab

    Add this line to the fstab file and Save. Remember to replace //IP-OF-NAS/SHARE-NAME to your actual NAS shared folder:

    //IP-OF-NAS/SHARE-NAME /mnt/omvnas cifs vers=3.0,credentials=/etc/samba/.smbcreds,uid=34,gid=34,defaults 0 0

    These steps will ensure your SMB share is mounted and accessible in Proxmox Backup Server.

    Step 5: Configure Proxmox Backup Server

    1. Initial Setup:
      • Login: Use the root credentials to log in.
      • Network Configuration: Ensure the network settings are correct.
    2. Create a Datastore:
      • Navigate to Datastore: In the PBS web interface, go to Datastore and create a new datastore.
      • Path: Specify the path where backups will be stored.

    Step 6: Add Proxmox Backup Server to Proxmox VE

    Add Storage in PVE
      • Navigate to Datacenter: In the Proxmox web interface, go to Datacenter > Storage.
      • Add Storage: Click on Add and select Proxmox Backup Server.
      • Configuration: Enter the PBS ID pbs-main, PBS IP , username (root@pam), password, and datastore namepbs-main.
      • Fingerprint: Paste the PBS fingerprint here (to get it: go to Proxmox Backup Server, under Configuration -> Certificates -> View Certificate , copy the Fingerprint)
    Copy the Fingerprint of Proxmox Backup Server

    Step 7: Configure Backup Jobs

    1. Create Backup Jobs:
      • Navigate to Datacenter: In the Proxmox web interface, go to Datacenter > Backup.
      • Add a New Job: Click on Add and configure the backup job.
      • Storage: choose the PBS storage created in the previous step: pbs-main
      • Schedule: Set the schedule for the backups.
      • Selection: Choose the VMs and LXC containers to back up.

    Step 9: Verify and Monitor Backups

    1. Run a Test Backup: Manually trigger a backup job to ensure everything is working correctly.
    2. Monitor Backups: Use the PBS web interface to monitor backup status and logs.

    By following these steps, you can efficiently set up a Proxmox Backup Server as a VM within Proxmox and configure it to back up your VMs and LXC containers to a NAS. This setup ensures that your data is securely backed up and easily recoverable in case of any issues.

    Feel free to ask if you have any questions or need further assistance!

  • How to delete a PVE Node in 2-Node Proxmox Cluster

    How to delete a PVE Node in 2-Node Proxmox Cluster

    Managing a Proxmox Virtual Environment (PVE) cluster can sometimes require removing a node, especially in a small 2-node setup. This guide will walk you through the steps to safely delete a node from your Proxmox cluster.

    Prerequisites

    Before you begin, ensure you have:

    • Administrative access to the Proxmox cluster.
    • Important: Moved all virtual machines (VMs) and containers (LXCs) from the node you want to remove, using Migrate feature in the proxmox cluster. Delete all VMs/LXCs that you don’t need to use anymore. If you don’t move or delete all VMs/LXCs in the node then after delete node, these VMs/LXCs will remain appear in the web GUI after deleting node (see Step 4 to solve this).
    • Backed up any important data.

    Steps to Remove a Node

    1. Power Off the Node: First, power off the node you want to remove by using the web GUI or SSH to the server and run poweroff command. This ensures that it won’t interfere with the cluster during the removal process. As noted earlier, it’s essential to turn off the node before removing it and ensure it doesn’t restart with its current settings within the cluster network. If you power it on without adjustments, it could disrupt the cluster and make it challenging to restore functionality.
    ssh root@<node-to-remove>poweroff
    1. Adjust Expected Votes: Since you have a 2-node cluster, you need to adjust the expected votes to maintain quorum. Run the following command on the remaining node:
    pvecm expected 1

    This command sets the expected votes to 1, allowing the cluster to function with a single node temporarily.

    1. Delete the Node: Use the pvecm delnode <node-name> command to remove the node from the cluster. Replace <node-name> with the name of the node you want to delete, for example: pvecm delnode pve2
    pvecm delnode pve2

    This command updates the cluster configuration and removes the node.

    1. Clean Up Configuration Files: If the node still appears in the Proxmox GUI, you might need to manually remove its configuration files. On the remaining node, delete the directory corresponding to the removed node:
    rm -rf /etc/pve/nodes/<node-name>

    The output should no longer list the removed node.

    1. Verify the Removal: Check the cluster status to ensure the node has been successfully removed:
    pvecm status

    The output should no longer list the removed node.

    Conclusion

    Removing a node from a 2-node Proxmox cluster requires careful steps to maintain cluster integrity. By following this guide, you can safely delete a node and ensure your cluster continues to operate smoothly. Always remember to back up your data and verify each step to avoid any disruptions.

    If, for whatever reason, you want the removed server to join the same cluster again, you have to:

    • Do a fresh install of Proxmox VE on it,
    • Then join it.

    I hope this helps! If you have any further questions or need additional assistance, feel free to share your experiences or ask questions in the comments below! 😊

  • Implementing a 3-2-1 Backup Strategy for Your Homelab

    Implementing a 3-2-1 Backup Strategy for Your Homelab

    In the world of data security, the 3-2-1 backup strategy is a golden rule for safeguarding your digital assets. This approach ensures that you have multiple copies of your data, on different media, and with one copy offsite. For homelab enthusiasts, implementing this strategy can be a game-changer in protecting your valuable data from accidental loss, ransomeware or catastrophic events.

    Understanding the 3-2-1 Rule

    The 3-2-1 backup strategy is simple yet effective:

    • 3 copies of your data
    • 2 different storage mediums
    • 1 copy stored offsite

    This affordable 3-2-1 backup solutions for home users method is designed to provide a robust safety net against data loss. Let’s break down how to apply this strategy in a homelab environment with Step-by-step guide to setting up a 3-2-1 backup system as below.

    Advantages of the 3-2-1 backup strategy in data protection

    The 3-2-1 backup strategy offers several advantages in data protection, ensuring that data remains safe, secure, and accessible in various scenarios. Here are the key advantages:

    1. Redundancy: The 3-2-1 strategy provides multiple copies of data, reducing the risk of data loss. With three copies, there are always backups available if one fails.
    2. Diverse Storage Media: Storing backups on two different types of media (e.g., internal hard drive, external hard drive, and cloud storage) mitigates the risk associated with a single type of storage failure.
    3. Offsite Backup: Keeping one backup offsite protects against local disasters such as fire, flood, or theft. This ensures data can be recovered even if the primary location is compromised.
    4. Comprehensive Data Protection: This strategy covers various failure scenarios, including hardware failure, software corruption, and human error. It ensures that at least one copy of the data is always recoverable.
    5. Easy Recovery: With multiple backups, the recovery process is quicker and more reliable. If one backup is corrupted or unavailable, another copy can be used.
    6. Scalability: The 3-2-1 strategy is scalable and can be adapted as data storage needs grow. Additional backups and diverse media types can be incorporated as necessary.
    7. Compliance and Regulation: For businesses, the 3-2-1 backup strategy helps meet regulatory requirements for data protection and disaster recovery, ensuring compliance with industry standards.
    8. Cost-Effective: By utilizing a mix of storage media, including cost-effective options like external hard drives and cloud storage, the 3-2-1 strategy can be implemented without significant financial investment.
    9. Peace of Mind: Knowing that data is backed up in multiple locations provides peace of mind, reducing anxiety over potential data loss and enabling focus on other critical tasks.
    10. Resilience Against Ransomware: The offsite backup component is particularly effective against ransomware attacks, as it ensures that a clean copy of the data is available even if local files are encrypted.

    Step-by-step guide to setting up a 3-2-1 backup system

    Step 1: Creating Three Copies of Your Data

    Your first copy is the original data on your primary system. The second and third copies are backups. For the homelab, consider using virtualization backup platforms like Proxmox Backup Server, Veeam, Nakivo, or Vembu. These tools can automate the backup process, ensuring that you always have up-to-date copies of your data.

    Step 2: Using Two Different Storage Mediums

    The key here is diversification. You might have one copy on a local NAS and another on an external hard drive or a different RAID array within the same server. This approach protects against hardware failure affecting all copies simultaneously.

    Step 3: Storing One Copy Offsite

    Offsite storage is crucial for disaster recovery. There are several offsite storage options for a 3-2-1 backup strategy. Cloud storage is a popular choice for the offsite copy, providing remote access and additional security. Services like Backblaze or AWS can be integrated into your backup strategy. We also can use external hard drives in a 3-2-1 backup plan.

    Best practices for 3-2-1 data backup and recovery in a Homelab

    1. Local Backups: Use your backup software to create regular snapshots of your data. Store these on a NAS or a dedicated backup server within your homelab.
    2. Backup Copies: Create additional copies of your backups. If you’re using a converged model, store these on a different RAID array in the same server.
    3. Offsite Backups: Leverage cloud storage for the third copy. Ensure that your cloud provider offers encryption and secure access to protect your data.
    4. Testing: Regularly test your backups to ensure they can be restored successfully. This step is often overlooked but is critical to your backup strategy’s effectiveness.
    5. Automation: Automate as much of the process as possible. Schedule backups during off-peak hours and use scripts to manage offsite uploads. You also can easily find a lot of posts guide how to automate your 3-2-1 backup process.
    6. Documentation: Keep detailed records of your backup procedures, schedules, and recovery processes. This documentation will be invaluable during a disaster recovery scenario.

    Conclusion

    Implementing a 3-2-1 backup strategy in your homelab requires careful planning and execution. By following these steps, you can ensure that your data remains safe and recoverable, no matter what challenges arise. Remember, the goal is not just to back up your data but to do so in a way that maximizes its availability and integrity. Happy backing up!

    Would you like more detailed guidance on any specific part of the 3-2-1 backup strategy for your homelab? Feel free to contact us!

  • How to Change Proxmox Management IP Address

    How to Change Proxmox Management IP Address

    Changing the management IP address of your Proxmox server is a common task that may be necessary when moving your server to a new network or reorganizing your existing network. This blog post will guide you through the steps to successfully change the Proxmox management IP address.

    Understanding Proxmox Network Configuration

    Before proceeding with the IP address change, it’s important to understand that Proxmox uses a static IP address setup by default. This IP address is used to access the web management interface on port 8006.

    Remember to perform these actions during a maintenance window or when it’s convenient, as network changes can temporarily disrupt access to the Proxmox server.

    Step-by-step guide to change the Proxmox Management IP Address

    Step 1 – Access the Proxmox Server: Log in to your Proxmox server via SSH or directly through the console.

    Step 2 – Edit Network Configuration: Use a text editor like nano to edit the /etc/network/interfaces file. This file contains the network configuration for your Proxmox server.

    nano /etc/network/interfaces

    Step 3 – Locate the Current IP Configuration: Find the section in the file that corresponds to your management network interface, usually labeled as eth0.

    auto eth0iface eth0 inet static    address 192.168.1.100    netmask 255.255.255.0    gateway 192.168.1.1

    Step 4 – Update the IP Address: Change the address line to your new desired IP address. If you are changing the subnet, you will also need to update the netmask and gateway.

    Step 5 – Save the Changes: After making the necessary changes, save the file and exit the text editor (in nano, you can do this by pressing Ctrl+X, then Y, and then Enter).

    Step 6 – Restart the network service: Apply the changes by restarting the network service. This can be done using the following command:

    systemctl restart networking

    Step 7 – Verify the changes: Confirm that the IP address has been updated by checking the network interface configuration with below command. Replace eth0 with the actual network interface name if it’s different:

    ip addr show eth0

    Step 8 – Edit the Hosts File: Update the /etc/hosts file with the new IP address to ensure that the Proxmox server can correctly resolve its own hostname

    nano /etc/hosts

    Step 9 – Reboot the Server: Once all changes are made, reboot the Proxmox server to apply the new network configuration if needed:

    reboot now

    Step 10 – Verify the Changes: After the server reboots, verify that you can access the Proxmox web interface using the new IP address.

    Step 11 – Update IP of VMs, LXC and other services: If needed, you have to change IP of proxmox virtual machines, lxc containers and other services. For example, in my case, I have to update IP address of OPNsense VM, and update it’s gateway address by go to OPNsense management web GUI -> System -> Gateway -> Configurations to change these parameters:

    Update OPNsense Gateway IP address

    Conclusion

    Changing the management IP address of your Proxmox server is a straightforward process that involves editing a couple of configuration files and rebooting the server. Always ensure that you have a backup of your configuration files before making changes, and verify that the new settings are working as expected.

    Remember, this guide focuses on changing the management IP address and does not cover changes to the IP addresses of virtual machines or containers hosted on the Proxmox server. For more detailed instructions or if you encounter any issues, consider watching tutorial videos or reading comprehensive guides available online.

    Happy virtualizing!

  • Key Considerations for Building an Efficient and Reliable Home Lab

    Key Considerations for Building an Efficient and Reliable Home Lab

    Building a home lab can be an exciting and rewarding project, but it’s crucial to avoid common pitfalls. Here are five important things to consider before you start:

    1. Power Draw and Noise

    When purchasing equipment, especially from eBay or other online marketplaces, it is crucial to pay close attention to the power draw and noise levels of the devices you are considering. High power consumption can lead to increased energy costs and may require additional cooling solutions, while noisy equipment can create a disruptive environment, particularly if your home lab is located in a shared or living space. To mitigate these issues, opt for low-power, quiet devices that are designed to operate efficiently without generating excessive noise. For instance, a 24U server rack can be notoriously noisy due to the number of components it houses, but with careful selection of quieter models and proper placement, you can significantly minimize the impact on your surroundings. This approach not only ensures a more pleasant working environment but also contributes to overall energy savings and sustainability.

    2. Network Subnet

    It’s advisable to steer clear of the default subnet 192.168.1.1 for your home lab. Opting for a distinct subnet can help avert potential conflicts, particularly when connecting remotely from public networks such as those in coffee shops. For instance, if you’re using a VPN client like Wireguard to access your home lab remotely, using a common subnet like 192.168.1.1 can lead to IP conflicts. This is because many public networks and other home networks use the same default subnet, causing your VPN connection to fail or behave unpredictably. By choosing a unique subnet, you promote uninterrupted connectivity and minimize the likelihood of encountering network problems.

    3. Virtualizing Firewalls

    Never virtualize your firewall. Running a firewall on physical hardware is more reliable and prevents network outages if the host machine fails. Invest in a dedicated device for your firewall to maintain consistent internet access for your household.

    4. DNS Setup

    Setting up a DNS server can simplify network management, but ensure you have redundancy. Use at least two DNS servers to avoid losing internet access if one fails. Integrating DNS with your router can also streamline this process.

    5. Backups and Monitoring

    Implementing robust backup and monitoring solutions is essential for safeguarding critical data and services in your home lab. Tools like Zabbix can provide comprehensive monitoring of your systems, alerting you to potential issues before they become serious problems. Regular backups are crucial to ensure that you don’t lose important information. Focus on backing up essential data such as family photos, tax documents, and other irreplaceable files. Consider using both local and cloud-based backup solutions to add an extra layer of security. This way, even if one backup fails, you have another to fall back on. Additionally, schedule regular tests of your backup systems to verify that they are working correctly and that your data can be restored without issues. By taking these steps, you can maintain the integrity and availability of your critical data.

    By considering these factors, you can build a more efficient, reliable, and user-friendly home lab. Happy building!

  • How to add NFS share from Synology DSM to backup Proxmox virtual machine

    How to add NFS share from Synology DSM to backup Proxmox virtual machine

    To set up an NFS share from a Synology DSM (DiskStation Manager) and use it to back up a Proxmox virtual machine (VM), you’ll need to follow a series of steps. Here’s a detailed, step-by-step guide to help you through the process:

    1. Set Up NFS Share on Synology DSM

    1.1. Log into Synology DSM

    • Open a web browser and log into your Synology DSM interface using your administrator credentials.

    1.2. Open Control Panel

    • Go to the Control Panel from the main menu.

    1.3. Configure NFS

    • Navigate to File Services.
    • Under the File Services tab, click on NFS and enable NFS by checking the appropriate box. Click Apply if prompted.
    Enable NFS service in Synology DSM

    1.4. Create a Shared Folder

    • Go to Shared Folder under File Services.
    • Click Create to set up a new shared folder. Follow the wizard to define the folder name, location, and permissions.
    Create shared folder to use as NFS for Proxmox
    • Configure the shared folder quota if you want to limit backup capacity
    Config shared folder quota

    1.5. Configure NFS Permissions

    • After creating the shared folder, select it from the list and click Edit.
    • Go to the Permissions tab, and then click on NFS Permissions.
    • Click Create to add a new NFS rule.
    • In the NFS rule setup, specify the following:
      • Hostname or IP: Enter the IP address of your Proxmox server or use * for all.
      • Privilege: Set to Read/Write (or Read-only if you only need read access).
      • Squash: Select the appropriate option (usually Map all users to admin). If you do not select ‘Map all users to admin’ for the Squash option, you will encounter a ‘Permission’ error when backing up LXC containers on Proxmox.
      • Security: Configure as needed (default is often sufficient).
    • Click OK to apply the settings.
    Config NFS Permissions

    2. Mount the NFS Share on Proxmox

    2.1. Log into Proxmox Web Interface

    • Open your web browser and log into the Proxmox VE web interface.

    2.2. Access Node Configuration

    • Select the Proxmox node where you want to mount the NFS share.
    • Go to the Datacenter view and then to the Storage tab.

    2.3. Add NFS Storage

    • Click Add and select NFS.
    • Fill in the NFS configuration details:
      • ID: Enter a unique name for the storage.
      • Server: Enter the IP address or hostname of your Synology NAS.
      • Export: Enter the path of the shared folder created on Synology (e.g., /volume2/proxmox).
      • Content: Check the boxes for the types of content you want to store (e.g., VZDump backup file).
      • Nodes: Select the nodes that should have access to this storage.
    • Click Add to save the configuration.
    NFS configuration details

    3. Configure Backup Job

    3.1. Go to Proxmox Backup Configuration

    • In the Proxmox web interface, navigate to Datacenter and then to Backup.

    3.2. Create a Backup Job

    • Click Add to create a new backup job.
    • Configure the job settings:
      • ID: Enter a name for the backup job.
      • Storage: Select the NFS storage you configured earlier.
      • Schedule: Set the schedule for automatic backups.
      • Compression: Choose the compression method if required.
      • Retention: Configure how long backups should be retained.

    3.3. Specify VM and Backup Options

    • Choose the VMs to be backed up.
    • Configure additional options as needed, such as backup mode (snapshot, stop, or suspend).

    4. Verify and Monitor

    4.1. Run Backup Job Manually

    • To test the configuration, you can run the backup job manually from the backup configuration screen.

    4.2. Monitor Backup Jobs

    • Check the status of backup jobs and ensure that they are running successfully.
    • Monitor logs and storage space to ensure everything is working as expected.

    Troubleshooting

    • Connection Issues: Ensure that the Proxmox server can reach the Synology NAS over the network and that there are no firewall rules blocking NFS traffic.
    • Permissions Issues: Double-check NFS permissions on the Synology DSM and ensure that the Proxmox server IP has the correct access rights.

    By following these steps, you should be able to successfully set up an NFS share on Synology DSM and use it for backing up Proxmox virtual machines.

  • My Journey to Building a Homelab

    My Journey to Building a Homelab

    What is a homlab?

    A homelab, as the name suggests, is a laboratory at home. It’s a setup where individuals experiment with different types of hardware or software, often using a server or multiple servers. Homelabs are primarily used for various purposes, including learning new skills, testing out new technologies, and building prototypes.

    Why do we need a homelab?

    In this digital era, where technology is advancing at an unprecedented pace, having a homelab is becoming increasingly important. Consider it as your personal technological sandbox; a place where you can freely explore, learn, and create, away from the constraints and restrictions typically found in professional environments.

    Whether you’re honing skills for your job, pursuing a personal interest, or simply exploring the endless possibilities of technology, a homelab can be an incredibly valuable asset.

    My journey to building a homelab

    My journey to building a homelab began from a simple spark of curiosity and a burning desire to learn. It all started when I had an old laptop gathering dust and decided to breathe new life into it. I repurposed this laptop as a homeserver to self-host my blog. This blog became my digital diary, a platform where I could note, archive, and share my ideas, tips, and experiences about computers, software, blogging, technology, and much more.

    As I delved deeper into this world, I began to see the potential of my homelab. I started to expand it, gradually adding more components and capabilities. My homelab journey wasn’t always smooth and there were challenges along the way. I faced hardware failures and software issues that tested my patience and resolve. But I saw each hurdle as an opportunity to learn and grow. The first major expansion of my homelab was venturing into the realm of virtualization. I started with Proxmox as my bare-metal hypervisor, allowing me to run multiple virtual machines on the same hardware. This was complemented with Hyper-V, another virtualization technology that opened up a whole new world of possibilities for me.

    I also used my homelab to explore different Linux distributions. Through virtual machines, I learned about Ubuntu and Debian Linux distributions, getting hands-on experience with their unique features and capabilities. This also led me to experiment with LXC containers and Docker, further expanding my knowledge and skills.

    Ad-blocking was another area I decided to delve into. With AdGuard Home and PiHole, I was able to block ads network-wide, improving my browsing experience and protecting my devices from malicious ads.

    My homelab journey also saw me building a Network Attached Storage (NAS) using OpenMediaVault and Xpenology. This provided a centralized storage solution for my home network, giving me easy access to my files and data from any device.

    Furthermore, I set up a media server with Emby, Jellyfin, and a host of “*arr” suites. This allowed me to have my own personal Netflix, storing and streaming my favorite movies and series.

    Conclusion

    Today, my homelab is more than just a hobby. It’s a robust setup that allows me to experiment with a wide range of technologies and projects. It’s a playground for my curiosity, a lab for my experiments, and a classroom for my learning. It has become an essential part of my life, helping me grow professionally and personally. My homelab journey has been a testament to the power of learning by doing, and I can’t wait to see where it takes me next.