Archive for April, 2008

Installing Ruby on Rails on cPanel

These are few steps to install Ruby on Rails on cPanel server:

1) Login to SSH and root and run the following command: /scripts/installruby
This should install Ruby, Rails, Mongrel and FastThread for you.

2) Just to cover our bases we’ll run the following commands also in SSH
gem install rails
gem install mongrel
gem install fastthread

The reason we install these gems even though they already should be installed is some times the cPanel scripts installer does not work properly and does not install them.

3) Open ports 3000 and 12001 if you’re running a firewall by putting those ports on TCP_IN

You’re now all done install Ruby on Rails on your cPanel server. It’s always a good idea to also login to WHM go to module installers and double check that all the ruby gems are installed. If so you now have it all setup and you can now officially offer it. I guess one other step you may consider is giving users the ability to install gems themselves which is an option on the module install for ruby gems.

If you like blog, please consider buying me a beer.

Webmaster     No Comments »

vBulletin 3.7.0 GOLD Released

It’s that time again! Today, the vBulletin development team is proud to unveil the release of vBulletin version: 3.7.0. GOLD!

vBulletin 3.7.0 contains a plethora of new features, many of which have been long requested by users and customers, while other new features will come as a surprise to everyone. 3.7.0 is slated to be the final major release of the vBulletin 3.x series before all forum development efforts are switched over to vBulletin 4.x, after which 3.x will receive only bug fix releases.

You can read about it on vBulletin’s Website

If you like blog, please consider buying me a beer.

Webmaster     No Comments »

Speed up Your Website

Loading speed of your website is one of the important thing which effects your website traffic. No one likes to sit for few minutes just to wait the “welcome” message of your site. So prepare your web pages carefully.
There are some ways to speed up your website loading time:

HTML:

  • Use CSS where possible: Because pages with stylesheets load faster than those web sites designed with font tags and tables, and also it’s much faster and easier to make changes. (Some resources on CSS – http://www.webcredible.co.uk/user-friendly resources/css/, http://www.websitetips.com/css/, and http://www.glish.com/css/)
  • Stay away of nested tables: Nested tables are basically tables within tables, but too many of theses can really slow down the browser. When a page loads the browser starts from the top and goes down in a consecutive manner, with nested tables it has to find the end of the table before it can display the entire thing.
  • Specifying height and width: For tables and images it’s a good idea to specify their height and width, as it helps out the browser and therefore speeds up the process.

Page size:

  • Reduce the number of images where possible: Most common causes of slow web pages are images, but they are also the easiest to fix. Try to eliminate repeat and unnecessary images, so they are not downloaded the second time. And also try not to use images for words or text, unless it’s absolutely necessary reason being the download time and also they can’t be searched.
  • Reduce the size of images: Everybody uses different techniques (e.g.converting to JPEG), but as long as the images are compressed it’s beneficial for everyone.
  • Remove unnecessary multimedia: This includes video, audio, flash and animation, if it isn’t important then it shouldn’t be on the page.
  • Remove unnecessary scripts: Some codes can slow down the site, consider evaluating the codes and making them better if possible.
  • Remove unnecessary META tags and META content: META tags don’t achieve very much anymore, people used them for search engine optimization but due to misuse they don’t hold much importance in SEO.

Web hosting:

  • Bandwidth: Make sure you have enough bandwidth allocated, it’s a good idea to attain more bandwidth then needed just in case of a sudden rise in traffic. If your bandwidth website is nearing its limit the website speed can decrease significantly.
  • Capacity of severs: There’s a limit as to how many people can access your website so once again if your web site is growing in traffic, you should consider upgrading your service.
  • Data center location: you can’t expect to get best speed from US while your server located somewhere in Asia, the easiest way to determine your server location is by choosing data center which located in the same country with you target market.

These are just some of the basics to speed up your website, there are many other ways you can reduce download time for your website. If you have any other tips please feel free to post.

If you like blog, please consider buying me a beer.

Webmaster     No Comments »

Horton Hears a Who! [2008]

Genre: Animation / Adventure / Comedy / Family
Plot Outline:
Horton the Elephant struggles to protect a microscopic community from his neighbors who refuse to believe it exists.

Movie Info
http://www.imdb.com/title/tt0451079/

Movie Trailer


Download Links
1 Link [800mb]

Flyupload Link
click here to download

Eatlime Link
click here to download

Adrive Link
click here to download

Sharedzilla Link
click here to download

8 Links [100mb each]

Megaupload Links

http://www.megaupload.com/?d=DD6GI5M1
http://www.megaupload.com/?d=RBDMX3U6
http://www.megaupload.com/?d=MJA7F133
http://www.megaupload.com/?d=8UXQKKJY
http://www.megaupload.com/?d=O89ILUD3
http://www.megaupload.com/?d=DFGWBYDQ
http://www.megaupload.com/?d=56DKMA83
http://www.megaupload.com/?d=5CCA9O9D

Rnbload Links

horton part1
horton part2
horton part3
horton part4
horton part5
horton part6
horton part7
horton part8

Netload Links

horton part1
horton part2
horton part3
horton part4
horton part5
horton part6
horton part7
horton part8

Mediafire Links

http://www.mediafire.com/download.php?evjhxeq10fm
http://www.mediafire.com/download.php?bmttvmmgmjm
http://www.mediafire.com/download.php?zdqjhymjg0f
http://www.mediafire.com/download.php?1bj6j9g9fvg
http://www.mediafire.com/download.php?xwlm3y6f1tm
http://www.mediafire.com/download.php?k1a1dgzv119
http://www.mediafire.com/download.php?lwylw49d2n2
http://www.mediafire.com/download.php?swqweweoumj

Links are interchangeable guys..
Enjoy~~!!!!!!

If you like blog, please consider buying me a beer.

Movie     No Comments »

One Missed Call [2008]

Genre: Horror / Mystery / Thriller
Plot Outline:
In this remake of the Japanese horror film “Chakushin Ari” (2003), several people start receiving voice-mails from their future selves — messages which include the date, time, and some of the details of their deaths.

Movie Info
http://www.imdb.com/title/tt0479968/

Movie Trailer



Download Links

1 Link [800mb]

Flyupload Link
click here to download

Eatlime Link
click here to download

ADrive Link
click here to download

Sharedzilla Link
click here to download

8 Links [100mb each]

Megaupload Links

http://www.megaupload.com/?d=OQ15ITLN
http://www.megaupload.com/?d=U17X2MKS
http://www.megaupload.com/?d=QLW2M6CI
http://www.megaupload.com/?d=XP2EXRY6
http://www.megaupload.com/?d=Z2QJ48HT
http://www.megaupload.com/?d=CSCTNIO2
http://www.megaupload.com/?d=Y9JIQVDE
http://www.megaupload.com/?d=E2R5F2VF

Rnbload Links

onemissedcall part1
onemissedcall part2
onemissedcall part3
onemissedcall part4
onemissedcall part5
onemissedcall part6
onemissedcall part7
onemissedcall part8

Netload Links

onemissedcall part1
onemissedcall part2
onemissedcall part3
onemissedcall part4
onemissedcall part5
onemissedcall part6
onemissedcall part7
onemissedcall part8

Mediafire Links

http://www.mediafire.com/download.php?c0gggmvycam
http://www.mediafire.com/download.php?4n9t203yloc
http://www.mediafire.com/download.php?wjg9mxfsybn
http://www.mediafire.com/download.php?x2to4bzf1c1
http://www.mediafire.com/download.php?hyjqintsz0l
http://www.mediafire.com/download.php?em2hwj52gmw
http://www.mediafire.com/download.php?mmlvnmym3ej
http://www.mediafire.com/download.php?vnqj1wyhvvc

Links are interchangeable..
Enjoy the movie~~!!!!

If you like blog, please consider buying me a beer.

Movie     No Comments »

Online Lorem Ipsum Generator

Free to use online lorem ipsum generator. If you don’t know what “lorem Ipsum” is; it’s the dumy text which is usually used by (mostly) designers to fill the text placeholders.

You can check out at http://www.lorem-ipsum.info/generator3

Lorem ipsum generator

If you like blog, please consider buying me a beer.

Webmaster     No Comments »

How to Install FFMPEG and FFMPEG-PHP on CentOS

I managed to install ffmpeg & ffmpeg-php on my client’s server. I hardly learned to do this since the tutorials available on the net are using old version packages. So, this tutorial is re-written with some adjustments especially the packages version.

Switch to working directory
cd /usr/local/src

Download the source files needed
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://downloads.sourceforge.net/ffmpeg-php/ffmpeg-php-0.5.2.1.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.tar.gz

Extract the Source files
bunzip2 essential-20071007.tar.bz2; tar xvf essential-20071007.tar
tar zxvf flvtool2-1.0.6.tgz
tar zxvf lame-3.97.tar.gz
bunzip2 ffmpeg-php-0.5.2.1.tbz2; tar xvf ffmpeg-php-0.5.2.1.tar
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.2.0.tar.gz

Create a directory for codecs & import them
mkdir /usr/local/lib/codecs/
mv essential-20071007/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/

Install SVN/Ruby
yum install subversion
yum install ruby
yum install ncurses-devel

Get the latest FFMPEG/MPlayer from the subversion
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

Fix few Lib issues for next steps
Add this line in /etc/ld.so.conf
/usr/local/lib

then run
ldconfig -v

Compile LAME
cd /usr/local/src/lame-3.97
./configure
make
make install

Compile libOGG
cd /usr/local/src/libogg-1.1.3
./configure
make
make install

Compile libVorbis
cd /usr/local/src/libvorbis-1.2.0
./configure
make
make install

Compile flvtool2
cd /usr/local/src/flvtool2-1.0.6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install

Compile MPlayer
cd /usr/local/src/mplayer
./configure
make
make install

Compile FFMPEG
cd /usr/local/src/ffmpeg
./configure –enable-libmp3lame –enable-libogg –enable-libvorbis –disable-mmx –enable-shared
echo ‘#define HAVE_LRINTF 1′ >> config.h
make
make install

Fix:

remove –enable-libogg if you get any error regarding libogg when configure ffmpeg

Create tmp directory because it will return an error if you have secure /tmp:

mkdir tmp
chmod 777 tmp
export TMPDIR=./tmp

to revert back: export TMPDIR=/tmp

Finalize the codec setups
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51

Few tasks before compiling FFMPEG-PHP
yum install automake
yum install autoconf
yum install libtool

Compile FFMPEG-PHP
cd /usr/local/src/ffmpeg-php-0.5.2.1
phpize
./configure
make
make install

Add FFMPEG-PHP as an extension of PHP
Add this line to your php.ini file (Check the correct path of php.ini)
extension=ffmpeg.so

Restart Apache to load FFMPEG-PHP
service httpd restart

Check if FFMPEG-PHP is loaded correctly
Create a file called phpinfo.php in your webroot and add the following code

<?php
phpinfo();
?>

Run this page using your browser and if you see a section on ffmpeg then everything is installed and working.

If you like blog, please consider buying me a beer.

Webmaster     No Comments »

How to Install ConfigServer Security Firewall (CSF)

ConfigServer Security & Firewall (CSF) is a Stateful Packet Inspection (SPI) firewall, Login/Intrusion Detection and Security application for Linux servers. It has interface which is fully integrated with WebhostManager (WHM) on cPanel servers.

Installation steps:

rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

You should not run any other iptables firewall configuration script. For
example, if you previously used APF+BFD you can remove the combination (which
you will need to do if you have them installed otherwise they will conflict
horribly):

sh /etc/csf/remove_apf_bfd.sh

That’s it. You can then configure csf and lfd in WHM, or edit the files
directly in /etc/csf/*

csf is preconfigured to work on a cPanel server with all the standard cPanel
ports open. It also auto-configures your SSH port if it’s non-standard on
installation.

You should ensure that kernel logging daemon (klogd) is enabled. Typically, VPS
servers have this disabled and you should check /etc/init.d/syslog and make
sure that any klogd lines are not commented out. If you change the file,
remember to restart syslog.

See the readme.txt file which included on the package for more information.

You should be fine to keep the default configuration which come with the installation, however it’s always better to make your own configs to fit your needs ;)

Uninstall:

cd /etc/csf
sh uninstall.sh

If you like blog, please consider buying me a beer.

Webmaster     No Comments »

TASHAN REVIEW

Hot, single and beautiful Pooja (Kareena Kapoor) is all out to get hold of eligible bachelor and playboy Jimmy Cliff (Saif Ali Khan) who speak English fluently and work in a call centre. Pooja works for Bhaiyyaji (Anil Kapoor) who is a dangerous underworld Don but illiterate. Bhaiyyaji is awaiting a group of foreign delegates and want to speak to them in English. A love affair is started between Jimmy and Pooja under the nose of Bhaiyyaji. Bhaiyyaji plan to marry Pooja where Jimmy tries to get her out of Bhaiyyaji’s clutches. Pooja is indebted to Bhaiyyaji for about half a crore rupees and cannot quit. The lovers make a plan and succeed in getting out 25 Crores of Rupees belong to the Don. Pooja cheat Jimmy and escape with the money. A skillful, talented and ambitious Guerilla from Kanpur, Bachchan Pande (Akshay Kumar) was bought in to search the lovers. Jimmy surrenders before Bhaiyyaji and tells his innocence. From him they got a clue that she can be in Haridwar. So, the two are assigned to get hold of Pooja and the 25 Crore Rupees. Will they meet Pooja? Why Pooja cheat Jimmy and run away with the money? Who will marry Pooja at the end? What will happen to the Underworld Don? Where those 25 Crore Rupees are hided? There are many interesting questions one can ask from this point. Watch the movie to find out the answers. It is fun.

The director wish to heat up the boys with Kareena’s 2 piece Swim suite appearance showing the flat gym body muscles. Killadi Kumar tries a Rajani number several times to get giggles from girls, but he press below the belt line.

About the drawbacks of the movie? There are many and many. There is no logic whatsoever. All departments of the film making could have been improved. But do you really wish to know all of?

In short, don’t expect a great movie. It is another light entertainer with a formula action story told in the fun format in cartoon style. Time pass, nothing more, nothing less. The movie probably will add another hit for the Jubilee Kumar who started his winning streak long back, where it is getting positive reports.

If you like blog, please consider buying me a beer.

Hindi Songs     No Comments »

Neend jub mujhey aaghosh main laiti hay

Neend jub mujhey aaghosh main laiti hay,
Aapka chehra nigahoon mein bus jaata hay,

ek dum say meri aankh khul jaati hay,
Dil se bay sakhta yeh awaaz aati hay,
.
.
.
.
.
“AMMI BHOOT”

If you like blog, please consider buying me a beer.

sms     No Comments »