Photo Hunt: Colorful

I took this picture while on holiday at Penang, in August 2006.

Penang Hill or Bukit Bendara is a must visit when you visiting Penang. Travelling up in the funicular railway is an enjoyable experience.

There is a Hindu temple at the top of Penang Hill. Most of the Hindu temples are rich colorful decoration and statues of deities.

Don’t miss the lavishly decorated Hindu temple if you plan to visit in future.

Hindu Temple

Welcome to give your 2 cents.

Popularity: 11% [?]

Tags: ,

My English Blog

Staring from today, I will post Photo Hunters images to this English blog. Previously, I mixed Photo Hunters posts in my Chinese blog.

I think I should not mix different languages in a Chinese site. This is for the convenience of English readers.

To the best of my knowledge it is not advisible to mix different languages on the same websites. Most of the times, the pages on my Chinese blog will automatically set your browser to the correct coding scheme and type font though a charset command written into header of the page.

However, many readers especially from the western countries didn’t install appropriate Chinese type font in their PC. Therefore, what they see in the brower is dummy characters, usually little boxes or question marks.

You’re welcome to visit my Chinese blog and English blog, both will deliver experiences or stories to you.

Come back tomorrow for latest Photo Hunter Theme: Colorful.

Popularity: 6% [?]

Tags: ,

Install & Configure OpenSSH

As I’m setting up a Linux CENT OS for an experimental project, I need to install and setup OpenSSH server into the Linux box, for secure and encrypted remote access instead of telnet and ftp.

To run an OpenSSH server, you must first make sure that you have the proper RPM packages installed. The openssh-server package is required and depends on the openssh package.

Firstly, I used yum to get the latest openssh packages.

# yum install openssh-server


Continue To Read: Install & Configure OpenSSH

Popularity: 23% [?]

Tags: ,

How To Configure yum To Get Through Proxy?

Yesterday, I was installing Linux Cent OS in Virtual Machine for an for an experimental project.

When using yum update to get all the latest packages, I realised that yum couldn’t successful updated. This is because office network is behid the squid proxy.

The steps to get yum operations to use a proxy server is really simple.

# The proxy server or IP address:port number
proxy=http://proxy.server.com:8080
# The proxy account for yum connections
proxy_username=userid
proxy_password=password

For more details, read Using yum with a Proxy Server

Popularity: 29% [?]

Tags: ,

Confirm The Input

In many case, when developing a menu system using shell script, it will be good to prompt the user to confirm that it is okay to run a script.

for example:

Are you sure to run this task? [Yes | No]

Only reply with Yes will continue the action, else the script will exit or return to the menu.

This is useful when executing script that will perform critical tasks, such as rebooting server, stop/start application, purging files, and so on.

How to do that?


Continue To Read: Confirm The Input

Popularity: 16% [?]

Tags: