2012-02-11

slitaz -- tazpanel-2

Ref: http://alanyih.blogspot.com/2011/04/slitaz-tazpanel.html

1.
tux@slitaz:~$ tazpanel --help

Usage: tazpanel [start|stop|passwd]


2.
tux@slitaz:~$ cat /etc/slitaz/httpd.conf
H:/var/www/tazpanel
A:127.0.0.1
D:*
*.cgi:/bin/sh
I:index.cgi
/:root:root


3.
tux@slitaz:~$ ps ax | grep httpd
2093 www 0:00 /usr/sbin/httpd -u www
3583 root 0:00 httpd -p 82 -u root -c /etc/slitaz/httpd.conf -r TazPanel Authentication - Default: root:root
7020 tux 0:00 grep httpd
tux@slitaz:~$


4.
tux@slitaz:~$ cat /etc/slitaz/tazpanel.conf
# tazpanel.conf: SliTaz Web Control Panel configuration
#
# Copyright (C) 2011 SliTaz GNU/Linux - BSD License
#

# Panel location and theme
PANEL="/var/www/tazpanel"
STYLE="default"

# Absolute paths to images and xHTML skel from $PANEL
IMAGES="/styles/$STYLE/images"
HEADER="/styles/$STYLE/header.html"
FOOTER="/styles/$STYLE/footer.html"

# Display some debug messages
DEBUG="0"

# Activity log file
LOG_FILE="/var/log/tazpanel.log"

# Terminal settings
TERMINAL="xterm"
TERM_OPTS="-geometry 80x16-0+24 -bg black -fg white"

# Generic page loading message
LOADING_MSG="Loading..."

# Busybox HTTP daemon config
HTTPD_CONF="/etc/slitaz/httpd.conf"
HTTPD_PORT="82"

# Shared Tazpkg paths
LOCALSTATE="/var/lib/tazpkg"
INSTALLED="$LOCALSTATE/installed"
tux@slitaz:~$