Install the Web Interface » History » Version 38
Anchi Cheng, 06/06/2010 10:21 PM
1 | 1 | Amber Herold | h1. Install the Web Interface |
---|---|---|---|
2 | |||
3 | 6 | Amber Herold | Install Leginon and Appion web tools for viewing images and performing image processing through the web server. |
4 | 1 | Amber Herold | |
5 | 6 | Amber Herold | h2. 1. Move the myami/myamiweb directory to your Apache web directory |
6 | 1 | Amber Herold | |
7 | Example: |
||
8 | <pre> |
||
9 | 20 | Neil Voss | cd myami |
10 | 25 | Amber Herold | |
11 | #CentOS example |
||
12 | sudo cp -vr myamiweb /var/www/html/ |
||
13 | |||
14 | 33 | Amber Herold | #this is temporary for setup, revert to 755 when finished with this page |
15 | 25 | Amber Herold | sudo chmod 777 /var/www/html/myamiweb |
16 | 1 | Amber Herold | </pre> |
17 | |||
18 | 6 | Amber Herold | h2. 2. Configure your installation |
19 | 1 | Amber Herold | |
20 | 6 | Amber Herold | There is a setup wizard available to help you set the configuration parameters for your installation. If you prefer not to use the wizard, there are instructions for manually editing the configuration file. If this is your first time creating the web tool configuration file, we recommend using the setup wizard. |
21 | |||
22 | |||
23 | h3. Configuration using the setup wizard |
||
24 | |||
25 | 36 | Anchi Cheng | * Run the online setup wizard by visiting http://yourhost/myamiweb/setup or http://localhost/myamiweb/setup to create the myami website’s config file. |
26 | * You need to know your database setup before you start. If you have been using the parameters in this instruction, here is a [[Explanation of Sample Names|summary]]. |
||
27 | 38 | Anchi Cheng | * You also need to decide whether you would like to enable [[What does User Authentication do to myamiweb|user management system]]. |
28 | 37 | Anchi Cheng | * The setup wizard will check your database connection, create required database tables, and perform default data initialization. |
29 | 6 | Amber Herold | |
30 | h3. Manual configuration instructions (Advanced User) |
||
31 | |||
32 | 17 | Neil Voss | Go to [[Install the Web Interface Advanced]] for the advanced configuration. |
33 | 5 | Eric Hou | |
34 | 32 | Amber Herold | h2. 3. Revert permissions |
35 | 21 | Neil Voss | |
36 | 19 | Neil Voss | <pre> |
37 | 26 | Amber Herold | sudo chmod 755 /var/www/html/myamiweb |
38 | 19 | Neil Voss | </pre> |
39 | |||
40 | 32 | Amber Herold | h2. 4. Test the installation |
41 | 9 | Amber Herold | |
42 | 18 | Neil Voss | Visit http://yourhost/myamiweb or http://localhost/myamiweb to confirm functionality. |
43 | 1 | Amber Herold | |
44 | ______ |
||
45 | |||
46 | 31 | Amber Herold | [[Install the MRC PHP Extension|< Install the MRC PHP Extension]] | [[Install phpMyAdmin|Install phpMyAdmin >]] |
47 | 1 | Amber Herold | |
48 | ______ |