Project

General

Profile

Configure leginoncfg » History » Version 10

Amber Herold, 05/17/2010 04:41 PM

1 2 Amber Herold
h1. Configure leginon.cfg
2 1 Amber Herold
3
A skeleton (default) configuration file is available:
4
<pre>
5 5 Neil Voss
$PYTHONSITEPKG/leginon/config/default.cfg
6 1 Amber Herold
</pre>
7 6 Neil Voss
where $PYTHONSITEPKG is your python site-packages directory
8 1 Amber Herold
9 6 Neil Voss
10
Copy default.cfg to leginon.cfg.
11 4 Neil Voss
<pre>
12 8 Neil Voss
sudo cp -v $PYTHONSITEPKG/leginon/config/default.cfg $PYTHONSITEPKG/leginon/config/leginon.cfg
13 1 Amber Herold
</pre>
14
15 10 Amber Herold
Edit the newly created file and add a directory for images. Make sure you have permission to save files at this location.
16 1 Amber Herold
<pre>
17 6 Neil Voss
[Images]
18
path: your_storage_disk_path/leginon
19 1 Amber Herold
</pre>
20
21 2 Amber Herold
The rest of the configuration options are fine left as default assuming your leginon database is named "leginondb", and Leginon logs into the database as a user named "usr_object" with no password set.
22
23
_______
24
25 3 Amber Herold
[[Install Appion Packages|< Install Appion Packages]] | [[Explanation of Sample Names|Explanation of Sample Names >]]
26
27 1 Amber Herold
______