How to Update from v20 (Linux) » History » Version 3
Anchi Cheng, 04/04/2011 10:50 PM
1 | 1 | Anchi Cheng | h1. How to Update from v20 (Linux) |
---|---|---|---|
2 | |||
3 | h2. Download myami 2.1.x source code |
||
4 | |||
5 | {{include(appion:Download_Appion_Files_Shared)}} |
||
6 | |||
7 | h2. Install Appion/Leginon Packages |
||
8 | |||
9 | h3. Install all the myami python packages _except appion_ using the following script: |
||
10 | |||
11 | <pre> |
||
12 | cd /your_download_area |
||
13 | cd myami |
||
14 | sudo ./pysetup.sh install |
||
15 | </pre> |
||
16 | |||
17 | That will install each package, and report any failures. To determine the cause of failure, see the generated log file "pysetup.log". If necessary, you can enter a specific package directory and run the python setup command manually. For example, if sinedon failed to install, you can try again like this: |
||
18 | |||
19 | <pre> |
||
20 | cd sinedon |
||
21 | sudo python setup.py install |
||
22 | </pre> |
||
23 | |||
24 | 3 | Anchi Cheng | h2. Rename your current myamiweb at the document root of the web server to something else as a backup. |
25 | |||
26 | h2. Install updated Web viewers and tools |
||
27 | |||
28 | *You will not need to upgrade php mrc tools*. |
||
29 | |||
30 | See [[Install the Web Interface]] section in Complete Installation Chapter to put the new myamiweb tools to document root for the web server. |
||
31 | |||
32 | h2. Copy config.php from your older myamiweb backup to the new myamiweb folder. |
||
33 | |||
34 | h2. Step through setup wizard in the myamiweb on your server |
||
35 | |||
36 | The Setup Wizard will take you through the steps to update config.php If the wizard does not have the privilege to modify the file at the last step, copy the displayed result to an text editor and save as config.php to replace the olde one. |
||
37 | |||
38 | You will be asked about whether you want to enable myamiweb user login feature that restricts individual user's access to projects and administrator features. Read about it [[appion:User Management|here]] |
||
39 | |||
40 | 2 | Anchi Cheng | {{include(Appion:Run Database Update Script)}} |
41 | 1 | Anchi Cheng | |
42 | ______ |
||
43 | |||
44 | [[How_to_Update_from_v20_(Microscope_Windows_Computer)|How to Update from v2.0 (Microscope Windows Computer) >]] |
||
45 | |||
46 | |||
47 | ______ |