Asustor ADM Configuration and Executable Files


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

Configurations

apache2.conf /volume0/usr/builtin/etc/apache2/apache2.conf
apc.ini /volume0/usr/builtin/etc/php5/conf.d/apc.ini
iptables.conf
iptables.allow
iptables.deny
/volume0/usr/builtin/etc/iptables/iptables.conf
/volume0/usr/builtin/etc/iptables/iptables.allow
/volume0/usr/builtin/etc/iptables/iptables.deny
my.cnf /volume0/usr/builtin/etc/mysql/my.cnf
php.ini /volume0/usr/builtin/etc/php5/apache2/php.ini
/usr/local/AppCentral/php/etc/php5/apache2/php.ini (PHP 5.5.3 R2)
smb.conf /volume0/usr/builtin/etc/samba/smb.conf

Executable

apache /volume0/usr/builtin/etc/init.d/S54apache2
/volume0/usr/builtin/sbin/apache2
ipkg /opt/bin/ipkg
Use with root
Usage:
ipkg install [package name]
ipkg remove [package name]
iptables /volume0/usr/builtin/sbin/iptables
memecached /volume0/usr/builtin/bin/memcached
mysql /volume0/usr/builtin/etc/init.d/S55mysql
/volume0/usr/builtin/sbin/mysqld
mysql shell /volume0/usr/builtin/bin/mysql
php cli
/volume0/usr/builtin/bin/php

Log Files

apache error /volume0/usr/builtin/var/log/apache2/error_log

Other Files

apache modules /volume0/usr/builtin/etc/apache2/mods-available/
/volume0/usr/builtin/etc/apache2/mods-enabled/
boot auto execute scripts /volume0/usr/builtin/etc/init.d/
/volume0/usr/builtin/etc/script/
php modules /volume0/usr/builtin/lib/php/20090626/
/volume1/.@plugins/AppCentral/php/lib/php/20121212/ (PHP 5.5.3 R2)
/usr/local/AppCentral/php/lib/php/20121212/ (PHP 5.5.3 R2)
session files /tmp
web pages /volume1/Web/
Owner: admin

Notes

  1. When use ssh to login, use ssh root@[IP] or some files won’t be executable or editable.
  2. The web admin must be login with port 8000 by default.

Reference

  1. Asustor ADM

10 thoughts on “Asustor ADM Configuration and Executable Files

  1. Beware, the configuration files in /volume0 are backups in case a factory reset is done. The running configuration can be found in /usr (for example, MySQL’s my.cnf can be found in /usr/builtin/etc/mysql/my.cnf)

    Liked by 1 person

    • Actually, some user settings are stored in the /volume0 tree. Also, quite a few files in /, /etc and /usr are actually symlinks to their /volume0 counterpart; for instance /etc/nas.conf is symlinked to volume0/etc/nas.conf which holds the ‘settings’ done via the ADM GUI.

      If you try ‘ls -la /usr’ you’ll see that /usr/builtin is actually symlinked to /volume0/usr/builtin. So your example /usr/builtin/etc/mysql/my.cnf is actually /volume0/usr/builtin/etc/mysql/my.cnf.

      Rather than considering /volume0 a “backup” it is better considered as the non-volatile part of the running system: the settings and configuration stored there will be preserved across a reboot.

      Liked by 1 person

      • Dear Marjolein,

        Thank you for sharing this with us. It helps to learn more about these configuration files. 🙂

        Have a nice day!

        Best regards,

        Amigo

        Like

    • Dear Deli,

      It is still in beta. Many libraries are still not available yet. I do have problem with the new APCu library last time.

      Have a nice day!

      Best regards,

      Amigo

      Like

  2. Hi, I’m trying to edit the /volume0/usr/builtin/etc/apache2/error
    to change the standard 404 page but I really don’t know how to access to volume0.

    Can you please help me?
    (If it is possible I need a very very simple guide)
    Thanks

    Liked by 1 person

    • Dear Gianluigi Loffreda,

      You need to enable SSH login in ADM and use ssh command to login to your Asus NAS. You may google ssh for detail. You might need to install extra programs to use ssh in Windows.

      Once login, change directory and use vi to edit error page. You may google vi for related commands.

      Wish it helps!

      Best regards,

      Amigo

      Like

      • Really thanks Amigo, I’m trying to correctly edit my php.ini to make mail() function works under wordpress, using the mail server on the NAS but it seems not so easy as I hoped.
        Thanks.

        Liked by 1 person

      • Dear Gianluigi Loffreda,

        It’s not a good ideas to use QNAP as NAS due to its limited protection. It has TCP Wrapper but no iptable.

        Besides, mail is more complex than it used to be. You need to follow many different standard to keep you out from a black list.

        I suggest you use gmail as your mail server for testing. This is what I have done before.

        P.S. I manage Postfix on Linux about 15 years before. 🙂

        Have a nice day!

        Best regards,

        Amigo

        Like

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