Synology DSM Configuration and Executable Files


One of my problems on Synology DSM is to find files. Therefore, I will maintain and update this list regularly.

Configurations

httpd.conf
httpd.conf-user
/usr/syno/apache/conf/httpd.conf
/usr/syno/apache/conf/httpd.conf-user
apc.ini in extensions.ini and user-setting.ini
my-huge.cnf
my-innodb-heavy-4G.cnf
my-large-cnf
my-medium.cnf
my-small.cnf
/usr/syno/mysql/share/mysql/my-huge.cnf
/usr/syno/mysql/share/mysql/my-innodb-heavy-4G.cnf
/usr/syno/mysql/share/mysql/my-large.cnf
/usr/syno/mysql/share/mysql/my-medium.cnf
/usr/syno/mysql/share/mysql/my-small.cnf* copy to and rename /etc/my.cnf
** /usr/syno/etc/rc.d/S21mysql.sh restart
opcache.ini /etc/php/conf.d/opcache.ini (DSM 5.0)
php.ini /usr/syno/etc/php.ini (DSM 4.3)
/etc/php/php.ini (DSM 5.0)
php extension /usr/syno/etc/php/extension.ini
php user settings /usr/syno/etc/php/user-setting.ini

Executable

apache /usr/syno/etc/rc.d/S97apache-sys.sh
/usr/syno/apache/bin/httpd
ipkg
iptables
iptables-save
iptables-restore

/usr/syno/etc/rc.d/S01iptables.sh
/sbin/iptables
/sbin/iptables-save
/sbin/iptables-restore
mysql /usr/syno/etc/rc.d/S21mysql.sh
/usr/syno/mysql/bin/mysql
php cli
/volume0/usr/builtin/bin/php

Log Files

apache access
apache error
/var/log/access_log
/var/log/httpd-error-user.log
* Please modify httpd.conf-user as described in Enable Web Logs to enable.
** Enable error log by enabling “ErrorLog /var/log/httpd-error-user.log” and disabling “ErrorLog /dev/null”.
*** Enable access log by enabling and editing “CustomLog /var/log/access_log combined”.

Other Files

apache modules /usr/syno/apache/modules/
php extensions /usr/lib/php/extensions/
session files /var/spool/php
web pages /volume1/web/
/var/services/web
Owner: admin

Notes

  1. Must enable SSH service in [Control Panel] → [Terminal]
  2. When use ssh to login, use ssh root@[IP] or some files won’t be executable or editable.
  3. The web admin must be login with port 5000 by default.
  4. MySQL and phpMyAdmin default account is root, password is blank/empty.

Reference

  1. 陳彥宏:SYNOLOGY Diskstation DS110J mysql 取消名稱反查步驟
  2. Synology Forum: Modify my.in on MySQL
  3. Synology Forum: Enable Web Logs
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s