search
HomeTopicsPagoda PanelTeach you how to build your own network disk based on Pagoda Panel and nextcloud

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

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/#

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

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

粘贴

env[PATH] = /usr/local/bin:/usr/bin:/bin:/usr/local/php/bin

重启下服务

service php-fpm-71 restart

 

❀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;

}

 

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

到此我们的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
This article is reproduced at:csdn. If there is any infringement, please contact admin@php.cn delete
如何通过宝塔面板进行网站性能压测和调优如何通过宝塔面板进行网站性能压测和调优Jun 21, 2023 pm 01:31 PM

随着互联网的快速发展,网站性能对于用户体验和SEO排名的影响越来越大。为了提高自己的网站性能,我们需要进行性能压测和调优来定位问题并进行优化。而宝塔面板作为一个广受欢迎的服务管理面板,提供了方便简单的性能压测和调优工具。下面将介绍如何通过宝塔面板进行网站性能压测和调优。一、性能压测性能压测是通过模拟用户访问来测试网站的负载能力和响应速度。在宝塔面板中,我们可

宝塔面板能否部署Go语言项目?宝塔面板能否部署Go语言项目?Mar 23, 2024 pm 06:54 PM

标题:宝塔面板如何部署Go语言项目?在当今的互联网时代,Go语言作为一种高效、简洁、并发性能强大的编程语言,受到了越来越多开发者的青睐。而宝塔面板作为一款功能强大的服务器管理工具,提供了便捷的界面操作和各种自动化部署功能。那么,宝塔面板是否能够部署Go语言项目呢?答案是肯定的,接下来将详细讲解如何在宝塔面板上部署Go语言项目,并提供具体的代码示例。首先,我们

宝塔面板的办公系统集成:Nextcloud、OnlyOffice等宝塔面板的办公系统集成:Nextcloud、OnlyOffice等Jun 21, 2023 am 10:41 AM

最近随着云办公的流行,越来越多的企业和团队开始采用云端办公系统,而宝塔面板是国内非常流行的一款服务器控制面板,它的兼容性和易用性都十分出色。最近宝塔面板也提供了一系列办公系统集成,其中包括Nextcloud和OnlyOffice等,让企业和团队能够更加便捷地使用云端办公系统,提高工作效率。首先,让我们来了解一下Nextcloud的特点。Nextcloud是一

宝塔PHP版本切换:详细操作步骤解读宝塔PHP版本切换:详细操作步骤解读Mar 04, 2024 pm 05:48 PM

宝塔PHP版本切换:详细操作步骤解读,需要具体代码示例随着互联网技术的不断发展,网站开发中常常会涉及到使用不同版本的PHP。宝塔面板是一款简单易用的服务器管理软件,可以帮助用户快速搭建和管理服务器环境。在网站开发过程中,有时需要切换PHP版本以适应不同的需求,本文将详细解读如何在宝塔面板中进行PHP版本切换,并给出具体的操作步骤和代码示例。步骤一:登录宝塔面

宝塔Linux必读:PHP5.2.0版本安装技巧宝塔Linux必读:PHP5.2.0版本安装技巧Mar 07, 2024 pm 12:33 PM

宝塔Linux必读:PHP5.2.0版本安装技巧在使用宝塔Linux面板搭建网站的过程中,一些旧版本的PHP环境可能会被需求所需,比如PHP5.2.0版本。本文将介绍如何在宝塔Linux面板上安装PHP5.2.0版本,并提供具体的代码示例,帮助读者快速完成安装过程。一、安装PHP5.2.0版本步骤一:进入宝塔Linux面板首先,在浏览器中输入你的服务器IP地

宝塔安装php怎么切换使用各版本宝塔安装php怎么切换使用各版本Jun 19, 2023 am 11:18 AM

宝塔安装php切换使用各版本的方法是:1、在宝塔面板首页点击“我的网站”;2、找到对应的网站,点击右侧的“设置”按钮;3、点击左侧的“Apache/Nginx”选项卡,可以看到当前使用的PHP版本;4、点击PHP版本后面的“切换”按钮,选择需要切换的版本;5、重新启动相关服务即可。

宝塔Linux教程:安装PHP5.2.0详细步骤宝塔Linux教程:安装PHP5.2.0详细步骤Mar 06, 2024 pm 02:27 PM

在这篇文章中,我会为大家详细介绍如何在宝塔面板上安装PHP5.2.0版本的步骤,包括具体的代码示例。PHP5.2.0虽然已经比较老旧,但仍然有一些特殊需求的项目会需要使用这个版本。希望这篇教程对大家有所帮助。在使用宝塔Linux面板的过程中,有时候我们会遇到需要安装PHP5.2.0的情况。在这篇教程中,我将为大家详细介绍如何在宝塔面板上安装PHP5.

一键搞定!宝塔Linux上安装PHP5.2.0指南一键搞定!宝塔Linux上安装PHP5.2.0指南Mar 06, 2024 pm 04:33 PM

标题:一键搞定!宝塔Linux上安装PHP5.2.0指南在当前互联网时代,网站开发离不开PHP。PHP5.2.0版本相比较于现在的版本已经过时了,但有时候我们仍然需要在宝塔面板上安装PHP5.2.0版本,可能是为了兼容一些旧的项目或者需求。在这篇文章中,我们将介绍如何在宝塔Linux上一键搞定安装PHP5.2.0的过程,希望能对你有所帮助。步骤一

See all articles

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 agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.