August 27th in Money & Finance by pbu .

2Checkout Payment to Indian Bank Account

I have been a 2co vendor processing credit cards and recently, 2CO gave a bit of shock for indian people, if i selected wire transfer to indian bank account.

2Checkout.com has been informed by our bank that with the banking regulation in India that a wire can only be issued for payments that are over 100,000.00 INR and must include the IFSC (Indian Financial System Code) code for your bank, along with your bank’s full address and branch name – please …

August 26th in Linux/Unix by pbu .

Capturing a Screenshot of a Website

How to Capture a Website Screenshot in Linux

You might be wondering how to capture a website screenshot (as thumbnail) but
you dont know how to do it. Although PHP GD library is available, it is just
not possible to do the task with php. You will need a linux server running xwindow
system and a browser like KDE konquerer or firefox. In this tutorial i am going
to show you how to capture a website screenshot with khtml2png
in a Centos/RHEL server. I am documenting …

August 25th in Linux/Unix by pbu .

how to install a new .deb package in debian/ubuntu

If you have downloaded a new .deb package file and you dont know how to install it. here is an easy way to install it.

dpkg -i mypackage.deb

You cannot install by apt-get instead you need to use dpkg.

Hope this helps!

August 24th in Linux/Unix by pbu .

how to change default homepage with htaccess?

It is easy to change the default homepage with .htaccess file. Normally the default homepage is index.htm or index.php.

what if you want to set the default homepage to some other file (say home.php) . All you have to do is create a .htaccess file in the public html folder with the following line.

DirectoryIndex home.php

It would be interesting to note that you can access the home.php with GET like this.

http://www.domain.com/?photo=254

which will be same as

http://www.domain.com/home.php?photo=254

This is a useful tip!

Tip …

August 19th in Linux/Unix by pbu .

How to install Xvfb (X11 Server) in Linux Server

Xvfb is a virtual frame buffer X11 server that can be installed on linux servers without a monitor and graphics card. It can be customized for multiple displays and screens as well. In this tutorial i will show how to install, setup and configure a display. I am installing the Xvfb (X11 server) on a Centos/ Redhat linux system.

Example:

If you want to capture a screen shot but you have only a linux server running and no graphics card or …

August 18th in Linux/Unix by pbu .

Xvfb – Fatal server error: Couldn’t add screen 0

i was attempting to launch Xvf (virtual x server) and i have noticed that if i specify 32 bit depth i always get this error. Its a bit strange becuase it works perfectly fine for 24bit and 16bit colors.

Xvfb :1 -screen 0 800x600x32&

The error i get is

Fatal server error:
Couldn’t add screen 0

If i run in 24bit

Xvfb :1 -screen 0 800x600x24&

No error!
I dont know why!

August 18th in Linux/Unix by pbu .

Fix: FreeFontPath: FPE “unix/:7100″ refcount is 2, should be 1; fixing

I was trying to run a Xorg window system and every time in between i was getting this nasty error in between the commandlines. I am running Centos/RedhatEL

FreeFontPath: FPE “unix/:7100″ refcount is 2, should be 1; fixing.

I was also getting this warning while attempting to launch firefox in my server from command line.

FreeFontPath: FPE “unix/:7100″ refcount is 2, should be 1; fixing.
FreeFontPath: FPE “unix/:7100″ refcount is 2, should be 1; fixing.
No fonts found; this probably means that the fontconfig
library is …

August 18th in Linux/Unix by pbu .

Xvfb Problems & Fixes

Xvfb is a virtual frame buffer suitable for headless linux servers having no physical hardware like graphics card or monitor. I was trying to install Xvfb and i have a countless problems with my centos server.

Installing Xvfb

yum install Xvfb

When i try to run the Xvfb to start a virtual frame buffer, i am getting these errors and i just cant fix it!

Xvfb :1 -screen 0 1024x768x24 &

The errors were

Couldn’t open RGB_DB ‘/usr/share/X11/rgb’
error opening security policy file /usr/lib/xserver/SecurityPolicy
Could not init …

August 18th in Linux/Unix by pbu .

how to install KDE X Window System in linux commandline?

If you are struggling to install KDE (KDE desktop environment) an x window system here is a simple commandline.

All you have to do is

yum groupinstall “X Window System” “KDE (K Desktop Environment)”

If you want to install in Debian/Ubuntu

apt-get install kde

Thats it!

August 18th in Linux/Unix by pbu .

How to install Xvnc or VNC Server?

Xvnc or vnc server is a free linux based virtual monitor. Suppose you are running a linux server without monitor and graphics card but you want to render images. so we use virtual environment like vnc or Xvfb.

To install Xvnc

yum install vnc-server

Then

Xvnc -screen 800x600x32 :

 Page 1 of 2  1  2 »