Install ownCloud 10 on Fedora 32

Step 1- Set up LAMP

Before installation, we first need to set up a running LAMP server. If you are already running the LAMP stack, please skip this step, otherwise use the following command to set up the LAMP stack.

Install Apache

# dnf install httpd

# systemctl enable httpd.service

# systemctl start httpd.service

Install MariaDB

# dnf install mariadb-server

# systemctl enable mariadb.service

# systemctl start mariadb.service

# /usr/bin/mysql_secure_installation

Install PHP

# dnf install php php-common php-mysqlnd php-xml php-json php-gd php-mbstring

# systemctl restart httpd

Step 2- Download the ownCloud archive

After successfully configuring the bulb server on the system, let us download the latest ownCloud  from its official website .

# cd / var / www / html

# wget https://download.owncloud.org/community/owncloud-10.5.0.tar.bz2

Now, extract the downloaded archive under the root directory of the website document, and set appropriate permissions on the files and directories.

# tar xjf owncloud-10.5.0.tar.bz2

# chown -R apache.apache owncloud

# chmod -R 755 owncloud

Now, delete the archive file.

# rm -f owncloud-10.5.0.tar.bz2

Step 4- Create MySQL database and user

After extracting the code, let's create a MySQL database and user account for configuring ownCloud . Use the following command set to log in to the MySQL server and create a database and user.

# mysql -u root -p

Enter password:

 

mysql> CREATE DATABASE owncloud;

mysql> GRANT ALL ON owncloud.* to 'owncloud'@'localhost' IDENTIFIED BY 'owncloud';

mysql> FLUSH PRIVILEGES;

mysql> quit

The first 5 steps - using the Web Installer to install ownCloud

Now, access the ownCloud directory in the web browser as shown below . The localhost change your server IP address or domain name.

http://localhost/owncloud/

Enter the new administrator credentials to create an administrator account and provide the location of the data folder.

Now scroll down the page and enter the database credentials, then click Finish Setup .

After completing the settings, you will get a management dashboard. You can create users in it, assign permissions to groups, etc.

 

 

Guess you like

Origin blog.csdn.net/allway2/article/details/109310334