First, the environment to prepare, owncloud here is version 10.2.1, you need more than php5.6 LAMP environment, otherwise it will error, the article we have to teach you how to deploy the php7.1 LAMP environment, and will not repeat here long-winded

Second, deploy

# Download the installation package

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

# Extract to / var / www directory

tar axf owncloud-10.2.1.tar.bz2 -C /var/www/

# Create Data Directory

cd /var/www/owncloud
mkdir data

# Permissions, modification config, data, apps genus group and owner permissions

chown apache:apache config
chown apache:apache data
chown apache:apache apps 

Create a soft link into the html directory #

cd /var/www/html
ln -s ../owncloud/core

 # Create conf file

vi /etc/httpd/conf.d/owncloud.conf

    <Directory /var/www/owncloud>
    AllowOverride All
</Directory> Alias /owncloud /var/www/owncloud

 

# Account for the admin password for the root

#owncloud cloud object storage disk and S3 interface configuration ceph

 

 

 

 

# If the green circle indicates mount a successful display

 

 

# Upload directories and files to an external storage test