- echo deb http://ftp.us.debian.org/debian/14 jessie main >> /etc/apt/sources.listapt-get update
apt-get install php5 php5-gd
service apache2 restart
apt-get install php5-mcrypt php5-imagick
/etc/init.d/apache2 restart
nano /etc/php5/apache2/php.ini
Ctrl + w
and type ‘timezone’
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone5
date.timezone = Asia/Seoul
——————————————————————————
and type like above
Ctrl + O , enter, Ctrl + W
/etc/init.d/apache2 restart
> /etc/apt/sources.list
echo deb http://ftp.us.debian.org/debian/ wheezy main >> /etc/apt/sources.list
apt-get update
- install owncloud (refer : http://community.wd.com/t5/My-Book-Live/GUIDE-Installing-OwnCloud-Server-on-My-Book-Live/m-p/561699)cd /var/www/htdocs
wget https://download.owncloud.com/download/community/setup-owncloud.php6 –no-check-certificate
nano setup-owncloud.php
line 137, 139
need to change true to false
curl_setopt($ch, CURLOPT_CERTINFO, TRUE );
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE );
->
curl_setopt($ch, CURLOPT_CERTINFO, FALSE );
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE );
Ctrl + O , enter, Ctrl + W
chmod 755 setup-owncloud.php
chgrp www-data /var/www/htdocs
chmod g+w /var/www/htdocs
and web browser : http://MC_IP/setup-owncloud.php