I have tested XensServer and i am very impress with it performance, compare to Vmware Esxi or Server. even with Openvz (only Linux)
May 3, 2010
Install Xenserver Hetzner for DS 5000 Guest Networking Enabled
March 17, 2010
Iphone advanced call forward
iPhone is considered as a revolutionary mobile phone. May be it’s too revolutionary that it lacks some very basic features. Some iPhone users(including my wife) complain about the absence of conditional call forwarding feature (which can be found in most mobile phones):
- Call forward if busy – Forward incoming call to another number if you’re on call
- Call forward if not answered – Forward the incoming call to another number if it is not answered for a predefined period of time
- Call forward if not reachable – Forward incoming call to another number if the phone is off or without signal
Iphone allows you to setup basic call forwarding to direct all calls to another phone number. However, it doesn’t provide any interface to setup “Call forward if busy” and other conditional call forwarding.
Despite the lack of user interface on iPhone to activate conditional forwarding, you can use the so-called “Call Forwarding Code” to activate it. Here are the tricks:
[ad#ad-1]
Activate Call Forwarding
To setup “Call forward if busy”, simply dial *67*[another phone number]# and tap “Call”
on the iPhone “Busy” = forwards to the desired number when tapping the “ignore button” ( when receiving a call it will give you an option to answer it or ignore it) I have this set to go to my business partners cell phone when I tap ignore.
To setup “Call forward if not answered”, simply dial *61*[another phone number]# and tap “Call”
on the iPhone “No answer” = forwards to the desired number when you let your phone ring without answering it. I set “No answer” with my Voice mail Number… it would be the default number. However, when receiving a call, you can mute the ring by tapping the volume button once if you don’t want to listen to the ringer but want it to forward to the desired number. ( it will still go to the desired number, in this case my voicemail)
To setup “Call forward if unreachable/Unavailable”, simply dial *62*[another phone number]# and tap “Call”
on the iPhone “Unavailable” = forwards to the desired number when iPhone is turned off or iPhone is out of the coverage area and/or you can manually tell your iPhone you are unavailable by simply Pressing the Sleep/Wake button twice (2x) I have this set to go to my office so I don’t ever lose a call when I am not able to answer the call like when I am with a customer….
Deactivate Call Forwarding
To deactivate “Call forward if busy”, simply dial #67# and tap “Call”
To deactivate “Call forward if not answered”, simply dial #61# and tap “Call”
To deactivate “Call forward if not reachable”, simply dial #62# and tap “Call”
You do not need to remember all these codes. Say, you usually use “Call Forward if busy”, save the number as a new contact. Next time, when you need to activate call forwarding, just look up that contact and dial the number.
Note: The above codes should work with most GSM . If it doesn’t work, please further check with your carrier.
[ad#ad-1]
January 10, 2010
Install Phusion Passenger (mod_rails) on cPanel Server
Although cPanel has built in support for running Ruby or Rails apps, it uses Mongrel as the server and doesn’t allow more than one instance per user. That makes it pretty useless for any application that gets even a moderate amount of traffic. Instead we can install Phusion Passenger (a.k.a mod_rails), which in my opinion is a much nicer solution anyway.
First we need to make sure Ruby is installed via a cpanel script:
Now we can install the passenger gem:
Next, compile the apache2 module
The installer may tell you that the the Apache development headers are needed and will suggest ‘yum install httpd-devel’. Since cPanel compiles it’s own version of apache, yum is configured to ignore that package. That is OK, because the program we need is already installed, we just have to tell Passenger where to find it.
Everything should go OK this time, and the installer will give you a few lines to add to your apache config file. It’s best practice with cPanel not to put these in your main httpd.conf, but rather the pre_main_global.conf:
Now we need to setup passenger to run on a per virtual host basis. Open up the httpd.conf file and find the virtual host you want to run a Rails app and add this line:
Replace username with the username of the account.
Now we need to create the directory we just specified, and also create a configuration file letting passenger know it should load for this host:
To make sure those files load, run this:
We need to make sure cPanel records the changes we have for when it rebuilds those files, so run the following two commands:
We can now restart apache:
Since by default the Apache Document Root for each host is /home/username/public_html, you will probably need to symlink that to your applications public directory:
To restart that application, you just need to touch the restart.txt file:
And there you have it, a working high performance rail application server on cPanel! For more information on tuning the Passenger configuration, read the complete docs.
PS:
I just modified few lines from this article after i installed passenger on my cpanel server.