Difference between revisions of "Network installation/Older instructions"
From ECHSA Congenital Database
Jump to navigationJump to search| Line 3: | Line 3: | ||
Network instalation of Data Collection Software requires four steps to perform. | Network instalation of Data Collection Software requires four steps to perform. | ||
| − | + | #Download and run the latest version of the DataCollectionSoftware. When a dialog appears type in your hospital code and choose the default database path. | |
| − | + | #Download and apply the SQL scripts to create necessary database objects and fill the dictionary tables. | |
| − | + | #Download and install the JDBC driver: | |
| − | + | #*system-wide instalation -- copy the driver <tt>jar</tt> file into the <tt>lib/ext</tt> subdirectory of your Java JRE directory | |
| − | + | #*local instalation -- copy the driver <pre>jar</pre> file and DataCollectionSoftware-7.x.jar into some directory and prepare shortcut or shell script with command:<br> <pre>java -cp driver_file_name.jar;DataCollectionSoftware-7.x.jar pl.magnum2.ecdbc.Ecdbc</pre><br> or under MS Windows: <pre>javaw -cp driver_file_name.jar;DataCollectionSoftware-7.x.jar pl.magnum2.ecdbc.Ecdbc</pre> | |
| − | java -cp driver_file_name.jar;DataCollectionSoftware-7.x.jar pl.magnum2.ecdbc.Ecdbc | + | #Go to the software preferences directory '''<pre>.EactsCongenitalDatabase</pre>''' located in the user home directory (please note the '''dot''' character at the beginning of the directory name). Edit the '''<pre>ecdbc.properties</pre>''' file and set two variables: <pre>dbdriver</pre> and <pre>dburl</pre>. The user name and the '''password''' are to be set inside the <pre>dburl</pre> variable. |
| − | </pre><br> or under MS Windows: <pre> | ||
| − | javaw -cp driver_file_name.jar;DataCollectionSoftware-7.x.jar pl.magnum2.ecdbc.Ecdbc | ||
| − | </pre> | ||
| − | |||
| − | .EactsCongenitalDatabase | ||
| − | </pre>''' located in the user home directory (please note the '''dot''' character at the beginning of the directory name). Edit the '''<pre>ecdbc.properties</pre>''' file and set two variables: <pre>dbdriver</pre> and <pre>dburl</pre>. The user name and the '''password''' are to be set inside the <pre>dburl</pre> variable. | ||
Steps 2-4 are database system specific. Look below for details. | Steps 2-4 are database system specific. Look below for details. | ||
| Line 22: | Line 16: | ||
== PostgreSQL == | == PostgreSQL == | ||
| − | + | #SQL scripts: | |
| − | + | #*attachment:pgsql_struct.sql | |
| − | + | #*attachment:pgsql_dict.sql | |
| − | + | #[http://jdbc.postgresql.org/download/postgresql-8.0-310.jdbc3.jar JDBC driver] | |
| − | + | #<pre>dbdriver</pre> and <pre>dburl</pre> values (replace <pre>user_name</pre> and <pre>users_password</pre> with values corresponding to your database server configuration) | |
| + | <pre> | ||
dbdriver=org.postgresql.Driver | dbdriver=org.postgresql.Driver | ||
dburl=jdbc:postgresql://host_name/database_name?user=user_name&password=users_password | dburl=jdbc:postgresql://host_name/database_name?user=user_name&password=users_password | ||
</pre> | </pre> | ||
Latest revision as of 18:53, 24 September 2005
General installation information
Network instalation of Data Collection Software requires four steps to perform.
- Download and run the latest version of the DataCollectionSoftware. When a dialog appears type in your hospital code and choose the default database path.
- Download and apply the SQL scripts to create necessary database objects and fill the dictionary tables.
- Download and install the JDBC driver:
- system-wide instalation -- copy the driver jar file into the lib/ext subdirectory of your Java JRE directory
- local instalation -- copy the driver
jar
file and DataCollectionSoftware-7.x.jar into some directory and prepare shortcut or shell script with command:
java -cp driver_file_name.jar;DataCollectionSoftware-7.x.jar pl.magnum2.ecdbc.Ecdbc
or under MS Windows:javaw -cp driver_file_name.jar;DataCollectionSoftware-7.x.jar pl.magnum2.ecdbc.Ecdbc
- Go to the software preferences directory
.EactsCongenitalDatabase
located in the user home directory (please note the dot character at the beginning of the directory name). Edit theecdbc.properties
file and set two variables:dbdriver
anddburl
. The user name and the password are to be set inside thedburl
variable.
Steps 2-4 are database system specific. Look below for details.
Information specific to particular database system
PostgreSQL
- SQL scripts:
- attachment:pgsql_struct.sql
- attachment:pgsql_dict.sql
- JDBC driver
dbdriver
anddburl
values (replaceuser_name
andusers_password
with values corresponding to your database server configuration)
dbdriver=org.postgresql.Driver dburl=jdbc:postgresql://host_name/database_name?user=user_name&password=users_password