Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
/ stretchbox Public archive

A simple LEMP stack for Vagrant with Debian 9

License

Notifications You must be signed in to change notification settings

honeymustard/stretchbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stretchbox

A simple LEMP stack for Vagrant with Debian 9.

Setup

  • Install Vagrant and Virtualbox.
  • Add a host name to /etc/hosts e.g. "192.168.33.10 stretchbox.dev".
  • Add a host name to provision/nginx/site.conf e.g. "server_name stretchbox.dev".
  • Run rm -Rf .git/ in the root directory.
  • Run vagrant up in the root directory.

Information

SSH
user  => vagrant
host  => 127.0.0.1
port  => 6464

Nginx
host  => stretchbox.dev
ip    => 192.168.33.10

MariaDB
host  => localhost
user  => root
pass  => root

Commands

$ vagrant up     [--provision]  # start machine  [with new settings]
$ vagrant reload [--provision]  # reload machine [with new settings]
$ vagrant ssh                   # command line access

Issues

If vagrant complains about missing guest additions, try running these commands before attempting another provision.

$ vagrant plugin install vagrant-vbguest
$ vagrant vbguest

Resources

Default Debian box debian/boxes/stretch64
The official Vagrant documentation docs.vagrantup.com

Copyright

Licensed under the MIT license (MIT).
Copyright © 2017 Adrian Solumsmo.

Releases

No releases published

Packages

No packages published