vm:headless
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
vm:headless [2019/01/09 10:51] – created borja | vm:headless [2019/02/22 15:21] – markpcohen | ||
---|---|---|---|
Line 21: | Line 21: | ||
10. Under " | 10. Under " | ||
- | 11. Under " | + | 11. Under " |
- | 12. Start the VM and log in. | + | 12. Start the VM and log in. The password is '' |
13. In the VM, launch a terminal and run the following commands: | 13. In the VM, launch a terminal and run the following commands: | ||
Line 39: | Line 39: | ||
$ nmcli con mod " | $ nmcli con mod " | ||
- | 14. Shut down the VM (click the gear icon in the top right, and click "Shut Down" | + | 14. Run the following command: |
- | 15. Launch a terminal on your local machine (i.e. not inside the VM). Run the following commands: | + | $ sudo nano / |
+ | |||
+ | This will open up your system' | ||
+ | |||
+ | REPO_SHARED_NAME / | ||
+ | |||
+ | Be sure to replace '' | ||
+ | |||
+ | cs233 / | ||
+ | |||
+ | Then, to quit nano, press '' | ||
+ | |||
+ | 15. Shut down the VM (click the gear icon in the top right, and click "Shut Down" | ||
+ | |||
+ | 16. Launch a terminal on your local machine (i.e. not inside the VM). Run the following commands: | ||
$ mkdir -p ~/.ssh | $ mkdir -p ~/.ssh | ||
Line 54: | Line 68: | ||
Then, to quit nano, press '' | Then, to quit nano, press '' | ||
- | 15. In VirtualBox, right click on the VM and choose " | + | 17. In VirtualBox, right click on the VM and choose " |
- | 16. Wait ~15s for the VM to start up fully. Then, in a terminal on your local machine, run: | + | 18. Wait ~15s for the VM to start up fully. Then, in a terminal on your local machine, run: |
| | ||
$ ssh cs-vm | $ ssh cs-vm | ||
- | 17. Once you're logged in, you'll see the prompt change to something like '' | + | 19. Once you're logged in, you'll see the prompt change to something like '' |
$ git config --global core.fileMode false | $ git config --global core.fileMode false | ||
Line 71: | Line 85: | ||
$ ln -s / | $ ln -s / | ||
+ | |||
+ | 20. Run the following commands: | ||
+ | |||
+ | $ git config --global push.default simple | ||
+ | $ git config --global credential.helper store | ||
+ | $ git config --global user.email " | ||
+ | $ git config --global user.name " | ||
/var/lib/dokuwiki/data/pages/vm/headless.txt · Last modified: 2020/04/25 20:16 by borja