Title: Practical Installation Process of NewGenLib OSS on Windows XP for Library automation
1Practical Installation Process of NewGenLib OSS
on Windows XP for Library automation
- Goutam Biswas
- Department of Library Information Science
- University of Kalyani, Nadia, West Bengal
- INDIA
- Email goutambiswas8_at_gmail.com
- Mobile No. 91 9831092149
2NOTE
- The following slides demonstrate the installation
- of NewGenLib software on a local machine. This
- presentation is limited to installation only.
For - further assistance, please refer to NewGenLib
- User Manual (UserManualAllModules.pdf)
- available at
- http//www.sourceforge.net/projects/newgenlib
3Thanks To
- Dr. L J Haravu
- Kesavan Institute of Information and Knowledge
Management, Hyderabad - Verus Solutions Pvt. Ltd., Hyderabad
- Everyone else involved in the development of
NewGenLib and making it open source
4What is NewGenLib?
- NewGenLib is a metadata content management
software solution - An integrated library management software
- A web-based application that uses RDBMS
technology to manage databases - Compliant with International Standards MARC,
XML, UNICODE Dublincore - Installable on LAN/Intranet and Standalone
computers - Uses many open source components
- NewGenLib is now Open Source !!! ?
- Free download at http//www.sourceforge.net/projec
ts/newgenlib - Take a 20-minute multimedia tour at
www.newgenlib.com - Lets Install Use it
5Files Required for Installation
- J2SE Software Development Kit (SDK)
- PostgreSQL for Windows
- JBoss Application Server
- newgenlib.ear
- NewGenLibFiles.zip
- backupinplain.sql
- Java Runtime Environment (JRE)
- (for installation on clients)
6Sources of Download
- Download files 1 to 4 from http//www.sourceforge.
net/projects/newgenlib - JBoss Application Server
- newgenlib.ear
- NewGenLibFiles
- backupinplain.sql
- J2SE Software Development Kit (SDK)
http//java.sun.com/j2se/1.4.2/download.html - PostgreSQL for Windows
- http//www.postgresql.org
- Java Runtime Environment (JRE) http//java.sun.com
/j2se/1.4.2/download.html
7Installation Summary
- Install Java 2 SDK
- Set environment variable for Java 2 SDK
- Install PostgreSQL for Windows
- Create newgenlib database
- Run backupinplain.sql script to create tables
- Install JBoss Application Server
- Copy newgenlib.ear file to JBoss Server
- Extract NewGenLibFiles.zip to C drive
- Edit Env_Var file fill in the System Parameters
- Create a shortcut for JBoss run.bat file on the
Desktop - Start the JBoss Application Server
- Access NewGenLib through the Web Browser
8Files Required for Installation
9Install Java 2 SDK
- Double Click j2sdk file to launch the installer
10Accept the license agreement
- Click I accept the terms in the license
agreement - Click Next gt button
11Choose installation directory
- By default, SDK is installed under C\j2sdkx.x.x
folder (where x.x.x represent the version). But
for simplicity, the folder name may be changed.
Here, it is changed to jdk - Click Next gt button
12Choose installation directory
- Click Change button and change the folder name
to jdk - Click OK button
13Choose installation directory
- Click Next gt button
14Web Browser Configuration
- Java 2 SDK automatically identifies the browsers
installed. Select the browsers to be configured
with Java. - Click Install gt button
15Installation in Progress
16Installation Complete
- Click Finish button
17Set Environment Variable for Java 2 SDK
- Right Click My Computer icon on your Desktop and
click Properties
18Set Environment Variable for Java 2 SDK
- In System Properties screen, select Advanced tab
click Environment Variables button
19Set Environment Variable for Java 2 SDK
- In Environment Variables window, Click New button
under System Variables
20Set Environment Variable for Java 2 SDK
- In New System Variable window, type JAVA_HOME for
Variable name Java 2 SDK installation path
(C\jdk in this example) for Variable value - Click OK
21Environment Variable for Java 2 SDK set
- The Environment Variable for Java 2 SDK can be
seen
22Install PostgreSQL for Windows
- Double click the postgresql installer package to
launch installation wizard - Select the language click Start gt button
23Welcome Screen
24Installation Notes
25Installation Options
- Leave all the options default (including the
installation directory) - Click Next gt button
26Service Configuration
- Account name postgres
- Account domain accept default value
- Account password newgenlib (retype the password)
- Click Next gt button
NOTE DO REMEMBER THIS PASSWORD
27Account Creation Password Warning
- If Account error window appears, click Yes to
create postgres Account - If Password weak warning appears, click No to
retain your password (If you click Yes, the
installer replaces your password with a random
password)
28Initialize Database Cluster
- Type postgres for Superuser name (it may be
present already) - Type newgenlib for Password and retype the same.
- Leave the other options unchanged.
- Click Next gt button.
NOTE DO REMEMBER THIS PASSWORD
29Select Procedural Language
- The procedural language PL/pgsql will be selected
by default - Click Next gt button
30Select contrib modules (IMPORTANT!)
- Select DBlink, Fuzzy String Match Tsearch2
Modules. Admin81 is selected by default. - Click Next gt button
31Ready to Install
- Click Next gt button to start installation
32Installation in Progress
33Installation Complete
34Create newgenlib database
- Go to Start gt Programs gt PostgreSQL gt PgAdmin III
35Connect to PostgreSQL Database Server
- Right Click on PostgreSQL Database Server click
Connect
36Enter Password to connect to server
- Enter the password for user postgres (password is
newgenlib) - Click OK button
37Create New Database
- Right click on Databases click New Database
38Create newgenlib database
- In New Database Window, enter newgenlib for Name,
select posgres for Owner, UTF8 for Encoding
pg_default for Tablespace - Click OK button
39newgenlib database created
- newgenlib database can be seen in Database list
- Close pgAdmin III
40Copy backupinplain.sql file to C drive
- Copy backupinplain.sql file to C drive
41Go to Command Prompt
- To go to command prompt, click Start gt Run type
cmd
42Change directory to PostgreSQL\bin
- At the command prompt, type cd C\Program
Files\PostgreSQL\x.x\bin (where x.x is the
version directory. In this example, it is 8.1) - Press Enter
43Access newgenlib database for user postgres
- type psql -d newgenlib U postgres
- Press Enter
- Type postgres account password (password is
newgenlib) - (NOTE While typing the password, no characters
appear on screen. The cursor will not move) - Press Enter
44Run backupinplain.sql script
- On successful access, the prompt changes to
database name - Type \i c/backupinplain.sql Press Enter (Note
the use of forward slash after C)
45Table creation in progress
46Table creation complete
- The table creation is complete
- Close the command prompt
47Install JBoss Application Server
- Extract jboss-3.2.1_tomcat-4.1.24.zip file to C
drive directly
48Select location for extraction
- Select C drive as location for extraction
- Click Extract button
49Extraction Complete
- When extraction completes, the jboss folder can
be seen in C drive
50Copy newgenlib.ear file to JBoss Server
- Copy newgenlib.ear file to C\jboss-xxx\server\def
ault\deploy directory
51Extract NewGenLibFiles.zip file to C drive
- Extract NewGenLibFiles.zip file to C drive
directly
52Extract NewGenLibFiles.zip file to C drive
- Select C drive as the location for extracting
NewGenLibFiles.zip file
53Extraction Complete
- When extraction completes, the NewGenLibFiles
directory can be seen in C drive
54Edit Env_Var file to fill System Parameters
- Go to C\NewGenLibFiles\SystemFiles directory
open Env_Var file using any text editor.
55Edit Env_Var file to fill System Parameters
- Change JBOSS_HOME from D drive to C drive (as
JBoss is installed in C drive in this example).
Enter the IPADDRESS of the server machine
(localhost or 127.0.0.1 for local installation),
Port on which this server should be accessed and
DEFAULT_SEARCH option. - Save the file Close.
56Create Shortcut for JBoss run.bat file on Desktop
- Go to C\jboss-xx\bin folder. Right click, hold
the right mouse button on run.bat file and drag
it on to the Desktop. Select Create Shortcuts
Here from the context menu.
57Rename the Shortcut to NewGenLib Server
- For easy understanding usage, rename the
shortcut to NewGenLib Server.
58Start the JBoss Application Server
- Double Click NewGenLib Server on the Desktop to
start JBoss Application Server
Server Starting
Server Started
59Open Web Browser type URL to start NewGenLib
- Open Internet Explorer type http//localhost808
0/newgenlibctxt/LaunchApplication
60Unblock in Windows Security Alert
- If Windows Firewall gives Security Alert, click
Unblock button
61Java Starting
62Starting NewGenLib Application
63Verifying Digital Signature
- Click Run button to run the application. You may
check Always trust content from this publisher to
avoid this screen from repeat.
64Enter Server Details
- Enter the IP address of the server port number
- Click OK
65The Login Screen
- (select the library) Enter the user id and
password to login - Click Login
NOTE Default user id 1 Default Password abc
66The Login Screen
- Default User id is 1 Default Password is abc
- Click Login
NOTE Default user id 1 Default Password abc
67Welcome Screen with Pending Job List
68NewGenLib Menu
- The preliminary configuration can be done under
- Administration gt Configure system
69General Configuration of Library Details
- The library details can be configured at
- Administration gt Configure system gt General gt
Library
70General Configuration of Library Details
- Click OK to update. An appropriate dialog is
displayed.
71OPAC Interface
- Open Internet Explorer, type http//localhost8080
/newgenlibctxt - to access OPAC.
72OPAC Interface
73NewGenLib User Manual for assistance on
installation available at http//www.sourceforge
.net/projects/newgenlib
74ThanksPlease send in your comments
suggestions toEmail goutambiswas8_at_gmail.comWeb
site goutambiswasresearch.yolasite.com