Registering 32-bit DLL on Windows Server SBS 2008 64-bit
Recently I'm installing a 32-bit application on a fresh installed Windows Server SBS 2008 which only comes in 64-bit version. This application that I'm installing is requiring a DLL file to be registered on the registry using the regsvr32 command.
Here comes the problem with registering 32-bit DLL since 32-bit application see different "system32" in Windows Server 64-bit. 32-bit application will see %windir%\syswow64 as their "system32" directory in 64-bit OS, while 64-bit application will use the %windir%\system32.
So to register the 32-bit DLL on 64-bit Windows Server we need to call the 32-bit version of regsvr32 which located on %windir%\syswow64, for example:
C:\Windows\SysWOW64\regsvr32.exe <name of 32-bit DLL>.dll
Installing suPHP on Centos 5
suPHP is a tool that allows PHP scripts to be executed with the permissions of their owners. By not running PHP script using web server’s user rights, suPHP increase the server security.
First install httpd-devel and compiler tools:
yum install httpd-devel gcc gcc-c++ make
Disabling Zimbra View Mail Button on Administrator Console
I've been searching for a solution to disable the "View Mail" button in Zimbra's Administrator control panel. I think this "View Mail" button is not necessary and further more it is privacy breach as administrator can see all emails inside an email account.
The new version 6.0 Network Edition seems to be able to do that as it already has Role Based delegation. However, since there are only less than 10 persons that going to use the mail server, I don't think NE edition is necessary for me.
Currently I'm testing the open source edition of Zimbra 6.0 and have been looking at its code, but unfortunately I can't find a way to disable or at least hide that "View Mail" button.
I joined the Zimbra forum and shoot a question there but it seems the community has no idea either on how to disable it. Zimbra is open source so I think it should be able to be modified, it just a matter of removing a button from its GUI, it's not changing the functionality of its core code.
I'll spend some more time to investigate on how to do this and post the result on next blog post.
Install rTorrent Using CURL in Different Path on Centos Linux
After I posted an article titled "Installing libTorrent and rTorrent on Linux Centos" one of my reader have a concern about dependencies as Centos already have older Curl installed by default.
One way to avoid dependencies problem with Curl is by compiling the newest version to another directory and then compile rTorrent to use that Curl installation and not the old Curl installed by default on Centos. Below is the step-by-step how to install rTorrent with Curl installed in another directory:
Installing libTorrent and rTorrent on Linux Centos
As requested by one of my blog reader, I write this libTorrent and rTorrent installation tutorial
I’m installing libTorrent and rTorrent on a Xen based VPS with Linux Centos 5.4
From the project’s website:
LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code. The library differentiates itself from other implementations by transfering directly from file pages to the network stack. On high-bandwidth connections it is able to seed at 3 times the speed of the official client.
To install libTorrent and rTorrent first we install the compiler and dependencies required
Installing Squid NT on Windows 7
Squid is a caching proxy server that can help reduce internet bandwidth usage and improving response time of loading a website by caching and re-using frequently opened web page. Squid reduce the bandwidth usage and accelerate the website loading by caching static website objects such as images, flash objects and text files, with some modification Squid can cache larger files such as PDF, MP3, executables, flash videos, etc.
Ubuntu 9.04 Keyboard Mapping Problem on Tight VNC
After logged in to VNC server, I get problem with the keyboard mapping on Ubuntu 9.04. When I type "abcdefghij" I get "asdfghjkl;". After searching on Google, the problem was submitted as a bug and the work around is by adding:
export XKL_XMODMAP_DISABLE=1
In VNC’s xstartup file: $HOME/.vnc/xstartup
You have to add the line export XKL_XMODMAP_DISABLE=1 before /etc/X11/Xsession or gnome-session (in case you use GNOME)
Install Tight VNC Server on Ubuntu 9.04 Jaunty Jackalope
Previously I installed TightVNC server on Ubuntu 8.10 which I posted the tutorial here. Today I setup a new Virtual Private Server (VPS) with Ubuntu 9.04 installed (still haven’t got Ubuntu9.10 Xen template, so I didn’t install the latest version).
(Note: before you install TightVNC you have to install a window manager first, I use GNOME and the tutorial I wrote before is still working on Ubuntu 9.04, you can read it here)