Powered By Blogger

Wednesday, October 13, 2010

installing joomla in ubuntu

  1. Joomla is an one of the most popular Content Management System(CMS).It is easy to create dynamic web pages with the help of Joomla because it has a rich set of templates
  2. Following are the steps to install Joomla in ubuntu
  • Prerequisites for Joomla installation are Mysql,Apache and PHP
  • Download the Joomla_1.5.20-Stable-Full_Package here
  • Unzip Joomla package 
  • Enter the following commands
  • $sudo mkdir /var/www/joomla
  • $chmod 777 /var/www/joomla  //to give permissions for all users
  • Open the browser and type localhost
  • Joomla will guide you through a few steps
  • For further informations download Installation Manual
  • Finally you will get Joomla installed in ubuntu

download YOUTUBE videos easily in ubuntu

hi all,
It is easy to download videos from youtube or any website...
 follow my instructions
  • First search your favorite video on youtube
  • Wait for the video to get buffered fully,then
  • goto PLACES->COMPUTER->File System->tmp
  • There you can see a video file copy and paste it to your home folder
  • Keep in mind,if you close the tab in the browser that file will be deleted
  • So after the full video gets buffered to your tmp you can close the tab after copying.

installing lxsplit in ubuntu


Below I describe how to split a larger file into several small files.
This is useful when the file you want to copy on a stick is bigger than the stick’s capacity.
The file used is this example is a 75 MB .mkv.
I will use lxsplit for splitting and joining the .mkv file. So, I need to install lxsplit: 
wget http://sourceforge.net/projects/lxsplit/files/lxsplit/lxsplit-0.2.4.tar.gz/download
Decompression:
ducu@mylaptop:~/temp$ tar -xvvzf lxsplit-0.2.4.tar.gz
drwxrwxr-x ozzie/ozzie 0 2008-10-03 15:28 lxsplit-0.2.4/
-rw-rw-r– ozzie/ozzie 3200 2008-02-02 10:03 lxsplit-0.2.4/mkuoff_t.c
-rw-rw-r– ozzie/ozzie 1618 2008-05-31 11:03 lxsplit-0.2.4/Makefile
-rw-rw-r– ozzie/ozzie 2520 2008-07-02 20:15 lxsplit-0.2.4/func.c
-rw-rw-r– ozzie/ozzie 2440 2008-10-03 15:05 lxsplit-0.2.4/config.h
-rw-rw-r– ozzie/ozzie 4749 2008-02-02 10:03 lxsplit-0.2.4/merge.c
-rw-rw-r– ozzie/ozzie 1070 2008-02-02 09:45 lxsplit-0.2.4/merge.h
-rw-rw-r– ozzie/ozzie 2345 2008-10-03 15:09 lxsplit-0.2.4/README
-rw-rw-r– ozzie/ozzie 1715 2008-10-03 15:09 lxsplit-0.2.4/ChangeLog
-rw-rw-r– ozzie/ozzie 1174 2008-07-02 20:15 lxsplit-0.2.4/func.h
-rw-rw-r– ozzie/ozzie 1320 2008-10-03 15:25 lxsplit-0.2.4/lxsplit.spec
-rw-rw-r– ozzie/ozzie 1080 2008-02-02 10:03 lxsplit-0.2.4/split.h
-rw-rw-r– ozzie/ozzie 4375 2008-10-03 15:04 lxsplit-0.2.4/split.c
-rw-rw-r– ozzie/ozzie 3670 2008-10-03 15:03 lxsplit-0.2.4/main.c
-rw-rw-r– ozzie/ozzie 17990 2008-02-02 09:45 lxsplit-0.2.4/COPYING
Access the new folder and give the make command:
cd lxsplit-0.2.4/
make
Next, make install command. This is the result:
ducu@mylaptop:~/temp/lxsplit-0.2.4$ sudo make install
cp lxsplit /usr/local/bin
This is my 75MB .mkv file:
ducu@mylaptop:~/movies/Inside.Man.2006.1080p.HDDVD.x264-SZ/Sample$ ls -alh
total 75M
drwxr-xr-x 2 ducu ducu 4.0K 2009-07-21 21:28 .
drwxr-xr-x 3 ducu ducu 4.0K 2009-06-13 02:15 ..
-rw-r–r– 1 ducu ducu 75M 2009-06-13 02:47 Inside.Man.2006.1080p.HDDVD.x264-SZ-SAMPLE.mkv
I will split the 75 MB file in chunks of 20 MB.
ducu@mylaptop:~/movies/Inside.Man.2006.1080p.HDDVD.x264-SZ/Sample$ lxsplit -s Inside.Man.2006.1080p.HDDVD.x264-SZ-SAMPLE.mkv 20M
Splitting Inside.Man.2006.1080p.HDDVD.x264-SZ-SAMPLE.mkv into 4 pieces.
Inside.Man…SZ-SAMPLE.mkv.001 20971520 bytes
Inside.Man…SZ-SAMPLE.mkv.002 20971520 bytes
Inside.Man…SZ-SAMPLE.mkv.003 20971520 bytes
Inside.Man…SZ-SAMPLE.mkv.004 14767172 bytes
Done!
Now I will join the 4 resulted files:
ducu@mylaptop:~/movies/Inside.Man.2006.1080p.HDDVD.x264-SZ/Sample$ lxsplit -j Inside.Man.2006.1080p.HDDVD.x264-SZ-SAMPLE.mkv.001
Creating merged file `Inside.Man.2006.1080p.HDDVD.x264-SZ-SAMPLE.mkv’.
Complete size: 77681732 in 4 files.
Processing file `Inside.Man…SZ-SAMPLE.mkv.001′ …
Processing file `Inside.Man…SZ-SAMPLE.mkv.002′ …
Processing file `Inside.Man…SZ-SAMPLE.mkv.003′ …
Processing file `Inside.Man…SZ-SAMPLE.mkv.004′ …
Done!