Project

General

Profile

Install the Web Interface » History » Version 30

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