Skip to content

Vagrant

Johnson Fu edited this page Jul 20, 2019 · 12 revisions

Quick Start

Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the "works on my machine" excuse a relic of the past.

https://www.vagrantup.com/downloads.html

basic tutorial - Vagrant 學習筆記

https://vagrantpi.github.io/2018/02/11/vagrant/

setup host name

config.vm.hostname = "ldap.local"

setup port forward config.vm.network :forwarded_port, guest: 80, host: 8080

how to use x-windows, comment the lines below from Vagrantfile

config.vm.provider :virtualbox do |vb|
  vb.gui = true
end

and then vagrant ssh and run the following commands

sudo apt-get update
sudo apt-get install xfce4
sudo startxfce4&

Install landrush that is a simple dns server and is able to help for the lookup of host and guest

https://github.com/vagrant-landrush/landrush

https://blog.jtclark.ca/2015/07/dns-for-vagrant-installing-the-landrush-plugin-for-vagrant/

Oracle Boxes EM Port

EM: https://localhost:5500/, Database Port: 1521

Resources

MSSQL Box

https://github.com/quantificial/vagrant-sqlserver

Oracle Boxes

https://github.com/oracle/vagrant-boxes

How to setup oracle box

https://dzone.com/articles/creating-an-oracle-database-vagrant-box

如何安装具有GUI(gnome,kde,…)的Vagrant Linux盒?

https://codeday.me/bug/20190505/1058703.html

Day 26 Vagrant 構建及配置虛擬環境

https://ithelp.ithome.com.tw/articles/10205780

[Day 03] Vagrant 基本設定

https://ithelp.ithome.com.tw/articles/10184915

  • freemarker
  • thymeleaf
  • JMX (jconsole)
  • ZeroMQ
  • microk8s
  • multipass
  • pwsh (powershell)

Clone this wiki locally