How to Update from v22 (Linux) » History » Version 4
Anchi Cheng, 12/13/2013 05:56 PM
1 | 3 | Anchi Cheng | h1. Upgrade to Leginon System version 30 from version 22 (Linux) |
---|---|---|---|
2 | 1 | Anchi Cheng | |
3 | 3 | Anchi Cheng | Leginon/Appion 3.0 release web image viewer will not be compatible with CentOS 5 due to prerequisites of REDUX, the new image server that is compatible with php 5.3 used in modern os. The Leginon processing server code is still compatible with python 2.4 which came with CentOS 5 but the development from now on will assume python version 2.6 along with other default yum installed packages of CentOS 6. Database server does not require upgrade. |
4 | 1 | Anchi Cheng | |
5 | 3 | Anchi Cheng | h1. Upgrade web server |
6 | 1 | Anchi Cheng | |
7 | 3 | Anchi Cheng | h2. Follow [[Web_Server_Installation|Complete Web Server Installation]] including os upgrade to CentOS 6 if you are upgrading from the non-redux version of myami 2.2 |
8 | 1 | Anchi Cheng | |
9 | Other OS with php 5.3 and above should also work but we can't provide instruction for all individual cases. |
||
10 | # Preliminary document for Ubuntu [[Myami_on_Ubuntu]] |
||
11 | |||
12 | 4 | Anchi Cheng | h1. Upgrade processing server |
13 | 3 | Anchi Cheng | |
14 | 1 | Anchi Cheng | h2. Download myami 3.0 source code |
15 | |||
16 | <pre> |
||
17 | svn co http://emg.nysbc.org/svn/myami/branches/myami-3.0/ |
||
18 | </pre> |
||
19 | |||
20 | h2. Install Appion/Leginon Packages |
||
21 | |||
22 | h3. Install all the myami python packages _except appion_ using the following script: |
||
23 | |||
24 | <pre> |
||
25 | cd /your_download_area |
||
26 | cd myami |
||
27 | sudo ./pysetup.sh install |
||
28 | </pre> |
||
29 | |||
30 | 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: |
||
31 | |||
32 | <pre> |
||
33 | cd sinedon |
||
34 | sudo python setup.py install |
||
35 | </pre> |
||
36 | |||
37 | h3. Move leginon.cfg/instruments.cfg/sinedon.cfg if it was saved with the old installation. |
||
38 | |||
39 | Run this script to find out where it was: |
||
40 | <pre> |
||
41 | cd /your_download_area/myami/leginion/ |
||
42 | ./configcheck.py |
||
43 | </pre> |
||
44 | 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. |
||
45 | |||
46 | {{include(Appion:Run Database Update Script)}} |
||
47 | |||
48 | |||
49 | |||
50 | ______ |
||
51 | |||
52 | 2 | Anchi Cheng | [[How_to_Update_from_v22_(Instrument_Windows_Computer)| How to Update from v2.2 (Instrument Computer) >]] |
53 | 1 | Anchi Cheng | |
54 | |||
55 | ______ |