Are you tired of relying on free cloud storage services that come with limited capacity? Do you want to have complete control over your personal data? Look no further! In this guide, we will show you how to create your own home-based cloud server, giving you the freedom and security you deserve.
Choosing the Right Hardware
To begin, you will need a computer with multiple hard disks. In this example, we have 7 old hard disks to choose from. We recommend selecting 3 hard disks with larger capacities. One of them should be a solid-state drive (SSD) with a smaller capacity of 60GB, which will serve as the boot disk. The other two hard disks should have the same capacity of 500GB and will be used to store data.
Installing the Ubuntu Server Operating System
Next, you will need to install the Ubuntu Server operating system on your computer. Start by downloading the latest installer from the Ubuntu website. If you want to save time, we have pre-downloaded the latest ISO file for you. Use a tool like Rufus to create a bootable USB stick with the Ubuntu Server installer.
Configuring the Storage
Once you have the bootable USB stick ready, insert it into your computer and boot from it. Access your computer’s BIOS, which can usually be done by repeatedly pressing the Delete key when turning on the computer. Change the boot order to prioritize the USB stick.
During the installation process, you will be prompted to choose a language and keyboard type. Assign a static IP address to your computer and configure the storage layout. Delete all existing partitions on the hard disks and create new ones according to your desired configuration.
Creating a RAID Configuration
To maximize your cloud capacity, you can merge the partitions of the three hard disks into a single, larger partition. Choose the software RAID configuration and select RAID 0 (striped) to aggregate the capacity of all partitions. Once completed, you will have a new partition with a significantly larger capacity.
Setting Up Nextcloud
With the Ubuntu Server installation complete, it’s time to set up Nextcloud. Nextcloud is an open-source application that allows you to create your personal cloud. During the installation, you will be prompted to create an administrative account for the Nextcloud server. Take note of the admin account details for future use.
Accessing Your Private Cloud
Once Nextcloud is installed, you can access your private cloud by entering the IP address of the Ubuntu server in any browser. You will be asked to create an admin account for Nextcloud. Nextcloud will also recommend additional software to install, but you can choose to ignore them if you only need file storage.
Enabling HTTPS and Remote Access
For added security, you can enable HTTPS to encrypt data transmission. You can do this by running the command
sudo nextcloud.enable-https self-signed and following the prompts. To access your private cloud from outside your local network, you will need to set up port forwarding on your router.
Updating Your Public IP Address
If your internet service provider assigns you a dynamic public IP address, you can use a service like DuckDNS to update it automatically and provide you with a free domain name. Install DuckDNS on your Ubuntu server and configure it to update your public IP address. You can then access your cloud using your new domain name.
Enjoy Your Private Cloud
Congratulations! You have successfully created your own home-based cloud server with a generous capacity of 909GB. You can now access your personal data securely from anywhere. Feel free to expand your cloud capacity by adding more hard drives or upgrading existing ones.
Now that you have your private cloud up and running, go ahead and connect to it from your phone using the Nextcloud app. Enjoy the convenience and control of having your personal cloud storage solution.
Thank you for following our DIY guide. If you found this helpful, please like and subscribe to our channel. Your support will help us reach our goal of 500,000 subscribers.