forked from IRSS-UBC/irss-welcome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path03-computers.Rmd
181 lines (100 loc) · 10.4 KB
/
03-computers.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# Computer related information {-#computers}
Your workstation is a state-of-the-art, powerful, server-grade computer, with two processors, 16 to 24 cores, 64GB of RAM, and a professional graphics card for accelerating 3D computations. It will come with some software pre-installed (e.g. MS Office). However, based on your project, you may request additional software to be installed.
```{r, echo=FALSE, out.width="50%",fig.align = 'center',fig.cap="What your workstation will look like. Credit: Dell "}
knitr::include_graphics("img\\workstation.jpg")
```
## Software {-#software}
UBC has license for the following software packages:
* ArcMap, ArcGIS Pro
* Envi+IDL
* eCognition
* [Adobe suite, including Illustrator, Photoshop, InDesign etc.](https://it.ubc.ca/services/desktop-print-services/software-licensing/software-downloads)
You can also install some software packages yourself, as long as they are free or the license is available. Some of the most useful software packages we use in the lab currently include:
* [R + RStudio](https://rstudio.com/)
* [LAStools (point cloud data processing, license available)](https://rapidlasso.com/lastools/)
* [CloudCompare (for basic processing/viewing ALS/DAP point clouds)](https://www.danielgm.net/cc/)
* [SnagIt - Navigate to teaching and learning software](https://it.ubc.ca/software-downloads)
* [Camtasia - Navigate to teaching and learning software](https://it.ubc.ca/software-downloads)
* [Microsoft PowerToys](https://docs.microsoft.com/en-us/windows/powertoys/) is a set of utilities (developed by Microsoft) designed to improve the user experience on Windows 10. It has a few key functions that are incredibly useful in the lab, namely **Fancy Zones** and **Color Picker**.
The **Fancy Zones** plugin allows you to set *zones* on your screen outside of the standard two that Windows provides. The large screens in the lab make this a very useful function, as you can easily snap multiple windows to portions of your screen. To do this drag a window while holding `Shift`.
The **Color Picker** allows you to effectively use the dropper from image editing programs anywhere on your computer by pressing `Win` + `Shift` + `C`.
```{r, echo=FALSE, out.width="75%",fig.align = 'center',fig.cap="The lab and its many work stations."}
knitr::include_graphics("img\\lab.jpg")
```
### IT questions or contact needs {-#it}
If you have some questions about your computer reach out to Nicholas first. The IRSS has a dedicated departmental IT person named [Felix Choi](https://forestry.ubc.ca/people/staff-directory/). If you need things installed or have hardware questions email him at `[email protected]`.
## Your laptop {-#laptop}
You will receive a laptop that is for your personal use throughout the length of your graduate studies. Please remember that similar to workstations, laptops are also tracked by UBC. If you are unsure about installing a program, please make sure to ask Nicholas before installation. The same responsibilities apply to use of your laptop as the workstation.
```{r, echo=FALSE, out.width="50%",fig.align = 'center',fig.cap="Your laptop. Credit: Dell "}
knitr::include_graphics("img\\laptop.jpg")
```
If you are a TA and using the laptop for grading or have any TA material on there, it **MUST** be encrypted, which is performed by your IT contact. If your laptop was set up by UBC IT, it is automatically encrypted.
## Backing up your data {-#backup}
***Everyone should actively be backing up their data. People have worked hard on projects and lost everything due to hard drive failure. Don't think it won't happen to you - backup your data routinely.***
There are 3 options for data backup:
1. Ask Nicholas for an external hard drive (HDD) to save data on.
2. Nicholas will pay for [SYNC (4TB)](https://www.sync.com/) - Ask him about it.
Automate backups using SYNC or other software like [Cobian Backup](https://www.cobiansoft.com/). In the case of Cobian, schedule your backups to be incremental and run them daily.
3. Once you have completed projects (or are done your time at the IRSS), you must backup your data on the data backup server `\\FRST-IRSStor\Root\IRSSbackup`. See the next [section](#shared) for details on how to this needs to be done.
When you complete a project, compress your folders (always a good practice), create copies, and get them on the server. This will allow you to free up space on your own internal HDD's and have the peace of mind that your data is secure.
### Backing up on the server {-#serverbackup}
Prior to dumping data onto the server please read the following steps and adhere to them to avoid loss and limit storage use.
1. **Compress your data** - Compress individual folders within your directories. ***Do not make a single, massive, compressed folder!*** It will likely lead to corruptions in your data, and you will lose it all. Instead, compress data into smaller chunks, e.g. divide the data into projects or sub directories.
Downloading tools like [7zip](https://www.7-zip.org/download.html) makes compressing many folders at once easy. If you have many sub directories you need to compress and do not want to compress them individually make a `.bat` file with the script below, save it in the folder with your directories, and run it.
```
:: compress all directories and name them the same
for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\"
```
There is a document with more details about using 7-zip in the orientation folder: `\\FRST-IRSStor\Root\ByProject\Orientation`.
2. **Copying your data to the backup server** - Download [TeraCopy](https://www.codesector.com/teracopy) and use it to transfer the data to the server. Errors often occur when large amounts of data are transferred over the network. TeraCopy allows you to `validate` the data transfer after the copying is done.
It is important to check the `validate` option! Validation can take a long time (about the same as the transfer) but gives you piece of mind that everything is ok. Errors will show up and you can then copy those files again.
3. **Naming Convention** - Please use the naming convention: `LastnameFirstname`. My name is Tristan Goodbody so my directory within the backup is called `GoodbodyTristan`.
## Setting up a shared drive {-#shared}
IRSS has access to a file server, which is divided into two main folders.
### ByProject & ByUser {-#pcshared}
ByProject contains datasets related to research projects. ByUser is a space for each lab member to share data with others. These two folders can be accessed from any computer in the lab and should be mapped for easier access.
It's important that you **do not use IRSS shared drives as your file backup folder** as storage space on these drives is limited.
To map these drives to your machine do the following:
1. Open File Explorer > right-click on `‘This PC’` (found in left side list) > click `‘map network drive’`
2. Choose a letter (e.g. “Z”) and paste the following `\\FRST-IRSStor\Root\ByProject`
3. Repeat this process and assign a different letter (e.g. “Y”) to the second network folder: `\\FRST-IRSStor\Root\ByUser`
These same steps are followed to add the backup server discussed [above](#backup).
## Connecting from home {-#rdp}
```{r, echo=FALSE, out.width="50%",fig.align = 'center',fig.cap="Remote desktop prompt window."}
knitr::include_graphics("img\\rdp.png")
```
In the lab, we can use the Windows Remote Desktop Connection tool to connect to our machines when we are away from the lab. There are a few steps to follow in order to connect to your lab machine:
1. Connect to a VPN. You should have Cisco AnyConnect installed on your work laptop, but it can also be downloaded from https://it.ubc.ca/services/email-voice-internet/myvpn/setup-documents. To log in, use your CWL.
2. Open the Remote Desktop Connection and enter your computer's name as follows: `frst-frm-22XYZ.ead.ubc.ca`, where `XYZ` are the digits/letter unique to your desktop (there will be a sticker on the top of your computer tower with these details).
3. Click `connect`. You will be prompted to enter your CWL again. Alternatively, you can run the following command: `mstsc /v frst-frm-22XYZ.ead.ubc.ca`, and enter your CWL when promoted.
You have now successfully remoted in!
Note: it is possible edit the display settings to stretch over 2 screens if you wish. You can also use the minimize button if you are also working on your laptop at the same time without ending your remote session.
## Connecting to printers {-#print}
The IRSS has both a black and white and colour printer available for use, located in the western lab room (Room 2231). In order to gain access to them, follow these steps:
1. [Install the HP Driver](https://support.hp.com/ca-en/drivers/selfservice/hp-color-laserjet-managed-e75245-printer-series/21158702). When the option appears, select `Connect later`.
2. Open `Control Panel` then go under `Devices and Printers` and click `Add a printer`.
3. Click `The printer that I want isn't listed`.
4. Select `Add a printer using TCP/IP address of hostname` then click `Next`.
5. Insert IP address of the printer (see IPs below). Append the `Port name` as shown then click `Next`.
```
HP Color LaserJet E75245
IP: 142.103.230.21
Xerox Phaser 4510 Series Class Driver
IP: 142.103.230.20
```
```{r, echo=FALSE, out.width="75%",fig.align = 'center',fig.cap="IP address and Port name for step 5."}
knitr::include_graphics("img\\Printer_5.png")
```
5. If a window appears that asks about driver version, select `Use the driver that is currently installed`.
6. Keep the default printer name then click `Next`.
7. Make sure `Do not share this printer` is selected then click `Next`.
You should now be connected!
You can also look at `\\FRST-IRSStor\Root\ByProject\__LABFORMS\IRSS Printers.docx` for instructions with screenshots.
### Connect to the lab's network drives and printers from a non-lab computer {-#print-non-lab}
You need to be connected to either (a) the university's VPN service (b) or to the ubcprivate WiFi network. To log into ubcprivate, use the username "{your CWL id}.frsc" and your CWL password.
After that, you can connect to the printers like outlined above (?). To connect to the network drives, use
the following addresses:
`\\frst-irsstor.ead.ubc.ca\Root\ByProject`
`\\frst-irsstor.ead.ubc.ca\Root\ByUser`
Make sure you tick `connect using different credentials` when mapping the drive. Then use `ead\<your_CWL_id>` and the CWL password for authentication.
Contact Felix Choi ([email protected]) in case of any issues.