Build an online storage server on 64-bit centos 6.5

Source: Internet
Author: User
Tags owncloud

Build an online storage server on 64-bit centos 6.5

Network Disk, also known as cloud storage ". Baidu cloud and online storage are available in China.
Cloud: divided into public and private clouds and hybrid clouds.
I am introducing the use of open source software ownCloud to build my own private cloud.
My environment: centos 6.5 64bit
Install the basic LAMP environment with yum:
Yum-y install httpd mysql-server
Yum-y install httpd-manual mod_ssl mod_perl mod_auth_mysql
Because the latest version owncloud-7.0.2.tar.bz2 requires php versions later than 5.3.8, centos 6.5 64bit is 5.3.3 by default, so you need to change the Yum Source
Rpm-Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
Install php5.5 and extensions
Yum install php55w php55w-bcmath php55w-cli php55w-common php55w-devel php55w-fpm php55w-gd php55w-imap php55w-ldap php55w-mbstring php55w-mcrypt php55w-mysql php55w-odbc php55w-pdo php55w-pear php55w-pecl-igbinary
Start httpd and mysqld
/Etc/init. d/httpd start
/Etc/init. d/mysqld start
Create a database named 'ownerclouddb' and Database User 'ownerclouduser' and whose password is 'Password '.
Mysql-uroot-p
Mysql> create database ownclouddb;
Mysql> grant all on ownclouddb. * TO ownclouduser @ localhost identified by 'Password ';
Download the latest owncloud version.
Wget http://download.owncloud.org/community/owncloud-7.0.2.tar.bz2
Decompress and Set permissions
Tar xvf owncloud-7.0.2.tar.bz2
Mv owncloud/var/www/html
Chown-R apache: apache/var/www/html/owncloud
Chmod 777/var/www/html/owncloud/config/
Enable apache rewrite Mode
Vi/etc/httpd/conf/httpd. conf
Search and modifyAllowOverride None isAllowoverride All
<Directory/>
Options FollowSymLinks
AllowOverride All
</Directory> restart httpd
/Etc/init. d/httpd restart
Owncloud starts installation and configuration. Open the web site in the browser and perform the installation steps:
Http: // ip address/owncloud/
To configure the database, click "Advanced" and select MySQL. Then, enter the MySQL database name ownclouddb, user name ownclouduser, and password.
Create an administrator account and enter the required username and password. Click "finish" to complete the installation process.
For example:

Installation is complete.

This is what my ownCloud interface looks like:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.