Software
How to force fsck in Ubuntu
Most of you may try to let servers run as long as possible to maximize availability in term of uptime. That is good. However, there is at least a side-effect originated by the nature of file system where as it is necessary to clean up something important. For example, ext2/ext3 should be checked for every 30 mounted or 180 days. It is fine to reboot a server once a year as long as the file system is not read/write too often, especially when there is very low free space. That's why you should force to run fsck
sometimes.
- sugree's blog
- Add new comment
- Read more
- 15166 reads
How to redirect url permanently in Apache
One day you may want to rename your domain name to a new one due to inappropriate use of the old domain. However, the old domain is still valid and still valuable for search engines. It is possible to redirect all existing urls to the new domain gracefully. For example, http://abc.com/node/8 to http://def.com/node/8. Whenever one tries to access http://abc.com/node/8, webbrowser will be automatically redirected to http://def.com/node/8. This behavior also applies to search engines.
The trick is to use mod_rewrite in Apache HTTP Server
- sugree's blog
- Add new comment
- Read more
- 2006 reads
How to convert video to high quality AVI by FFmpeg
Sometimes, Mencoder is too complicated for such a simple task due to its flexible options. FFmpeg is much more simpler and straightforward for that task. For example, you have a music video in MPEG but it seems too big. However, you don't want to drop audio quality too much.
- sugree's blog
- Add new comment
- Read more
- 5206 reads
How to display image field inline in Drupal
Drupal is one of the greatest CMS right now. It is possible to build a site in minutes and a few days for customization without changing single line of existing codes. That means upgrading is painless. CCK is very powerful for customizing existing content types such as blog to have inline image per node using image field. However, default behavior is to display the image separately. It is not nice so I have to customize myself.
- sugree's blog
- Add new comment
- Read more
- 5732 reads
How to convert DVD video structure to AVI using Mencoder
Sometimes I have videos in DVD structure. It is a suitable format for burning to DVD disc directly. However, I don't want this high quality format. AVI is enough to reduce disk space usage. My tool is Mencoder again.
- sugree's blog
- Add new comment
- Read more
- 2418 reads
I have just installed the latest 's project called . It works with perfectly. Anyway, I have some problem with internet connection during in on-line mode. As a result, javascript was corrupted but Google Gears didn't realize this problem. Even though I moved to better internet connection, the broken javascript was not redownloaded again. I also tried to clear cache in Firefox with no luck. Eventually, I found that Google Gears have its own cache.
- sugree's blog
- 4476 reads
Recent comments
3 years 29 weeks ago
3 years 34 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago