Sunday 16 December 2007, 20:46
PHP turn off warnings
Recently I had to remove all the PHP warning from a site.
An easy way is to add
error_reporting(0);
to index.php
[no comment] :: [no trackback]
Sunday 16 December 2007, 20:46
Recently I had to remove all the PHP warning from a site.
An easy way is to add
error_reporting(0);
to index.php
[no comment] :: [no trackback]
Sunday 16 December 2007, 16:04
I started to install mailman on a fresh Debian testing (lenny) system with
I'm running on a local network and need to bind my DNS. I will do the configuration for pys60.info:
: apt-get install bind
zone "pys60.info" {
type master;
file "/etc/bind/pys60.info";
};
zone "177.13.10.in-addr.arp" {
type master;
file "/etc/bind/177.13.10.reverse";
};
; ——————————————————- $TTL 604800 @ IN SOA pys60.info. root.pys60.info. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS pys60.info. @ A 10.13.177.60 www A 10.13.177.60 scm A 10.13.177.60 lists A 10.13.177.60
; ——————————————————— $TTL 604800 @ IN SOA pys60.info. root.pys60.info. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS pys60.info. 60 IN PTR pys60.info. 60 IN PTR scm.pys60.info. 60 IN PTR lists.pys60.info.
named-checkconf /etc/bind/named.conf named-checkzone pys60.info /etc/bind/pys60.info named-checkzone 177.13.10.in-addr.arp /etc/bind/177.13.10.reverse
The Debian packages for GForge are generously broken. For this reason you will need to install the unstable packages. Change /etc/apt/source.list from:
deb http://ftp.fi.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.fi.debian.org/debian/ lenny main contrib non-free deb http://download.webmin.com/download/repository sarge contrib
to:
deb http://ftp.fi.debian.org/debian/ unstable main contrib non-free deb-src http://ftp.fi.debian.org/debian/ unstable main contrib non-free deb http://download.webmin.com/download/repository sarge contrib
apt-get install proftpd
At the time i'm writting, the package is broken and the installation will fail if you choose the standalone mode. You have to choose inet mode
Installing mailman will also install exim4, exim4-config, exim4-base, exim4-daemon-light
apt-get install mailman
You need to create a new list:
newlist
I gave:
If you tried to install mailman and that the hostname was different, adding the new list will generate error. To correct this you just have to edit
nano /etc/mailman/mm_cfg.py
and change
DEFAULT_EMAIL_HOST = "pys60.info" DEFAULT_URL_HOST = "pys60.info"
apt-get install gforge gforge-lists-mailman
[no comment] :: [no trackback]
Sunday 16 December 2007, 15:40
My problem is with gforge-mta-exim4
edit
nano /var/lib/dpkg/status
Search for the gforge-mta-exim4 entry (Ctrl+w followed by gforge-mta-exim4)
Delete the block for gforge-mta-exim4.
updatedb locate gforge-mta-exim4
delete all the file for gforge-mta-exim4
[no comment] :: [no trackback]