How to Install and Configure ownCloud on CentOS 8
ownCloud is an open-source, self-facilitated cloud stage for overseeing and sharing records. It very well may be utilized as an option in contrast to Dropbox, Microsoft OneDrive, and Google Drive. ownCloud is extensible by means of applications and has work area and versatile customers for every single significant stage.
This instructional exercise discloses how to introduce and design ownCloud with Apache on CentOS 8.
Before proceeding with the means beneath, if it's not too much trouble guarantee that the accompanying essentials are met:
Signed in as root or client with sudo access .
You have MariaDB , Apache , and PHP 7.2 or 7.3 introduced on your framework.
ownCloud upholds SQLite, Oracle 12g, PostgreSQL 9 , MariaDB and MySQL . We will utilize MariaDB as an information base back-end.
Login in to the MariaDB shell by composing:
Run the accompanying SQL proclamation to make another information base :
CREATE DATABASE owncloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
Make another information base client and award admittance to the information base:
GRANT ALL ON owncloud.* TO 'ownclouduser'@'localhost' IDENTIFIED BY 'change-with-strong-password';
When done, leave the MariaDB support by composing:
Installing Apache and PHP Modules
ownCloud is a PHP application. CentOS 8 boats with PHP 7.2, which is upheld by ownCloud, however their official documentation suggests PHP 7.3.
Run the accompanying order to introduce all necessary PHP expansions:
sudo dnf install php php-curl php-gd php-intl php-json php-ldap php-mbstring php-mysqlnd php-xml php-zip php-opcache
Load the new modules by restarting the FPM service:
sudo systemctl restart php-fpm
At the hour of composing this article, the most recent stable rendition of ownCloud is form 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 document:
wget https://download.owncloud.org/community/owncloud-10.3.2.tar.bz2 -P /tmp
sudo tar jxf /tmp/owncloud-10.3.2.tar.bz2 -C /var/www
Set the right possession with the goal that the Apache webserver can have full admittance to the ownCloud's records and registries.
sudo chown -R apache: /var/www/owncloud
On the off chance that SELinux is running on your framework, you'll have to refresh the SELinux security setting:
sudo chcon -tR httpd_sys_rw_content_t /var/www/owncloud
Open your content manager and make the accompanying Apache setup record.
sudo nano /etc/httpd/conf.d/owncloud.conf
Alias /owncloud "/var/www/owncloud/" <Directory /var/www/owncloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/owncloud SetEnv HTTP_HOME /var/www/owncloud </Directory>
Restart the Apache administration to actuate the changes:
sudo systemctl restart httpd
Since ownCloud is downloaded, and the 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.
In the event that you can't get to the page, at that point presumably your firewall is hindering port 80 or 443.
Utilize the accompanying orders to open the essential port:
sudo firewall-cmd --zone=public --add-port=80/tcp sudo firewall-cmd --zone=public --add-port=443/tcp sudo firewall-cmd --runtime-to-permanent
Enter your ideal administrator username and secret word 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 CentOS 8 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 declaration.
To discover more data about how to deal with your ownCloud occasion, visit the ownCloud documentation page.
In the event that you have any inquiries, if it's not too much trouble leave a remark beneath.
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...
Boa constrictor is a mainstream Python/R information science and AI stage, utilized for enormous scope information handling, prescient examination,...
Nextcloud is an open-source, self-facilitated record offer and cooperation stage, like Dropbox. It comes packaged with media player, schedule and c...
Arranger is a reliance chief for PHP (like npm for Node.js or pip for Python ). With Composer, you can determine the PHP libraries your vent...
Mono is a stage for creating and running cross-stage applications dependent on the ECMA/ISO Standards. It is a free and open-source execution of Mi...
When introducing bundles utilizing the Ubuntu Software Center or the order line utilities, for example, able or adept get the bundles are downloade...
While working with any technology, We need to interact with a file system by creating a new file, adding content, and deleting it. With NodeJS work...
While working with NodeJS, We may need to work with the original JSON file. In this composition, We'll see writing data to a original JS...
Today, I'm going to produce a sample operation to show how to use original JSON file in Angular operation. There area colorful way we can use o...
As Developer, We should be apprehensive of all the ways to do a task, So we can perform the job moreeffeciently.However, including If we talk...
In this composition, We'll see how to display a simple table, listing with Array of Objects and nesting list inReact.js. This composition is su...
FTP (File Transfer Protocol) is a standard organization convention used to move documents to and from a far off organization. For safer and quicker...
An emblematic connection, otherwise called a symlink, is a unique kind of record that focuses to another document or registry. It is something like...
Minecraft is one of the most mainstream rounds ever. It is a sandbox computer game where players investigate endless universes and fabricate variou...
The hostname is set during the establishment of the working framework or powerfully relegated to the virtual machine when it is made. This g...
On Linux and UNIX working frameworks, you can utilize the mount order to append (mount) document frameworks and removable gadgets, for example, USB...
A Virtual Host is an Apache arrangement mandate that permits you to run more than one site on a solitary worker. With Virtual Hosts, you can indica...
Boa constrictor is the most mainstream python information science and AI stage, utilized for huge scope information handling, prescient investigati...