Top: code: documentation


[ history ]

Installation

Open-Site 2.0 requires Apache 1.3x, mod_perl, and mysql. It's highly recommended to use mod_ssl.

To setup mysql, import the following data using

mysql databasename < osinstall.sql

http://open-site.org/downloads/snapshots/osinstall.sql

After mysql is setup, edit your apache httpd.conf file using something akin to the following:

<Perl>
use lib '/home/username/public_html/os2/data/code';

use Settings ({
    path_home => "/home/username/public_html/os2",
    use_publishing => 1,  # use publishing support
    sqlserver =>   "127.0.0.1",
    sqlusername => "root",
    sqlpassword => "",
    sqldbname =>   "opensite",
    sqlport =>     "3306",
    send_email =>       0,
    validateNewApp =>   0,
    use_applications => 1,
    public_category_navigation => 1,
    use_motd => 1,
    enforce_ssl => 0, # set to 0 if you're not using ssl
    HD_domain =>   "127.0.0.1",
    use_p_path =>  1, 
});
</Perl>

<Directory "/home/username/public_html/os2/web/">

  Options Indexes FollowSymLinks MultiViews ExecCGI

  
      SetHandler perl-script
      PerlHandler Apache::Registry
      PerlSendHeader On
  

  Order allow,deny
  Allow from all

</Directory>



Initial username and password:
username password
admin admin


For additional help regarding installation, visit the code forum.


 All text is available under the terms of the GNU Free Documentation License. (See Copyright Policy for details.) 
© Open-Site Foundation, Inc.
Hosted by Android Technologies, Inc. the medical robotics news source.
Visit our sister sites dmoz.org | mozilla.org | chefmoz.org | musicmoz.org