Linux

How to bind directory in Linux

Have you ever been getting problem regarding chroot aka Change Root? Change root is a great solution to create a jail for such a process, users or services to maximize level of security concern. The most common usage of Change Root is for FTP server. However, it is not perfect in some cases. For example, you are going to provide a file server for mirroring through FTP. Unfortunately, you don't have SAN or NAS to serve large storage, says 1 TB or more, on a single directory (a partition). There are several solutions, e.g., parallel file system and friends. Another solution with less complexity is to bind directory locally.

How to setup Xserver for i810-based WXGA on Projector

It has been so long since I upgraded my laptop to Ubuntu Edgy Eft and dual screen does not work properly anymore. I tried several techniques but all failed. Anyway, I have just found a new hope in Gentoo Howto. By some modification the given xorg.conf in the howto, the dual screen works again.

How to merge video files using MEncoder

I don't have transcode and I also don't want to install transcode on my laptop. Anyway, I have MPlayer and its brother, mencoder. It is good enough for merging video files into one long file.

How to change IP of ISPConfig

When you move your hosting server to another ISP or even just change its IP address, you have to update all configuration regarding IP in ISPConfig. Below is my log.

Compiling C++ applications for mipsel platform

In the past, I usually posted about my success of doing something but not this post. I have been encountering big problem that is not solved yet. It is more than 7 days from the beginning. Generally, I will leave tabs relating to my current interesting in Firefox until all problems are solved. Then I will post what I did here or somewhere else. In my opinion, 7 days are too long for such a problem. I should suspend this topic for next chance. So I will post everything involved to this topic here as the checkpoint.

The problem is about running a C++ applications on mipsel platform. In particular, the applications are all examples of libtorrent and the mipsel platform is Asus WL-500g Premium. libtorrent is written in C++. That is not exactly the cause of this problem. The real problem is it relies on Boost library and this library uses many C++ features that are not available in uClibc++.

How to generate certificate revocation list (CRL)

One important thing that a Certificate Authority must have is Certificate Revocation List or so called CRL. The most common CA software is OpenSSL so you have to generate CRL in regular basis using OpenSSL command if your CA system relies on OpenSSL