Archive for September, 2007

WordPress 2.3 : a little note on Upgrade Process

This is easy upgrade process like previous versions.
But there are problems, this sign ? shows up in blog posts.
Here is a way to fix it (same as search and replace contents in WordPress) :
1. Backup a WordPress database. You can use phpmyadmin or mysql console.
Using mysql console :

mysqldump :
mysqldump -u [username] -p [databasename] > [mysqlfile_name]
example [...]

Accessing computers on a private network by name

I have this problem after OpenDNS setup, i can’t ‘browse’ computer on a private network by name, following a recommendation from OpenDNS, simple tweak in /etc/hosts file.
What is /etc/hosts file?
This is a way for hostnames to map to IP addresses. Operating system will attempt to resolve domain names to IP addresses by first accessing a [...]

Change file owner and group in one ’stroke’

It’s Basic, and i forget this command all the time, use this ‘chown’ in one of servers, i want to (b)log this command :
I am using this command to change a file owner and a group of directory, its subfolders, and its files
chown -R name:group [directory path]
example :
chown -R kate:kate /usr/local/www/directory_name

OpenDNS review

I am using OpenDNS, because my curiosity.
OpenDNS claims make Internet safer, faster, smarter and more reliable. My Internet Connection here already fast, but when many peoples connects, it’s getting slow.
So i try OpenDNS.
OpenDNS is fast and help ‘boost’ our internet connection. But when it comes to features, only phising, block adult sites, stats, typo correction [...]

Setup OpenDNS in Squid

UPDATED
OpenDNS (from its website) : it’s a DNS service, aim to make Internet safer, faster, smarter and more reliable.
This is how to setup OpenDNS in SQUID :
Edit squid.conf and add this :
OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
dns_nameservers 208.67.220.220 208.67.222.222
or
dns_nameservers 208.67.220.220
dns_nameservers 208.67.222.222
Save and run this :
squid -k parse
squid -k reconfigure
but if your squid add nameservers from squid.conf, [...]

Lego Video Game Art

I love Lego! Mario, Sonic, PS2 Console

ProFTPD error : getaddrinfo domain_name error: hostname nor servname provided, or not known

Add below to proftpd.conf :
DefaultAddress domain_ip
The solution hide a warning, getaddrinfo domain_name error: hostname nor servname provided, or not known in ProFTPD.

Wordpress Plugins from Automattic

I visited wordpress.com page about Posting Source Code, there’s a link to Automattic Projects.
I scroll down and there are plugins from Automattic.
Here is some great plugins to install in your wordpress:

Wordpress.com Stats: stats with no additional load on your server by plugging into WordPress.com’s stat system.
Sidebar Widgets : arrange widgets on your sidebar. A latest [...]