Last update at :2024-02-12,Edit by888u
A previous article introduced a OneDrive (Microsoft network disk) program written by a network tycoon, which can manage multiple network disks through a web page. Today I will introduce to you another OneDrive multi-network disk mounting program. The name of this program is CuteOne. Let’s introduce the features, installation and use of this program.
Project hosting address
https://github.com/Hackxiaoya/CuteOne
Program features
Multi-disk load, online viewing, online upload, download, multi-disk synchronization, master-slave synchronization, online sharing, folder permission management, membership function, level system, paid viewing, password viewing, payment module, theme switching, extreme speed Cache
Home page demo
Environmental needs
- Linux
- Nginx
- Python3 ——How to install Python3
- Mysql >= 5.7
- MongoDB
Installation tutorial
First install the Pagoda panel and configure it according to the above environmental requirements.
Then go to Software Management-Runtime Environment-Select to install MongoDB
Choose to create a new site, select mysql for the data, and fill in the directory into the execution code below. The first step is to pull the code
Now you need to connect to the VPS and execute the following code,
cd /www/wwwroot/**** #This is the root directory of the created site git clone https://github.com/Hackxiaoya/CuteOne.gitThe second step is to install the required libraries and create uwsgi software connection
cdCuteOne pip3 install -r requirements.txt > If the words pip install --upgrade pip appear, perform the update. If not, skip it. > pip3 install --upgrade pip ln -s /usr/local/python3/bin/uwsgi /usr/bin/uwsgiThe third step is to modify the root directory
- Open the pagoda panel
- Enter file management. Click File, enter the CuteOne directory in the root directory of the site, find the uwsgi.ini file, and click Edit behind the file.
- Change chdir = /www/wwwroot/CuteOne in the file to the root directory of your site, for example chdir = /www/wwwroot/co.zx.al/CuteOne
- Others are default, click Save
The fourth step is to start the background operation of the website
nohup uwsgi --ini uwsgi.ini & > Ignore displayed errorsThe fifth step is to set up the firewall in the Pagoda panel and open port 5000
- Click Security-Select the release port
- Fill in the CuteOne port number 5000 and make a note
- Click to release
The sixth step is to enter the web installation page and perform MySQL settings
- Access the installation path: http://yourIP:5000/install/
- Enter the Pagoda panel, click Database - find the database that was created at the same time as the website was built, fill in the corresponding database name, user name, and password into the corresponding locations on the web installation page, and leave the others as default.
- Click Next
Step 7, set up MongoDB
- Keep default values
- Click Next
Then set the administrator and password, and the installation is successful.
Step 8, installation is successful, log in to the backend
- If you find that you cannot log in after filling in the user name and password in the background, please proceed to step nine.
- Backend login address: http://yourIP:5000/admin/
Step 9, restart the service and log in again
pgrep -f uwsgi #View uwsgi killall -9 uwsgi #Close all uwsgi nohup uwsgi --ini uwsgi.ini & #Start website > Ignore displayed errorsNote: The above commands must be executed in the CuteOne directory
Recommended site search: website virtual host, telecommunications host rental, what is needed for website registration, hosting space, Hong Kong server rental, registration number query, domain name resolution query, independent ip virtual host, 6 yuan a year cloud server, asp virtual Host,
发表评论