skip to content

Technologies

Conflicts among ss, com_err, e2fsprogs, and e2fsprogs-libs

After I did a "emerge --sync" today, "emerge -pvuDN world" showed the following package conflict:

Set up SSH Tunneling on a Linux Workstation

In short, you can issue this command from your terminal to do ssh tunneling:

$ ssh -f -N -L 8081:127.0.0.1:3000 username@hostname.com

"-f" is to requests ssh to go to background just before command execution.

"-N" tells SSH client not to execute a remote command.

"-L [bind_address:]port:host:hostport" is to specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side.

For convenience, we will setup a profile in ~/.ssh/config:

Install VMware Tools under BackTrack 3

To Install VMware Tools under BackTrack 3, here are the steps:

Locale in CentOS

To compile a locale in CentOS, do something like this:

root# localedef -c -f UTF-8 -i en_US en_US.utf8

To see all locales available, do this:

$ locale -a

To set locale, do something like this:

$ export LANG=en_US.UTF-8

 

Mail Transport Agents Comparison

This article MTA Comparison offers a very nice summary on Qmail, Postfix, Sendmail, and Exim.

Drupal Tip: How to Move Serialized Data from One Table to Another Table

We were trying to insert serialized array data into a table, using the module.install update. We then noticed that we couldn't unserialize the data afterwards. After a little looking around, we realized that we cannot use the function "update_sql()" to insert the serialized data.

Search-and-destroy, misleading software?

Someone left a comment in this blog introducing a trojan removal tool from search-and-destroy.com. So we decided to take a look.

That website looks very skeptical, with no real contact information at all. It displays some security seals, but god knows where those seals come from.

With a couple more searches, we found some comments on that website, telling that it is a misleading software. Here are the links:

Install Memcache and Memcached

Install memcached

See How to install Memcache on Debian Etch or How to install Memcache on OSX.

To install memcached on Gentoo:

root# emerge -pv net-misc/memcached
[ebuild  N    ] dev-libs/libevent-1.4.4  ...
[ebuild  N    ] net-misc/memcached-1.2.5  ...

root# emerge -v net-misc/memcached

Upgrade Drupal-Localizer-5.x-1.x to Drupal-Localer-5.x-3.x

If you are still using Drupal-Localizer-5.x-1.x, please consider upgrading to Drupal-Localizer-5.x-3.x. The localizer module will not be upgraded to Drupal-6. Upgrading your Drupal-Localizer-5.x-1.x to Drupal-Localizer-5.x-3.x will make you site compatible for upgrading to Drupal-6.

HowTo: Upgrading from Localizer 1.10 to 3.x is what you need to follow. Below is my note taken when upgrading from Drupal-Localizer-5.x-1.11 to Drupal-Localizer-5.x-3.11.

Powered by Drupal.