HyperVM Xen Installation
HyperVM installation consists of downloading either the hypervm-install-master.sh or hypervm-install-slave.sh from download.lxlabs.com and executing them as root. They will download all the required files and do the complete installation on their own. You will need to disable selinux. edit /etc/sysconfig/selinux and then run setenforce 0.
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
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)
ClamAV 95.2 error while loading shared libraries
I installed ClamAV 95.2 on a server today, the installation went OK and no error is shown but when I tried to run virus scanning I got this error message:
clamscan: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
to fix this problem I run this command:
ldconfig
and clamscan can work fine.