Changes between Version 1 and Version 2 of orca-pod

Show
Ignore:
Timestamp:
10/18/11 17:26:29 (8 years ago)
Author:
zhaomuzh (IP: 66.57.66.19)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • orca-pod

    v1 v2  
    1010Apache2 Web Server       http://archive.apache.org/dist/httpd/ 
    1111PHP Engine               http://php.net/releases/ (version 5.3.0+ is required, version 5.3.0 is preferred) 
    12 MySql Database Server    http://downloads.mysql.com/archives.php 
     12MYSQL Database Server    http://downloads.mysql.com/archives.php 
    1313 
    1414=== Installation === 
    15 1.  add PHP and MySql to Apache2 Web Server, modify their configurations described below: 
     151.  add PHP and MYSQL to Apache2 Web Server, modify their configurations described below: 
    1616 * Apache2 
    17    (1)Enable ssl and client certificate authentication through ssl. Open the %APACHE_HOME%/conf/extra/httpd-ssl.conf, modify the statements as presented below  
     17   Enable ssl and client certificate authentication through ssl: open the %APACHE_HOME%/conf/extra/httpd-ssl.conf, modify the statements as presented below  
    1818{{{ 
    1919#   Certificate Authority (CA): 
     
    4242SSLOptions +ExportCertData 
    4343}}} 
     44   append the trusted CA certificates to the file that "SSLCACertificateFile" points to, so that all the personal certificates that signed by those CA can be authenticated. 
     45 
     46 * PHP 
     47   Check phpinfo() to make sure "MYSQL" model and "zip" model are enabled. If not, enable them in php.ini file like this: 
     48{{{ 
     49extension=php_zip.so 
     50extension=php_mysql.so 
     51}}} 
     52   change the maximum allowed size for uploaded files 
     53{{{ 
     54; Whether to allow HTTP file uploads. 
     55file_uploads = On 
     56; Maximum allowed size for uploaded files, change the value as you want 
     57upload_max_filesize = 200M 
     58; Maximum size of POST data that PHP will accept. Must be larger than "upload_max_filesize" 
     59post_max_size = 800M 
     60}}} 
     61 
     622. Deploy the orca-pod application 
     63 * Download and decompress "yii-1.1.8.r3324.tar.gz", copy the "yii-1.1.8.r3324/framework" folder to the root directory of Apache2 server 
     64 * Put the "orca-pod" folder to the root directory of Apache2 server, the same folder that "framework" folder lays in 
     65 * Open "orca-pod/protected/config/main.php", find the statement like this 
     66{{{ 
     67'db'=>array( 
     68                        'connectionString' => 'mysql:host=<hostname>;dbname=pod', 
     69                        'emulatePrepare' => true, 
     70                        'username' => '<your username>', 
     71                        'password' => '<your password>', 
     72                        'charset' => 'utf8', 
     73                ), 
     74}}} 
     75   Replace the 'host','username','password' with correct host name, user name and password 
     76 * Authorize the "write" privilege of "orca-pod/data/", "orca-pod/assets/", "orca-pod/temp/" and "orca-pod/protected/runtime/" to the application. 
     77 * Execute "orca-pod/protected/data/tbCreation.sql" and "orca-pod/protected/data/insertData.sql" in MYSQL for tables creation and data insertion. 
     78 * add authorized emailbox domains in "orca-pod/protected/components/emailcontroller/whitelist.txt". The format: '@'+emailbox domain 
     79{{{ 
     80@duke.edu 
     81@cs.duke.edu 
     82@gmail.com 
     83}}} 
     84   NOTE: if the file "orca-pod/protected/components/emailcontroller/whitelist.txt" doesn't exist or it's empty, all the valid email addresses are authorized