Search This Blog

Monday, January 3, 2011

Drush Installation for Ubuntu 10.04

If you are a new Drupal developer you must know about Drush utility. It makes your life easy when you install new modules and themes.You can install Drush in three simple steps.

STEP 1:-

Install PHP cli package.

root@dev:#apt-get install php5-cli

STEP 2:-
go to /opt directory

root@dev:#cd /opt

Download drush form the link below

root@dev:/opt#wget http://ftp.drupal.org/files/projects/drush-All-versions-4.0-rc1.tar.gz
If this link doesn't work google for new link.
unzip Drush
root@dev:/opt# tar xvfz drush-All-versions-4.0-rc1.tar.gz

STEP 3:-
root@dev:/opt# ln -s /opt/drush/drush /usr/local/bin/

Test drush
root@dev:/var/www# drush dl drupal

This command download a fresh stable version of Drupal to your Apache document root(/var/www/) and extract it.

Other Helpful links :-
official Drush Page.
http://drupal.org/project/drush
Drush cheat sheet.
http://drupal.org/node/477684

Friday, July 23, 2010

How to Install MP4Box on Ubuntu 8.04

Hi Friends,
I am not a very experienced on Ubuntu server, but in past one year I have done lot of new and exciting thing on it. Here I am sharing some of my knowledge and experience with all of you.

Lets Start.

How to Install MP4Box on Ubuntu 8.04

Introduction to MP4Box

you can found a good introduction here

first download source for mp4box

root@dev-laptop:~# cd /usr/local/src/
root@dev-laptop:~#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz

and extract it

root@dev-laptop:~#tar -zxvf gpac-0.4.5.tar.gz

Download extra libraries to enhance the functionality of mp4box

root@dev-laptop:~#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC%20extra%20libs/GPAC%20extra%20libs%200.4.5/gpac_extra_libs-0.4.5.tar.gz

root@dev-laptop:~#tar -zxvf gpac_extra_libs-0.4.5.tar.gz

Copy extra libraries from “gpac_extra_libs” to “gpac” folder

root@dev-laptop:~#cp -r gpac_extra_libs /usr/local/src/gpac/extra_lib/

root@dev-laptop:~# cd /usr/local/src/gpac

change the permission of configuration file
chmod 755 configure
./configure
root@dev-laptop:~#make lib
root@dev-laptop:~#make apps
root@dev-laptop:~#make install lib
root@dev-laptop:~#install


if you are getting a error message like this
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory '/your directory'
make: *** [lib] Error 2

Install Glut first
root@dev-laptop:~#wget http://kr.archive.ubuntu.com/ubuntu/pool/main/f/freeglut/freeglut3_2.6.0-0ubuntu2_amd64.deb

root@dev-laptop:~#wget http://kr.archive.ubuntu.com/ubuntu/pool/main/f/freeglut/freeglut3-dev_2.6.0-0ubuntu2_amd64.deb

and then install these two packages one by one ...

root@dev-laptop:~#dpkg -i freeglut3_2.6.0-0ubuntu2_amd64.deb
root@dev-laptop:~#dpkg -i freeglut3-dev_2.6.0-0ubuntu2_amd64.deb

and try again .

test your instillation
root@dev-laptop:~#MP4Box -version
MP4Box - GPAC version 0.4.5 (build 33)
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
(c) ENST 2005-200X

Congratulation your MP4Box installed successfully !!!!!!!