Setting Up a Raspberry Pi NAS: A Comprehensive Guide

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

1. Introduction
Once you learn about the Raspberry Pi, you will be captivated by its charm. If you are not familiar with the Raspberry Pi, you can check out our previous articles.
Open Source Hardware Raspberry Pi (1) Getting to Know Raspberry Pi and Its Applications
☝☝☝☝☝☝☝☝
The Raspberry Pi can also be used to set up your own local network disk, mount a hard drive, and plug in a network cable to serve as a NAS running 24 hours a day with very low power consumption.
This installation guide is not limited to the Raspberry Pi; you can also use it for other soft routers, old computers, or servers.
2. Advantages
2.1 Using an open-source platform makes setup quick.
2.2 Multi-device support: H5, Windows, Mac, iOS, Android, etc.
2.3 Store locally, or mount cloud storage like Qiniu Cloud, Alibaba Cloud, etc.
2.4 Share and collaborate to complete work together.
2.5 Resume uploads from where you left off.
2.6 You can directly open files in the NAS and even edit them online.
2.7 Using your own platform is relatively secure; all files and deployments are on your own server.
2.8 Permissions and roles allow your family members to operate as well.
2.9 Add media elements to connect with other media devices in your home.
2.10 Share links for one-click access.
2.11 Automatic backups, no more giving money to Baidu Cloud.
… If you have other ideas, feel free to discuss…
3. Enable SSH
If you are not familiar with enabling SSH, you can check out our previous articles.
Linux Notes Using SSH
☝☝☝☝☝☝☝☝
4. Install Baota Panel
If you are not familiar with how to install and configure the Baota environment, I recommend checking out our previous articles.
Getting Started with Linux Even Beginners Can Quickly Configure a Linux Server | Using Baota Panel
☝☝☝☝☝☝☝☝
5. Enter Baota Control Panel, Create Site, Default IP for Local Network

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

6. Enter Site IP in Browser to View Results

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

7. Installation
This installation uses the KodCloud platform.
1).Download the source code and install it.
You can go to: https://kodcloud.com/download/, download and unzip it to the site root directory.
2).Online installation.
Go to the site root directory and enter the following command:
wget https://static.kodcloud.com/update/download/kodbox.1.40.zipunzip kodbox.1.40.zip && chmod -Rf 777 ./*
We will use the second method, command line online installation.

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

8. Configuration
Again, enter your device’s IP in the browser to start the installation interface.

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

Common Issues:
1).If after unzipping, the page does not respond and shows the content as in step 4, you need to delete the index.html file in the site root directory, as that file is a built-in file from Baota and conflicts with index.php.
2).If you see a red cross as shown in the image, don’t panic; it is likely related to PHP configuration. You can open the PHP extension file, see which extensions are missing, and install them, or remove disabled functions.

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

Once the red warning issue is resolved, it should turn green.

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

9. Create Database
If you are a beginner, you can follow the steps shown in the image. If you are an experienced programmer, you can set it up according to your needs. I recommend MySQL + Redis.

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

10. Set Administrator Information

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

11. Enter System
After entering the account and password you just set, you can start your operations.

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

12. Support for Multiple Devices
For example, on iOS, search for “KodCloud” in the Apple App Store.

Setting Up a Raspberry Pi NAS: A Comprehensive Guide

13. Other Notes
1).You can mount third-party storage.
2).You can replace the content inside with your own, such as logo, title, text, site description, etc.
Now you can start your journey!
The basic usage is roughly like this. If you are interested in KodCloud or NAS, you can visit the official website:
https://docs.kodcloud.com/

Leave a Comment

×