Thecus ThecusOS6 Configuration and Executable Files


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

Configurations

Build-in

httpd.conf
/etc/httpd/conf/httpd.conf
my.cnf
/etc/my.cnf
* Reboot NAS to take effect.
php.ini /etc/php.ini
php extension /etc/php.d/*.ini
/usr/lib/php/modules

Enable Apache 2.2.x + PHP 5.5.x + MySQL 5.6.x Module

httpd.conf
/raid/module/apache/sys/etc/httpd.conf
my.cnf
/raid/module/MySQL/bin/BIN/my.cnf
* Reboot NAS to take effect.
php.ini /raid/module/apache/sys/etc/php.ini
php extension /raid/data/module/apache/sys/lib/extensions

Executable

Build-in

apache /etc/rc.d/init.d/httpd
/usr/sbin/httpd
* httpd [-k start|restart|graceful|graceful-stop|stop]
iptables
iptables-save
iptables-restore

/sbin/iptables
/sbin/iptables-save
/sbin/iptables-restore
mysql /usr/bin/mysql
localhost
default_sock = /var/lib/mysql/mysql.sock
data in /var/lib/mysql
mysqld /usr/libexec/mysqld
php cli
/use/bin/php

Enable Apache 2.2.x + PHP 5.5.x + MySQL 5.6.x Module

apache /raid/module/apache/sys/bin/httpd
* httpd [-k start|restart|graceful|graceful-stop|stop]
memcached /raid/module/apache/sys/bin/memcached
mysql /raid/module/MySQL/bin/BIN/bin/mysql
127.0.0.1
default_sock = /tmp/mysql56.sock
data in /raid/MYSQL_DB
php cli
/raid/module/apache/sys/bin/php

Log Files

Build-in

apache access
apache error
/var/log/httpd/access_log
/var/log/httpd/error_log

Enable Apache 2.2.x + PHP 5.5.x + MySQL 5.6.x Module

apache access
apache error
/raid/data/module/apache/sys/var/logs/access_log
/raid/data/module/apache/sys/var/logs/error_log

Other Files

Build-in

apache modules /etc/httpd/modules/
php extensions /usr/lib/php/modules
session files /tmp
* begin with sess_
shared folder /raid
web pages /var/www/html/htdocs
Owner: root
Port: 80

Enable Apache 2.2.x + PHP 5.5.x + MySQL 5.6.x Module

apache modules  /raid/data/module/apache/sys/lib
php extensions /raid/data/module/apache/sys/lib/extensions
session files /tmp
* begin with sess_
shared folder /raid
web pages /raid/htdocs
/raid/data/htdocs
Owner: root
Port: 88

Notes

  1. Must enable SSH service in [Control Panel] →[Network Service]→[SSH]
  2. When use ssh to login, use ssh root@[IP] or some files won’t be executable or editable.
  3. Build-in MySQL and phpMyAdmin default account is root, password is blank/empty.
  4. In MySQL_5.6.17.0_Apache 2.2.x_x86_OS6.mod, MySQL and phpMyAdmin default account is root, password is thecus.

Reference

Advertisements

2 thoughts on “Thecus ThecusOS6 Configuration and Executable Files

  1. Hi Amigo, you’d better use third party modules which are more complete, last Apache 2.2.27 embed PHP 5.5.11 (fully customisable) and PHP 5.6.17 with phpmyadmin is also available. if you use native mySQL and php you will encounter many limitation this with OS6 and OS5 😉

    Liked by 1 person

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