Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Siempre activas
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

No hay cookies para mostrar.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No hay cookies para mostrar.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

No hay cookies para mostrar.

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

No hay cookies para mostrar.

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

No hay cookies para mostrar.

vagrantup

Tutorial instalar Vagrant para usar ambientes virtuales en GNU/Linux

En este tutorial veremos como instalar y usar Vagrant, un programa que nos permite configurar y usar ambientes virtuales.
Para poder usar Vagrant primeramente tendremos que instalar Virtualbox o VMware. En este caso instalaremos el primero:

sudo apt-get update
sudo apt-get install virtualbox

Ahora instalamos Vagrant:

sudo apt-get -y install vagrant

Descargamos los sistemas operativos Ubuntu 12.04:

vagrant box add precise32 http://files.vagrantup.com/precise32.box

Y Ubuntu 14.04:

vagrant box add ubuntu/trusty64 https://vagrantcloud.com/ubuntu/boxes/trusty64

Luego que Vagrant está instalado y ya tenemos en nuestro ordenador las cajas (boxes), vamos a crear nuestra primera máquina virtual Ubuntu 14.04. Primero creamos un directorio para ella y nos movemos allí:

mkdir vagrant-ubuntu
cd vagrant-ubuntu

Creamos el archivo de configuración de vagrant:

vagrant init

Editamos la línea config.vm.box = «base» por config.vm.box = «ubuntu/trusty64». esto hará que Vagrant busque el box de Ubuntu 14.04 que descargamos anteriormente. Ahora iniciamos la máquina virtual:

vagrant up

Y nos conectamos a ella por ssh:

vagrant ssh

Para salir:

exit

Para apagarla:

vagrant halt

Para eliminar la máquina virtual:

vagrant destroy

Más info en: https://www.vagrantup.com/. Un listado de Vagrant booxes: https://vagrantcloud.com/boxes/search

Buy Me A Coffee