I have Ubuntu installed on a virtual machine on my windows computer. Instead of starting Ubuntu from Oracle on the same machine. I am wondering if there is a way to start and connect via windows command line. I do not need a Ubuntu graphical interface. What I need is only connection to the terminal.
1 Answer
You should try out Vagrant, simply download Vagrant and Virtualbox and you can then spin up an Ubuntu VM with no GUI in 4 simple steps:
- mkdir ubuntu-vm
- cd ubuntu-vm
- vagrant init ubuntu/trusty64 # Create the Vagrantfile and specify the image to use in one command
- vagrant up && vagrant ssh # Start up the VM and connect to it via SSH
Obviously remove the comments I put in from #
-
Thanks, but I don't see my dekstop or home folder! and I did not enter my username and password Dec 15, 2017 at 13:22
-
What do you mean? If you connect to a Virtual machine its a different environment and has its own file system. Dec 15, 2017 at 13:32
sudo apt install openssh-server
on the Ubuntu and use e.g. PuTTY on Windows in order to connect to the terminal via SSH. (of course they have to be in the same network etc)