eulinux
Freebsd php-fpm fastcgi server init script
#!/bin/sh
# PROVIDE: phpfpm
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable php-fpm:
#
#phpfpm_enable="YES"
#
#
. /etc/rc.subr
name=phpfpm
rcvar=`set_rcvar`
command="/usr/local/sbin/php-fpm"
command_args=""
pidfile=/usr/local/logs/php-fpm.pid
required_files=/usr/local/etc/php-fpm.conf
# set defaults
phpfpm_enable=${phpfpm_enable:-"NO"}
start_cmd …
How to check SpamAssassin version
Quick one-liner for checking spamassassin version:
[root@server ~]# perl -MMail::SpamAssassin -e 'print $Mail::SpamAssassin::VERSION;'
3.002004
OpenSUSE developers announced csync
Andreas Schneider has unleashed the first public release candidate of csync 0.42, which is now available as source from the csync Web site, or via one-click for openSUSE 11.0 and 11.1.
Project homepage: http://www.csync.org/
This tool looks like a promising alternative to unison, which …
more…Parallels decided to drop qmail?
While installing latest Parallels Plesk version (9.0), noticed an unusual option :) :
Different mailservers
16. (*) Qmail mailserver
17. ( ) Postfix mailserver
Could this be true, that Parallels finally decided to drop Qmail?
Now don't get me wrong, but qmail wasn't updated for 10 years already,
and any additional feature requires a …
2009 will be a second longer | Happy new year!
Found a confirmation of this in my system logs:
Jan 1 01:59:59 (none) kernel: Clock: inserting leap second 23:59:60 UTC
:)
Btw,
_________________
( Happy new Year! )
-----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Icewarp Merak mail server not working behind a smtp relay
Just migrated an email server to a dedicated server at GoDaddy, and according to their policies, 25 TCP port is blocked "to prevent spam", and they force us to use their smtp relay for mail delivery.
After properly configuring all delivery related settings, server still could not send emails.
A …
more…Installing SVN server on FreeBSD
Quick installation of SVN on FreeBSD, access by svn:// protocol
portinstall subversion
mkdir /home/svn-repo
pw user add -n svn -u 3690 -d /home/svn-repo
chown svn:svn /home/svn-repo/
chsh -s /bin/false svn
Add to /etc/rc.conf:
svnserve_enable="YES"
svnserve_data="/home/svn-repo"
svnserve_user="svn"
svnserve_group="svn"
Start …
more…vsftpd - chroot users to their homedir
Open the vsftpd configuration file - /etc/vsftpd/vsftpd.conf
nano /etc/vsftpd/vsftpd.conf
Make sure following line exists (and uncommented):
chroot_local_user=YES
Save and close the file. Restart vsftpd.
/etc/init.d/vsftpd restart
Ati released a new version of the Radeon Proprietary drivers package
A few days ago i've noticed ati has released version 8.42.3 of it's proprietary drivers package for radeon, http://ati.amd.com/support/drivers/linux/linux-radeon.html
I was using previously the 8.40.* version on my Samsung R20 Notebook running Debian Etch, that has an integrated Ati …
more…Using vnstat for simple traffic accounting
vnStat is a network traffic monitor for Linux that keeps a log of daily
network traffic for the selected interface(s). vnStat isn't a packet sniffer.
The traffic information is analyzed from the /proc
vfs, so vnStat can be used
without root permissions. However at least a 2.2.x …