Page History
Step 1: Change Working Directory
Anchor | ||||
---|---|---|---|---|
|
During the Metadata Installation we will be working with the metadata directory. Within this directory are the files we will be editing to define the database properties, create the metadata tables and load the sample data provided with the i2b2 on OMOP data package.
html-text |
---|
<span style="font-size:15px;font-weight:bold">Working directory for metadata:</span> <i>YOUR_I2B2_OMOP_DATA_DIR</i>\i2b2_omop_data\<i>{oracle|sqlserver}</i>\metadata |
How to Change Directories
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
cd YOUR_I2B2_OMOP_DATA_DIR\i2b2_omop_data\{oracle|sqlserver}\metadata |
Make sure you replace the following when entering the above command:
- YOUR_I2B2_OMOP_DATA_DIR is the location where you unzipped the i2b2 omop data package.
- oracle|sqlserver is the type of database management system used for your CDM database.
html-text |
---|
<div class="i2b2-panel"> <table class="i2b2-important"> <colgroup> <col width="24"> <col> </colgroup> <tbody> <tr> <td> <img src="https://community.i2b2.org/wiki/download/attachments/14091764/icon_important.png" width="16" height="16" align="absmiddle" alt="info" border="0"> </td> <td> <b>Important</b> <br><br>The change directory command shown above is written for Windows. The command itself is the same for both Linux and Windows with the only exceptions being the slashes in the path name and Linux does not include the "drive". <br> <ul> <li><i>Linux Path:</i> use a forward slash.</li> <li><i>Windows Path:</i> use a backward slash.</li> </ul> </td> </tr> </tbody> </table> </div> |
EXAMPLES:
Linux Command: CD /opt/data/i2b2_omop_data/oracle/metadata
Windows Command: CD C:\opt\data\i2b2_omop_data\oracle\metadata
Section | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
To change your working directory to the metadata directory enter the following command:
Linux Command: CD /opt/data/i2b2_omop_data/oracle/metadata Windows Command: CD C:\opt\data\i2b2_omop_data\oracle\metadata |