Project

General

Profile

Configure leginoncfg » History » Version 9

Neil Voss, 05/12/2010 10:25 AM

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 9 Neil Voss
Edit the newly created file and add a directory for images 
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
______