Monthly Archives: September 2006

A float DIV overflow tip

I have a container div which has one or several images inside. The container has a border. Since I want the images flow naturally I applied “float: left” to the image wrapper div. Here comes the problem: the image grows … Continue reading

Posted in css/design | Comments Off

install Postfix

First, remove sendmail. rpm -e –nodeps sendmail Add a dedicated user: groupadd -g 5000 vmailman adduser -u 5000 -g 5000 vmailman usermod -d /var/mail/vhosts vmailman install Postfix from RPM.

Posted in server setup | Comments Off

install mysql

Installed MySQL 5 from RPMs grabbed from mysql.com MySQL-client-standard-5.0.24-0.rhel4.i386.rpm MySQL-devel-standard-5.0.24-0.rhel4.i386.rpm MySQL-server-standard-5.0.24-0.rhel4.i386.rpm MySQL-shared-standard-5.0.24-0.rhel4.i386.rpm mysql configuration file cp /usr/share/doc/MySQL-server-standard-5.0.24/my-small.cnf etc use the following configuration: [mysqld] bind_address = 127.0.0.1 installation path mysql home is located under /var/lib/mysql mysqladmin -u root status shows some … Continue reading

Posted in server setup | Comments Off

apache2.2/php virtual host

When testing viewing index.php under a user directory, I kept getting this error: in the log: client denied by server configuration On the browser: Permission denied: access to /index.php denied Feeling puzzled aftering trying to set the directory permission, I … Continue reading

Posted in server setup | Comments Off

install PHP

Since I didn’t intall the devel packages, some extra RPMs need to be installed for PHP installation. A bunch of RPMs that need to be installed: flex-2.5.4a-33.i386.rpm libxml2-devel-2.6.16-6.i386.rpm zlib-devel-1.2.1.2-1.2.i386.rpm mysql-devel-4.1.12-3.RHEL4.1.i386.rpm openssl-devel-0.9.7a-43.8.i586.rpm krb5-devel-1.3.4-27.i386.rpm e2fsprogs-devel-1.35-12.3.EL4.i386.rpm mysql-bench-4.1.12-3.RHEL4.1.i386.rpm perl-DBD-MySQL-2.9004-3.1.i386.rpm perl-DBI-1.40-8.i386.rpm mysql-4.1.12-3.RHEL4.1.i386.rpm Again, if you … Continue reading

Posted in server setup | Comments Off

install apache

Now it’s time to install the apache web server. First, need to remove the existing httpd stuff. I removed the following RPMS. rpm -e mod_python-3.1.3-5.1.i386 rpm -e mod_ssl-2.0.52-22.ent.centos4.i386 rpm -e mod_perl-1.99_16-4.centos4.i386 rpm -e webalizer-2.01_10-25.i386 rpm -e httpd-2.0.52-22.ent.centos4 httpd-manual-2.0.52-22.ent.centos4 system-config-httpd-1.3.1-1 httpd-suexec-2.0.52-22.ent.centos4 … Continue reading

Posted in server setup | Comments Off

prepare for my dedicated server

Since I decided to upgrade one of my website’s hosting to a dedicated server in the near future, I figured that I need to prepare for the administration tasks. Got to shake some dust off my fingers. What’s the plan? … Continue reading

Posted in server setup | Comments Off

Is my design good enough?

I love designing web pages. But often times, I found myself submerged in the endless changing and tweaking the page designs and still not satisfied with the result. This can last hours and sometimes days. I figure this is not … Continue reading

Posted in css/design | Comments Off

A quick web design primer

To build a really user friendly web site, made a list of rules that I consider a user really hates, and us, as the site designers, try to work on: I don’t want to be lost in your site. The … Continue reading

Posted in css/design | Comments Off

Yahoo map mash

The good news is that Yahoo! upgraded its map service and it looks very decent. The better news is that it is much easier to use the existing API to “mash” the map into your own web site. There are … Continue reading

Posted in web 2.0 build 1 | 1 Comment