Project

General

Profile

Install the Web Interface » History » Version 19

Neil Voss, 05/12/2010 05:00 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
If you are installing your web server on a different machine than your processing server, 
5
you need to download the myami code.
6
*TODO:* add a link to the myami code 
7
8 6 Amber Herold
h2. 1. Move the myami/myamiweb directory to your Apache web directory
9 1 Amber Herold
10
Example:
11
<pre>
12 12 Neil Voss
sudo cp -vr myami/myamiweb /var/www/html/ #CentOS
13 16 Neil Voss
sudo chmod 777 /var/www/html/myamiweb  #this is temporary for setup, revert to 555 when finished with this page
14 1 Amber Herold
</pre>
15
16 6 Amber Herold
h2. 2. Configure your installation 
17 1 Amber Herold
18 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.
19
20
21
h3. Configuration using the setup wizard
22
23 13 Neil Voss
Run the online setup wizard by visiting http://yourhost/myamiweb/setup or http://localhost/myamiweb/setup to create the myami website’s config file. 
24 6 Amber Herold
The setup wizard will also check your database connection, create required database tables, and perform default data initialization.
25
26
h3. Manual configuration instructions (Advanced User)
27
28 17 Neil Voss
Go to [[Install the Web Interface Advanced]] for the advanced configuration.
29 5 Eric Hou
30 19 Neil Voss
h2. Revert permissions
31
<pre>
32
sudo chmod 555 /var/www/html/myamiweb  #this is temporary for setup, revert to 555 when finished with this page
33
</pre>
34
35 9 Amber Herold
h2. 3. Test the installation
36
37 18 Neil Voss
Visit http://yourhost/myamiweb  or http://localhost/myamiweb to confirm functionality.
38 1 Amber Herold
39
______
40
41
[[Install the MRC PHP Extension|< Install the MRC PHP Extension]] | [[Potential Problems|Potential Problems >]]
42
43
______