SlideShare a Scribd company logo
1 of 28
INSTALLATION OF NEWGENLIB ON UBUNTU/LINUX
OPERATING SYSTEM
THIS TUTORIAL IS PREPARED FOR UBUNTU 12.04,32 BIT
OPERATING SYSTEM IN REFERENCE.
ESSENTIAL REQUIRED SOFTWARES
➲ JAVA JDK(Version SE 6) not JDK 7, NewGenlib is
configured for JDK SE6.
Download java jdk 6 from this link
http://www.oracle.com/technetwork/java/javase/downloads/index.h
➲ Postgre Sql 8.4 of above(This tutorial is being made for
Postgre sql 9.1)
➲ NewGenlib Software from Source Forge Net.
Downloading and installing of Java
➲ Download Java SE 6 Update XX (XX is the update number).
This page will also contain Java 7, do not download it. NGL
works on Java SE 6 only. Its not yet tested for Java SE 7
in this tutorial I have downloads SE 6 Update 35 for reference
➲ Download Java SE SDK 6
➲ You will find downloads for Linux. Please note that there are 2
types of downloads for Linux jdk-6uXX-linux-i586-rpm.bin and
jdk-6uXX-linux-i586.bin. The file name ending with .rpm.bin is
best suited for RedHat, CentOS and Fedora. The file name
ending with .bin only is suited for Ubuntu.
Java installation continue......
➲ After downloading keep the file in your home directory. For
example I have made a file jvm in /usr/lib file.
➲ After downloading the file right click on file and make
permission to read and write and do not forget to chek
executing file
EX- 1- Go to this link and download java SE 6 X86-
http://www.oracle.com/technetwork/java/javasebusiness/do
wnloads/java-archive-downloads-javase6-
419409.html#jdk-6u35-oth-JPR
Java downloading screen shot
Pasting of downloaded file
➲ Now paste downloaded file in /usr/lib/jvm (the jvm file is my
home file)
Giving read and write permission to jdk 1.6.0 file
Row 1 Row 2 Row 3 Row 4
0
2
4
6
8
10
12
Column 1
Column 2
Column 3
Installation of synaptic package manger
➲ Install synapatic package manager by ubuntu software
centre because synapatic package manager is not intalled
by default in ubuntu. Therefor go to ubutnu software centre
and install it.
Installaiton of synapatic package mangaer
Installation of Postgresql 9.1 by synaptic package manager
Configuration of postgre sql files
➲ Postgre sql will install in /etc/postgresql/9.1/main file.
➲ Go to postgresql file and open the postgresql_conf file with
the help of gedit
➲ You wil find the following syntex
listen _address=”localhost”
port=5432
change it as listen_address=”*”
port=5432
Editing of pg_hba.conf file
➲ Again go to etc/postgresql/9.1/main file
you will found pg_hba.conf file
Now go to bottom of the file you will find a line like this
host all all 127.0.0.1/32 md5
Change it to
host all all 127.0.0.1/32 trust
Restarting of posgresql service
➲ Now use the following command in terminal
sudo /etc/init.d/postgresql restart
it will start postgresql serive you will found ok instruction
➲ rajendra@ubuntu:~$ sudo /etc/init.d/postgresql restart
➲ [sudo] password for rajendra:
➲ * Restarting PostgreSQL 9.1 database server
[ OK ]
Creating User for Database
➲ Now we need to create user for Postgres, that is newgenlib
Go to the terminal and type
➲ Command 1: su
➲ Command 2: su - postgres
➲ Command 3: createuser newgenlib -P
now system will prompt for password, give it newgenlib the
system will also prompt whether newgenlib is super user
give y (Yes) for the same.
Installation of NewGenlib (NGL)
➲ Download the latest version of newgenlib from the
following link
http://sourceforge.net/projects/newgenlib/files/NewGenLib/version3
Then paste the downloded file in your home directory, in this
tutorial my home directory is /usr/lib/jvm
Pasting of InstallNGL in /usr/lib/jvm
Extracting of Install NGL in /usr/lib/jvm
➲ After pasting press right button of mouse and extract the
zip file in same folder, After extracting you wil found a
folder InstallNGL in same directory.
Giving of read/write permission of InstallNGL3.0
Giving read/write permission using terminal
➲ You can also give read write permission by using terminal
just go to terminal and give command like this-
:~$ chmod 777 /usr/lib/jvm/InstallNGL3.0 -R
Editing of NGL Files
➲ Using your favourite text editor open the file config.ini. This
file is present in /usr/lib/jvm/InstallNGL3.0/apache-ant-
1.8.1/bin directory
➲ installation.directory=/usr/lib/jvm/NGL3 This means that
the NGL installation will be made in the directory
/usr/lib/jvm/NGL3. you may give choose any other
directory as you wish. But for this example we will choose
this directory.
➲ ServerIPAddress=localhost The IPAddress of the
computer which is running Postgresql database. By default
leave it as localhost. It means that Postgresql database
server is running on this system itself.
Editing of NGL Files continue........
➲ DatabasePort=5432 The Port on which your Postgresql
Server is running. In most of the cases this port number is
5432.
➲ DefaultDatabase=postgres
➲ Do not edit this parameter. Postgresql 8.3 installation
creates a default database called postgres
➲ DatabaseUserName=newgenlib
➲ DatabasePassword=newgenlib
Save the changes you have made.
Running of Installation Script
Now give once define JAVA_HOME veriable
# export JAVA_HOME= /usr/lib/jvm/jdk1.6.0_35
# /usr/lib/jvm/InstallNGL3.0/./Install.sh
You will found “Build Successful” massage from the system
➲ Give read-write permissions to NGL3 directory
➲ chmod 777 /usr/lib/jvm/NGL3 -R
Running of NGL Server (Apache Tomcat)
➲ #export JAVA_HOME= /usr/lib/jvm/jdk1.6.0_35
# /usr/lib/jvm/NGL3/apache-tomcat-6.0.32/bin/./catalina.sh run
➲ This will Start NGL Server(Apache Tomcat)
Cheking your installaiton [ OPAC ]
➲ Open a browser and type this address
➲ http://localhost:8080/newgenlibctxt
➲ If you are on a system that is not running NGL Server then,
➲ http://<ip address of the server>:8080/newgenlibctxt
Checking your installation (Librarian GUI)
➲ Open a browser and type this address
➲ http://localhost:8080/newgenlibctxt/LaunchApplication
The system will open Graphical User Interface for
Librarian. If it is not happen then try the following mathod-
You need to add repository ppa.The current JDK version in
the PPA is Oracle Java SE 6 Update 38 (7u38).
➲ To add the WebUpd8 Java PPA and install Oracle Java 6,
which includes JDK, JRE and the browser plugin in Ubuntu
(and other Linux distributions based on Ubuntu such as
Linux Mint, etc.), use the following commands:
Adding of ppa repository using terminal
➲ Give following command against terminal
➲ sudo add-apt-repository ppa:webupd8team/java
➲ sudo apt-get update
➲ sudo apt-get install oracle-java6-installer
Now set JAVA enviorment variable automatically by following
command-
➲ sudo apt-get install oracle-java6-set-default
Checking your installation (Librarian GUI)-Again
➲ Open a browser and type this address
➲ http://localhost:8080/newgenlibctxt/LaunchApplication
Now librarian interface will open for you. Give server address
as “localhost” user id as “1” and password as “abc”.
Congratulation now your installation is running
on UBUNTU 12.04.
PLEASE GIVE YOUR FEEDBACK AT FOLLWOING ADDRESS
 RAJENDRA SINGH
Dy. Librarian
SANTOSH UNIVERSITY
GHAZIABAD(U.P.)
Email- Rajendrasingh1234@gmail.com
Phone-+91- 7503758864

More Related Content

Similar to Newgenlib Installation on Ubuntu 12.04

How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuWirabumi Software
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14kmsa
 
Apache Kafka Setup with Zookeeper - SkillAnything.pdf
Apache Kafka Setup with Zookeeper - SkillAnything.pdfApache Kafka Setup with Zookeeper - SkillAnything.pdf
Apache Kafka Setup with Zookeeper - SkillAnything.pdfSkillAnything
 
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios CoreNrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios CoreNagios
 
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.Marc Trimble
 
Erp 2.50 openbravo environment installation openbravo-wiki
Erp 2.50 openbravo environment installation   openbravo-wikiErp 2.50 openbravo environment installation   openbravo-wiki
Erp 2.50 openbravo environment installation openbravo-wikiyaranusa
 
Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Chanaka Lasantha
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wikishahab071
 
04 02-2018--Slackware Wire Shark Installation
04 02-2018--Slackware Wire Shark Installation04 02-2018--Slackware Wire Shark Installation
04 02-2018--Slackware Wire Shark InstallationAlexander Bitar
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool boxbpowell29a
 
9 steps to install and configure postgre sql from source on linux
9 steps to install and configure postgre sql from source on linux9 steps to install and configure postgre sql from source on linux
9 steps to install and configure postgre sql from source on linuxchinkshady
 
Oracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOsama Mustafa
 
How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7VCP Muthukrishna
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库maclean liu
 
CloudOpen North America 2013: Vagrant & CFEngine
CloudOpen North America 2013: Vagrant & CFEngineCloudOpen North America 2013: Vagrant & CFEngine
CloudOpen North America 2013: Vagrant & CFEngineNick Anderson
 
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5TUSHAR VARSHNEY
 
Improving WordPress Theme Development Workflow - Naveen Kharwar.
Improving WordPress Theme Development Workflow - Naveen Kharwar.Improving WordPress Theme Development Workflow - Naveen Kharwar.
Improving WordPress Theme Development Workflow - Naveen Kharwar.Naveen Kharwar
 

Similar to Newgenlib Installation on Ubuntu 12.04 (20)

How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
 
Oracle11g on fedora14
Oracle11g on fedora14Oracle11g on fedora14
Oracle11g on fedora14
 
Apache Kafka Setup with Zookeeper - SkillAnything.pdf
Apache Kafka Setup with Zookeeper - SkillAnything.pdfApache Kafka Setup with Zookeeper - SkillAnything.pdf
Apache Kafka Setup with Zookeeper - SkillAnything.pdf
 
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios CoreNrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
 
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
 
Oracle WebLogic
Oracle WebLogicOracle WebLogic
Oracle WebLogic
 
Erp 2.50 openbravo environment installation openbravo-wiki
Erp 2.50 openbravo environment installation   openbravo-wikiErp 2.50 openbravo environment installation   openbravo-wiki
Erp 2.50 openbravo environment installation openbravo-wiki
 
Sun raysetup
Sun raysetupSun raysetup
Sun raysetup
 
Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
 
04 02-2018--Slackware Wire Shark Installation
04 02-2018--Slackware Wire Shark Installation04 02-2018--Slackware Wire Shark Installation
04 02-2018--Slackware Wire Shark Installation
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
 
9 steps to install and configure postgre sql from source on linux
9 steps to install and configure postgre sql from source on linux9 steps to install and configure postgre sql from source on linux
9 steps to install and configure postgre sql from source on linux
 
Oracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single node
 
How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 
CloudOpen North America 2013: Vagrant & CFEngine
CloudOpen North America 2013: Vagrant & CFEngineCloudOpen North America 2013: Vagrant & CFEngine
CloudOpen North America 2013: Vagrant & CFEngine
 
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
 
Improving WordPress Theme Development Workflow - Naveen Kharwar.
Improving WordPress Theme Development Workflow - Naveen Kharwar.Improving WordPress Theme Development Workflow - Naveen Kharwar.
Improving WordPress Theme Development Workflow - Naveen Kharwar.
 

Recently uploaded

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 

Recently uploaded (20)

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 

Newgenlib Installation on Ubuntu 12.04

  • 1. INSTALLATION OF NEWGENLIB ON UBUNTU/LINUX OPERATING SYSTEM THIS TUTORIAL IS PREPARED FOR UBUNTU 12.04,32 BIT OPERATING SYSTEM IN REFERENCE.
  • 2. ESSENTIAL REQUIRED SOFTWARES ➲ JAVA JDK(Version SE 6) not JDK 7, NewGenlib is configured for JDK SE6. Download java jdk 6 from this link http://www.oracle.com/technetwork/java/javase/downloads/index.h ➲ Postgre Sql 8.4 of above(This tutorial is being made for Postgre sql 9.1) ➲ NewGenlib Software from Source Forge Net.
  • 3. Downloading and installing of Java ➲ Download Java SE 6 Update XX (XX is the update number). This page will also contain Java 7, do not download it. NGL works on Java SE 6 only. Its not yet tested for Java SE 7 in this tutorial I have downloads SE 6 Update 35 for reference ➲ Download Java SE SDK 6 ➲ You will find downloads for Linux. Please note that there are 2 types of downloads for Linux jdk-6uXX-linux-i586-rpm.bin and jdk-6uXX-linux-i586.bin. The file name ending with .rpm.bin is best suited for RedHat, CentOS and Fedora. The file name ending with .bin only is suited for Ubuntu.
  • 4. Java installation continue...... ➲ After downloading keep the file in your home directory. For example I have made a file jvm in /usr/lib file. ➲ After downloading the file right click on file and make permission to read and write and do not forget to chek executing file EX- 1- Go to this link and download java SE 6 X86- http://www.oracle.com/technetwork/java/javasebusiness/do wnloads/java-archive-downloads-javase6- 419409.html#jdk-6u35-oth-JPR
  • 6. Pasting of downloaded file ➲ Now paste downloaded file in /usr/lib/jvm (the jvm file is my home file)
  • 7. Giving read and write permission to jdk 1.6.0 file Row 1 Row 2 Row 3 Row 4 0 2 4 6 8 10 12 Column 1 Column 2 Column 3
  • 8. Installation of synaptic package manger ➲ Install synapatic package manager by ubuntu software centre because synapatic package manager is not intalled by default in ubuntu. Therefor go to ubutnu software centre and install it.
  • 9. Installaiton of synapatic package mangaer
  • 10. Installation of Postgresql 9.1 by synaptic package manager
  • 11. Configuration of postgre sql files ➲ Postgre sql will install in /etc/postgresql/9.1/main file. ➲ Go to postgresql file and open the postgresql_conf file with the help of gedit ➲ You wil find the following syntex listen _address=”localhost” port=5432 change it as listen_address=”*” port=5432
  • 12. Editing of pg_hba.conf file ➲ Again go to etc/postgresql/9.1/main file you will found pg_hba.conf file Now go to bottom of the file you will find a line like this host all all 127.0.0.1/32 md5 Change it to host all all 127.0.0.1/32 trust
  • 13. Restarting of posgresql service ➲ Now use the following command in terminal sudo /etc/init.d/postgresql restart it will start postgresql serive you will found ok instruction ➲ rajendra@ubuntu:~$ sudo /etc/init.d/postgresql restart ➲ [sudo] password for rajendra: ➲ * Restarting PostgreSQL 9.1 database server [ OK ]
  • 14. Creating User for Database ➲ Now we need to create user for Postgres, that is newgenlib Go to the terminal and type ➲ Command 1: su ➲ Command 2: su - postgres ➲ Command 3: createuser newgenlib -P now system will prompt for password, give it newgenlib the system will also prompt whether newgenlib is super user give y (Yes) for the same.
  • 15. Installation of NewGenlib (NGL) ➲ Download the latest version of newgenlib from the following link http://sourceforge.net/projects/newgenlib/files/NewGenLib/version3 Then paste the downloded file in your home directory, in this tutorial my home directory is /usr/lib/jvm
  • 16. Pasting of InstallNGL in /usr/lib/jvm
  • 17. Extracting of Install NGL in /usr/lib/jvm ➲ After pasting press right button of mouse and extract the zip file in same folder, After extracting you wil found a folder InstallNGL in same directory.
  • 18. Giving of read/write permission of InstallNGL3.0
  • 19. Giving read/write permission using terminal ➲ You can also give read write permission by using terminal just go to terminal and give command like this- :~$ chmod 777 /usr/lib/jvm/InstallNGL3.0 -R
  • 20. Editing of NGL Files ➲ Using your favourite text editor open the file config.ini. This file is present in /usr/lib/jvm/InstallNGL3.0/apache-ant- 1.8.1/bin directory ➲ installation.directory=/usr/lib/jvm/NGL3 This means that the NGL installation will be made in the directory /usr/lib/jvm/NGL3. you may give choose any other directory as you wish. But for this example we will choose this directory. ➲ ServerIPAddress=localhost The IPAddress of the computer which is running Postgresql database. By default leave it as localhost. It means that Postgresql database server is running on this system itself.
  • 21. Editing of NGL Files continue........ ➲ DatabasePort=5432 The Port on which your Postgresql Server is running. In most of the cases this port number is 5432. ➲ DefaultDatabase=postgres ➲ Do not edit this parameter. Postgresql 8.3 installation creates a default database called postgres ➲ DatabaseUserName=newgenlib ➲ DatabasePassword=newgenlib Save the changes you have made.
  • 22. Running of Installation Script Now give once define JAVA_HOME veriable # export JAVA_HOME= /usr/lib/jvm/jdk1.6.0_35 # /usr/lib/jvm/InstallNGL3.0/./Install.sh You will found “Build Successful” massage from the system ➲ Give read-write permissions to NGL3 directory ➲ chmod 777 /usr/lib/jvm/NGL3 -R
  • 23. Running of NGL Server (Apache Tomcat) ➲ #export JAVA_HOME= /usr/lib/jvm/jdk1.6.0_35 # /usr/lib/jvm/NGL3/apache-tomcat-6.0.32/bin/./catalina.sh run ➲ This will Start NGL Server(Apache Tomcat)
  • 24. Cheking your installaiton [ OPAC ] ➲ Open a browser and type this address ➲ http://localhost:8080/newgenlibctxt ➲ If you are on a system that is not running NGL Server then, ➲ http://<ip address of the server>:8080/newgenlibctxt
  • 25. Checking your installation (Librarian GUI) ➲ Open a browser and type this address ➲ http://localhost:8080/newgenlibctxt/LaunchApplication The system will open Graphical User Interface for Librarian. If it is not happen then try the following mathod- You need to add repository ppa.The current JDK version in the PPA is Oracle Java SE 6 Update 38 (7u38). ➲ To add the WebUpd8 Java PPA and install Oracle Java 6, which includes JDK, JRE and the browser plugin in Ubuntu (and other Linux distributions based on Ubuntu such as Linux Mint, etc.), use the following commands:
  • 26. Adding of ppa repository using terminal ➲ Give following command against terminal ➲ sudo add-apt-repository ppa:webupd8team/java ➲ sudo apt-get update ➲ sudo apt-get install oracle-java6-installer Now set JAVA enviorment variable automatically by following command- ➲ sudo apt-get install oracle-java6-set-default
  • 27. Checking your installation (Librarian GUI)-Again ➲ Open a browser and type this address ➲ http://localhost:8080/newgenlibctxt/LaunchApplication Now librarian interface will open for you. Give server address as “localhost” user id as “1” and password as “abc”. Congratulation now your installation is running on UBUNTU 12.04.
  • 28. PLEASE GIVE YOUR FEEDBACK AT FOLLWOING ADDRESS  RAJENDRA SINGH Dy. Librarian SANTOSH UNIVERSITY GHAZIABAD(U.P.) Email- Rajendrasingh1234@gmail.com Phone-+91- 7503758864