Nextcloud is very similar to Owncloud, but it has better apps.
1. Download server packages
wget https://download.nextcloud.com/server/releases/nextcloud-23.0.12.tar.bz2
※ Nextcloud 23 is the last version supporting php7.3
2. Install prerequisites
sudo apt install -y apache2 libapache2-mod-php mariadb-server openssl redis-server wget php-imagick php-common php-curl php-gd php-gmp php-bcmath php-imap php-intl php-json php-mbstring php-mysql php-ssh2 php-xml php-zip php-apcu php-redis php-ldap php-phpseclib
3. Unzip the downloaded server package
tar -jxvf nextcloud-23.0.12.tar.bz2 -C /var/www/html/
cd /var/www/html
sudo chown www-data:www-data nextcloud -R
4. Access the URL and finish to install
URL: http://<YOUR_IP>/nextcloud
Admin account
- Username
- Password
Storage & database
- Data folder
- Configure the database
★MySQL/MariaDB★
Database user
Database password
Database name = nextcloud
localhost
5. Modify memory cache config
When finished installation, you can check the config file( /var/www/html/nextcloud/config/config.php ).
Add the followings into CONFIG for higher performance.
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => [
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
],
'Programming > RaspberryPi' 카테고리의 다른 글
Install Owncloud on RaspberryPi (0) | 2023.03.15 |
---|---|
Rasbian qbittorrent-nox installation (0) | 2019.11.19 |
SD card image backup (0) | 2018.10.12 |
SDcard Partition Resize (0) | 2018.08.21 |
RaspberryPi Remote Desktop Client (0) | 2018.06.01 |