Skip to content

Instantly share code, notes, and snippets.

@maxivak
Last active June 8, 2022 06:19
Show Gist options
  • Select an option

  • Save maxivak/c318fd085231b9ab934e631401c876b1 to your computer and use it in GitHub Desktop.

Select an option

Save maxivak/c318fd085231b9ab934e631401c876b1 to your computer and use it in GitHub Desktop.
Vagrant with Ubuntu 16.04 in VirtualBox

Setup Ubuntu 16.04 to be used with Vagrant and Virtualbox

@itbj
Copy link
Copy Markdown

itbj commented May 8, 2017

OK. 谢谢。

@ankitgaur-tudip
Copy link
Copy Markdown

What is the root password to put when you do, su - ?

@codelinx
Copy link
Copy Markdown

look at the 'vagrant up' output it has a section that shows
"...
default: SSH username: ubuntu
default: SSH auth method: password
..."

@codelinx
Copy link
Copy Markdown

codelinx commented Jun 20, 2017

@ankitgaur-tudip use 'sudo su -' to switch to root then just type 'passwd' to set a root password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment