How to Install and Configure ownCloud with Apache on Ubuntu 18.04
ownCloud is an open-source, self-facilitated document sync and record share stage, like Dropbox, Microsoft OneDrive, and Google Drive. ownCloud is extensible through applications and has work area and portable customers for every significant stage.
In this instructional exercise, we'll tell you the best way to introduce and arrange ownCloud with Apache on a Ubuntu 18.04 machine.
You'll should be signed in as a client with sudo admittance to have the option to introduce bundles and arrange framework administrations.
Creating a MySQL Database
ownCloud can utilize SQLite, Oracle 11g, PostgreSQL and MySQL information base to store all its setup.
We will utilize MySQL as an information base back-end.
On the off chance that MySQL or MariaDB isn't introduced on your Ubuntu worker you can introduce by following one of the aides beneath:
- Introduce MySQL on Ubuntu 18.04
- Introduce MariaDB on Ubuntu 18.04
Start by login into the MySQL shell by composing the accompanying order:
From inside the MySQL shell, run the accompanying SQL proclamation to make an information base :
CREATE DATABASE owncloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
Next, make a MySQL client record and award admittance to the information base:
GRANT ALL ON owncloud.* TO 'ownclouduser'@'localhost' IDENTIFIED BY 'change-with-strong-password';
At last, leave the mysql reassure by composing:
Installing PHP and Apache
ownCloud is a PHP application. PHP 7.2, which is the default PHP in Ubuntu 18.04 , is completely upheld and suggested for ownCloud.
Introduce Apache and all necessary PHP expansions utilizing the accompanying order:
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: Configuring Firewall
Expecting you are utilizing UFW to deal with your firewall, you'll have to open HTTP (80) and HTTPS (443) ports. You can do that by empowering the 'Apache Full' profile which incorporates rules for the two ports:
sudo ufw allow 'Apache Full'
At the hour of composing this article, the most recent stable form of ownCloud is rendition 10.3.2. Prior to proceeding with the following stage, visit the ownCloud download page and check if there is another rendition of ownCloud accessible.
Utilize the accompanying wget order to download the ownCloud zip file:
wget https://download.owncloud.org/community/owncloud-10.3.2.zip -P /tmp
Once the download is finished, extricate the file to the/var/www registry:
sudo unzip /tmp/owncloud-10.3.2.zip -d /var/www
Set the right possession so the Apache webserver can have full admittance to the ownCloud's documents and indexes.
sudo chown -R www-data: /var/www/owncloud
Step 5: Configuring Apache
Open your content tool and make the accompanying Apache design document.
sudo nano /etc/apache2/conf-available/owncloud.conf
Alias /owncloud "/var/www/owncloud/"
SetEnv HOME /var/www/owncloud
SetEnv HTTP_HOME /var/www/owncloud
Empower the recently added design and all necessary Apache modules with:
sudo a2enconf owncloud
sudo a2enmod rewrite
sudo a2enmod headers
sudo a2enmod env
sudo a2enmod dir
Initiate the progressions by restarting Apache administration:
sudo systemctl reload apache2
Step 6: Installing ownCloud
Since ownCloud is downloaded, and the important administrations are arranged open your program and start the ownCloud establishment by visiting your worker's space name or IP address followed by/owncloud :
You will be given the ownCloud arrangement page.
Enter your ideal administrator username and secret key and the MySQL client and information base subtleties you recently made.
Snap on the Finish arrangement button. When the establishment cycle is finished, you will be diverted to the ownCloud dashboard signed in as administrator client.
You have figured out how to introduce and design ownCloud on your Ubuntu 18.04 machine. In the event that you have a space name related with your ownCloud worker, you should protect your Apache with a free Let's Encrypt SSL testament.
To discover more data about how to deal with your ownCloud example, visit the ownCloud documentation page.
On the off chance that you have any inquiries, it would be ideal if you leave a remark underneath.
In this section, we will concentrate to produce a simple converse communication withsocket.io in Angular. Then we will be developing a converse ope...
The GNU Compiler Collection (GCC) is an assortment of compilers and libraries for C, C++, Objective-C, Fortran, Ada, Go , and D programming dialect...
The documents in the Git working registry can be either followed or unmanaged. Followed documents are the ones that have been added and subm...
Gradle is an open-source fabricate robotization framework utilized essentially for Java ventures. It consolidates the best highlights of Ant and Ma...
Pip is a bundle the board framework that permits you to introduce Python bundles. With pip, you can introduce bundles from the Python Package Index...
Django is the most famous Python web structure intended to assist engineers with building secure, adaptable and viable web applications. Dja...
MySQL permits you to make different client records and award fitting advantages so the clients can associate and oversee information bases. ...
Skype is one of the most well known correspondence applications on the planet. It is cross-stage, accessible on Windows, Linux, and macOS. With Sky...
The Domain Name System (DNS) is a focal piece of the web's framework, giving an approach to make an interpretation of space names into IP addre...
With regards to moving documents between frameworks on the organization, Linux and Unix clients have a great deal of devices available to them.&nbs...
Apache Tomcat is an open-source application worker that upholds Java Servlet, JavaServer Pages, Java Expression Language, and Java WebSocket advanc...
I'll explain step by step tutorial how to produce angular 8 toaster oven announcements. it's simple illustration of how to use toaster oven...
phpMyAdmin is a free, open-source PHP based application intended to rearrange the organization of MySQL and MariaDB workers over an electronic inte...
When working with records in Python, you will regularly need to add new components to the rundown. The Python list information type has thre...
Python is one of the most well known programming dialects on the planet. It is utilized for creating sites, composing contents, AI, investigating i...
Organization File System (NFS) is a disseminated record framework convention that permits you to share distant registries over an organization. Wit...
SFTP (SSH File Transfer Protocol) is a protected document convention that is utilized to get to, oversee, and move records over an encoded SSH tran...
It'll be useful on some occasions to inform the web or mobile operation stoner whether he she has connected to a live internet connection or no...