We have successfully walked you through the process of installing OwnCloud on Rocky Linux and AlmaLinux. OwnCloud Dashboardįrom here, you can upload your files and folders share them, and collaborate with other users.Īnd that’s it. This ushers you to the OwnCloud dashboard. This takes you to the login page where you need to provide your Admin credentials. Then click on ‘ Storage & database’ and fill in the form with the database details (database user, database, and password). So browse the URL: This takes you to the initial stage where you are required to create an Admin account. The next step is to access Owncloud from the browser. $ sudo setsebool -P httpd_unified 1Īt this point, we are done with all the configurations. $ sudo systemctl status httpdįinally, configure SELinux as follows. $ sudo systemctl restart httpdĪnd verify that the webserver is running. Then restart the Apache webserver for the changes to be effected. Alias /owncloud "/var/www/html/owncloud/" $ sudo vim /etc/httpd/conf.d/nfĬopy and paste these lines and save the changes. The next course of action is to create a configuration file for OwnCloud. Step 4: Configure Apache to Host OwnCloud $ sudo chmod -R 775 /var/www/html/owncloud $ sudo chown apache:apache -R /var/www/html/owncloud Next, change ownership to the OwnCloud directory to Apache user. Moving on, extract the downloaded archive file to the webroot directory. Using the wget command, download the tarball file as follows. With the database in place, head over to OwnCloud’s download page and copy the link to the latest archive file. FLUSH PRIVILEGES Ĭreate OwnCloud Database Step 3: Install OwnCloud in Rocky Linux GRANT ALL ON owncloud_db.* TO save the changes and exit from the database server. Then assign all privileges to the database user on the OwnCloud database. Next, create an OwnCloud database user and assign a password. In our example, the database is called owncloud_db. Inside the MariaDB prompt, create the OwnCloud database. So proceed and login to the MariaDB database server: $ sudo mysql -u root -p This will be helpful during and after the installation to store crucial files. Moving on, you need to create a database for OwnCloud. Install PHP Modules Step 2: Create a Database for OwnCloud $ sudo dnf install php-curl php-gd php-intl php-json php-ldap php-mbstring php-mysqlnd php-xml php-zip php-opcache Be sure to substitute PASSWORD with your own password: GRANT ALL ON ownclouddb. OwnCloud now includes support for PHP 7.4 as opposed to before when it was only compatible with PHP 7.2 and PHP 7.3.įor the installation to proceed without any issues, some additional PHP modules are required. create your ownCloud database: CREATE DATABASE ownclouddb Create a new user with the necessary privileges, including a strong and unique password. Step 1: Install Additional PHP ExtensionsĪs we get started, we hope that you already have the LAMP stack installed. SSH access to the Rocky Linux instance with a sudo user configured.An instance of LAMP stack installed on Rocky Linux or AlmaLinux.Before anything else, ensure that you have the following in place:
0 Comments
Leave a Reply. |