Project

General

Profile

Windows Setup After Software Installation » History » Version 9

Anchi Cheng, 11/01/2017 12:25 AM

1 1 Anchi Cheng
h1. Windows Setup After Software Installation
2
3
h2. Create Leginon Admin and Leginon Client shortcut in Start menu menu under Leginon
4
5
6
This instruction applies to Windows XP.
7
8
9
 * Go to C:\Documents and Settings\All Users\Start Menu\Programs\ and create a new
10
folder named Leginon.
11
12
13
 * In another window, go to
14
 <pre>C:\Python27\Lib\site-packages\leginon</pre>
15
16
17
 * Create a shortcut from start-leginon.py as "Leginon Admin" and a shortcut from launcher.py as "Leginon Client".
18
19
20
 * Move the two shortcuts into
21
 <pre>C:\Documents and Settings\All Users\Start Menu\Programs\Leginon</pre>
22
23 6 Anchi Cheng
h2. Alternatively Create Shortcut on the Desktop of the same.
24 1 Anchi Cheng
25
h2. Mapping Drives (Optional):
26
27
Although we don't recommend it, it is possible to run minimal Leginon directly on the Windows machine,  Since the database and web servers are not there, you probably will be saving the images through a Samba server on a network drive also available to the Linux machine.  If you do so, you will need to map the network drive. For example, if your Samba server has a hostname your_smbserver, and you have set up a share called [your_share_point] which points to /your_data_path/ and leginon data will be saved under a folder in /your_data_path/leginon/.
28
29
*  Start, My Computer
30
31
32
*  Tools menu, Map network drive
33
34
35
*  Use an unmapped drive such as Z:
36
37
 Enter shared path in Windows format as
38
 <pre>\\your_smbserver\your_share_point</pre>
39
40
41
*  Add the drive and the Linux path to leginon.cfg on the Windows machine as
42
 <pre>[Drive Mapping]
43
Z:/your_data_path</pre>
44
45
46
*  Add image path to leginon.cfg on the Windows machine in Linux format as
47
 <pre>[Images]
48
path:/your_data_path/leginon</pre>
49
50
51
h2.  Additional Software (Optional):
52
53 7 Neil Voss
TigerVNC (http://tigervnc.org/) -- allows remote access to windows screen. If you get tired of going into the microscope room just to open the column valves.
54 3 Anchi Cheng
55
______
56
57 9 Anchi Cheng
[[installation on the camera computer|< Additional installation specific to the camera]] |  [[Trouble shooting with Python IDLE|Trouble shooting with Python IDLE >]]
58 3 Anchi Cheng
59
______