- Timestamp:
- Apr 22, 2026, 10:00:30 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/DataStoreServer/notes.txt
r42985 r42992 1 2 How to create a new installation of the IPP datastore: 3 4 * create a database to host the relevant tables: 5 * create a mysql user: 6 > create user 'ipp'@'localhost' identified by 'XXX' 7 > grant all on *.* to 'ipp'@'localhost' 8 9 * in mysql, create the test database: 10 > create database datastore; 11 12 * create the tables: 13 # mysql -h localhost -u ipp -p datastore < scripts/tabledefs.sql 14 15 This generates the tables needed by the datastore web pages and tools 16 17 * in DataStoreServer, to install the apache CGI elements: 18 * ./autogen.sh --with-cgidir=/MY/DATASTORE/ds-cgi --with-dsroot=/MY/DATASTORE/dsroot 19 * make cgi 20 * then edit /MY/DATASTORE/ds-cgi/dsshellconfig 21 ** supply the perl path of the user built to support the datastore 22 ** supply the database server information 23 ** supply the dsroot location 24 25 * install the apache vhost configuration file: 26 * NOTE: this likely needs root access 27 * cp DataStoreServer/web/conf/ubuntu-datastore.conf /etc/apache2/sites-available 28 * edit to match location of datastore/dsroot and ds-cgi 29 * enable the new site (a2ensite) 30 * enable required modules: rewrite, cgi, includes 31 * start or restart the apache server 32 33 ============================================================== 34 35 * datastore apache elements consist of CGI scripts and the directory hierarchy for data products 36 37 * Things to be installed in ds-cgi: 38 * dsindex.cgi 39 * dstxtindex.cgi 40 * dsgetindex 41 * dsfsindex 42 * dsprodindex 43 * dsrootindex 44 * dsshellconfig -- NEEDS to be modified to define the configuration 45 46 * Things needed in the user build by the apache server: 47 * dsdbh.pm in PERL 48 * DBD/mysql.pm 49 50 * Things installed as user tools: 51 * dsreg 52 * dsprodtool 53 54 * 55 56 ---------- 1 57 2 58 Here is the current (2026.04.11) directory listing of /export/ipp113.0/datastore/ds-cgi: … … 48 104 --------- 49 105 50 How to set up a local database to host the IPP datastore:51 52 * create a database to host the relevant tables:53 in mysql, create the test database:54 > create database test_datastore;55 create the tables:56 # mysql -h localhost -u ipp -p test_datastore < scripts/tabledefs.sql57 58 This generates the tables needed by the datastore web pages and tools59 60 ----------61
Note:
See TracChangeset
for help on using the changeset viewer.
