Install the Web Interface Advanced » History » Version 1
Neil Voss, 05/12/2010 04:12 PM
1 | 1 | Neil Voss | h1. Install the Web Interface Advanced |
---|---|---|---|
2 | |||
3 | h3. Manual configuration instructions (Advanced User) |
||
4 | |||
5 | *Note:* You may skip this section if you configured your installation with the setup wizard. |
||
6 | |||
7 | Copy config.php.template to config.php and edit the latter by adding these parameters: |
||
8 | "config.php" should be located in /var/www/html/myamiweb/ on CentOS and /srv/www/htdocs/myamiweb/ on SuSE. |
||
9 | |||
10 | * define site base path |
||
11 | * This should be changed if the myamiweb directory is located |
||
12 | * in a sub-directory of the Apache web directory. |
||
13 | * ex. myamiweb is in /var/www/html/applications/myamiweb/ then |
||
14 | * change to define('BASE_PATH',"applications/myamiweb"); |
||
15 | |||
16 | <pre> |
||
17 | define('BASE_PATH',"myamiweb"); |
||
18 | </pre> |
||
19 | |||
20 | * myamiweb login system |
||
21 | |||
22 | <pre> |
||
23 | // Browse to the administration tools in myamiweb prior to |
||
24 | // changing this to true to populate DB tables correctly. |
||
25 | define('ENABLE_LOGIN', false); |
||
26 | </pre> |
||
27 | |||
28 | |||
29 | * Administrator email title and email address |
||
30 | |||
31 | <pre> |
||
32 | define('EMAIL_TITLE', 'The name of your institute'); |
||
33 | define('ADMIN_EMAIL', "example@institute.edu"); |
||
34 | </pre> |
||
35 | |||
36 | * SMTP Server setup (not required but recommended): |
||
37 | |||
38 | <pre> |
||
39 | define('ENABLE_SMTP', false); |
||
40 | define('SMTP_HOST', 'mail.institute.edu'); //your smtp host |
||
41 | </pre> |
||
42 | |||
43 | * When SMTP server requires authentication |
||
44 | |||
45 | <pre> |
||
46 | // --- Check this with your email administrator -- // |
||
47 | // --- Set it to true if your SMTP server requires authentication -- // |
||
48 | define('SMTP_AUTH', false); |
||
49 | |||
50 | // --- If SMTP_AUTH is not required(SMTP_AUTH set to false, -- // |
||
51 | // --- no need to fill in 'SMTP_USERNAME' & SMTP_PASSWORD -- // |
||
52 | define('SMTP_USERNAME', ""); |
||
53 | define('SMTP_PASSWORD', ""); |
||
54 | </pre> |
||
55 | |||
56 | * Setup your MySQL database server parameters: |
||
57 | |||
58 | <pre> |
||
59 | define('DB_HOST', ""); // DB Host name |
||
60 | define('DB_USER', ""); // DB User name |
||
61 | define('DB_PASS', ""); // DB Password |
||
62 | define('DB_LEGINON', ""); // Leginon database name |
||
63 | define('DB_PROJECT', ""); // Project database name |
||
64 | </pre> |
||
65 | |||
66 | |||
67 | For Appion Installation, also setup these in config.php: |
||
68 | * Enable the processing plug-in by uncommenting out the following line in the file`myamiweb/config.php` |
||
69 | |||
70 | <pre> |
||
71 | addplugin("processing"); |
||
72 | </pre> |
||
73 | |||
74 | * Add processing host information |
||
75 | |||
76 | <pre> |
||
77 | // --- Please enter your processing host information associate with -- // |
||
78 | // --- Maximum number of the processing nodes -- // |
||
79 | // --- $PROCESSING_HOSTS[] = array('host' => 'host1.school.edu', 'nproc' => 4); -- // |
||
80 | // --- $PROCESSING_HOSTS[] = array('host' => 'host2.school.edu', 'nproc' => 8); -- // |
||
81 | |||
82 | // $PROCESSING_HOSTS[] = array('host' => '', 'nproc' => ); |
||
83 | </pre> |
||
84 | |||
85 | * Microscope spherical aberration constant |
||
86 | |||
87 | <pre> |
||
88 | $DEFAULTCS = "2.0"; |
||
89 | </pre> |
||
90 | |||
91 | * IMAGIC and Other features: |
||
92 | |||
93 | <pre> |
||
94 | // Check if IMAGIC is installed and running, otherwise hide all functions |
||
95 | define('HIDE_IMAGIC', false); |
||
96 | |||
97 | // hide processing tools still under development. |
||
98 | define('HIDE_FEATURE', true); |
||
99 | </pre> |
||
100 | |||
101 | We will not include the cluster registration now. It is covered in the last part of this document. |
||
102 | |||
103 | ______ |
||
104 | |||
105 | [[Install the Web Interface| Go back to Install the Web Interface]] |
||
106 | |||
107 | |||
108 | ______ |