Thursday, November 20, 2008

How To Install And Setup PostgreSQL for Ubuntu

Hi All,

I have tried the following steps, and it works smoothly on Ubuntu, hope this little contribution can help you in installing and setting up PostgreSQL.

PostgreSQL:
PostgreSQL is a powerful, open source relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, and correctness. It runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, SGI IRIX, Mac OS X, Solaris, Tru64), and Windows. It is fully ACID compliant, has full support for foreign keys, joins, views, triggers, and stored procedures (in multiple languages). It includes most SQL92 and SQL99 data types, including INTEGER, NUMERIC, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, and TIMESTAMP. It also supports storage of binary large objects, including pictures, sounds, or video. It has native programming interfaces for C/C++, Java, .Net, Perl, Python, Ruby, Tcl, ODBC, among others, and exceptional documentation.

Installation Instructions

Download:

Download latest version of PostgreSQL from the following link for linux

http://www.enterprisedb.com/products/pgdownload.do#linux

After downloading change the downloaded file mode using the following command

sudo chmod a+x file_name.bin

Installation

use the following command

sudo ./file_name.bin

Follow the instructions and i will lead to install sucessfully.

All The Best,

Narasimha Raju. Naidu
India

Friday, November 7, 2008

How To .bin File on Ubuntu(Linux)

Hi,

I have tried the following steps, and it works smoothly on Ubuntu.

1. open terminal
2. sudo chmod a+x name_of_the_file.bin
3. ./name_of_the_file.bin

then following instructions displayed on terminal.

All The Best,

Narasimha Raju.
India

Monday, October 13, 2008

How to get Windows Fonts with wine

Hi,

I have tried the following steps, and it works smoothly on Ubuntu, hope this little contribution can help you in better view using wine.

According to the wine docs it's just a matter of copying windows fonts into c:\windows\fonts which, as far as I can tell, is located in/usr/share/wine/fonts/.


All The Best,

Narasimha Raju.
India.

Friday, September 26, 2008

How To Install VLC Player for Ubuntu

Hi,

I have tried the following steps, and it works smoothly on Ubuntu, hope this little contribution can help you in installing VLC Player.

The VLC media player is an open source media player, distributed under the GNU General Public License.
It is a highly portable multimedia player that supports many audio and video codecs and file formats as well as DVDs, VCDs and various streaming protocols.
It is able to stream over networks and to transcode multimedia files and save them into various different formats.

It is one of the most platform-independent players available, with versions for Linux, Microsoft Windows, Mac OS X, BeOS, BSD, Windows CE, and Solaris.

Install VLC Media player in Ubuntu


sudo apt-get update

sudo apt-get install vlc vlc-plugin-esd

This will complete the installation

If you want to open VLC You need to go to Applications—>Sound&Video—>VLC Media Player

All The Best,

Narasimha Raju.
INDIA

How To Install Real Player 11 for Ubuntu

Hi,

I have tried the following steps, and it works smoothly on Ubuntu 8.04, hope this little contribution can help you installing Real Player 11.

1) Download Realplayer RPM from the following link:

http://www.real.com/linux/?pageid=unagi.14934565.wrapper&pageregion=footer&src=realplayer_com&pcode=rn&opage=realplayer_com


2) Conver this RPM to debian package you need alien. To know how to install alien please visit:

http://dummystories.blogspot.com/2008/09/installing-rpmred-hat-package-manager.html

3) After converting RPM to debian package, right click on deb package and select "Open With GDebi Package Installer".

After finishing installation, you can enjoy Real Player features.

All The Best,

Narasimha Raju.
INDIA

Wednesday, September 24, 2008

How To Install Opera Web Browser in Ubuntu

Hi,

If you want to install opera Web browser you need to edit your /etc/apt/sources.list file and enter the source list and save your file.

sudo gedit /etc/apt/sources.list
add

deb http://archive.canonical.com/ubuntu dapper-commercial main

save and quit.

Now you need to update your source list

sudo apt-get update

Install Opera in Ubuntu

sudo apt-get install opera

After finishing the installation if you want to open opera go to Applications—>Internet–> and you can see Opera Web Browser.

All The Best

Narasimha Raju.
INDIA

Tuesday, September 23, 2008

How To Install Microsoft Internet Explorer for Linux

Hi,


I have tried the following steps, and it works smoothly on Ubuntu 8.04, hope this little contribution can help you installing IE 6 on your machine.

We can install IE on the following Linux Flavors

1. Ubuntu, Kubuntu, Xubuntu
2. Fedora
3. Gentoo
4. Debian
5. Suse
6. Mandriva
7. PCLinuxOS

1. Ubuntu, Kubuntu, Xubuntu
You have to enable universe packages first. It is also recommended that you use the official winehq ubuntu package:

1) Open a terminal
2) Open /etc/apt/sources.list using
sudo gedit /etc/apt/sources.list
3) Uncomment (or add) following lines:
deb http://us.archive.ubuntu.com/ubuntu edgy universe

4) Add this line:
deb http://wine.budgetdedicated.com/apt edgy main
5) Close gedit. Update and install wine and cabextract:
i) wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
ii) sudo apt-get update
iii) sudo apt-get install wine cabextract.
6) Download IEs 4 Linux and install
i) wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
ii) tar zxvf ies4linux-latest.tar.gz

iii) cd ies4linux-*
iv) ./ies4linux

Note for Dapper users: if you use ubuntu dapper, replace edgy with dapper on lines above. Note for Feisty users (7.04): if you use ubuntu Feisty, replace edgy with feisty in the lines above. Also replace gedit with kedit if running Kubuntu instead of Ubuntu.

For "Fiesty" K/Ubuntu Users (and 64-bit "Fiesty): http://www.winehq.org/site/download-deb

2. Fedoro

Open a terminal. Log in as root to install wine and cabextract

1) yum -y install wine*
2) yum -y install cabextract

Logout and install IEs 4 Linux with your normal user account:

3) wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
4) tar zxvf ies4linux-latest.tar.gz
5) cd ies4linux-*
6) ./ies4linux

3. Gentoo

Open a terminal. Log in as root to install wine and cabextract:
1) emerge wine cabextract
Logout and install IEs 4 Linux with your normal user account:

2) wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
3) tar zxvf ies4linux-latest.tar.gz
4) cd ies4linux-*
5) ./ies4linux
4. Debian

Debian Sarge needs some steps before you install IEs4Linux:
1) You need a rather recent wine and libxxf86dga1, get it from backports.org: in /etc/apt/sources.list, add:

#wine
deb http://wine.sourceforge.net/apt/ binary/

#backports
deb http://www.backports.org/debian/ sarge-backports main

2) Login as root and do:
apt-get update
apt-get install wine libxxf86dga1 libxxf86vm1 cabextract
3) Logout and login with a user account. Download and install IEs4Linux:
i) wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
ii) tar zxvf ies4linux-latest.tar.gz
iii) cd ies4linux-*
iv) ./ies4linux

4. Suse

Instructions for SLED 10 from Novell.
Step 1 - Add the Wine repository and package:
i) rpm --import http://software.opensuse.org/openSUSE-Build-Service.asc
ii) rug sa http://software.opensuse.org/download/Emulators:/Wine/SLE-10/ "Wine Repository"
iii) rug sub "Wine Repository"
rug install wine

Step 2 - Insure cabextract is installed:
rug install cabextract

NOTE: cabextract is usually installed by default, it may return a message which states it is already installed or no new version is available.

Step 3 - Download and run IEs4Linux:
i) wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
ii) tar zxvf ies4linux-latest.tar.gz
iii) cd ies4linux-*
iv) ./ies4linux

5. Mandriva

Instructions for Mandriva 2007.

1) Open a terminal

2) First, let's install cabextract and wine (as root):
su
urpmi wine cabextract
exit

3) Install IEs4Linux (as normal user):

i) wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
ii) tar zxvf ies4linux-latest.tar.gz
iii)cd ies4linux-*
iv) ./ies4linux

6. PCLinux

Instructions for PCLinuxOS 2007.

1) Open a terminal

2) First, let's install cabextract and wine (as root):
su -
apt-get install wine cabextract
exit

3) Install IEs4Linux (as normal user):
i) wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
ii) tar zxvf ies4linux-latest.tar.gz
iii) cd ies4linux-*
iv) ./ies4linux


All The Best

Narasimha Raju.
INDIA

Monday, September 22, 2008

Installing RPM(Red Hat Package Manager) for Ubuntu

Hi,

If you have an rpm file for a package you wish to install, and if you cannot find a .deb debian package in any of the Ubuntu repositories or elsewhere, you can use the alien package converter application to install the .rpm file.

Before we must and should know "What is Alien?"

Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.

Despite the large version number, alien is still (and will probably always be) rather experimental software. It has been used by many people for many years, but there are still many bugs and limitations.

Alien should not be used to replace important system packages, like sysvinit, shared libraries, or other things that are essential for the functioning of your system. Many of these packages are set up differently by Debian and Red Hat, and packages from the different distributions cannot be used interchangably. In general, if you can’t uninstall the package without breaking your system, don’t try to replace it with an alien version.

Instructions for Installing RPM Files Using Alien

Installing Alien

You can install alien itself from the Ubuntu Universe repository by adding the repository to your list of sources and doing:

$sudo apt-get update
$sudo apt-get install alien

Installing the .rpm file

To install the .rpm file, you first need to convert it to a .deb file which can be installed on Ubuntu.I assume that you downloaded the package to your Desktop (~/Desktop is the directory)
You can convert the .rpm to a .deb by using the following commands.

$cd ~/Desktop

This will change the directory to your desktop, where you have the .rpm file.

$sudo alien -k name-of-rpm-file.rpm

This will convert the .rpm to a .deb.
The “-k” will keep the version number. Otherwise alien adds a “1″ to the version number.

$sudo dpkg -i name-of-deb-file.deb

This will install the .deb package.

Try reading the alien manpage for more details on how to convert other kinds of packages and the options available.

All The Best

Narasimha Raju.
INDIA

How to install Java and Tomcat6 for Ubuntu

hi,

I have tried the following steps, and it works smoothly on Ubuntu 8.04, hope this little contribution can help you installing Java and setting your tomcat server.

Step 1. Download the latest Tomcat to your desktop: http://tomcat.apache.org/download-60.cgi , then run

sudo tar zxvf apache-tomcat-6.0.10.tar.gz (or name of the latest downloaded tomcat .gz file).
sudo cp -R apache-tomcat-6.0.10 /usr/share/tomcat6 (or name of the unziped tomcat file).

Step 2. Setting JAVA environment
Download the latest J2SE SDK from http://java.sun.com/javase/downloads/index.jsp, and run
sudo chmod +x *.bin
sudo sh ./jdk*.bin

Executing the .bin file creates a folder on your desktop named jdk1.6.0_01(or latest java version folder).
Rename that folder to Java6u1. Now move that folder to /usr/lib

sudo mv Java6u1 /usr/lib
sudo update-alternatives --install /usr/bin/java java /usr/lib/Java6u1/bin/java 300
sudo update-alternatives --config java

1 /usr/lib/Java6u1/bin/java
2 /usr/bin/gij-wrapper-4.1
3 /usr/lib/jvm/java-gcj/jre/bin/java

you will get a list that looks like above. now select that we recently copied one. here option 1.

Step 3. Setting the following environment /etc/environment
sudo gedit /etc/environment,
then insert and save two lines:
CLASSPATH=.:/usr/lib/Java6u1/bin (or latest path based on your naming )
JAVA_HOME=/usr/lib/Java6u1 (or latest path based on your naming)

Step 4: Tomcat needs to set JAVA_HOME or JRE_HOME to execute.
Open the follow document and edit the lines:

sudo gedit ~/.bashrc
then place the following lines in:

export JAVA_HOME=/usr/lib/Java6u1 ( or your latest path based on your naming)
export PATH=$PATH:$JAVA_HOME/bin

Step 5: Start and stop tomcat
Now start your tomcat:
sudo /usr/share/tomcat6/bin/./startup.sh
Type "http://localhost:8080" in your browser. If you see the tomcat welcome page, your tomcat is running smoothly.
If you are installing below 5.5 version, please try 8180.

Stopping tomcat:
sudo /usr/share/tomcat6/bin/./shutdown.sh

Step 6: Tomcat administrator setting
Edit this document:
sudo gedit /usr/share/tomcat6/conf/tomcat-users.xml
before insert this line:

Save and restart your tomcat. You can login to your tomcat admin by using your new set id and password now.


All The Best

Narasimha Raju.
INDIA