Add iTerm2 to optional prerequisites

pull/419/head
Jose Andrade 2018-11-26 14:50:50 -05:00
parent 1cf7827ace
commit b65527604e
2 changed files with 11 additions and 1 deletions

View File

@ -54,4 +54,14 @@ gcloud config set compute/zone us-west1-c
> Enable `synchronize-panes`: `ctrl+b` then `shift :`. Then type `set synchronize-panes on` at the prompt. To disable synchronization: `set synchronize-panes off`.
## Running Commands in Parallel with iTerm2 (on macOS)
[iTerm2](https://www.iterm2.com/) may be used to run commands on multiple compute instances at the same time. Labs in this tutorial may require running the same commands across multiple compute instances, in those cases consider using iTerm2 and splitting a window into multiple panes.
> The use of iTerm2 is optional and not required to complete this tutorial.
![iterm2 screenshot](images/iterm2-screenshot.png)
> To create panes type the shortcuts `cmd + d` or `cmd + shift + d` to divide an existing session vertically or horizontally, respectively. Then type `cmd + shift + i` to synchronize. To disable synchronization type `cmd + shift + i` again.
Next: [Installing the Client Tools](02-client-tools.md)

View File

@ -10,7 +10,7 @@ The commands in this lab must be run on each controller instance: `controller-0`
gcloud compute ssh controller-0
```
### Running commands in parallel with tmux
### Running commands in parallel with tmux or iTerm2
[tmux](https://github.com/tmux/tmux/wiki) or [iTerm2](https://www.iterm2.com/) can be used to run commands on multiple compute instances at the same time. See the [Running commands in parallel with tmux](01-prerequisites.md#running-commands-in-parallel-with-tmux) or [Running commands in parallel with iTerm2](01-prerequisites.md#running-commands-in-parallel-with-iterm2) section in the Prerequisites lab.