3 Star 2 Fork 0

糍粑/alibaba-rsocket-broker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Vagrantfile 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
leijuan 提交于 2020-06-27 13:24 . update to vbguest 6.1.10
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.provider "virtualbox" do |vb|
# vb.gui = true
# Customize the amount of memory on the VM:
vb.memory = "1024"
vb.cpus = "1"
end
#config.vbguest.iso_path = "https://download.virtualbox.org/virtualbox/6.1.10/VBoxGuestAdditions_6.1.10.iso"
config.vm.synced_folder "#{Dir.home}/.rsocket", "/home/vagrant/.rsocket"
config.vm.provision "shell", inline: <<-SHELL
add-apt-repository ppa:openjdk-r/ppa -y
apt-get update
echo "\n----- Installing Java 8 ------\n"
apt-get -y install openjdk-8-jdk
update-alternatives --config java
curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git casey/just --target x86_64-unknown-linux-musl --to /usr/bin
SHELL
config.vm.define "broker1" do |broker|
broker.vm.network "private_network", ip: "192.168.11.11"
end
config.vm.define "broker2" do |broker|
broker.vm.network "private_network", ip: "192.168.11.12"
end
config.vm.define "broker3" do |broker|
broker.vm.network "private_network", ip: "192.168.11.13"
end
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/pc_859107393/alibaba-rsocket-broker.git
[email protected]:pc_859107393/alibaba-rsocket-broker.git
pc_859107393
alibaba-rsocket-broker
alibaba-rsocket-broker
master

搜索帮助