2017年07月10日

ownCloud






sudo vi /var/www/html/owncloud/config/config.php

'trusted_domains' => 
 array (
   0 => 'localhost', 
   1 => '192.168.0.x',
   2 => 'hoge.hoge.com',
),


vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp

/etc/init.d/iptables restart

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/isv:ownCloud:community/CentOS_CentOS-6/isv:ownCloud:community.repo

yum install owncloud mysql-server
chkconfig httpd on
chkconfig mysqld on
service httpd start
service mysqld start


 yum -y install epel-release

 cd /etc/yum.repos.d

 yum -y --enablerepo=remi,remi-php56 install owncloud mysql-server php-mysql


yum install owncloud mysql-serverchkconfig httpd onchkconfig mysqld onservice httpd startservice mysqld start

yum install owncloud mysql-server

chkconfig httpd on
chkconfig mysqld on
service httpd start
service mysqld start

sudo gedit /etc/httpd/conf.d/owncloud.conf

mysql -u root -p
mysql> CREATE DATABASE owncloud;
mysql> GRANT ALL ON owncloud.* to 'owncloud'@'localhost' IDENTIFIED BY 'owncloud';
mysql>FLUSH PRIVILEGES;
 
ln -s /etc/httpd/conf.d/owncloud-access.conf.avail /etc/httpd/conf.d/z-owncloud-access.conf


sudo gedit /etc/owncloud/config.php
'trusted_domains' =>
  array (
    0 => '192.168.24.57',
    1=> '192.168.24.56',
   2 => 'localhost',
  ),


apach
 yum list installed | grep httpd



*my.cnf設定
find /* -name my*.cnf
cp -p /etc/my.cnf /etc/my00cnf.org
vi /etc/my.cnf

*文字コード確認
Show variables like 'character_set%';
ンストール確認
rpm -qa | grep mysql
mysql --version

posted by a23 at 14:18| Comment(0) | クラウドサービス
この記事へのコメント
コメントを書く
お名前:

メールアドレス:

ホームページアドレス:

コメント: