软件:nextcloud

这是本文档旧的修订版!


nextcloud

网盘

php安装

Module Required Recommended For Specific App Description
ctype Core functionality
curl HTTP requests
intl Improves translations and sorting
sodium Argon2 password hashing
ldap LDAP integration
smbclient SMB/CIFS integration
ftp FTP storage/authentication
imap External user authentication
gmp ✓ (optional) SFTP storage
exif ✓ (optional) Image rotation in Pictures app
apcu Performance caching
memcached Performance caching
redis Transactional File Locking
imagick ✓ (optional) Image previews
avconv/ffmpeg ✓ (optional) Video previews
Open/LibreOffice ✓ (optional) Document previews
pcntl ✓ (optional) Command interruption in CLI
phar ✓ (optional) Needed for command-line updater

安装环境依赖

sudo apt update && sudo apt upgrade
sudo apt install apache2 mariadb-server libapache2-mod-php php-gd php-mysql \
php-curl php-mbstring php-intl php-gmp php-xml php-imagick php-zip

SQL配置

sudo mysql
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'username'@'localhost';
FLUSH PRIVILEGES;
quit;
  • 软件/nextcloud.1760262275.txt.gz
  • 最后更改: 2025/10/12 17:44
  • admin