Current time: 11-26-2024, 06:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
Gentoo Welche Pakete?
Author Message
hotstuff Offline
Junior Member
*

Posts: 53
Joined: Nov 2007
Reputation: 0
Post: #1
Gentoo Welche Pakete?
Hallo

Wollte euch fragen welche Pakete man braucht für's Ispcp.

Code:
emerge -ua apache-tools apachetop mcrypt mhash chkrootkit rkhunter htmltidy php apr-util cyrus-sasl geoip libIDL openssl BerkeleyDB Crypt-Blowfish Crypt-PasswdMD5 IP-Country Mail-DomainKeys Mail-SPF-Query Net-Ident Term-ReadPassword XML-Parser crypt-cbc pyzor strace subversion mutt amavisd-new dcc postgrey procmail razor spamassassin postfix gd jpeg bind bind-tools libidn iptables proftpd courier-authlib courier-imap curl dhcpcd neon whois awstats grub gettext mod_cband mod_fcgid apache policyd-weight

Meiner Meinung fehlen hier noch paar Pakete z.B mysql usw.

Muss man bestimmte USE Flags setzen?


Vielen Dank


Gruss Dave
02-24-2008 10:00 PM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #2
RE: Gentoo Welche Pakete?
hier sind doch alle oO?

http://www.isp-control.net/ispcp/browser...o-packages

nur fehlt noch die net-dns/libidn
02-24-2008 10:41 PM
Find all posts by this user Quote this message in a reply
hotstuff Offline
Junior Member
*

Posts: 53
Joined: Nov 2007
Reputation: 0
Post: #3
RE: Gentoo Welche Pakete?
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]
(This post was last modified: 02-24-2008 11:48 PM by hotstuff.)
02-24-2008 11:42 PM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #4
RE: Gentoo Welche Pakete?
mysql passwort:
Code:
mysql mysql –u root
mysql> UPDATE user SET Password=PASS
WORD('mein_pwd') WHERE user='root';

ispcp.conf:
mach mal ein diff der gentoo ispcp.conf und der standart ispcp.conf. Dann siehst du was du ändern solltest (alles was neu ist Wink )
02-25-2008 12:05 AM
Find all posts by this user Quote this message in a reply
hotstuff Offline
Junior Member
*

Posts: 53
Joined: Nov 2007
Reputation: 0
Post: #5
RE: Gentoo Welche Pakete?
Hallo

Es geht nicht.

Es ist auch kein mysql installiert.

localhost setup # emerge mysql -p

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] sys-apps/ed-0.8
[ebuild N ] dev-db/mysql-init-scripts-1.2
[ebuild N ] dev-perl/Net-Daemon-0.43
[ebuild N ] virtual/perl-Sys-Syslog-0.18
[ebuild N ] dev-perl/PlRPC-0.2020-r1
[ebuild N ] dev-perl/DBI-1.601
[ebuild N ] dev-db/mysql-5.0.54 USE="berkdb perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static"
[ebuild N ] virtual/mysql-5.0
[ebuild N ] dev-perl/DBD-mysql-4.00.5


Gruss Dave
(This post was last modified: 02-25-2008 12:20 AM by hotstuff.)
02-25-2008 12:15 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #6
RE: Gentoo Welche Pakete?
hm, du hast recht.

http://gentoo-wiki.com/HOWTO_MySQL

ispcp + gentoo ist halt eben nicht so einfach wie mit debian Tongue Habs glaube ich damals auch selbst installiert, genauso wie apache + php + fastcgi + suexec2. Mach dich auf noch mehr errors gefasst Wink

P.s vergiss nicht mysql nach der installation zu starten und lies dir den output von emerge durch!
02-25-2008 12:24 AM
Find all posts by this user Quote this message in a reply
hotstuff Offline
Junior Member
*

Posts: 53
Joined: Nov 2007
Reputation: 0
Post: #7
RE: Gentoo Welche Pakete?
Hallo

Kann man das mysql Password irgendwie Reseten?

Keine Ahnung was dort eingeben ist.

Gruss Dave
02-25-2008 05:30 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: Gentoo Welche Pakete?
stichwort --skip-grant-tables... der rest weiss google...
02-25-2008 07:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hotstuff Offline
Junior Member
*

Posts: 53
Joined: Nov 2007
Reputation: 0
Post: #9
RE: Gentoo Welche Pakete?
Hallo

Habe folgendes Problem

Code:
ERROR: Unable to connect SQL server !

Password muss stimmen

Code:
localhost setup # mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Gruss Dave
(This post was last modified: 02-25-2008 10:08 PM by hotstuff.)
02-25-2008 10:08 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #10
RE: Gentoo Welche Pakete?
dein passwort stimmt nicht oder root ist für localhost nicht freigeschaltet...

so oder so musst du mysqld mit der option skip-grant-tables starten um das Kennwort bzw. die Berechtigungen zurückzusetzen...

Näheres weiss google oder die mysql dokumentation...
02-25-2008 10:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)