Home Topics Pagoda Panel Teach you how to build your own network disk based on Pagoda Panel and nextcloud

Teach you how to build your own network disk based on Pagoda Panel and nextcloud

Jun 19, 2020 pm 01:23 PM
nextcloud pagoda

The following tutorial column of Pagoda Installation will introduce to you how to build your own network disk based on the Pagoda panel and nextcloud. I hope it will be helpful to friends in need!

Teach you how to build your own network disk based on Pagoda Panel and nextcloud

1. InstallationPagodaControl Panel and LNMP Environment

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Copy after login

It takes a long time to install. After the installation is completed, you can see the login information below , and then just log in with the browser

After the Pagoda panel is installed, use the above account and password information to log in to the panel and the installation interface will appear. Select the ngnix to be installed. It can be installed automatically

After the installation is completed, you can add the website database in this interface

We click Add, and then enter the domain name database password of the website, and it will Automatically create a website directory.

A prompt will pop up after the creation is complete

Download the NextCloud installation package

We go to the website below to download NextCloud

https://nextcloud.com/install/#
Copy after login

We select the file, enter the website directory, and then click remote download

After clicking remote download , enter the nextcloud installation package download address in the pop-up URL address bar

https://download.nextcloud.com/server/releases/nextcloud-14.0.4.zip
Copy after login

After the download is completed, click "Unzip" on the right

Extract to the installation directory of nextcloud

After completion, you can see that there is a nextcloud folder. After we enter it, copy the files inside to the home directory. , these can be completed in the web page, no need to log in to the backend server

#The method is to enter the directory and select all these files, then cut and paste to the previous directory

Then go back to the previous directory and click to paste all

After the pasting is completed, the file structure of the installation directory is as follows Picture:

After completion, you can open the domain name of the network disk, create an administrator account directly here, and set up the sql database

Enter the user name, password, database information, etc., click Installation Complete, it will be installed automatically. After the installation is completed, you will enter the network disk background interface, as follows

Complete the installation, we can download the app or computer Use the software on

Configure NextCloud

After entering the website, I saw that there was a problem with the above display and found an error message:

Install fileinfo

Enter the software management of the Pagoda panel, find php 7.1 and then go in and install this module, click Install

getenv("PATH")为空

PHP 的设置似乎有问题, 无法获取系统环境变量. 使用 getenv("PATH") 测试时仅返回空结果.

编辑php-fpm.conf

 /www/server/php/71/etc/php-fpm.conf
Copy after login

粘贴

env[PATH] = /usr/local/bin:/usr/bin:/bin:/usr/local/php/bin
Copy after login

重启下服务

service php-fpm-71 restart
Copy after login

❀Some files have not passed the integrity check.

这句是文件完整性检查,然后后面有个list,点击下可以看到哪些文件有问题,由于宝塔创建好网站默认会有404和user页面,这样nextcloud的文件的原始这个页面没法复制,我们只要把默认的user文件删了,重新替换即可。

The .htaccess file is not working

打开在宝塔的伪静态中添加下面的内容

location

~ ^/(data|config|.ht|db_structure.xml|README) {

deny all;

}
Copy after login

You are accessing this site via HTTP

宝塔上默认有申请ssl证书,免费的点下就ok了

注:你必须在公网上有DNS解析,否则没法申请

安装opcahe

Opcache是PHP代码的缓存

替换下面的代码到php配置里,然后重启下php服务

opcache.enable=1

opcache.enable_cli=1

opcache.interned_strings_buffer=8

opcache.max_accelerated_files=10000

opcache.memory_consumption=128

opcache.save_comments=1

opcache.revalidate_freq=1
Copy after login

到此我们的nextcloud就安装完成了,后面就可以自己去下载客户端来正常使用了

The above is the detailed content of Teach you how to build your own network disk based on Pagoda Panel and nextcloud. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Can Pagoda Panel deploy Go language projects? Can Pagoda Panel deploy Go language projects? Mar 23, 2024 pm 06:54 PM

Title: How does the Pagoda panel deploy Go language projects? In today's Internet era, Go language is favored by more and more developers as an efficient, concise and powerful programming language with strong concurrency performance. As a powerful server management tool, Pagoda Panel provides convenient interface operations and various automated deployment functions. So, can the Pagoda panel deploy Go language projects? The answer is yes. Next, we will explain in detail how to deploy Go language projects on the Pagoda panel and provide specific code examples. At first, we

Office system integration of Pagoda Panel: Nextcloud, OnlyOffice, etc. Office system integration of Pagoda Panel: Nextcloud, OnlyOffice, etc. Jun 21, 2023 am 10:41 AM

Recently, with the popularity of cloud office, more and more enterprises and teams have begun to adopt cloud office systems, and Pagoda Panel is a very popular server control panel in China, with excellent compatibility and ease of use. Recently, Pagoda Panel has also provided a series of office system integrations, including Nextcloud and OnlyOffice, allowing enterprises and teams to use cloud office systems more conveniently and improve work efficiency. First, let us understand the features of Nextcloud. Nextcloud is a

How to perform website performance stress testing and tuning through the Pagoda Panel How to perform website performance stress testing and tuning through the Pagoda Panel Jun 21, 2023 pm 01:31 PM

With the rapid development of the Internet, website performance has an increasing impact on user experience and SEO rankings. In order to improve the performance of our website, we need to perform performance stress testing and tuning to locate problems and optimize them. As a popular service management panel, Pagoda Panel provides convenient and simple performance stress testing and tuning tools. The following will introduce how to perform website performance stress testing and tuning through the Pagoda Panel. 1. Performance stress testing Performance stress testing is to test the load capacity and response speed of the website by simulating user access. In the Pagoda panel, we can

Pagoda PHP version switching: Interpretation of detailed operation steps Pagoda PHP version switching: Interpretation of detailed operation steps Mar 04, 2024 pm 05:48 PM

Pagoda PHP version switching: Interpretation of detailed operation steps, specific code examples are required. With the continuous development of Internet technology, website development often involves the use of different versions of PHP. Pagoda Panel is a simple and easy-to-use server management software that can help users quickly build and manage server environments. In the process of website development, sometimes it is necessary to switch the PHP version to adapt to different needs. This article will explain in detail how to switch the PHP version in the Pagoda panel, and give specific operating steps and code examples. Step 1: Log in to Pagoda Noodles

Must-read for Pagoda Linux: PHP5.2.0 version installation tips Must-read for Pagoda Linux: PHP5.2.0 version installation tips Mar 07, 2024 pm 12:33 PM

Pagoda Linux must-read: PHP5.2.0 version installation tips In the process of using the Pagoda Linux panel to build a website, some old versions of the PHP environment may be required, such as PHP5.2.0 version. This article will introduce how to install PHP5.2.0 version on the Pagoda Linux panel, and provide specific code examples to help readers quickly complete the installation process. 1. Install PHP5.2.0 version Step 1: Enter the Pagoda Linux panel. First, enter your server IP address in the browser.

How to switch between different versions when installing PHP in Pagoda How to switch between different versions when installing PHP in Pagoda Jun 19, 2023 am 11:18 AM

The method for installing PHP in Pagoda and switching between versions is: 1. Click "My Website" on the home page of Pagoda Panel; 2. Find the corresponding website and click the "Settings" button on the right; 3. Click "Apache/Nginx" on the left "tab, you can see the PHP version currently in use; 4. Click the "Switch" button behind the PHP version and select the version you want to switch; 5. Restart the relevant services.

Pagoda Linux Tutorial: Detailed steps to install PHP5.2.0 Pagoda Linux Tutorial: Detailed steps to install PHP5.2.0 Mar 06, 2024 pm 02:27 PM

In this article, I will introduce in detail the steps on how to install PHP5.2.0 version on the Pagoda panel, including specific code examples. Although PHP5.2.0 is relatively old, there are still some projects with special needs that need to use this version. Hope this tutorial is helpful to everyone. In the process of using the Pagoda Linux panel, sometimes we encounter situations where we need to install PHP5.2.0. In this tutorial, I will introduce you in detail how to install PHP5 on the Pagoda panel.

One click to get it done! Guide to installing PHP5.2.0 on Pagoda Linux One click to get it done! Guide to installing PHP5.2.0 on Pagoda Linux Mar 06, 2024 pm 04:33 PM

Title: One click to get it done! Guide to installing PHP5.2.0 on Pagoda Linux In the current Internet era, website development is inseparable from PHP. The PHP5.2.0 version is outdated compared to the current version, but sometimes we still need to install the PHP5.2.0 version on the Pagoda panel, perhaps for compatibility with some old projects or requirements. In this article, we will introduce how to install PHP5.2.0 on Pagoda Linux with one click. We hope it will be helpful to you. step one

See all articles