1. 网站域名更改为:
    https://www.openos.org
  2. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

Synology DSM配置/执行/日志文件目录

本帖由 osx2017-04-21 发布。版面名称:群晖 Synology DSM

  1. osx

    osx 管理员 管理成员

    注册:
    2017-03-30
    帖子:
    743
    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

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


    https://amigotechnotes.wordpress.com/2014/02/22/synology-dsm-configuration-and-executable-files/