How to configure Owncloud server in ubuntu on google cloud
Prerequisites
In order to complete the steps in this guide, you will need the following:
A LAMP stack: ownCloud requires a web server, a database, and PHP to function properly. Setting up a LAMP stack Linux, Apache, MySQL, and PHP server fulfills all of these requirements. Follow this guide to install and configure this software.
If you have a domain name
You can live ok..
-------------------------------------------------
Step 1: Update Ubuntu System Packages
$ sudo apt update -y && sudo apt upgrade -y
--------------------------------------------------
Step 2:
$ sudo apt install apache2 libapache2-mod-php7.2 openssl php-imagick php7.2-common php7.2-curl php7.2-gd php7.2-imap php7.2-intl php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-pgsql php-smbclient php-ssh2 php7.2-sqlite3 php7.2-xml php7.2-zip
--------------------------------------------
Step 3: Install MariaDB in Ubuntu
$ sudo apt install mariadb-server
$ sudo mysql_secure_installation
---------------------------------------
Step 4:
MariaDB [(none)] CREATE DATABASE owncloud_db;
MariaDB [(none)] GRANT ALL ON owncloud_db.* TO 'owncloud_user'@'localhost' IDENTIFIED BY 'StrongP@ssword';
MariaDB [(none)]FLUSH PRIVILEGES;
MariaDB [(none)]EXIT;
----------------------------------
$ sudo wget https://download.owncloud.org/communi...
$ sudo unzip owncloud-10.4.0.zip -d /var/www/
---------------------------------
sudo chown -R www-data:www-data /var/www/html -R
-------------------------------
$ sudo a2enconf owncloud
$ sudo a2enmod rewrite
$ sudo a2enmod headers
$ sudo a2enmod env
$ sudo a2enmod dir
$ sudo a2enmod mime
----------------------------------
sudo systemctl restart apache2
http://server-IP/ownlcloud
Thank you for watching my video if my video any help to you please like , comment, and subscribe to my channel for the next video.
Thank you once again...
#like #comment #share #subscribe