Installation: Installing The Server
Installation: Installing The Server
This tutorial presumes that you have a NGL 2.x running on your server. We will now see the upgrade procedure.
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
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.
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.
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
1. Download NGL3 from this link. If you have already downloaded this file in the Download page, skip this step. 2. This will download a file InstallNGL3.0.zip. Extract this file, for this example we have extracted the zip file into D: Drive. In D: Drive you will now see a directory name "InstallNGL3.0". The contents of this directory.
3. Now go into D:/InstallNGL3.0/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. installation.directory=C:/NGL302 This means that the NGL installation will be made in the directory C:/NGL302. 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=D:/InstallNGL3.0 This is the location which has NGL3.0 Installation files. Refer to Point 2. root.drive=C: If you are using windows leave this parameter as it is.
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 D:/InstallNGL3.0 and Double click on Install batch file. This will Open command prompt and execute the scripts as shown below
5. Go to C:/NGL302 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 create a shortcut of this file on the desktop. Right click on RunNGL3Server and Send to ---> Desktop (Create Shortcut) 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.
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.
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)
5. For tutorials to use the librarian interface please visit our Knowledge bank Installation up Upgarde to NGL 3.0.2 from NGL 2.x on Windows Log in or register to post comments