Changeset 7974
- Timestamp:
- 2004-08-18T05:30:26+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/gs3-install.bat
r7970 r7974 42 42 :: Copy the modified server.xml into tomcat 43 43 cd %GSDL3HOME%\comms\jakarta 44 copy tomcat\conf\server.xml tomcat\conf\server .xml.bak44 copy tomcat\conf\server.xml tomcat\conf\server-withexamples.xml.config 45 45 "%GSDL3HOME%\winutil\sed.exe" 's,@gsdl3home@,%GSDL3HOME_ESCAPED%,' server.xml.in > tomcat\conf\server.xml 46 46 … … 63 63 cd %GSDL3HOME%\resources\java 64 64 "%GSDL3HOME%\winutil\sed.exe" 's,@gsdl3home@,%GSDL3HOME_ESCAPED%,' SOAPServer.cfg.in > SOAPServer.cfg 65 66 :: ---- SETUP MYSQL + SAMPLE DATABASES ---- 67 :: Set up the SQL DB 68 cd %GSDL3HOME%\packages\mysql 69 "%GSDL3HOME%\winutil\7zip.exe" x mysql-4.0.20d-windows.zip 70 start bin\mysqld 71 bin\mysql --user=root --execute="GRANT SELECT,INSERT,DELETE,UPDATE,DROP,CREATE ON *.* TO gsdl3admin@localhost;" 72 bin\mysql --user=root --execute="GRANT SELECT ON *.* TO gsdl3reader@localhost;" 73 74 :: Set up any sample collections databases 75 bin\mysql --user=root --execute="create database localsite_gs3mgdemo;" 76 bin\mysql --user=root localsite_gs3mgdemo < %GSDL3HOME%\web\sites\localsite\collect\gs3mgdemo\mysqldatadump.sql 77 78 bin\mysqladmin --user=root shutdown 65 79 66 80 :: ---- WEB.XML FILE ---- … … 123 137 124 138 :: ---- COMPILATION ---- 125 echo Will now co nfigure and make the code - this may take a while139 echo Will now compile the code - this may take a while 126 140 127 141 :: Make MG and MGPP jar files, and install them … … 146 160 copy lib\java\xercesImpl.jar web\lib 147 161 148 :: ---- SETUP MYSQL + SAMPLE DATABASES ----149 :: Set up the SQL DB150 cd %GSDL3HOME%\packages\mysql151 "%GSDL3HOME%\winutil\7zip.exe" x mysql-4.0.20d-windows.zip152 start bin\mysqld153 bin\mysql --user=root --execute="GRANT SELECT,INSERT,DELETE,UPDATE,DROP,CREATE ON *.* TO gsdl3admin@localhost;"154 bin\mysql --user=root --execute="GRANT SELECT ON *.* TO gsdl3reader@localhost;"155 156 :: Set up any sample collections databases157 bin\mysql --user=root --execute="create database localsite_gs3mgdemo;"158 bin\mysql --user=root localsite_gs3mgdemo < %GSDL3HOME%\web\sites\localsite\collect\gs3mgdemo\mysqldatadump.sql159 160 bin\mysqladmin --user=root shutdown161 162 162 163 :: And provide a nice little postscript
Note:
See TracChangeset
for help on using the changeset viewer.