RSS feed

allow_url_fopen per domain

March 12th, 2009 | Posted in Blog, Linux, Plesk | No Comments

On Plesk you can allow allow_url_fopen per domain by editting the vhost.conf file for that domain and set the php_admin_flag as bellow.

php_admin_flag allow_url_fopen on

Once you have done this, run the Plesk magicwand

/usr/local/psa/admin/sbin/websrvmng -v -a

Read More

 



Postfix: delete all MAILER-DAEMON mails

February 24th, 2009 | Posted in Blog, Linux, Postfix | No Comments

mailq | grep MAILER-DAEMON | awk ‘{print $1}’ | tr -d ‘*’ | postsuper -d —

Or

mailq | tail +2 | awk  ‘BEGIN { RS = “” } / MAILER-DAEMON/ { print $1}’|postsuper -d —

Read More

 



Counting up to the UNIX Epoch time reading 1,234,567,890!

February 9th, 2009 | Posted in Blog, Debian, FreeBSD, Linux | No Comments

Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. It is widely used not only on Unix-like operating systems but also in many other computing systems. It is neither a [...]

Read More

 



Travian

February 9th, 2009 | Posted in Blog, Linux | No Comments

Travian is a browser game with a world full of thousands of users who all begin as the leaders of small villages… you can wage wars with your enemies, trade with far far away exotic villages.. all from the comfort of your browser!
http://www.travian.co.uk/?uc=ukx_524
Signup today, new game just commenced!

Read More

 



MySQL Replication

February 8th, 2009 | Posted in Blog, Linux, MySQL | No Comments

MySQL database replication allows you to have an exact copy of a database on another server which allows you to setup an application to read from, i.e. auth.
All changes to the “master” server is replicated across to the “slave” server instantaneously. This is not a backup technique… any accidental DELETE queries on the master will [...]

Read More

 



PowerDNS 2.9.22 RPM’s

February 5th, 2009 | Posted in Linux, PowerDNS | No Comments

The latest (dynamic) RPM’s for PowerDNS can be downloaded below. Please note, these RPM’s only include the MySQL and pipe backend!
 
pdns-2.9.22-1.i386.src.rpm
pdns-2.9.22-1.i386.rpm

Read More

 



Grep Highlighting

January 23rd, 2009 | Posted in Linux | No Comments

If you’ve ever wanted your search string highlighted when grepping through masses of logs etc you can add the following alias to ~/bashrc to do just this.
 
alias grep=’grep –color=auto’

Read More

 



PowerDNS 2.9.21-2 RPM's

January 17th, 2009 | Posted in Linux, PowerDNS | No Comments

The latest (dynamic) RPM’s for PowerDNS can be downloaded below. Please note, these RPM’s only include the MySQL and pipe backend!
 
pdns-2.9.21-2.x86_64.src.rpm
pdns-2.9.21-2.i386.src.rpm
pdns-2.9.21-2.x86_64.rpm
pdns-2.9.21-2.i386.rpm
 
Or you can download the GPL source tarball which includes the spec files for both x86_64 and i386
 
pdns-2.9.21-2.tar.gz

Read More

 



PTY allocation request failed on channel 0

January 16th, 2009 | Posted in Debian, Linux, Xen | No Comments

After creating a new VM on Debian Lenny, I got the following when trying to ssh into the DomU;
PTY allocation request failed on channel 0
stdin: is not a tty
Run the following to fix the issue;
apt-get install udev

Read More

 



Policyd Build Error

December 21st, 2008 | Posted in Debian, Linux | No Comments

policyd error Your OS doesnt support MSG_NOSIGNAL or SO_NOSIGPIPE
apt-get install g++ gcc
policyd.h:52:19: error: mysql.h: No such file or directory
apt-get install libmysqlclient15-dev

Read More

 




Categories