Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lubus@lubus-LZ575 MINGW64 /d/My Documents/CS/_Projects/site/adnetwork/vagrant (dev2)
- $ vagrant plugin install vagrant-vbguest
- Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
- Installed the plugin 'vagrant-vbguest (0.13.0)'!
- lubus@lubus-LZ575 MINGW64 /d/My Documents/CS/_Projects/site/adnetwork/vagrant (dev2)
- $ vagrant plugin install vagrant-winnfsd
- Installing the 'vagrant-winnfsd' plugin. This can take a few minutes...
- Installed the plugin 'vagrant-winnfsd (1.3.1)'!
- lubus@lubus-LZ575 MINGW64 /d/My Documents/CS/_Projects/site/adnetwork/vagrant (dev2)
- $ vagrant up
- Bringing machine 'Vaprobash' up with 'virtualbox' provider...
- ==> Vaprobash: Importing base box 'ubuntu/trusty64'...
- ==> Vaprobash: Matching MAC address for NAT networking...
- ==> Vaprobash: Checking if box 'ubuntu/trusty64' is up to date...
- ==> Vaprobash: A newer version of the box 'ubuntu/trusty64' is available! You currently
- ==> Vaprobash: have version '20161020.0.4'. The latest is version '20161020.0.5'. Run
- ==> Vaprobash: `vagrant box update` to update.
- ==> Vaprobash: Setting the name of the VM: adnetwork.dev
- ==> Vaprobash: Clearing any previously set forwarded ports...
- ==> Vaprobash: Clearing any previously set network interfaces...
- ==> Vaprobash: Preparing network interfaces based on configuration...
- Vaprobash: Adapter 1: nat
- Vaprobash: Adapter 2: hostonly
- ==> Vaprobash: Forwarding ports...
- Vaprobash: 80 (guest) => 8003 (host) (adapter 1)
- Vaprobash: 22 (guest) => 2222 (host) (adapter 1)
- ==> Vaprobash: Running 'pre-boot' VM customizations...
- ==> Vaprobash: Booting VM...
- ==> Vaprobash: Waiting for machine to boot. This may take a few minutes...
- Vaprobash: SSH address: 127.0.0.1:2222
- Vaprobash: SSH username: vagrant
- Vaprobash: SSH auth method: private key
- Vaprobash:
- Vaprobash: Vagrant insecure key detected. Vagrant will automatically replace
- Vaprobash: this with a newly generated keypair for better security.
- Vaprobash:
- Vaprobash: Inserting generated public key within guest...
- Vaprobash: Removing insecure key from the guest if it's present...
- Vaprobash: Key inserted! Disconnecting and reconnecting using new SSH key...
- ==> Vaprobash: Machine booted and ready!
- [Vaprobash] GuestAdditions versions on your host (5.1.8) and guest (4.3.36) do not match.
- stdin: is not a tty
- * Stopping VirtualBox Additions
- ...done.
- stdin: is not a tty
- Reading package lists...
- Building dependency tree...
- Reading state information...
- The following packages were automatically installed and are no longer required:
- ...
- xserver-xorg-core
- Use 'apt-get autoremove' to remove them.
- The following packages will be REMOVED:
- virtualbox-guest-dkms* virtualbox-guest-utils* virtualbox-guest-x11*
- 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
- After this operation, 12.1 MB disk space will be freed.
- (Reading database ... 62997 files and directories currently installed.)
- Removing virtualbox-guest-dkms (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
- -------- Uninstall Beginning --------
- Module: virtualbox-guest
- Version: 4.3.36
- Kernel: 3.13.0-100-generic (x86_64)
- -------------------------------------
- Status: Before uninstall, this module version was ACTIVE on this kernel.
- vboxguest.ko:
- - Uninstallation
- - Deleting from: /lib/modules/3.13.0-100-generic/updates/dkms/
- - Original module
- - No original module was found for this module on this kernel.
- - Use the dkms install command to reinstall any previous module version.
- vboxsf.ko:
- - Uninstallation
- - Deleting from: /lib/modules/3.13.0-100-generic/updates/dkms/
- - Original module
- - No original module was found for this module on this kernel.
- - Use the dkms install command to reinstall any previous module version.
- vboxvideo.ko:
- - Uninstallation
- - Deleting from: /lib/modules/3.13.0-100-generic/updates/dkms/
- - Original module
- - No original module was found for this module on this kernel.
- - Use the dkms install command to reinstall any previous module version.
- depmod.....
- DKMS: uninstall completed.
- ------------------------------
- Deleting module version: 4.3.36
- completely from the DKMS tree.
- ------------------------------
- Done.
- Removing virtualbox-guest-x11 (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
- Purging configuration files for virtualbox-guest-x11 (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
- Removing virtualbox-guest-utils (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
- Purging configuration files for virtualbox-guest-utils (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
- Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
- Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
- stdin: is not a tty
- Reading package lists...
- Building dependency tree...
- Reading state information...
- dkms is already the newest version.
- dkms set to manually installed.
- linux-headers-3.13.0-100-generic is already the newest version.
- linux-headers-3.13.0-100-generic set to manually installed.
- The following packages were automatically installed and are no longer required:
- ...
- xserver-xorg-core
- Use 'apt-get autoremove' to remove them.
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Copy iso file C:Program FilesOracleVirtualBoxVBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
- stdin: is not a tty
- mount: block device /tmp/VBoxGuestAdditions.iso is write-protected, mounting read-only
- Installing Virtualbox Guest Additions 5.1.8 - guest version is 4.3.36
- stdin: is not a tty
- Verifying archive integrity... All good.
- Uncompressing VirtualBox 5.1.8 Guest Additions for Linux...........
- VirtualBox Guest Additions installer
- Copying additional installer modules ...
- Installing additional modules ...
- vboxadd.sh: Building Guest Additions kernel modules.
- vboxadd.sh: Starting the VirtualBox Guest Additions.
- Could not find the X.Org or XFree86 Window System, skipping.
- stdin: is not a tty
- Got different reports about installed GuestAdditions version:
- Virtualbox on your host claims: 4.3.36
- VBoxService inside the vm claims: 5.1.8
- Going on, assuming VBoxService is correct...
- Got different reports about installed GuestAdditions version:
- Virtualbox on your host claims: 4.3.36
- VBoxService inside the vm claims: 5.1.8
- Going on, assuming VBoxService is correct...
- ==> Vaprobash: Checking for guest additions in VM...
- Vaprobash: The guest additions on this VM do not match the installed version of
- Vaprobash: VirtualBox! In most cases this is fine, but in rare cases it can
- Vaprobash: prevent things such as shared folders from working properly. If you see
- Vaprobash: shared folder errors, please make sure the guest additions within the
- Vaprobash: virtual machine match the version of VirtualBox you have installed on
- Vaprobash: your host and reload your VM.
- Vaprobash:
- Vaprobash: Guest Additions Version: 4.3.36
- Vaprobash: VirtualBox Version: 5.1
- ==> Vaprobash: Setting hostname...
- ==> Vaprobash: Configuring and enabling network interfaces...
- ==> Vaprobash: Mounting shared folders...
- Vaprobash: /vagrant => D:/My Documents/CS/_Projects/site/adnetwork/vagrant
- Vaprobash: /var/www/site-adnetwork => D:/My Documents/CS/_Projects/site/adnetwork
- ==> Vaprobash: Running provisioner: file...
- ==> Vaprobash: Running provisioner: shell...
- Vaprobash: Running: C:/Users/lubus/AppData/Local/Temp/vagrant-shell20161027-3536-1nd4wc.sh
- ...
- ==> Vaprobash: Enabling site 000-default.
- ==> Vaprobash: * Starting Apache httpd web server apache2
- ==> Vaprobash: *
- ==> Vaprobash: update-rc.d: warning: start runlevel arguments (none) do not match apache-htcacheclean Default-Start values (2 3 4 5)
- ==> Vaprobash: update-rc.d: warning: stop runlevel arguments (none) do not match apache-htcacheclean Default-Stop values (0 1 6)
- ==> Vaprobash: Setting up ssl-cert (1.0.33) ...
- ==> Vaprobash: Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
- ==> Vaprobash: Processing triggers for ureadahead (0.100.0-16) ...
- ==> Vaprobash: >>> Configuring Apache
- ==> Vaprobash: Module mpm_prefork already disabled
- ==> Vaprobash: Module mpm_worker already disabled
- ==> Vaprobash: ERROR: Module php5 does not exist!
- ==> Vaprobash: Enabling module rewrite.
- ==> Vaprobash: Enabling module actions.
- ==> Vaprobash: Considering dependency setenvif for ssl:
- ==> Vaprobash: Module setenvif already enabled
- ==> Vaprobash: Considering dependency mime for ssl:
- ==> Vaprobash: Module mime already enabled
- ==> Vaprobash: Considering dependency socache_shmcb for ssl:
- ==> Vaprobash: Enabling module socache_shmcb.
- ==> Vaprobash: Enabling module ssl.
- ==> Vaprobash: See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
- ==> Vaprobash: To activate the new configuration, you need to run:
- ==> Vaprobash: service apache2 restart
- ==> Vaprobash: Enabling site 192.168.56.110.xip.io.
- ==> Vaprobash: To activate the new configuration, you need to run:
- ==> Vaprobash: service apache2 reload
- ==> Vaprobash: * Reloading Apache httpd web server apache2
- ==> Vaprobash: *
- ==> Vaprobash: Site 000-default disabled.
- ==> Vaprobash: To activate the new configuration, you need to run:
- ==> Vaprobash: service apache2 reload
- ==> Vaprobash: Considering dependency proxy for proxy_fcgi:
- ==> Vaprobash: Enabling module proxy.
- ==> Vaprobash: Enabling module proxy_fcgi.
- ==> Vaprobash: To activate the new configuration, you need to run:
- ==> Vaprobash: service apache2 restart
- ==> Vaprobash: * Restarting Apache httpd web server apache2
- ==> Vaprobash: ...done.
- ==> Vaprobash: Running provisioner: shell...
- Vaprobash: Running: C:/Users/lubus/AppData/Local/Temp/vagrant-shell20161027-3536-wfsjhv.sh
- ==> Vaprobash: stdin: is not a tty
- ==> Vaprobash: >>> Installing MySQL Server 5.6
- ...
- ==> Vaprobash: Suggested packages:
- ==> Vaprobash: doc-base
- ==> Vaprobash: The following NEW packages will be installed:
- ==> Vaprobash: pv
- ==> Vaprobash: 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
- ==> Vaprobash: Need to get 33.7 kB of archives.
- ==> Vaprobash: After this operation, 160 kB of additional disk space will be used.
- ==> Vaprobash: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe pv amd64 1.2.0-1 [33.7 kB]
- ==> Vaprobash: dpkg-preconfigure: unable to re-open stdin: No such file or directory
- ==> Vaprobash: Fetched 33.7 kB in 0s (139 kB/s)
- ==> Vaprobash: Selecting previously unselected package pv.
- ==> Vaprobash: (Reading database ... 68132 files and directories currently installed.)
- ==> Vaprobash: Preparing to unpack .../archives/pv_1.2.0-1_amd64.deb ...
- ==> Vaprobash: Unpacking pv (1.2.0-1) ...
- ==> Vaprobash: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
- ==> Vaprobash: Setting up pv (1.2.0-1) ...
- lubus@lubus-LZ575 MINGW64 /d/My Documents/CS/_Projects/site/adnetwork/vagrant (dev2)
- $
- # -*- mode: ruby -*-
- # vi: set ft=ruby :
- # Config Github Settings
- github_username = "fideloper"
- github_repo = "Vaprobash"
- github_branch = "1.4.2"
- github_url = "https://raw.githubusercontent.com/#{github_username}/#{github_repo}/#{github_branch}"
- # Because this:https://developer.github.com/changes/2014-12-08-removing-authorizations-token/
- # https://github.com/settings/tokens
- github_pat = ""
- # Server Configuration
- hostname = "adnetwork.dev"
- # Set a local private network IP address.
- # See http://en.wikipedia.org/wiki/Private_network for explanation
- # You can use the following IP ranges:
- # 10.0.0.1 - 10.255.255.254
- # 172.16.0.1 - 172.31.255.254
- # 192.168.0.1 - 192.168.255.254
- server_ip = "192.168.56.110"
- server_cpus = "2" # Cores
- server_memory = "1024" # MB
- server_swap = "2048" # Options: false | int (MB) - Guideline: Between one or two times the server_memory
- # UTC for Universal Coordinated Time
- # EST for Eastern Standard Time
- # CET for Central European Time
- # US/Central for American Central
- # US/Eastern for American Eastern
- server_timezone = "UTC"
- # Database Configuration
- mysql_root_password = "Dialer2014" # We'll assume user "root"
- mysql_version = "5.6" # Options: 5.5 | 5.6
- mysql_enable_remote = "false" # remote access enabled when true
- pgsql_root_password = "root" # We'll assume user "root"
- mongo_version = "2.6" # Options: 2.6 | 3.0
- mongo_enable_remote = "false" # remote access enabled when true
- # Languages and Packages
- php_timezone = "UTC" # http://php.net/manual/en/timezones.php
- php_version = "5.6" # Options: 5.5 | 5.6
- ruby_version = "latest" # Choose what ruby version should be installed (will also be the default version)
- ruby_gems = [ # List any Ruby Gems that you want to install
- #"jekyll",
- #"sass",
- #"compass",
- ]
- go_version = "latest" # Example: go1.4 (latest equals the latest stable version)
- # To install HHVM instead of PHP, set this to "true"
- hhvm = "false"
- # PHP Options
- composer_packages = [ # List any global Composer packages that you want to install
- #"phpunit/phpunit:4.0.*",
- #"codeception/codeception=*",
- #"phpspec/phpspec:2.0.*@dev",
- #"squizlabs/php_codesniffer:1.5.*",
- ]
- # Default web server document root
- # Symfony's public directory is assumed "web"
- # Laravel's public directory is assumed "public"
- public_folder = "/var/www"
- laravel_root_folder = "/vagrant/laravel" # Where to install Laravel. Will `composer install` if a composer.json file exists
- laravel_version = "latest-stable" # If you need a specific version of Laravel, set it here
- symfony_root_folder = "/vagrant/symfony" # Where to install Symfony.
- nodejs_version = "latest" # By default "latest" will equal the latest stable version
- nodejs_packages = [ # List any global NodeJS packages that you want to install
- #"grunt-cli",
- #"gulp",
- #"bower",
- #"yo",
- ]
- # RabbitMQ settings
- rabbitmq_user = "vagrant"
- rabbitmq_password = "vagrant"
- sphinxsearch_version = "rel22" # rel20, rel21, rel22, beta, daily, stable
- elasticsearch_version = "2.3.1" # 5.0.0-alpha1, 2.3.1, 2.2.2, 2.1.2, 1.7.5
- Vagrant.configure("2") do |config|
- # Set server to Ubuntu 14.04
- config.vm.box = "ubuntu/trusty64"
- config.vm.define "Vaprobash" do |vapro|
- end
- if Vagrant.has_plugin?("vagrant-hostmanager")
- config.hostmanager.enabled = true
- config.hostmanager.manage_host = true
- config.hostmanager.ignore_private_ip = false
- config.hostmanager.include_offline = false
- end
- # Create a hostname, don't forget to put it to the `hosts` file
- # This will point to the server's default virtual host
- # TO DO: Make this work with virtualhost along-side xip.io URL
- config.vm.hostname = hostname
- # Create a static IP
- if Vagrant.has_plugin?("vagrant-auto_network")
- config.vm.network :private_network, :ip => "0.0.0.0", :auto_network => true
- else
- config.vm.network :private_network, ip: server_ip
- config.vm.network :forwarded_port, guest: 80, host: 8003
- end
- # Enable agent forwarding over SSH connections
- config.ssh.forward_agent = true
- # Use NFS for the shared folder
- config.vm.synced_folder "../", "/var/www/site-adnetwork",
- :owner => "www-data",
- :group => "www-data",
- :mount_options => ["dmode=777", "fmode=666"]
- # Replicate local .gitconfig file if it exists
- if File.file?(File.expand_path("~/.gitconfig"))
- config.vm.provision "file", source: "~/.gitconfig", destination: ".gitconfig"
- end
- # If using VirtualBox
- config.vm.provider :virtualbox do |vb|
- vb.name = hostname
- # Set server cpus
- vb.customize ["modifyvm", :id, "--cpus", server_cpus]
- # Set server memory
- vb.customize ["modifyvm", :id, "--memory", server_memory]
- # Set the timesync threshold to 10 seconds, instead of the default 20 minutes.
- # If the clock gets more than 15 minutes out of sync (due to your laptop going
- # to sleep for instance, then some 3rd party services will reject requests.
- vb.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 10000]
- # Prevent VMs running on Ubuntu to lose internet connection
- # vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
- # vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
- end
- # If using VMWare Fusion
- config.vm.provider "vmware_fusion" do |vb, override|
- override.vm.box_url = "http://files.vagrantup.com/precise64_vmware.box"
- # Set server memory
- vb.vmx["memsize"] = server_memory
- end
- # If using Vagrant-Cachier
- # http://fgrehm.viewdocs.io/vagrant-cachier
- if Vagrant.has_plugin?("vagrant-cachier")
- # Configure cached packages to be shared between instances of the same base box.
- # Usage docs: http://fgrehm.viewdocs.io/vagrant-cachier/usage
- config.cache.scope = :box
- config.cache.synced_folder_opts = {
- type: :nfs,
- mount_options: ['rw', 'vers=3', 'tcp', 'nolock']
- }
- end
- # Adding vagrant-digitalocean provider - https://github.com/smdahlen/vagrant-digitalocean
- # Needs to ensure that the vagrant plugin is installed
- config.vm.provider :digital_ocean do |provider, override|
- override.ssh.private_key_path = '~/.ssh/id_rsa'
- override.ssh.username = 'vagrant'
- override.vm.box = 'digital_ocean'
- override.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
- provider.token = 'YOUR TOKEN'
- provider.image = 'ubuntu-14-04-x64'
- provider.region = 'nyc2'
- provider.size = '512mb'
- end
- ####
- # Base Items
- ##########
- # Provision Base Packages
- config.vm.provision "shell", path: "#{github_url}/scripts/base.sh", args: [github_url, server_swap, server_timezone]
- # optimize base box
- config.vm.provision "shell", path: "#{github_url}/scripts/base_box_optimizations.sh", privileged: true
- # Provision PHP
- config.vm.provision "shell", path: "#{github_url}/scripts/php.sh", args: [php_timezone, hhvm, php_version]
- # Enable MSSQL for PHP
- # config.vm.provision "shell", path: "#{github_url}/scripts/mssql.sh"
- # Provision Vim
- # config.vm.provision "shell", path: "#{github_url}/scripts/vim.sh", args: github_url
- # Provision Docker
- # config.vm.provision "shell", path: "#{github_url}/scripts/docker.sh", args: "permissions"
- ####
- # Web Servers
- ##########
- # Provision Apache Base
- config.vm.provision "shell", path: "#{github_url}/scripts/apache.sh", args: [server_ip, public_folder, hostname, github_url]
- # Provision Nginx Base
- # config.vm.provision "shell", path: "#{github_url}/scripts/nginx.sh", args: [server_ip, public_folder, hostname, github_url]
- ####
- # Databases
- ##########
- # Provision MySQL
- config.vm.provision "shell", path: "#{github_url}/scripts/mysql.sh", args: [mysql_root_password, mysql_version, mysql_enable_remote]
- # Provision PostgreSQL
- # config.vm.provision "shell", path: "#{github_url}/scripts/pgsql.sh", args: pgsql_root_password
- # Provision SQLite
- # config.vm.provision "shell", path: "#{github_url}/scripts/sqlite.sh"
- # Provision RethinkDB
- # config.vm.provision "shell", path: "#{github_url}/scripts/rethinkdb.sh", args: pgsql_root_password
- # Provision Couchbase
- # config.vm.provision "shell", path: "#{github_url}/scripts/couchbase.sh"
- # Provision CouchDB
- # config.vm.provision "shell", path: "#{github_url}/scripts/couchdb.sh"
- # Provision MongoDB
- # config.vm.provision "shell", path: "#{github_url}/scripts/mongodb.sh", args: [mongo_enable_remote, mongo_version]
- # Provision MariaDB
- # config.vm.provision "shell", path: "#{github_url}/scripts/mariadb.sh", args: [mysql_root_password, mysql_enable_remote]
- # Provision Neo4J
- # config.vm.provision "shell", path: "#{github_url}/scripts/neo4j.sh"
- ####
- # Search Servers
- ##########
- # Install Elasticsearch
- # config.vm.provision "shell", path: "#{github_url}/scripts/elasticsearch.sh", args: [elasticsearch_version]
- # Install SphinxSearch
- # config.vm.provision "shell", path: "#{github_url}/scripts/sphinxsearch.sh", args: [sphinxsearch_version]
- ####
- # Search Server Administration (web-based)
- ##########
- # Install ElasticHQ
- # Admin for: Elasticsearch
- # Works on: Apache2, Nginx
- # config.vm.provision "shell", path: "#{github_url}/scripts/elastichq.sh"
- ####
- # In-Memory Stores
- ##########
- # Install Memcached
- # config.vm.provision "shell", path: "#{github_url}/scripts/memcached.sh"
- # Provision Redis (without journaling and persistence)
- # config.vm.provision "shell", path: "#{github_url}/scripts/redis.sh"
- # Provision Redis (with journaling and persistence)
- # config.vm.provision "shell", path: "#{github_url}/scripts/redis.sh", args: "persistent"
- # NOTE: It is safe to run this to add persistence even if originally provisioned without persistence
- ####
- # Utility (queue)
- ##########
- # Install Beanstalkd
- # config.vm.provision "shell", path: "#{github_url}/scripts/beanstalkd.sh"
- # Install Heroku Toolbelt
- # config.vm.provision "shell", path: "https://toolbelt.heroku.com/install-ubuntu.sh"
- # Install Supervisord
- # config.vm.provision "shell", path: "#{github_url}/scripts/supervisord.sh"
- # Install Kibana
- # config.vm.provision "shell", path: "#{github_url}/scripts/kibana.sh"
- # Install ØMQ
- # config.vm.provision "shell", path: "#{github_url}/scripts/zeromq.sh"
- # Install RabbitMQ
- # config.vm.provision "shell", path: "./scripts/rabbitmq.sh", args: [rabbitmq_user, rabbitmq_password]
- ####
- # Additional Languages
- ##########
- # Install Nodejs
- # config.vm.provision "shell", path: "#{github_url}/scripts/nodejs.sh", privileged: false, args: nodejs_packages.unshift(nodejs_version, github_url)
- # Install Ruby Version Manager (RVM)
- # config.vm.provision "shell", path: "#{github_url}/scripts/rvm.sh", privileged: false, args: ruby_gems.unshift(ruby_version)
- # Install Go Version Manager (GVM)
- # config.vm.provision "shell", path: "#{github_url}/scripts/go.sh", privileged: false, args: [go_version]
- ####
- # Frameworks and Tooling
- ##########
- # Provision Composer
- # You may pass a github auth token as the first argument
- # config.vm.provision "shell", path: "#{github_url}/scripts/composer.sh", privileged: false, args: [github_pat, composer_packages.join(" ")]
- # Provision Laravel
- # config.vm.provision "shell", path: "#{github_url}/scripts/laravel.sh", privileged: false, args: [server_ip, laravel_root_folder, public_folder, laravel_version]
- # Provision Symfony
- # config.vm.provision "shell", path: "#{github_url}/scripts/symfony.sh", privileged: false, args: [server_ip, symfony_root_folder, public_folder]
- # Install Screen
- # config.vm.provision "shell", path: "#{github_url}/scripts/screen.sh"
- # Install Mailcatcher
- # config.vm.provision "shell", path: "#{github_url}/scripts/mailcatcher.sh"
- # Install git-ftp
- # config.vm.provision "shell", path: "#{github_url}/scripts/git-ftp.sh", privileged: false
- # Install Ansible
- # config.vm.provision "shell", path: "#{github_url}/scripts/ansible.sh"
- # Install Android
- # config.vm.provision "shell", path: "#{github_url}/scripts/android.sh"
- ####
- # Local Scripts
- # Any local scripts you may want to run post-provisioning.
- # Add these to the same directory as the Vagrantfile.
- ##########
- config.vm.provision "shell", path: "./scripts/pma.sh"
- config.vm.provision "shell", path: "./scripts/vhosts.sh"
- config.vm.provision "shell", path: "./scripts/tools.sh"
- # config.vm.provision "shell", path: "./local-script.sh"
- # A private dhcp network is required for NFS to work (on Windows hosts, at least)
- config.vm.network "private_network", type: "dhcp"
- end
- #!/usr/bin/env bash
- cd /var/www/
- mkdir pma
- sudo apt-get install unzip
- sudo wget https://files.phpmyadmin.net/phpMyAdmin/4.5.0.2/phpMyAdmin-4.5.0.2-all-languages.zip
- sudo unzip phpMyAdmin-4.5.0.2-all-languages.zip
- sudo mv phpMyAdmin-4.5.0.2-all-languages/* pma
- #!/usr/bin/env bash
- # PV - pipe viwer, awesome to do like this: pv dump.sql | mysql -u root -p databse_name
- sudo apt-get -y install pv
- #!/usr/bin/env bash
- sudo vhost -d /var/www/site-adnetwork -s adnetwork.dev
- sudo vhost -d /var/www/pma -s pma.adnetwork.dev
- $ vagrant plugin list
- vagrant-share (1.1.5, system)
- vagrant-vbguest (0.13.0)
- vagrant-winnfsd (1.3.1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement