✳️Replace the highlighted information with your own
sudo apt install php-gd php-curl php-xml php-zip php-mbstring php-intl php-bcmath php-gmp php-imagick php-mysql php-apcu unzip vim curl net-tools certbot python3-certbot-apache -y
CREATE DATABASE nextcloud_db CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE USER 'nextcloud_db_user'@'localhost' IDENTIFIED BY 'nextcloud_db_PWD';
GRANT ALL PRIVILEGES ON nextcloud_db.* TO 'nextcloud_db_user'@'localhost';
wget https://download.nextcloud.com/server/releases/latest.zip
<VirtualHost *:80>
#ServerName Your-Domain
DocumentRoot /var/www/nextcloud
<Directory /var/www/nextcloud>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>
ErrorLog ${APACHE_LOG_DIR}/nextcloud-error.log
CustomLog ${APACHE_LOG_DIR}/nextcloud-access.log combined
</VirtualHost>
Read more
- Code in this video_Sefl-Host-NextCloud-on-Linux-VPS
- How to Connect Google Drive to Linux using Rclone for Seamless Synchronization
- Windows Remote Desktop to Linux Mint, Ubuntu & Debian
- Set Up WireGuard VPN Client on Android
- Set Up WireGuard VPN Client on CentOS Stream/RockyLinux/RHEL-based
- Set Up WireGuard VPN Client on Linux Ubuntu/Debian-based
- How to Set Up WireGuard VPN Client on Windows
- WireGuard – Set Up a WireGuard VPN Server on a Linux VPS
- How to Upgrade Windows 11 Home to Windows 11 Professional
- How to Self-Host n8n on Windows Using WSL and Docker