Tuesday, 15 September 2009

Install an IBM Web Application Server - Community Edition(WAS-CE) in Fedora 11

Installation Steps:

STEP 1:Download the installation bundle of WAS-CE with ibm-sdk150 java from
http://en.wikipedia.org/wiki/Ia32


STEP 2:Installation of application server :
  • Extract the files from wasce_ibm150sdk_setup-version-platform.tar.bz2 into an empty directory using a utility that supports the tar/bzip2 format using
[root@localhost Download]#tar -jxf wasce_ibm150sdk_setup-version-platform.tar.bz2
or
[root@localhost Download]#bzip2 -d wasce_ibm150sdk_setup-version-platform.tar.bz2
  • Install the dependent packages for wasce
[root@localhost ~]#yum install libXp libXp-devel compat-libstdc++-33
  • Install the IBM SDK Java(TM) 2 Technology Edition by invoking rpm package manager on .rpm file from the directory created above
[root@localhost ibm_was_ce]#rpm -Uvh ibm-java2-i386-sdk-5.0-10.0.i386.rpm
  • Make wasce_setup-version-unix.bin executable
[root@localhost ibm_was_ce]#chmod 755 wasce_setup-2.1.1.3-unix.bin
  • Install the application server wasce_setup-version-unix.bin from the directory created above and follow the instructions provided by the install wizard
[root@localhost ibm_was_ce]#./wasce_setup-2.1.1.3-unix.bin
  • After a successful installation, the wasce_ibm150sdk_setup-version-platform.tar.bz2 file and the directory created above are only needed if you want to perform another installation. The installed application server does not require them. You may delete or archive them to suit your conventions.

STEP 3:
  • Starting the server
[root@localhost ~]#cd /opt/IBM/WebSphere/AppServerCommunityEdition/bin
[root@localhost bin]#./startup.sh
Using GERONIMO_HOME: /opt/IBM/WebSphere/AppServerCommunityEdition
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Using GERONIMO_OUT: /opt/IBM/WebSphere/AppServerCommunityEdition/var/log/server.out

Geronimo started in background. PID: 6899

This indicates that your server is started successfully.
  • The server will be started in the background and the server's output will be written to /var/log/server.out. When initialization is complete, this file contains a list of ports on which the server is listening, application modules started, active web application URLs, and should end with the server started message.

Step 4:Verifying the server

After your server has successfully started, access these pages to verify the installation:

Step 5:Stopping the server

[root@localhost bin]#./shutdown.sh
Using GERONIMO_HOME: /opt/IBM/WebSphere/AppServerCommunityEdition
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Username: system
Password: *******
Locating server on localhost:1099... Server found.
Server shutdown started
Server shutdown completed

Sunday, 13 September 2009

Audio and video codecs for FEDORA 11 for totem

I've installed fedora 11 and everything went allright.But when i tried to play an audio song in default media player i.e. Totem, it produced an error

Now what can i do?
so dont worry ......
You need to install following audio and video codecs for totem:
  • gstreamer-plugins-base
  • gstreamer-plugins-good
  • gstreamer-plugins-ugly
  • gstreamer-plugins-bad
  • gstreamer-ffmpeg
These codecs installed may help you to enjoy the audios and videos.

If these does not work then just try a simple way to play ur media files :-
  • Open the terminal(Applications->System Tools->Terminal),
  • switch to superuser mode(su -),
  • type the following command -
rpm -Uvh http://dnmouse.org/autoten-4.1-8.fc11.noarch.rpm
  • this will install ur autoten(GUI repository manager).
  • just click the repositories u require and it will install all ur checked repos.

This will help u ......I hope!!!

Monday, 7 September 2009

Upgrade your pidgin to 2.6.1 version

Pidgin 2.6.0 was made available a few days ago and now Pidgin 2.6.1 was released as a bug fix version to the new stable 2.6 series. Among the features and improvements which come with 2.6.0 are:

- several changes and bug fixes in libpurple, the library used by Pidgin for its various chat protocols
- various DNS fixes
- AIM and ICQ fixes
- Gadu-Gadu fixes
- MSN new features, like support for receiving audio clips, support for receiving handwritten messages, many other fixes
- lots of XMPP fixes and improvements, like voice and video support with Jingle or the Service Discovery Browser plugin
- Yahoo! fixes and improvements
- Finch and the Pidgin GTK+ Theme control plugin also received improvements

To install Pidgin 2.6.1 in Ubuntu 9.04 Jaunty Jackalope from the Pidgin developers PPA on Launchpad, just follow the instructions below:

Step 1:
Edit the /etc/apt/sources.list file with text editor (gksudo gedit /etc/apt/sources.list) and add the following two lines:

deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main

and save the file.
Step 2:
Add the trusted key for this repository:

aryan@aryan-laptop:~$gpg --keyserver http://keyserver.ubuntu.com --recv-keys
A1F196A8
aryan@aryan-laptop:~$gpg --export A1F196A8 | sudo apt-key add -

Step 3:
Update the packages lists:

aryan@aryan-laptop:~$sudo apt-get update

Step 4:
The next step is to uninstall your currently Pidgin installation:

aryan@aryan-laptop:~$sudo apt-get remove --purge pidgin

Step 5:
And the last step is just to install Pidgin 2.6.1 from the newly added repositories:

aryan@aryan-laptop:~$
sudo apt-get install pidgin

*******************This should be all set to your new Pidgin*************************

Friday, 28 August 2009

Installing a package from the source in UBUNTU 9.04

Installing a package from source

  • Make sure you have all the necessary development tools (i.e. libraries, compilers, headers):
aryan@aryan-laptop~$sudo apt-get install build-essential
aryan@aryan-laptop~$sudo apt-get install linux-headers-`uname -r`
Note: "uname -r" lists the current kernel you are using
  • Extract the archive that contains the source files:
aryan@aryan-laptop~$tar xvf sourcefilesarchive.tar.gz
  • Build the package using the package's script (in this case the configure script), compile the package (make), and install the compiled package into your system (make install):
aryan@aryan-laptop~$cd /path/to/extracted/sourcefiles
aryan@aryan-laptop~$./configure
aryan@aryan-laptop~$sudo make
aryan@aryan-laptop~$sudo make install
Note: typing ./ before a filename in the current folder allows the Linux shell to try and execute the file as an application even if it is not in the path (the set of folders which it searches when you type a command name). If you get a "permission denied" error, the file is not marked as being executable. To fix this:
aryan@aryan-laptop~$sudo chmod +x filename
Example: In the above instructions, configure is the shell script to build the package from source. To be sure the configure script is executable:
aryan@aryan-laptop~$sudo chmod +x configure

Handling .tar.gz and .tar.bz2 files in ubuntu 9.04

Handling (Tar/GZip) and (Tar/Bzip2) archives

(Tar/GZip) archives end in ".tar.gz" and (Tar/Bzip2) archives end in ".tar.bz2". Bzip2 is the newer, more efficient compression method. These files can generally be automatically extracted by merely clicking on them from your file manager (Nautilus), since file associations with the appropriate archival utilities are set by default in Ubuntu. These instructions are for those who wish to use the command line Terminal.

  • To extract:
aryan@aryan-laptop:~$tar xvf packagename.tar.gz

Note: tar is an application which can extract files from an archive, decompressing if necessary.

-x means extract.
-v means verbose (list what it is extracting).
-f specifies the file to use.
  • Decompressing ".gz" files
aryan@aryan-laptop:~$gunzip file.gz
  • Decompressing ".bz2" files
aryan@aryan-laptop:~$bunzip2 file.bz2
Note: You can also decompress a package first by using the command gunzip (for .gz) or bunzip2 (for .bz2), leaving the .tar file. You would then use tar to extract it.
  • To create a .gz archive:
aryan@aryan-laptop:~$tar cvfz packagename.tar.gz folder
  • To create a .bz2 archive:
aryan@aryan-laptop:~$tar cvfj packagename.tar.bz2 folder

apt and package basics in ubuntu 9.04

These instructions are for installing packages from the command-line Terminal. Terminal can be started:
Applications -> Accessories -> Terminal
  • Install packages:
aryan@aryan-laptop:~$sudo apt-get install packagename

Example:
aryan@aryan-laptop:~$sudo apt-get install vlc
  • Remove packages:
aryan@aryan-laptop:~$sudo apt-get remove packagename
  • To remove all dependencies:
aryan@aryan-laptop:~$sudo apt-get autoremove
Example:
aryan@aryan-laptop:~$sudo apt-get remove mpd sbackup
  • Search for packages:
aryan@aryan-laptop:~$apt-cache search 
Examples:
aryan@aryan-laptop:~$apt-cache search Music MP3
aryan@aryan-laptop:~$apt-cache search "Text Editor"
aryan@aryan-laptop:~$sudo apt-get update
  • Upgrade packages:
aryan@aryan-laptop:~$sudo apt-get upgrade
  • Upgrade the entire distribution (e.g. from Intrepid to Jaunty):
aryan@aryan-laptop:~$sudo apt-get dist-upgrade


Post Installation steps via Terminal in ubuntu 9.04

1. Multimedia

* Audio and Video Playback

Playing a Video (XVid, DivX etc.) or Audio (MP3) file has become pretty easy. Just double click the file you want and allow Totem to automatically download the needed codecs. But you could also do this by yourself very easily by installing a package which contains all the needed codecs and more. Just look below at Ubuntu Restricted Extras.

* DVD Playback

In Ubuntu 9.04 there is no need to manually configure the Medibuntu repository. If you have previously installed Ubuntu Restricted Extras skip the following command. If you haven't open a terminal and type:

aryan@aryan-laptop:~$sudo apt-get install libdvdread4
Next type:

aryan@aryan-laptop:~$sudo apt-get install totem-gstreamer
aryan@aryan-laptop:~$sudo /usr/share/doc/libdvdread4/install-css.sh

* SMPlayer

Ubuntu 9.04 by default comes with totem as its video and media player. Personally, I prefer SMPlayer for watching my video files and movie DVDs. SMPlayer is a GUI frontend it for mplayer. To install it type:

aryan@aryan-laptop:~$sudo apt-get install smplayer smplayer-themes
You will find it under Applications -> Sound & Video -> Smplayer

* VLC

Many users prefer the Video Lan Client (VLC) as their multimedia player. Simply install it by typing:

aryan@aryan-laptop:~$sudo apt-get install vlc

2. Eye Candy

* Change Usplash Theme

This is the splash screen you see at boot, when you are asked for a login and password. You can change the USplash screen using the utility startupmanager. Startup Manager can also be used to change GRUB boot settings, such as the timeout in bootloader menu. Install it by typing:

aryan@aryan-laptop:~$sudo apt-get install startupmanager
It will be installed under System -> Administration -> StartUp-Manager

To download additional USplash themes go to www.gnome-look.org

* Compiz Fusion

Compiz Fusion allows you to use advanced desktop effects such as the rotating cube desktop.

aryan@aryan-laptop:~$sudo apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-fusion-plugins-extra fusion-icon
Run Applications -> System Tools -> Compiz Fusion Icon. A blue icon will appear to the tray. From here you can configure Compiz.

* Conky

Conky is a light-weight system monitor for X, that displays any information on your desktop.

aryan@aryan-laptop:~$ sudo apt-get install conky

* Screenlets

Screenlets are small applications that are laying on your desktop. Eye candy stuff and useful in many ways. Just type:

aryan@aryan-laptop:~$ sudo apt-get install screenlets
Go to Applications -> Accessories –> Screenlets choose the screenlet you want click launch/add (you can choose Auto start on login)

You can download additional screenlets from www.gnome-look.org or from screenlets.org from

3. Internet Applications

* Firewall

By default Ubuntu has ufw, a netfilter firewall, installed. If you want a Graphical Interface (GUI) install gufw

aryan@aryan-laptop:~$ sudo apt-get install gufw

* Google Earth

Google Earth lets you fly anywhere on Earth to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. You can explore rich geographical content, save your toured places, and share with others. To install it type:

aryan@aryan-laptop:~$sudo apt-get install googleearth-package
aryan@aryan-laptop:~$make-googleearth-package --force
aryan@aryan-laptop:~$sudo dpkg -i googleearth*.deb
Afterwards you will find Google Earth under Applications -> Internet -> Google Earth

If you want to uninstall Google Earth open a terminal and type:

aryan@aryan-laptop:~$sudo dpkg --purge googleearth
This will remove all configuration files of Google Earth as well.

* Skype

Skype is the popular VOIP and video conferencing program. Open a terminal and type:
aryan@aryan-laptop:~$wget -O skype-install.deb http://www.skype.com/go/getskype-linux-ubuntu
aryan@aryan-laptop:~$sudo dpkg -i --force-architecture skype-install.deb
You will find it under Applications -> Internet -> Skype.
If you have a 64-bit sytem you must install some extra packages before. Type:
aryan@aryan-laptop:~$ sudo apt-get install ia32-libs lib32asound2 libqt4-core libqt4-gui

* XChat - IRC Client

XChat is a popular client for connecting to the Internet Relay Chat network. Open a terminal and type:
aryan@aryan-laptop:~$ sudo apt-get install xchat
You will find it under Applications -> Internet -> XChat IRC.

4. System Applications

* Gnome Do

GNOME Do (Do) is an intelligent launcher tool that makes performing common tasks on your computer simple and efficient. Do not only allows you to search for items in your desktop environment (e.g. applications, contacts, bookmarks, files, music), it also allows you to specify actions to perform on search results (e.g. run, open, email, chat, play).

aryan@aryan-laptop:~$ sudo apt-get install gnome-do
You can run it through Applications -> Accessories -> Gnome Do or by pressing Windows Key + Space. The first time you run it press the little arrow at the top right and adjust its preferences.

You might also want to enable Docky which is a frontend for Gnome Do. To do so go to Preferences -> Appearance and select Docky as the theme.

5. Java

* Sun Java Runtime Environment (JRE) and Firefox Java Plugin

Close Firefox if it's running, open a terminal and type:

aryan@aryan-laptop:~$ sudo apt-get install sun-java6-jre sun-java6-plugin

* Sun Java Development Kit (JDK)

If you want to build applications, applets, and components using the Java programming language you need to install JDK.

aryan@aryan-laptop:~$ sudo apt-get install sun-java6-jdk
If there are other things you would like to see in this guide just drop me a comment here. Enjoy!