Hallo
Ab diesen Punkt komme ich nicht mehr weiter.
Code:
8a. Set the MySQL password, if not set:
# mysqladmin -u root password YOUR_PASSWORD
-bash: mysqladmin: command not found
NB: Was muss man genau hier ändern. Wie muss es nachher aussehen?
5. Open the ispcp.conf and make some changes.
You have to set up some configuration variables for your linux distribution.
ISPCP ω is preconfigurated for Debian 4.0 Etch.
If you're using another distribution please check, if config files exist in
./configs/dists and use/change them.
These are the Variables you have to look at:
SECONDARY_DNS =
MYSQL_PREFIX_TYPE = # '' for MYSQL_PREFIX = yes,
# infront or behind for MYSQL_PREFIX = no
Code:
#
# Misc config variables
#
BuildDate = 20080206
Version = 1.0.0 RC3 OMEGA
VersionH = 1.0 Priamos
DEFAULT_ADMIN_ADDRESS =
SERVER_HOSTNAME = debian
BASE_SERVER_IP = 127.0.0.1
BASE_SERVER_VHOST =
MR_LOCK_FILE = /var/run/ispcp.lock
#
# File system variables
#
CMD_AWK = /usr/bin/awk
CMD_BZCAT = /bin/bzcat
CMD_BZIP = /bin/bzip2
CMD_CHOWN = /bin/chown
CMD_CAT = /bin/cat
CMD_CHMOD = /bin/chmod
CMD_CP = /bin/cp
CMD_DIFF = /usr/bin/diff
CMD_DU = /usr/bin/du
CMD_ECHO = /bin/echo
CMD_GZCAT = /bin/zcat
CMD_GZIP = /bin/gzip
CMD_GREP = /bin/grep
CMD_GROUPADD = /usr/sbin/groupadd
CMD_GROUPDEL = /usr/sbin/groupdel
CMD_HOSTNAME = /bin/hostname
CMD_IFCONFIG = /sbin/ifconfig
CMD_IPTABLES = /sbin/iptables
CMD_LN = /bin/ln
CMD_MYSQL = /usr/bin/mysql
CMD_MV = /bin/mv
CMD_PS = /bin/ps
CMD_RM = /bin/rm
CMD_SHELL = /bin/bash
CMD_TAR = /bin/tar
CMD_TOUCH = /usr/bin/touch
CMD_USERADD = /usr/sbin/useradd
CMD_USERDEL = /usr/sbin/userdel
CMD_WC = /usr/bin/wc
PEAR_DIR = /usr/share/php
#
# SQL backend variables
#
# Don't change this one
DATABASE_TYPE = mysql
DATABASE_HOST = localhost
DATABASE_NAME = ispcp
DATABASE_PASSWORD =
DATABASE_USER = root
DATABASE_DIR = /var/lib/mysql
CMD_MYSQLDUMP = /usr/bin/mysqldump
#
# Main variables
#
CONF_DIR = /etc/ispcp
LOG_DIR = /var/log/ispcp
PHP_STARTER_DIR = /var/www/fcgi
ROOT_DIR = /var/www/ispcp
GUI_ROOT_DIR = /var/www/ispcp/gui
APACHE_WWW_DIR = /var/www/virtual
SCOREBOARDS_DIR = /var/www/scoreboards
# Select Zipping Algorithm for Backups
# Supported: gzip, bzip2
ZIP = bzip2
#
# PHP FastCGI data
#
PHP4_FASTCGI_BIN = /usr/bin/php4-cgi
PHP5_FASTCGI_BIN = /usr/bin/php5-cgi
PHP_VERSION = 5
#
# ProFTPd data
#
FTPD_CONF_FILE = /etc/proftpd.conf
#
# BIND data
#
BIND_CONF_FILE = /etc/bind/named.conf
BIND_DB_DIR = /var/cache/bind
SECONDARY_DNS =
#
# AWSTATS data
#
AWSTATS_ACTIVE = no
# could be 'dynamic' = 0 or 'static' = 1
AWSTATS_MODE = 0
AWSTATS_CACHE_DIR = /var/cache/awstats
AWSTATS_CONFIG_DIR = /etc/awstats
AWSTATS_ENGINE_DIR = /usr/lib/cgi-bin
AWSTATS_WEB_DIR = /usr/share/awstats
AWSTATS_ROOT_DIR = /var/www/ispcp/engine/awstats
#
# APACHE data
#
APACHE_NAME = apache2
APACHE_RESTART_TRY = 3
APACHE_CONF_DIR = /etc/apache2
APACHE_CMD = /usr/sbin/apache2
APACHE_LOG_DIR = /var/log/apache2
APACHE_BACKUP_LOG_DIR = /var/log/apache2/backup
APACHE_USERS_LOG_DIR = /var/log/apache2/users
APACHE_MODS_DIR = /etc/apache2/mods-available
APACHE_SITES_DIR = /etc/apache2/sites-available
APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/apache2/ispcp
APACHE_SUEXEC_USER_PREF = vu
APACHE_SUEXEC_MIN_GID = 2000
APACHE_SUEXEC_MIN_UID = 2000
APACHE_USER = www-data
APACHE_GROUP = www-data
#
# Postfix MTA Data
#
POSTFIX_CONF_FILE = /etc/postfix/main.cf
POSTFIX_MASTER_CONF_FILE = /etc/postfix/master.cf
MTA_LOCAL_MAIL_DIR = /var/mail
MTA_VIRTUAL_MAIL_DIR = /var/mail/virtual
MTA_LOCAL_ALIAS_HASH = /etc/aliases
MTA_VIRTUAL_CONF_DIR = /etc/postfix/ispcp
MTA_VIRTUAL_ALIAS_HASH = /etc/postfix/ispcp/aliases
MTA_VIRTUAL_DMN_HASH = /etc/postfix/ispcp/domains
MTA_VIRTUAL_MAILBOX_HASH = /etc/postfix/ispcp/mailboxes
MTA_TRANSPORT_HASH = /etc/postfix/ispcp/transport
MTA_SENDER_ACCESS_HASH = /etc/postfix/ispcp/sender-access
MTA_MAILBOX_MIN_UID = 1004
MTA_MAILBOX_UID = 1004
MTA_MAILBOX_UID_NAME = vmail
MTA_MAILBOX_GID = 8
MTA_MAILBOX_GID_NAME = mail
MTA_SASLDB_FILE = /var/spool/postfix/etc/sasldb2
ETC_SASLDB_FILE = /etc/sasldb2
CMD_SASLDB_LISTUSERS2 = /usr/sbin/sasldblistusers2
CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2
CMD_POSTMAP = /usr/sbin/postmap
CMD_NEWALIASES = /usr/bin/newaliases
#
# Courier IMAP/POP3 data
#
COURIER_CONF_DIR = /etc/courier
AUTHLIB_CONF_DIR = /etc/courier
CMD_MAKEUSERDB = /usr/sbin/makeuserdb
#
# Crontab delayed tasks
#
BACKUP_HOUR = 23
BACKUP_MINUTE = 40
BACKUP_ISPCP = yes
BACKUP_DOMAINS = yes
BACKUP_ROOT_DIR = /var/www/ispcp/engine/backup
CMD_CRONTAB = /usr/bin/crontab
#
# Service manager
#
# Either no or path to the amavis-daemon (usually: /etc/init.d/amavis)
CMD_AMAVIS = no
CMD_AUTHD = /etc/init.d/courier-authdaemon
CMD_FTPD = /etc/init.d/proftpd
CMD_HTTPD = /usr/sbin/apache2ctl
CMD_IMAP = /etc/init.d/courier-imap
CMD_IMAP_SSL = /etc/init.d/courier-imap-ssl
CMD_MTA = /etc/init.d/postfix
CMD_NAMED = /etc/init.d/bind9
CMD_POP = /etc/init.d/courier-pop
CMD_POP_SSL = /etc/init.d/courier-pop-ssl
CMD_ISPCPD = /etc/init.d/ispcp_daemon
CMD_ISPCPN = /etc/init.d/ispcp_network
#
# Virtual traffic manager
#
CMD_PFLOGSUM = /usr/sbin/maillogconvert.pl
TRAFF_LOG_DIR = /var/log
FTP_TRAFF_LOG = /proftpd/ftp_traff.log
MAIL_TRAFF_LOG = mail.log
PREV_TRAFF_LOG_MAX_SIZE = 70391808
TRAFF_ROOT_DIR = /var/www/ispcp/engine/traffic
TOOLS_ROOT_DIR = /var/www/ispcp/engine/tools
QUOTA_ROOT_DIR = /var/www/ispcp/engine/quota
#
# AMaViS data
#
MAIL_LOG_INC_AMAVIS = 0
#
# GUI config
#
USER_INITIAL_THEME = omega_original
ISPCP_LICENSE = ispCP 1.0rc3 OMEGA<br />build: 2008-02-06<br />Priamos
FTP_USERNAME_SEPARATOR = @
FTP_HOMEDIR = /var/www/virtual
FTP_SHELL = /bin/bash
IPS_LOGO_PATH = ../themes/user_logos
ISPCP_SUPPORT_SYSTEM_PATH = support_system.php
ISPCP_SUPPORT_SYSTEM_TARGET =
MYSQL_PREFIX = no
# '' for MYSQL_PREFIX = no,
# 'infront' or 'behind' for MYSQL_PREFIX = yes
MYSQL_PREFIX_TYPE =
WEBMAIL_PATH = ../tools/webmail/
WEBMAIL_TARGET = _blank
PMA_PATH = ../tools/pma/
PMA_TARGET = _blank
FILEMANAGER_PATH = ../tools/filemanager/
FILEMANAGER_TARGET = _blank
DATE_FORMAT = d.m.Y
RKHUNTER_LOG = /var/log/rkhunter.log
CHKROOTKIT_LOG = /var/log/chkrootkit.log
# Here you can set an additional anti-rootkit tool log file
OTHER_ROOTKIT_LOG =
#
# htaccess management
#
HTACCESS_USERS_FILE_NAME = .htpasswd
HTACCESS_GROUPS_FILE_NAME = .htgroup
HTPASSWD_CMD = /usr/bin/htpasswd2
#
# backup management
#
BACKUP_FILE_DIR = /var/www/ispcp/backups
#
# Developer Mode
#
DEBUG = 0
Gruss Dave[/b]
[/code]