Project

General

Profile

Install the Web Interface » History » Version 25

Amber Herold, 05/19/2010 01:32 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
#this is temporary for setup, revert to 555 when finished with this page
15
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 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. 
26 6 Amber Herold
The setup wizard will also check your database connection, create required database tables, and perform default data initialization.
27
28
h3. Manual configuration instructions (Advanced User)
29
30 17 Neil Voss
Go to [[Install the Web Interface Advanced]] for the advanced configuration.
31 5 Eric Hou
32 19 Neil Voss
h2. Revert permissions
33 21 Neil Voss
34 19 Neil Voss
<pre>
35 23 Neil Voss
sudo chmod 555 /var/www/html
36 19 Neil Voss
</pre>
37
38 9 Amber Herold
h2. 3. Test the installation
39
40 18 Neil Voss
Visit http://yourhost/myamiweb  or http://localhost/myamiweb to confirm functionality.
41 1 Amber Herold
42
______
43
44
[[Install the MRC PHP Extension|< Install the MRC PHP Extension]] | [[Potential Problems|Potential Problems >]]
45
46
______