Skip to content

Instantly share code, notes, and snippets.

View svpernova09's full-sized avatar
πŸš€
In Transit

Joe Ferguson svpernova09

πŸš€
In Transit
View GitHub Profile
β”Œβ”€(~/Code/homestead)(release S:7)────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
└── vagrant up ─(15:15:08)(06/26/20)β”€β”˜
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '9.5.1' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
homestead: Adapter 1: nat
vagrant destroy -f && vagrant up
Ignoring nokogiri-1.10.5 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.5
==> vagrant: A new version of Vagrant is available: 2.2.9 (installed version: 2.2.7)!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
==> homestead: Destroying VM and associated drives...
==> homestead: Destroying unused networking interface...
Ignoring nokogiri-1.10.5 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.5
Bringing machine 'homestead' up with 'parallels' provider...
==> homestead: Registering VM image from the base box 'laravel/homestead'...
@svpernova09
svpernova09 / Homestead.rb
Created May 16, 2020 16:21
Ruby Array / Hash Logic to enable / disable Ubuntu Services
# Snippet
# Enable Services
if settings.has_key?('services')
settings['services'].each do |service|
if service.include?('enabled')
enable = service['enabled']
enable.each do |enable_service|
config.vm.provision "shell", inline: "sudo systemctl enable #{enable_service}"
end
end
@svpernova09
svpernova09 / vagrantup.log
Created April 29, 2020 21:55
Homestead not a time machine :/
β”Œβ”€(~/Code/homestead)(master S:7)────────────────────────────────────────────────────────────────────────────────────┐
└── vagrant up ─(16:48:15)(04/29/20)β”€β”˜
Ignoring nokogiri-1.10.5 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.5
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '9.5.1' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
@svpernova09
svpernova09 / vagrantup.log
Created April 26, 2020 21:20
Ubuntu 20.04 Vagrant up Bento Log
└─(1)─ packer build --only=virtualbox-iso ubuntu-20.04-amd64.json ─(15:58:57)(04/26/20)β”€β”˜
virtualbox-iso: output will be in this color.
==> virtualbox-iso: Retrieving Guest additions
==> virtualbox-iso: Trying /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: Trying /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso => /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: Retrieving ISO
==> virtualbox-iso: Trying http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04-legacy-server-amd64.iso
==> virtualbox-iso: Trying http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04-legacy-server-amd64.iso?checksum=sha256%3A36f15879bd9dfd061cd588620a164a82972663fdd148cce1f70d57d314c21b73
root@homestead:/etc/nginx/ssl# openssl x509 -text -noout -in '*.midsouthmakers.test.crt'
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
29:dc:21:88:69:8b:4c:a1:61:30:f5:be:b4:65:aa:fc:8a:b3:fb:5d
Signature Algorithm: sha256WithRSAEncryption
Issuer: O = Vagrant, C = UN, CN = Homestead homestead Root CA
Validity
Not Before: Apr 22 20:57:06 2020 GMT
@svpernova09
svpernova09 / vagrant-up.txt
Created March 12, 2020 15:57
Windows 10 Homestead MariaDB
C:\Users\media\Code\homestead (master)
Ξ» vagrant --version
Vagrant 2.2.7
C:\Users\media\Code\homestead (master)
Ξ» vagrant box update
==> homestead: Box 'laravel/homestead' not installed, can't check for updates.
C:\Users\media\Code\homestead (master)
Ξ» vagrant box add laravel/homestead
@svpernova09
svpernova09 / vagrant-log.txt
Created March 12, 2020 15:15
MariaDB Homestead test
└── vagrant destroy -f && vagrant up ─(10:10:08)(03/12/20)β”€β”˜
Ignoring nokogiri-1.10.5 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.5
==> homestead: Forcing shutdown of VM...
==> homestead: Destroying VM and associated drives...
Ignoring nokogiri-1.10.5 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.5
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '9.3.0' is up to date...
==> homestead: Setting the name of the VM: homestead
@svpernova09
svpernova09 / log.txt
Created February 18, 2020 17:00
ES default install log Homestead
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '9.2.0' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Fixed port collision for 80 => 8000. Now on port 2200.
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
homestead: Adapter 1: nat
homestead: Adapter 2: hostonly
β”Œβ”€(~/Code/homestead)(master S:4)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
└─(1)─ vagrant destroy -f && vagrant up ─(09:50:21)(12/23/19)β”€β”˜
==> homestead: Forcing shutdown of VM...
==> homestead: Destroying VM and associated drives...
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '9.1.0' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...