![]() When prompted with Is this ok : message, type Y and press the ENTER key to authorize the installation. ![]() Next, use the curl command to download the ownCloud repository file: sudo curl -L -o /etc//ownCloud.repoĪfter adding the new file, use the clean command to make yum aware of the change: sudo yum clean expire-cacheĬleaning repos: base ce_stable extras updatesįinally, perform the installation of ownCloud using the yum utility and the install command: The key authorizes the package manager yum to trust the repository. To begin, import their release key with the rpm command. However, ownCloud maintains a dedicated repository for the distro. With ownCloud, you can have a secure and convenient way to store, share, and access your files and data from anywhere in the world.The ownCloud server package does not exist within the default repositories for CentOS. ![]() In conclusion, installing ownCloud 10 on CentOS/RHEL 9/8 is a straightforward process that requires basic Linux administration skills. You can now start uploading and sharing files and data with your own personal cloud server. OwnCloud DashboardĬongratulations! You have successfully installed ownCloud 10 on CentOS/RHEL 9/8. Where you can create a user, and groups, assigned them permissions, etc. Setup database credentialsĪfter completing the setup you will get the admin dashboard. Now slide your page down and input the database credentials and click on Finish Setup. owncloud/Įnter new admin credentials to create an admin account and provide the location of the data folder. Fill in the required information and click on the “Finish Setup” button. ![]() You will be prompted to enter the MariaDB database information and the admin account information. Open your web browser and visit the URL to access the ownCloud web interface. sudo systemctl restart httpd Step 6: Run ownCloud Web Installer Then restart the Apache service to reload the configuration file. This will allow us to access ownCloud as a sub-directory URL.Ĭreate and edit file: sudo vim /etc/httpd/conf.d/nf Now, create an Apache configuration file and set up owncloud alias. mysql -u root -pĬREATE DATABASE owncloud CREATE USER IDENTIFIED BY '_password_' GRANT ALL ON owncloud.* to FLUSH PRIVILEGES quit Step 5: Configure Apache Use the following set of commands to log in to the MySQL server and create a database and user. mkdir -p /var/owncloud/data sudo chown -R apache:apache /var/owncloud/owncloud sudo chmod -R 755 /var/owncloudowncloud Step 4: Create MySQL User and DatabaseĪfter extracting code, let’s create a MySQL database and user account for configuring ownCloud. So create a directory like below, and set proper permission to allow the webserver to write files. We suggest keeping this outside of the ownCloud application directory. OwnCloud keep its data under a separate directory. sudo tar xjf 2 sudo mv owncloud /var/www/ sudo chown -R apache:apache /var/www/owncloud sudo chmod -R 755 /var/www/owncloud Next, extract the downloaded archive under the website document root and set up appropriate permissions on files and directories. sudo dnf install php php-gd php-curl php-zip php-dom php-xml php-simplexml php-mbstring php-intl php-jsonĪfter successfully configuring the lamp server on your system, Let’s download latest ownCloud from its official website. Let’s start with the installation of PHP 5.6 or a higher version. Use this tutorial for the complete MySQL installation steps on CentOS 8. Install and Secure MariaDB: sudo dnf install mariadb-server sudo mysql_secure_installation.Install Apache2: sudo dnf install httpd.If you already have running LAMP stack skip this step else use the following commands to install it. To set up ownCloud you must have running LAMP server on your CentOS 8 system. A minimum of 1 GB of storage space is recommendedīefore installing any new software, it is recommended to update the system by running the following command: sudo yum update Step 2: Install Apache and MariaDB.A minimum of 2 GB of RAM is recommended.A server with CentOS/RHEL 9/8 installed and access to the root user or a user with administrative privileges.By following this guide, you can easily set up your own personal cloud server using ownCloud 10 and CentOS/RHEL 9/8. CentOS/RHEL 9/8 are popular Linux distributions that are widely used as a server operating systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |