Difference between revisions of "SAC:Setup OCS"

From OSGeo
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 +
OCS is the Open Conference Systems software
 +
 
* 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]
 
* See [http://www.osgeo.org/ocs/docs/README Install README]
Line 17: Line 19:
 
* Set permissions for files upload location
 
* Set permissions for files upload location
 
  sudo chown apache.apache /var/www/ocs2/files
 
  sudo chown apache.apache /var/www/ocs2/files
* Create new mysql database called "ocs"
+
* Create new mysql database called "ocs", set user ocs to have full rights to the db
 
* Web based installer should launch now: http://www.osgeo.org/ocs/
 
* Web based installer should launch now: http://www.osgeo.org/ocs/
 
** Set Connection and Database character encoding to Unicode UTF-8
 
** Set Connection and Database character encoding to Unicode UTF-8
 
** Change directory for uploads to /var/www/ocs/files
 
** Change directory for uploads to /var/www/ocs/files
 
** Change password encryption type to SHA1
 
** Change password encryption type to SHA1
 +
** Enter an admin account for OCS
 +
** Enter MySQL account info, '''turn off''' "create new database" option
 +
** Set "OAI repository identifier" to "ocs.osgeo.org"

Revision as of 10:03, 31 July 2007

OCS is the Open Conference Systems software

  • 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
  • Set permissions for files upload location
sudo chown apache.apache /var/www/ocs2/files
  • Create new mysql database called "ocs", set user ocs to have full rights to the db
  • Web based installer should launch now: http://www.osgeo.org/ocs/
    • Set Connection and Database character encoding to Unicode UTF-8
    • Change directory for uploads to /var/www/ocs/files
    • Change password encryption type to SHA1
    • Enter an admin account for OCS
    • Enter MySQL account info, turn off "create new database" option
    • Set "OAI repository identifier" to "ocs.osgeo.org"