CentOS   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了centos6搭建私有云大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

网盘,又叫“云存储”。国内的有百度云、华为网盘等。云,分公有云和私有云以及混合云。   实验环境 centos6.9_x64   实验软件 latest.rpm owncloud-7.0.2.tar.bz2   软件安装 wget http://mirror.webtatic.com/yum/el6/latest.rpm   rpm -ivh latest.rpm yum clean all yu

网盘,又叫“云存储”。国内的有百度云、华为网盘等。云,分公有云和私有云以及混合云。

实验环境

centos6.9_x64

实验软件

latest.rpm

owncloud-7.0.2.tar.bz2

软件安装

wget http://mirror.webtatic.com/yum/el6/latest.rpm

rpm -ivh latest.rpm

yum clean all

yum makecache -y

yum -y install httpd MysqL MysqL-server

yum -y install httpd-manual mod_ssl mod_perl mod_auth_MysqL

yum -y install PHP55w PHP55w-bcmath PHP55w-cliPHP55w-common PHP55w-develPHP55w-fpm PHP55w-gd PHP55w-imap PHP55w-ldap PHP55w-mbString PHP55w-mcryptPHP55w-MysqL PHP55w-odbc PHP55w-pdoPHP55w-pearPHP55w-pecl-igbinary PHP55w-xmlPHP55w-xmlrpc PHP55w-opcache PHP55w-intl PHP55w-pecl-memcache

service MysqLd restart

MysqLadmin -uroot password 数据库密码

MysqL -uroot -p数据库密码

Welcome to the @L_803_2@monitor. Commands end with ; or \g.

Your MysqL connection idis 3

Server version: 5.1.73source diStribution

Copyright (C) 2000,2013,Oracle and/or its affiliates. All rights reserved.

Oracle is a registeredTrademark of Oracle Corporation and/or its

affiliates. Other namesmay be Trademarks of their respective

owners.

Type 'Help;' or '\h' forHelp. Type '\c' to clear the current input statement.

MysqL>

vim /etc/httpd/conf/httpd.conf

#ServerNamewww.example.com:80

ServerName *:80

#AddTypeapplication/x-tar .tgz

#AddTypeapplication/x-tar .tgz

AddType application/x-tar.tgz

AddType application/x-httpd-PHP .PHP

<Directory />

Options FollowSymLinks

AllowOverride None

</Directory>

<Directory />

Options FollowSymLinks

AllowOverride All

</Directory>

touch /var/www/html/test.PHP

vim /var/www/html/test.PHP

<?PHP

PHPinfo();

?>

service httpd restart (生产环境建议使用reload)

MysqL -uroot -p数据库密码

MysqL> createdatabase ownclouddb;

Query OK,1 rowaffected (0.00 seC)

MysqL> GRANT ALL ONownclouddb.* TO ownclouduser@localhost IDENTIFIED BY '123456'; 123456数据库密码

Query OK,0 rowsaffected (0.01 seC)

MysqL> flushprivileges;

Query OK,0 rowsaffected (0.00 seC)

MysqL -uownclouduser -p数据库密码

Welcome to the @L_803_2@monitor. Commands end with ; or \g.

Your MysqL connection idis 5

Server version: 5.1.73source diStribution

Copyright (C) 2000,Oracle and/or its affiliates. All rights reserved.

Oracle is a registeredTrademark of Oracle Corporation and/or its

affiliates. Other namesmay be Trademarks of their respective

owners.

Type 'Help;' or '\h' forHelp. Type '\c' to clear the current input statement.

MysqL>


http://192.168.1.128/test.PHP


centos6搭建私有云

tar xvf owncloud-7.0.2.tar.bz2

@H_446_31@mv owncloud /var/www/html/

chown -R apache:apache /var/www/html/owncloud/

chmod -R 777 /var/www/html/owncloud/

http://服务器ip/owncloud/


centos6搭建私有云


centos6搭建私有云


centos6搭建私有云


centos6搭建私有云

大佬总结

以上是大佬教程为你收集整理的centos6搭建私有云全部内容,希望文章能够帮你解决centos6搭建私有云所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。