Sunday, June 19, 2005

The day the newspaper dies

No, that's too much of the headlines. That's not impossible. Com'n, no way.

And now the news in detail.

One-fifth of Web users prefer online news - Nielsen

SAN FRANCISCO (Reuters) - Nearly one-fifth of Web users who read newspapers now prefer online to offline editions, according to a new study from Internet audience measurement company Nielsen//NetRatings.

The first-time study from Nielsen//NetRatings found that 21 percent of those Web users now primarily use online versions of newspapers, while 72 percent still read print editions.

...

U.S. newspaper circulation has been falling as audiences increasingly turn to the Internet for news -- both on newspaper-run sites and through companies such as Yahoo Inc. (Nasdaq:YHOO - news) and Google Inc., which display news gathered from various sources.


That day is coming slowly but surely. But no the printed papers will never die, but the mixture will change, for good.

Interestingly Gentoo

Updated June 19, 2005: Gentoo encrypted FS

Note on baselayout change: Today, I ran emerge -a baselayout to find out that there are several changes to /etc. If etc-update is ok, then there's nothing actually to worry about since new scripts will still honour my old config files. The new way of setting up host/domain name and network has changed a bit. Note here just for the record.

#/etc/conf.d/hostname
HOSTNAME="myhost"
#--- and remove /etc/hostname

#/etc/conf.d/domainname
OVERRIDE=1
DNSDOMAIN="mydomain.com"
#--- and remove /etc/domainname

#/etc/conf.d/net
config_eth0=( "203.146.251.2 netmask 255.255.255.128 broadcast 203.146.251.255" )
routes_eth0=( "default via 203.146.251.126" )

Now go read /etc/conf.d/domainname and /etc/conf.d/net.example too.


Updated April, 2005: Apache Package Refresh Why do they have to do that! :(

Java 1.5.0 Beta 1 is out - Installation w/o Ebuild

How to boot Gentoo LiveCD with a non-booting CD-ROM or BIOS!

How to do a gentoo install on a software RAID

HOWTO: Bond two NICs together and connect to a Cisco switch

How to integrate Samba into Active Directory

Installing portage on other distros, easier than ever

HowTo - Install Gentoo LiveCD Wirelessly!

Quick Gentoo Linux Installation and Configuration

Gentoo Linux Documentation -- qmail/vpopmail Virtual Mail Hosting System Guide

Gentoo Forums :: HOWTO: qmail vpopmail courier-imap qmail-scanner etc (NEW)

Excellent Guide to Running qmail under Gentoo Linux

Gentoo Forums :: HOWTO: Downgrade from apache2 to apache 1.3.x

Gentoo Forums :: Eric's Web Server How-To (For new installs & n00b's)

Gentoo Forums :: Virtual hosting made easy

Gentoo Forums :: Integrate Tomcat With Apache Using mod_jk

Gentoo automated installation/maintenance guide
This document describes a system for building pre-configured client PC's on a variety of hardware and a scheme for centrally maintaining the packages and files deployed based upon the Gentoo binary packaging system.

more?

God of Links:
Gentoo Forums :: Index
Gentoo Linux -- The Fresh Ebuilds

Wednesday, June 08, 2005

Gentoo + qmail-scanner + spamassassin

Installing qmail-scanner with spamassassin and other helpers (such as razor2, dcc) is not that difficult, but several docs on Gentoo site, such as this good & popular & bloated topic are outdated. One thing that caused me quite a bit of pain is that qmail-scanner not detecting spamassassin. This topic helps solve the issue. Qmail-scanner ebuild uses ST patch, which is located here. I found some nice articles comparing various network tests using in spamassassin in spamassassin book. Last comment is to install mail-filter/spamassassin-ruledujour from the ebuild too.

Friday, June 03, 2005

It's time to do mod_security

One of our servers got hacked 3 times in 5 days, due to unpatched phpBB and another popular OSS. Although we're successful in stopping the old hack by modifying those outdated scripts, but new hack keeps coming in to some other customers' sites. I'm fed up with this and decide to go ahead with installing mod_security to at least prevent URL injection and several other things. For cPanel servers, just read this thread with nice (but sometimes too much) examples of modsec.user.conf.

I then added these few lines to cPanel's default config:
# added by KM
SecFilterSelective THE_REQUEST "lynx "
SecFilterSelective THE_REQUEST "scp "
SecFilterSelective THE_REQUEST "ftp "
SecFilterSelective THE_REQUEST "cvs "
SecFilterSelective THE_REQUEST "curl "
SecFilterSelective THE_REQUEST "telnet "
SecFilterSelective THE_REQUEST "ssh "
SecFilterSelective THE_REQUEST "echo "