You need to upgrade php pakages.
That makes stop dashboard’s emal alert.
So if you need email alert, can’t install owncloud.
-
php upgrade
/etc/apt/sources.list
echo deb http://ftp.us.debian.org/debian/ jessie main >> /etc/apt/sources.list
apt-get update
apt-get install php5 php5-gd
/etc/init.d/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.timezone
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.php --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
next
next
It takes time 5~10mins.
back to putty
nano /etc/apache2/sites-available/owncloud.conf
<Directory /var/www/htdocs/owncloud/>
AllowOverride All
Options +FollowSymLinks
</Directory>
<Directory /var/www/htdocs/owncloud/data>
Order deny,allow
Deny from all
</Directory>
Ctrl + O , enter, Ctrl + W
a2ensite owncloud
service apache2 reload
chmod g-w /var/www/htdocs
service apache2 stop
mv /var/www/htdocs/owncloud/data /DataVolume/owncloud_data
chgrp www-data /DataVolume/owncloud_data
chmod 770 /DataVolume/owncloud_data
ln -s /DataVolume/owncloud_data /var/www/htdocs/owncloud/data
service apache2 start
Back to browser and enjoy it.
-
remove owncloud
a2dissite owncloud
service apache2 reload
rm -rf /var/www/htdocs/owncloud
rm -rf /DataVolume/owncloud_data
and php downgrade - need to firmware upgrade.
That make intialize putty works.