Difference between revisions of "SAC:Setup OCS"

From OSGeo
Jump to navigation Jump to search
m (initial notes)
 
m
Line 1: Line 1:
 
* Download OCS [http://lib-pkp.lib.sfu.ca/ocs/download/ocs-2.0.0-1.tar.gz 2.0 tarball] or from CVS
 
* Download OCS [http://lib-pkp.lib.sfu.ca/ocs/download/ocs-2.0.0-1.tar.gz 2.0 tarball] or from CVS
 +
* See [http://www.osgeo.org/ocs/docs/README Install README]
 
* Save to /var/www/ocs/htdocs and create /var/www/ocs/files for uploads, etc. outside of public web access
 
* Save to /var/www/ocs/htdocs and create /var/www/ocs/files for uploads, etc. outside of public web access
* Create httpd conf.d file:
+
* Copy default config to main:
  Alias /ocs "/var/www/ocs/htdocs"
+
sudo cp /var/www/ocs2/htdocs/config.TEMPLATE.inc.php /var/www/ocs2/htdocs/config.inc.php
 
+
* Create httpd conf.d file /etc/httpd/conf.d/ocs.conf:
  <Directory "/var/www/ocs/htdocs">
+
  Alias /ocs "/var/www/ocs2/htdocs"
 +
  <Directory "/var/www/ocs2/htdocs">
 
     Options None
 
     Options None
 
     AllowOverride None
 
     AllowOverride None
Line 10: Line 12:
 
     Allow from all
 
     Allow from all
 
  </Directory>
 
  </Directory>
 +
* restart httpd
 +
* Set permissions in /var/www/ocs2/htdocs
 +
sudo chown apache.apache config.inc.php public cache cache/t_cache cache/t_config cache/t_compile cache/_db
 +
* Web based installer should launch now: http://www.osgeo.org/ocs/

Revision as of 09:43, 31 July 2007

  • Download OCS 2.0 tarball or from CVS
  • See Install README
  • Save to /var/www/ocs/htdocs and create /var/www/ocs/files for uploads, etc. outside of public web access
  • Copy default config to main:
sudo cp /var/www/ocs2/htdocs/config.TEMPLATE.inc.php /var/www/ocs2/htdocs/config.inc.php
  • Create httpd conf.d file /etc/httpd/conf.d/ocs.conf:
Alias /ocs "/var/www/ocs2/htdocs"
<Directory "/var/www/ocs2/htdocs">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
  • restart httpd
  • Set permissions in /var/www/ocs2/htdocs
sudo chown apache.apache config.inc.php public cache cache/t_cache cache/t_config cache/t_compile cache/_db