You are on page 1of 19


Process to install the Installation file in the System:>To download the file: Press ctrl button and click here Or copy and paste the link in the Address Bar of any Browser :- >now click on Download Now. >After the file is downloaded, extract the allfiles.rar to C: directory.

Installing the server

Installation of Java SDK 6.0 and setting up of JAVA_HOME environment variable
Double click on the Java file in the C: directory.

3. Click on the "Next" button

4. Make a note of this path to Install Java and Click on Next.

5. The Install of jre will prompted just Click on Next

6. Click on Finish

7. Let us now set the JAVA_HOME Environment variable. Right click on "My Computer" on your desktop and select the option Properties

8. Select the tab Advanced and click on the button Environment Variables

9. Under the System Variables area click on the New button

10. You will be prompted to create a new system variable. In the variable name enter JAVA_HOME and in the variable value enter the path of the jdk Installation Point 4. And click on the Ok button.

You can now see the JAVA_HOME Variable set as shown below. Now click on the Ok button.

Installation of Postgresql 8.3

In the C: directory. you will see the folder name postgres,open the folder and double click on the file Postgresql-8.3.msi.

3. Select English and click on the start button

4. Click on the Next button

5. Click on the Next button

6. Click on the Next button

7. Make sure that Install as service is selected. Enter account password as "newgenlib" and retype the password "newgenlib" in the verified password text box. Click on Next button.

8. The system will now create a user called postgres. Click on Yes to create a user name postgres

9. The system may prompt that the password is weak click on No.

10. Make sure that initialize database cluster is checked. "Accept connections on all address, Not just localhost" must be checked. "Encoding (Server)" Must be UTF8. Client must be UTF8. Password is "newgenlib" Retype password as "newgenlib" Click on Next button.

11. You may get a warning message regarding remote connections click on Ok.

12. In "Enable procedural languages" click on Next

13. In "Enable contrib modules" click on Next.

14. The Postgres is now ready to Install. Click on Next.

15. Once the Installation of Postgres is complete you will get installation complete window.

Uncheck Launch builder at exit and Click on Finish button.

Installation of NGL3

Now open C: Drive you will see a directory name "InstallNGL3.0".The contents of this directory.

3. Now go into C:/InstallNGL303/apache-ant-1.8.1/bin directory. In this directory you will find a file config.ini. open this file using Wordpad or Notepad. Edit the parameters as explained below. This means that the NGL installation will be made in the directory C:/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. 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=postgres Default database user is postgres. So do not edit this value. DatabasePassword=newgenlib

The password you entered for postgres. In our installation manual we asked to give the password as newgenlib. source.location=C:/InstallNGL303 This is the location which has NGL3.0 Installation files. Refer to Point 2. restore.database=blank If you want to restore a blank NGL schema the above value is blank. If you want to restore a NGL backup(with data) instead of a blank schema then put the backup file in D:/InstallNGL3.0/DBBackup directory. Instead of blank use original. Your parameter will look like this restore.database=original NewGenLib.Database=newgenlib Do not edit this parameter. If you want the database name to be something else you may change it here. NewGenLib.Database.UserName=newgenlib Do not edit this parameter. A new user with this name will be created NewGenLib.Database.Password=newgenlib Do not edit this parameter. The user will be created with this password. Save the changes made to config.ini 4. Go to C:/InstallNGL303 and Double click on Install batch file. This will Open command prompt and execute the scripts as shown below

Now open C: directory, you will see a folder name "NewGenLibFiles".

Open the folder and check if web.war file exists or not. If it exists, its ok. No need of any changes. If it does not exists then you have to go back to InstallNGL3.0 in the C: Directory and open upgrade303 folder, copy the web.war file and paste it in NewGenLibFiles folder.

5. Go to C:/NGL3/apache-tomcat-6.0.32/bin directory. You can see a file RunNGL3Server batch file.

This batch file when executed will run the apache-tomcat Server with NGL Application. Since you have use this batch file frequently let us creates a shortcut of this file on the desktop. Right click on RunNGL3Server and Send to ---> Desktop (Create Shortcut) as shown below.

A shortcut will be created on your desktop as shown below.

6. Double click on the Shortcut to start NGL Server. The NGL Server (apache-tomcat) will start. It will take some time to initialize. Finally you will get a message as shown below. The time taken for server to initialize will change system to system.

Check if the installation is working

1. Make sure that your NGLServer is running. (Point 6 of above section). 2. Click on this link. http://localhost:8080/newgenlibctxt. This should open Web OPAC as shown below.

3. Now the Installation is running, we will now have to create a Solr Index of Bibliographic and Authority data. Please note that unless you execute this step you will not be able to make searches. Go D:/InstallNGL3.0 directory you will find a file BuildIndex batch file. Double click on this file. This will create Bibliographic and Authority data Index.

Launching NGL Librarian's Interface

1. Click on this link http://localhost:8080/newgenlibctxt/LaunchApplication This will Launch Librarian's User Interface 2. You will first be prompted to enter Tomcat server location and Port on which it runs. Enter localhost as "IP Address of the server" and 8080 as "Port Number". Click on Ok

3. Now a login screen will open. Login with User ID="1" and Password="abc" (In your earlier version if you have used a different password, login with that password)

4. Librarian's User Interface will open as shown below.

Configuring Twitter: Press ctrl button and CLICK HERE. Or Copy and paste the link in the Address Bar of any Browser: