Markus Blog What’s going on Internet?

11Mar/100

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
15Dec/094

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:

29Nov/0915

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

24Aug/0915

Installing Gnome and VNC Remote Desktop on Centos VPS

After writing a how-to on installing Gnome and VNC server on Ubuntu Linux, this time I blog on the same tutorial but now I use Centos 5.3 Linux.

It’s almost similar with Ubuntu, but on Centos we use YUM instead of apt-get command. Both package managers have its own fans, nevertheless both yum and apt-get deliver an easy to use package installer.

To read the how-to please go to: http://www.talk.web.id/2009/08/installing-vnc-remote-desktop-on-centos-vps/ as I write it for Talk Web ID. If you like the tutorial or have questions, please write on the comment box.

Tagged as: , , , 15 Comments
9Aug/080

error: kernel image does not exist: /boot/hypervm-xen-vmlinuz

If you have a CentOS Xen Dom0 and experiencing this problem "error: kernel image does not exist: /boot/hypervm-xen-vmlinuz" after upgrading Xen kernel on HyperVM based VPS, here is how to fix it:

31Mar/086

CPanel Problem Upgrading MySQL 5

Several months ago I had problem on upgrading CPanel's MySQL 4.1 to MySQL 5. The problem was occurred on Centos 5 OpenVZ based VPS. Since someone contact me at WebHostingTalk forum asking about the same problem so I decided to re-try again the steps to fix the problem. Hence I post it here too, for future and general purposes :)

ok, do this at your own risk :) backup your mysql data first!

the steps i do:

31Mar/080

Checking Your Linux Centos Version

To check your Linux Centos version, just type:

cat /etc/redhat-release

it will show you the information like this:

CentOS release 5 (Final)
Tagged as: , No Comments
5Dec/070

Creating /dev/random

Somehow in some Linux Centos installation the /dev/random is missing. The problem is some software needs it to working well. Here is how to create it:

mknod /dev/random c 1 9

Other devices might be missing to such as /dev/urandom, /dev/null and /dev/ptmx if you need those device here is how to create it:

mknod /dev/urandom c 1 9
mknod /dev/ptmx c 5 2
mknod /dev/null c 1 3
chmod +666 /dev/null