750 likes | 933 Views
Practical 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@gmail.com Mobile No. +91 9831092149. NOTE.
E N D
Practical 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@gmail.com Mobile No. +91 9831092149 Call: +91 9831092149
NOTE 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 Call: +91 9831092149
Thanks 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 Call: +91 9831092149
What 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/projects/newgenlib • Take a 20-minute multimedia tour at www.newgenlib.com Let’s Install & Use it Call: +91 9831092149
Files 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) Call: +91 9831092149
Sources 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 Call: +91 9831092149
Installation 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 Call: +91 9831092149
Files Required for Installation Call: +91 9831092149
Install Java 2 SDK • Double Click j2sdk file to launch the installer Call: +91 9831092149
Accept the license agreement • Click “I accept the terms in the license agreement” • Click Next > button Call: +91 9831092149
Choose 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 > button Call: +91 9831092149
Choose installation directory • Click Change… button and change the folder name to jdk • Click OK button Call: +91 9831092149
Choose installation directory • Click Next > button Call: +91 9831092149
Web Browser Configuration • Java 2 SDK automatically identifies the browsers installed. Select the browsers to be configured with Java. • Click Install > button Call: +91 9831092149
Installation in Progress Call: +91 9831092149
Installation Complete • Click Finish button Call: +91 9831092149
Set Environment Variable for Java 2 SDK • Right Click My Computer icon on your Desktop and click Properties Call: +91 9831092149
Set Environment Variable for Java 2 SDK • In System Properties screen, select Advanced tab & click Environment Variables button Call: +91 9831092149
Set Environment Variable for Java 2 SDK • In Environment Variables window, Click New button under System Variables Call: +91 9831092149
Set 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 Call: +91 9831092149
Environment Variable for Java 2 SDK set • The Environment Variable for Java 2 SDK can be seen Call: +91 9831092149
Install PostgreSQL for Windows • Double click the postgresql installer package to launch installation wizard • Select the language & click Start > button Call: +91 9831092149
Welcome Screen • Click Next > button Call: +91 9831092149
Installation Notes • Click Next > button Call: +91 9831092149
Installation Options • Leave all the options default (including the installation directory) • Click Next > button Call: +91 9831092149
Service Configuration • Account name: postgres • Account domain: accept default value • Account password: newgenlib (retype the password) • Click Next > button NOTE: DO REMEMBER THIS PASSWORD Call: +91 9831092149
Account 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) Call: +91 9831092149
Initialize 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 > button. Call: +91 9831092149 NOTE: DO REMEMBER THIS PASSWORD
Select Procedural Language • The procedural language PL/pgsql will be selected by default • Click Next > button Call: +91 9831092149
Select contrib modules (IMPORTANT!) • Select DBlink, Fuzzy String Match & Tsearch2 Modules. Admin81 is selected by default. • Click Next > button Call: +91 9831092149
Ready to Install • Click Next > button to start installation Call: +91 9831092149
Installation in Progress Call: +91 9831092149
Installation Complete • Click Finish > button Call: +91 9831092149
Create newgenlib database • Go to Start > Programs > PostgreSQL > PgAdmin III Call: +91 9831092149
Connect to PostgreSQL Database Server • Right Click on PostgreSQL Database Server & click Connect Call: +91 9831092149
Enter Password to connect to server • Enter the password for user postgres (password is newgenlib) • Click OK button Call: +91 9831092149
Create New Database • Right click on Databases & click New Database Call: +91 9831092149
Create newgenlib database • In New Database Window, enter newgenlib for Name, select posgres for Owner, UTF8 for Encoding & pg_default for Tablespace • Click OK button Call: +91 9831092149
newgenlib database created • newgenlib database can be seen in Database list • Close pgAdmin III Call: +91 9831092149
Copy backupinplain.sql file to C drive • Copy backupinplain.sql file to C drive Call: +91 9831092149
Go to Command Prompt • To go to command prompt, click Start > Run & type cmd Call: +91 9831092149
Change 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 Call: +91 9831092149
Access 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 Call: +91 9831092149
Run 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:) Call: +91 9831092149
Table creation in progress Call: +91 9831092149
Table creation complete • The table creation is complete • Close the command prompt Call: +91 9831092149
Install JBoss Application Server • Extract jboss-3.2.1_tomcat-4.1.24.zip file to C drive directly Call: +91 9831092149
Select location for extraction • Select C drive as location for extraction • Click Extract button Call: +91 9831092149
Extraction Complete • When extraction completes, the jboss folder can be seen in C drive Call: +91 9831092149
Copy newgenlib.ear file to JBoss Server • Copy newgenlib.ear file to C:\jboss-xxx\server\default\deploy directory Call: +91 9831092149