Project

General

Profile

How to Update from v21 (Linux) » History » Version 11

Anchi Cheng, 06/06/2012 09:02 PM

1 1 Anchi Cheng
h1. How to Update from v21 (Linux)
2
3 9 Anchi Cheng
h2. Download myami 2.2.x source code
4 1 Anchi Cheng
5 8 Anchi Cheng
{{include(appion:Download_Appion_Files_Shared)}}
6 1 Anchi Cheng
7 8 Anchi Cheng
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 11 Anchi Cheng
h3. Move leginon.cfg if it was saved with the installation.
25
26
Run this script to find out where it was:
27
<pre> configcheck.py </pre>
28
If the script can not find leginon.cfg, it means it is in $PYTHONSITEPKG/leginon/config from the last installation.  Move that leginon.cfg to $PYTHONSITEPKG/leginon.
29
30 8 Anchi Cheng
h2. Rename your current myamiweb at the document root of the web server to something else as a backup.
31
32
h2. Install updated Web viewers and tools
33
34
*You will not need to upgrade php mrc tools*.
35
36
See [[Install the Web Interface]] section in Complete Installation Chapter to put the new myamiweb tools to document root for the web server.  
37
38
h2. Copy config.php from your older myamiweb backup to the new myamiweb folder.
39
40
h2. Step through setup wizard in the myamiweb on your server
41
42
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.
43
44
{{include(Appion:Run Database Update Script)}}
45
46 1 Anchi Cheng
h2. Assigning Cs value for each TEM used by Leginon
47
48 8 Anchi Cheng
schema-r15653.py that shows up in the list of required update when schema-update.py is run is used to assign individual spherical aberration constant (Cs) values to different microscope.  Please find out what these values are in advance before running the script to save time.
49 1 Anchi Cheng
50
Running the python script will prompt you at each TEM you have used so far so that you can enter the value in unit of *millimeter*
51
52 4 Anchi Cheng
The Cs value also need to match what is set in pyscope/instrument.cfg before you will be able to acquire more images.  See [[How to Update from v2.1 (Microscope Windows Computer)]]
53 2 Anchi Cheng
54
55
______
56
57 6 Anchi Cheng
[[How_to_Update_from_v21_(Microscope_Windows_Computer)|< How to Update from v2.1 (Microscope Windows Computer)]]
58 2 Anchi Cheng
59
60
______