• owncloud


    owncloud
    https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/

    [root@n1 ~]# rpm -Uvh ius-release-1.0-14.ius.centos6.noarch.rpm epel-release-6-5.noarch.rpm
    [root@n1 ~]# yum search php54
    [root@n1 ~]# yum install php54 -y 
    [root@n1 ~]# yum install php54-mysql php54-mbstring php54-gd php54-dom -y
    [root@n1 ~]# vim /etc/httpd/conf/httpd.conf 
    ServerName n1:80
    [root@n1 ~]# service httpd start
    [root@n1 ~]# service mysqld start
    [root@n1 ~]# mysqladmin -u root password yanjin
    [root@n1 ~]# mysql -uroot -pyanjin
    mysql> CREATE DATABASE owncloud;
    mysql> GRANT ALL ON owncloud.* to 'owncloud'@'localhost' IDENTIFIED BY 'owncloudpw';
    Query OK, 0 rows affected (0.17 sec)

    mysql> exit
    Bye
    [root@n1 ~]# chkconfig httpd on
    [root@n1 ~]# chkconfig mysqld on
    [root@n1 ~]# cd /var/www/html
    [root@n1 html]# wget http://download.owncloud.org/community/owncloud-7.0.3.tar.bz2
    [root@n1 html]# tar -jxvf owncloud-7.0.3.tar.bz2 
    [root@n1 html]# chown apache:apache -R owncloud
    [root@n1 html]# cp -a owncloud /home/owncloud/
    [root@n1 html]# vim /var/www/html/owncloud/config/config.php
    'trusted_domains' => array('192.168.120.137', '10.6.3.41'),
      'trusted_domains' => array('192.168.120.137'),

      'datadirectory' => '/var/www/html/owncloud/data',
      'datadirectory' => '/home/owncloud/owncloud/data/',

    chown apache:apache -R /home/owncloud/

    [root@n1 ~]# service httpd restart
    http://localhost/owncloud
    http://192.168.120.137/owncloud





  • 相关阅读:
    YII2 Gridview 批量删除
    YII2 的复杂查询的一个例子
    Service.properties参数详解
    Kafka安装
    Zookeeper集群安装
    Kafka partition 副本迁移与broker上下线
    副本和分区状态机
    Controller机制
    replica副本同步机制
    Server端处理fetchRequest请求
  • 原文地址:https://www.cnblogs.com/sanyuanempire/p/6163902.html
Copyright © 2020-2023  润新知