Code in this video_How to Install and Configure NextCloud Server on Ubuntu/Debian

How to Install and Configure NextCloud Server on Ubuntu or Debian with LAMP stack

📌 Replace the highlighted orange section with your information

	sudo apt install -y vim unzip zip wget php-apcu php-bcmath php-cli php-common php-curl php-gd php-gmp php-imagick php-intl php-mbstring php-mysql php-zip php-xml php-ldap

	CREATE DATABASE nextcloud_db CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;

	CREATE USER nextcloud_user@localhost IDENTIFIED BY 'nextcloud_PWD';

	GRANT ALL ON nextcloud_db.* TO nextcloud_user@localhost;

<VirtualHost *:80>
    DocumentRoot "/var/www/html/nextcloud"
    ServerName localhost

    <Directory "/var/www/html/nextcloud/">
        Options MultiViews FollowSymlinks
        AllowOverride All
        Order allow,deny
        Allow from all

    TransferLog /var/log/apache2/nextcloud_access.log
    ErrorLog /var/log/apache2/nextcloud_error.log


Leave a Reply

Your email address will not be published. Required fields are marked *