Not able to install vagrant and vm - vagrant

As a part of my course I have to install Virtual Box and Vagrant. So I started by running this in terminal:
sudo apt-get install virtualbox
sudo apt-get install vagrant
Then I downloaded Vagrentfile from this link. Now when I am running vagrant up it is showing this error:
.

you have to enable Intel VT-x or AMD-V virtualization hardware extensions in BIOS. By default it is disabled.
you can take help of this answer

Related

The provider 'vmware_desktop' could not be found on macos m1

install both vagrant and vmware via homebrew
brew install --cask vagrant
brew install --cask vmware-fusion
verify that everything is installed
➜ ~ vmrun -T ws list
Total running VMs: 0
➜ ~ vagrant -v
Vagrant 2.3.0
set the default provider as vmware_desktop in my .zshrc (and "sourced" it)
export VAGRANT_DEFAULT_PROVIDER=vmware_desktop
initialize a folder and add a box following official get started
vagrant init hashicorp/bionic64
vagrant box add hashicorp/bionic64
and select the option 3) vmware_desktop
finally run vagrant up from the initialised folder and observe the error
The provider 'vmware_desktop' could not be found, but was requested to
back the machine 'default'. Please use a provider that exists.
Vagrant knows about the following providers: docker, hyperv, virtualbox
did I make some mistake in the setup
You miss to install the Vagrant VMWare plugin
First you need to install Vagrant VMware Utility
Then you can install the plugin
vagrant plugin install vagrant-vmware-desktop

Can i install Rstudio in kali linux?

I have installed anaconda on my kali linux OS. I am getting Rstudio as an option to install on navigator but when I click on it, it just loads and there is no progress. I even used terminal to do so, but it just points out some problems and is unable to fix it. I can't even find an option on Rstudio website to install for kali linux OS.
Use the following command to install Rstudio on Kali linux:
sudo apt update<br>
sudo apt -y upgrade<br>
sudo apt -y install r-base<br>
wget https://download1.rstudio.org/desktop/debian9/x86_64/rstudio-1.2.5042-amd64.deb<br>
sudo apt install ./rstudio-1.2.5042-amd64.deb<br>
If you encounter any dependency problems, run:
sudo apt -f install
For starting Rstudio, run:<br>
$ rstudio
Source: https://computingforgeeks.com/how-to-install-r-and-rstudio-on-ubuntu-debian-mint/

Mouse and Keyboard not working after reinstalling ubuntu-desktop

At first I got an error message,when I booted my system.
The system is running in low-graphics mode.Your screen, graphics cards, and input device settings could not be detected correctly. You will need to configure these yourself.
I pressed Ctrl +Alt+F1 and entered into terminal .Then I did the following commands.
sudo apt-get update
sudo apt-get remove ubuntu-desktop
sudo apt-get install ubuntu-desktop
sudo shutdown -r now
But after that ,even though error message was not showing when rebooted , my laptop's keyboard and mouse were not working.But external keyboard and laptop worked.My current Ubuntu version is 16.04 LTS.
Try installing the xserver-xorg-input-all package.
$ sudo apt-get install xserver-xorg-input-all

GuestAdditions version mismatch

when I use this command:
vagrant up
I obtain this error:
[machine1] GuestAdditions versions on your host (4.3.36) and guest (5.0.10) do not match.
how can I update guest addition from ubuntu shell?
Use the vagrant vbguest plugin
Install the plugin:
vagrant plugin install vagrant-vbguest
Let vagrant up it will install the virtual box client if needed.
If you want to force the installation you can run vagrant vbguest --do install
You need to upgrade your VBoxGuestAdditions ISO either by:
installing/upgrading the package by running:
sudo apt-get install virtualbox-guest-additions-iso
or by downloading ISO file from this Downloads page.
Example for macOS:
sudo wget -O /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso http://download.virtualbox.org/virtualbox/5.0.10/VBoxGuestAdditions_5.0.10.iso
where version of VBoxGuestAdditions (5.0.10) should match installed VirtualBox binaries.
See: How to upgrade to VirtualBox Guest Additions?
Consider also upgrading your VM box by:
vagrant box update
For Linux Ubuntu, also check this page: Setting up VirtualBox Guest Additions.

Is it possible to use Cloudera-Quickstart VM using Vagrant

Is it possible to use the Cloudera Quickstart VM using Vagrant? If possible then how to configure the Vagrantfile?
Assume that in your system you have installed vagrant and VirtualBox from Oracle.
You can either install a vagrant "box" that contains a cloudera quickstart vm or install a, for example, an ubuntu 14.04 vagrant box, and later install the standalone CDH.
Option 1: (recommended) install a ubuntu 14.04 vagrant box, log in the box, install java, and then install CDH:
1) Install vagrant ubuntu 14.04:
> vagrant init ubuntu/trusty64
> vagrant up
2) Log in the machine vagrant ssh
Install Oracle JAVA. I did it in this way:
>sudo apt-get update
>sudo apt-get install python-software-properties
>sudo add-apt-repository ppa:webupd8team/java
>sudo apt-get update
>sudo apt-get install oracle-java8-installer
3) Install CDH. Follow the instructions step by step as here:
http://www.cloudera.com/content/www/en-us/documentation/enterprise/latest/topics/cdh_qs_yarn_pseudo.html
Option 2: You need to install a vagrant "box" that contains a cloudera quickstart vm inside.
Usually, nice experts would already create one for you. Go to
https://atlas.hashicorp.com/boxes/search
and search for "cloudera quickstart". Right now I obtain:
https://atlas.hashicorp.com/quickstart/boxes/cdh
Then, in the machine where you have installed vagrant and virtual box, simply run the command:
vagrant init quickstart/cdh;
vagrant up --provider virtualbox
here "quickstart/cdh" is the name of the box, and can change, depends on your search box results.

Resources