【LEDE】树莓派上玩LEDE终极指南-94-在树莓派上搭建NextCloud私人云存储注意事项

本文详细介绍了如何在LEDE(树莓派)上使用Nginx和PHP7-FPM安装Nextcloud,包括安装Nginx、配置PHP7-FPM、设置MariaDB、创建自签名SSL证书等步骤。特别指出在安装过程中遇到的'No inputfile specified'错误,解决方案是安装coreutils-stat。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

引用:https://www.howtoforge.com/tutorial/how-to-install-nextcloud-with-nginx-and-php-fpm-on-centos-7/


注意:在LEDE上安装完毕之后访问web显示No inputfile specified。

解决:

// php.ini
cgi.force_redirect = 0
cgi.fix_pathinfo=1
doc_root=


另一个问题:竟然有的Linux发行版不带stat命令!这里我就不报名字了。通过php日志可以发现:command stat : stat not found !

遂安装stat即可解决。希望在编译php的时候添加以上依赖。我就是掉进了这个坑!

opkg install coreutils-stat



How to Install Nextcloud with Nginx and PHP7-FPM on CentOS 7

Nextcloud is a free (Open Source) Dropbox-like software, a fork of the ownCloud project. Nextcloud is written in PHP and JavaScript, it supports many database systems such as, MySQL/MariaDB, PostgreSQL, Oracle Database and SQLite. In order to keep your files synchronized between Desktop and your own server, Nextcloud provides applications for Windows, Linux and Mac desktops and a mobile app for android and iOS. Nextcloud is not just a dropbox clone, it provides additional features like Calendar, Contacts, Schedule tasks, and streaming media with Ampache.

In this tutorial, I will show you how to install and configure the latest Nextcloud 10 release on a CentOS 7 server. I will run Nextcloud with a Nginx web server and PHP7-FPM and use MariaDB as the database system.

Prerequisite

  • CentOS 7 64bit
  • Root privileges on the server

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值