Steps to Manually Install Client Offline application - Punjab ...
-
Upload
khangminh22 -
Category
Documents
-
view
4 -
download
0
Transcript of Steps to Manually Install Client Offline application - Punjab ...
Crime and Criminal Tracking Network
& Systems
Unit 6:-Steps to Manually Install
Client Offline Application
TCS Confidential
2
Machine Configuration
Client Machine
Memory 2GB RAM minimum.
Storage 60 GB hard disk.
Monitor Any monitor supporting 1024x768 screen resolution.
I/O Devices Compatible key board, mouse, NIC , Network cable.
Operating System Standard Linux platform
3
Pre-requisites
•JDK version 1.6.23, or later. (command to check version java -
version)
• “Times New Roman” and “Mangal” font should be installed. (not
present by default, have to be downloaded and installed)
•Command xdg-openshould be available on command prompt (this is
by default present in Ubuntu 12.10 and Fedora 16)
•Software Program for viewing PDF files ( by default Document
Viewer present in Ubuntu 12.10 and Fedora 16)
•Monitor screen resolution should be 1024 * 768
4
Steps to configure Offline application
•Create a directory on local file system (I would assume /home/guest)
to store Offline application , using command
mkdir Offline
•Now copy the zip file (ConfigureCASOffline.zip) to the location
/home/guest/Offline and unzip, you should get
ConfigureCASOffline.jar file under directory Offline
•Copy the directory “Linux-Manual-Installation/CCTNS Application”
from CD todirectory /home/guest/Offline on local machine.
5
•Now come to directory /home/guest/Offline
– Java should be configured in the PATH environmental variable, i.e.
java command should work on command prompt.
– Run the configuration jar file with command
• java –jar ConfigureCASOffline.jar
•Press enter.
7
Significance of the parameters
•Database Driver class: This is the driver name to be used for
connecting database. (com.mysql.jdbc.Driver)
•Database User Name: User name for MySQL database. Use user
cctnsuser
•Database User Password:The password for the user. Use password
cctns
•Database Schema URL: The standard URL of the database
(jdbc:mysql://<IP of server>:3306/cctns_offline_db_sync_proc)
• CAS State URL :This is the url of the the CAS state application
(http://10.105.115.28/CCTNSWeb/Login.aspx)
• Path of Application :This is the path of directory where CAS offline
application is stored. (/home/guest/Offline/CCTNSApplication)
•Path of Report Folder :This is the path where fir pdf is created. It can
be any path in file system that has write permissions
9
After filling all fields it should look like:
Now click on Savebutton you will get a message below
11
• Give following permissions:
– Go to path /home/guest/Offlineand run the following command to give
write access rights to all on this Offline directory chmod +w -R .
– Go to the path /home/guest/Offline/CCTNSApplication via command
prompt and run the command chmod +x run.sh
• Now run the offline application using following steps
– Java should be configured in the PATH environmental variable, i.e. java
command should work on command prompt.
– Go to the path /home/guest/Offline/CCTNSApplication via command
prompt.
– Now execute command
• ./run.sh
• press enter.
• Or
• Go to the path /home/guest/Offline/CCTNSApplication via folder view and
double click on run.sh file, if a popup comes, click on Run
– Now you should get the application login page