tbrehm
2009-03-07 07bf5100dce24ea3ae869fe59b61772870a80962
Fixed php notices in libraries and improved opensuse docs.
4 files modified
16 ■■■■■ changed files
docs/INSTALL_OPENSUSE_11_1.txt 10 ●●●● patch | view | raw | blame | history
interface/web/monitor/tools.inc.php 2 ●●● patch | view | raw | blame | history
server/lib/classes/modules.inc.php 2 ●●● patch | view | raw | blame | history
server/lib/classes/plugins.inc.php 2 ●●● patch | view | raw | blame | history
docs/INSTALL_OPENSUSE_11_1.txt
@@ -8,11 +8,13 @@
It is recommended to use a clean (fresh) OpenSUSE installatiom where you selected to install just the minimal packages. A Gnome or KDE desktop is not needed and will just slow down the server. Then follow the steps below to setup your server with ISPConfig 3:
The following guide is for the 32Bit version of openSUSE, for 64Bit installations the package names may differ especially the names of downloaded rpm files.
Install some basic packes and the compilers that we need later
yast2 -i findutils readline libgcc glibc-devel findutils-locate gcc flex lynx compat-readline4 db-devel wget gcc-c++ make vim telnet cron iptables iputils man man-pages
1) Install Postfix, Courier, Saslauthd, MySQL, phpMyAdmin with the following command line (on one line!):
1) Istall Postfix, Courier, Saslauthd, MySQL, phpMyAdmin with the following command line (on one line!):
yast2 -i postfix postfix-mysql mysql mysql-client courier-imap courier-authlib courier-authlib-mysql python cron cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-gssapi cyrus-sasl-otp cyrus-sasl-plain cyrus-sasl-saslauthd libmysqlclient-devel
@@ -127,10 +129,14 @@
mv vlogger-1.3/vlogger /usr/sbin/
rm -rf vlogger*
6.1 Install fail2ban
rpm -i http://download.opensuse.org/repositories/home:/leonardocf/openSUSE_11.0/i586/fail2ban-0.8.2-5.2.i586.rpm
yast2 -i webalizer perl-DateManip
6.1) Cleanup
6.2) Cleanup
rm -f /tmp/*.rpm
interface/web/monitor/tools.inc.php
@@ -412,7 +412,7 @@
        if ($data == ''){
            $html .= '<p>'.
            'fail2ban is not installed at this server.<br />' .
            'See more (for debian) <a href="http://www.howtoforge.net/fail2ban_debian_etch" target="htf">here...</a>'.
            'See more (for debian) <a href="http://www.howtoforge.com/fail2ban_debian_etch" target="htf">here...</a>'.
            '</p>';
        }
        else {
server/lib/classes/modules.inc.php
@@ -192,7 +192,7 @@
        global $app;
        
        // Get the hooks for this table
        $hooks = $this->notification_hooks[$table_name];
        $hooks = (isset($this->notification_hooks[$table_name]))?$this->notification_hooks[$table_name]:'';
        if($this->debug) $app->log("Raised TableHook for table: '$table_name'",LOGLEVEL_DEBUG);
        
        if(is_array($hooks)) {
server/lib/classes/plugins.inc.php
@@ -107,7 +107,7 @@
        global $app;
        
        // Get the subscriptions for this event
        $events = $this->subscribed_events[$event_name];
        $events = (isset($this->subscribed_events[$event_name]))?$this->subscribed_events[$event_name]:'';
        if($this->debug) $app->log("Raised event: '$event_name'",LOGLEVEL_DEBUG);
        
        if(is_array($events)) {