Project

General

Profile

Install the Web Interface Advanced » History » Revision 11

Revision 10 (Amber Herold, 06/04/2012 12:52 PM) → Revision 11/14 (Amber Herold, 06/04/2012 12:52 PM)

h1. Install the Web Interface Advanced 

 h3. Manual configuration instructions (Advanced User) 

 *Note:* You may skip this section if you configured your installation with the setup wizard at http://localhost/myamiweb/setup. 

 Copy config.php.template to config.php and edit the latter by adding these parameters: 
 "config.php" should be located in /var/www/html/myamiweb/ on CentOS and /srv/www/htdocs/myamiweb/ on SuSE. 

 # define site base path 
 This should be changed if the myamiweb directory is located 
 in a sub-directory of the Apache web directory. 
 ex. myamiweb is in /var/www/html/applications/myamiweb/ then 
 change to    define('BASE_PATH',"applications/myamiweb"); 
   
 <pre> 
 define('BASE_PATH',"myamiweb");  
 </pre> 
 &nbsp; 
 # myamiweb login system 
 <pre> 
 // Browse to the administration tools in myamiweb prior to  
 // changing this to true to populate DB tables correctly. 
 define('ENABLE_LOGIN', false); 	
 </pre> 
 &nbsp; 
 # Administrator email title and email address 
 <pre> 
 define('EMAIL_TITLE', 'The name of your institute'); 
 define('ADMIN_EMAIL', "example@institute.edu"); 
 </pre> 
 &nbsp; 
 # SMTP Server setup (not required but recommended): 
 <pre> 
 define('ENABLE_SMTP', false); 
 define('SMTP_HOST', 'mail.institute.edu'); 	 //your smtp host 
 </pre> 
 &nbsp; 
 ## When SMTP server requires authentication 
 <pre> 
 // --- Check this with your email administrator -- // 
 // --- Set it to true if your SMTP server requires authentication -- // 
 define('SMTP_AUTH', false); 

 // --- If SMTP_AUTH is not required(SMTP_AUTH set to false, -- // 
 // --- no need to fill in 'SMTP_USERNAME' & SMTP_PASSWORD -- // 
 define('SMTP_USERNAME', ""); 
 define('SMTP_PASSWORD', ""); 
 </pre> 
 &nbsp; 
 # Setup your MySQL database server parameters: 
 <pre> 
 define('DB_HOST', ""); 		 // DB Host name 
 define('DB_USER', ""); 		 // DB User name 
 define('DB_PASS', ""); 		 // DB Password 
 define('DB_LEGINON', ""); 	 // Leginon database name 
 define('DB_PROJECT', ""); 	 // Project database name 
 </pre> 
 &nbsp; 
 # Enable Image Cache 
 If you want to use caching function for faster image loading time in image viewer, change 'ENABLE_CACHE' to true. 
 You can change the 'CACHE_PATH' to other location, but make sure the apache user has write access to this folder. 
 <pre> 
 // --- Enable Image Cache --- // 
 define('ENABLE_CACHE', true); 
 // --- caching location --- // 
 // --- please make sure the apache user has write access to this folder --- // 
 define('CACHE_PATH', '/srv/www/cache/'); 
 define('CACHE_SCRIPT', WEB_ROOT.'/makejpg.php'); 
 </pre> 

 h3. Additional parameters needed for Appion Installations only: 

 {include(appion {include([[appion config advanced)} advanced]])} 

 We will not include the cluster registration now. It is covered in the last part of this document. 

 ______ 

 [[Install the Web Interface| Go back to Install the Web Interface]] 


 ______