How to Update from v22-redux (Linux) » History » Version 1
Anchi Cheng, 12/13/2013 07:03 PM
1 | 1 | Anchi Cheng | h1. How to Update from v22-redux (Linux) |
---|---|---|---|
2 | |||
3 | |||
4 | 2.2-redux version is installed on CentOS6 and uses redux. Its upgrade to Leginon/Appion 3.0 release does not require os upgrade. |
||
5 | |||
6 | h1. Upgrade web server |
||
7 | |||
8 | h2. Rename your current myamiweb at the document root of the web server to something else as a backup. |
||
9 | |||
10 | h2. Follow [[Install_Redux_image_server]] instruction. You may copy the old redux.cfg to the new installation. |
||
11 | |||
12 | h2. Install updated Web viewers and tools |
||
13 | |||
14 | See [[Install the Web Interface]] section in Complete Installation Chapter to put the new myamiweb tools to document root for the web server. |
||
15 | |||
16 | h2. Copy config.php from your older myamiweb backup to the new myamiweb folder. |
||
17 | |||
18 | h1. Upgrade processing server |
||
19 | |||
20 | h2. Download myami 3.0 source code |
||
21 | |||
22 | <pre> |
||
23 | svn co http://emg.nysbc.org/svn/myami/branches/myami-3.0/ |
||
24 | </pre> |
||
25 | |||
26 | h2. Install Appion/Leginon Packages |
||
27 | |||
28 | h3. Install all the myami python packages _except appion_ using the following script: |
||
29 | |||
30 | <pre> |
||
31 | cd /your_download_area |
||
32 | cd myami |
||
33 | sudo ./pysetup.sh install |
||
34 | </pre> |
||
35 | |||
36 | 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: |
||
37 | |||
38 | <pre> |
||
39 | cd sinedon |
||
40 | sudo python setup.py install |
||
41 | </pre> |
||
42 | |||
43 | h3. Move leginon.cfg/instruments.cfg/sinedon.cfg if it was saved with the old installation. |
||
44 | |||
45 | Run this script to find out where it was: |
||
46 | <pre> |
||
47 | cd /your_download_area/myami/leginion/ |
||
48 | ./configcheck.py |
||
49 | </pre> |
||
50 | If the script can not find leginon.cfg, and you found a copy of leginon.cfg in $PYTHONSITEPKG/leginon/config from the last installation, move that leginon.cfg to $PYTHONSITEPKG/leginon. |
||
51 | |||
52 | {{include(Appion:Run Database Update Script)}} |
||
53 | |||
54 | |||
55 | |||
56 | ______ |
||
57 | |||
58 | [[How_to_Update_from_v22_(Instrument_Windows_Computer)| How to Update from v2.2 (Instrument Computer) >]] |
||
59 | |||
60 | |||
61 | ______ |