Synology: Difference between revisions
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 8: | Line 8: | ||
== Database engine of choice == | == Database engine of choice == | ||
I | I wanted to use PostgreSQL but can't get it to work with owncloud. I tried and tried and gave up. Owncloud does not appear to be sending the username to postgres. I dropped back to Mariadb | ||
Configuration files for postgresql are in | Configuration files for postgresql are in | ||
/etc/postgresql/ | '''/etc/postgresql/''' Use a HUP to reconfigure it. '''killall -1 /usr/bin/postgres''' | ||
== NGINX == | |||
I touched the nginx configuration and ended up breaking the DSM app. I backed out my changes. | |||
I created a virtualhost. The configuration for it is in | |||
== Packages == | == Packages == | ||
Do not install '''WebStation'''! It pulls in Apache. I don't want it hanging around. | |||
Likewise skip '''phpMyadmin''' because it pulls in WebStation. | |||
VPN | VPN | ||
Line 25: | Line 30: | ||
* redis -- http://www.iholken.com/index.php/2016/03/16/install-redis-server-and-phpredis-extension-into-synology-nas-running-dsm-6-without-bootstrapping/ | * redis -- http://www.iholken.com/index.php/2016/03/16/install-redis-server-and-phpredis-extension-into-synology-nas-running-dsm-6-without-bootstrapping/ | ||
* MariaDB | * MariaDB | ||
* debian chroot | * debian chroot | ||
Revision as of 05:02, 19 November 2016
Enabled SSH Server Created Trailpeople Group used TrailPeople gmail account to enable email
I am getting the impression that the management engine (DSM) is running in nginx on port 5000 and that I want to use Apache to support owncloud.
Database engine of choice
I wanted to use PostgreSQL but can't get it to work with owncloud. I tried and tried and gave up. Owncloud does not appear to be sending the username to postgres. I dropped back to Mariadb
Configuration files for postgresql are in /etc/postgresql/ Use a HUP to reconfigure it. killall -1 /usr/bin/postgres
NGINX
I touched the nginx configuration and ended up breaking the DSM app. I backed out my changes. I created a virtualhost. The configuration for it is in
Packages
Do not install WebStation! It pulls in Apache. I don't want it hanging around. Likewise skip phpMyadmin because it pulls in WebStation.
VPN
Enable Synocommunity, https://synocommunity.com/
for owncloud, install
- redis -- http://www.iholken.com/index.php/2016/03/16/install-redis-server-and-phpredis-extension-into-synology-nas-running-dsm-6-without-bootstrapping/
- MariaDB
- debian chroot
I download from owncloud.org because the version in packages is outdated.
wget https://download.owncloud.org/community/owncloud-9.1.2.tar.bz2
Debian packages
sudo -s sudo /var/packages/chroot/scripts/start_stop_status chroot apt-get update apt-get install locales dpkg-reconfigure locales dpkg-reconfigure tzdata apt-get install php5-dev apt-get install php5-redis