Installation of NewGenLib on windows platform
(Revised on 14th January 2007)
System requirements
Min requirements of the Server
Hardware: Pentium 4 or equivalent, 1GB RAM and 40GB Hard disk
Software: Windows 2000prof, 2000 Adv Server, XP Home, XP Prof, and
2003 server
Min requirements of the Client
Hardware: Pentium 3 or equivalent, 128MB RAM, and 1 GB of min hard
disk
Software: Windows 98/ME/2000prof/2000adv server/XP home/XP
Prof/2003/Red hat Linux 8.0/9.0/10
NewGenLib Server Installation
Install J2SDK1.4.2
- Download J2SE Software Development Kit (SDK) from
http://java.sun.com/j2se/1.4.2/download.html
- Install the j2sdk 1.4.2. (It may be installed into any drive. For
the sake of installation notes we will assume that you installed it in
C: drive)
- After installation check your C: drive, you will now find a
directory name j2sdk1.4.2_XX
(XX is the update number, if you installed J2SE v 1.4.2_16, the
directory name will be j2sdk1.4.2_16
- Create an environmental variable named JAVA_HOME and value is
C:/j2sdk1.4.2_XX. The below are the instructions to create an
environmental variable\
- Go to desktop, right click on My Computer and click on
properties.
- Go to Advanced tab, and click on Environmental Variables
- Click on New button in the System variables area
- Variable name(use all capital): JAVA_HOME
- Variable value:
C:\j2sdk1.4.2_XX
- And click on Ok button at all places
Installation of Postgresql database
Restoration of a blank NewGenLib database
- Download the backupinplain.sql
from the sourceforge.net
- Start ->Program->Postgressql 8.0 -> PG Admin III
- Double click on Postgres database server and enter password given
at the time of installation
- Right click on databases and click on New Database. Use this
below parameters
- Name: newgenlib
- Owner: postgres
- Encoding: UNICODE
- Table space: pg_default and click on Ok button
- Go to windows command prompt.(Start -> Run -> type cmd for
winxp and click on ok)
- In the command prompt go to Postgresql installation directory bin
folder
- Now type this following command without quotes "psql -d newgenlib
-U postgres". Using this command you are connecting to newgenlib
database using postgres user name. Now press enter key. You will be
promted to enter the password, please do so.
- Now type this command without quotes "\i C:/backupinplain.sql".
Presuming that in step 1 you saved backupinplain.sql in the C: drive.
Now press enter. This will create the tables and all default values.
Installation of Application server
- NewGenLib uses Jboss application server 3.2.1 which can be
downloaded from www.jboss.org.
However we made some changes and made the application server ready for
use. Download jboss-3.2.1_tomcat-4.1.24.zip
from sourceforge.net
- Extract the contents of
jboss-3.2.1_tomcat-4.1.24.zip into any drive. Please note
that it must not be extracted into any folders, it must be extracted
into a drive directly. If you extracted the contents of
jboss-3.2.1_tomcat-4.1.24.zip into D: drive, you will now see a
directory named jboss-3.2.1_tomcat-4.1.24 in the D: drive
- Download newgenlib.ear from sourceforge.net and into
jboss-3.2.1_tomcat-4.1.24/server/default/deploy directory
NewGenLib files
- Download NewGenLibFiles.zip
from sourceforge.net
- Extract the contents of NewGenLibFiles.zip
into C: drive only
- Setup NewGenLib parameters
- Open C:\NewGenLibFiles\SystemFiles\Env_var.txt. Set
JBOSS_HOME to the correct drive
- IPADDRESS={IPADDRESS OF THE SERVER}
Client installation (Librarian's interface)
- Download J2SE Java Runtime Environment (JRE) from
http://java.sun.com/j2se/1.4.2/download.html
- Install it on the clients where librarian's interface is required
- Open Internet Explorer and in the address bar enter
http://{ipaddress of the server}:8080/newgenlibctxt/LaunchApplication
- In Security Warning, click on Start button
- In the server details, enter the ipaddress of the server and
click on Ok Button
- In Desktop integration click on Yes button.
- For initial login, please use '1' as user id and 'abc' as
password without the quotes.
Web based Online Public Access Catalogue (Web OPAC)
- Web OPAC can be accessed from the URL http://{ipaddress of the
server}:8080/newgenlibctxt