1. IntroductionOnce 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. Advantages2.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 SSHIf you are not familiar with enabling SSH, you can check out our previous articles.Linux Notes Using SSH☝☝☝☝☝☝☝☝4. Install Baota PanelIf 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
6. Enter Site IP in Browser to View Results
7. InstallationThis 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:
We will use the second method, command line online installation.
8. ConfigurationAgain, enter your device’s IP in the browser to start the installation interface.
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.
Once the red warning issue is resolved, it should turn green.
9. Create DatabaseIf 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.
10. Set Administrator Information
11. Enter SystemAfter entering the account and password you just set, you can start your operations.
12. Support for Multiple DevicesFor example, on iOS, search for “KodCloud” in the Apple App Store.
13. Other Notes1).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/