Settings

Locations of data and config

  • I moved the cloud data from /home/cloud to /data
  • I moved the mysql data directory from default /var/lib/mysql to /data/mysql. Change the path in /etc/mysql/my.cnf.

PHP5

I defined the date settings as follows:

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Seoul

; http://php.net/date.default-latitude
date.default_latitude = 37.48335

; http://php.net/date.default-longitude
date.default_longitude = 127.00251

; http://php.net/date.sunrise-zenith
date.sunrise_zenith = 90.83333

; http://php.net/date.sunset-zenith
date.sunset_zenith = 90.83333

See What is "Zenith" and how to calculate it