devspace
来源:互联网 发布:杰迈科技 java 编辑:程序博客网 时间:2024/05/21 14:53
Vagrant.configure(2) do |config| # Specify the base box config.vm.box = "ubuntu/trusty64" # Setup port forwarding config.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true # Setup network config.vm.network "private_network", ip: "192.168.33.10" # Setup synced folder config.vm.synced_folder "projects/", "/var/www/html", group: "www-data", owner: "vagrant", :mount_options => ['dmode=775', 'fmode=775'] # CUSTOMIZATION config.vm.provider "virtualbox" do |vb| vb.name = "devspace" # Customize the amount of memory on the VM: vb.memory = "1024" vb.cpus = 1 vb.gui = true end # PROVISION # config.vm.provision :shell, path: “vagrant/bootstrap.sh" # Shell provisioning config.vm.provision "shell" do |s| s.path = "vagrant/bootstrap.sh" end # View the documentation for the provider you are using for more # information on available options. # Enable provisioning with a shell script. Additional provisioners such as # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the # documentation for more information about their specific syntax and use. # config.vm.provision "shell", inline: <<-SHELL # sudo apt-get update # sudo apt-get install -y apache2 # SHELLend
0 0
- devspace
- Java - Why non-static variable cannot be referenced from a static context?
- 算法题01
- iostate命令详解
- ESP8266模块使用完整教程
- ubuntu15.10 手动挂载U盘
- devspace
- C#状态机
- Java 内部类
- 体验了一天企业微信,你的工作以后可能离不开它
- 备份gitlab时遇到Dumping PostgreSQL database gitlabhq_production ... [FAILED]问题
- 闪屏->[欢迎页]->主界面
- Arduino EEPROM 的操作
- Shell脚本编程学习笔记
- Android字体设置