connecting
$ ssh -p <port_number> <username>@<machine_name>
copying files to VM
$ scp -P <port_number> <local_file> <username>@<machine_name>:
getting git working
create an ssh-key on the virtual machine
The first step is to create an ssh key using ssh-keygen
. Below is an interaction showing how that works. You’ll have to type ssh-keygen
, press Enter where is asks where to save the file to use the default, then type in your own passphrase.
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/monica-stuart/.ssh/id_rsa):
Created directory '/home/monica-stuart/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/monica-stuart/.ssh/id_rsa.
Your public key has been saved in /home/monica-stuart/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:<some crazy text> monica-stuart@tira-ubuntu
The key's randomart image is:
+---[RSA 2048]----+
| |
| some crazy |
| artwork |
| |
| |
| |
| |
| |
| |
+----[SHA256]-----+
Once you’ve got your ssh key made, cd
into your
installing software
- sudo apt-get update
- sudo apt install python3-pip
- You will get this warning, but don’t follow the recommendation it:
You are using pip version 8.1.1, however version 18.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
- You will get this warning, but don’t follow the recommendation it:
- pip3 install spacy
- sudo python3 -m spacy download en
- pip3 install lxml
- pip3 install sklearn
These are optional and you probably don’t need them:
- pip3 install matplotlib
- pip3 install pandas
- pip3 install beautifulsoup4