Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Minimal LAMP Stack provide Ubuntu 18.04, Apache, PHP7.1, MySQL, phpmyadmin in a flexible box for Vagrant

License

Notifications You must be signed in to change notification settings

straycodelp/Minimal-LAMP-Stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minimal LAMP Stack

Minimal LAMP Stack provide Ubuntu 18.04, Apache, PHP7.1, MySQL and phpMyAdmin in a flexible box for Vagrant.

Prerequisites

Be sure to install VirtualBox, Vagrant and optionally Git.

First time initialization:

From command line

$ git clone https://github.com/LeonardoPuccio/Minimal-LAMP-Stack my-workspace

GUI

Simply download and extract Minimal-LAMP-Stack-master.zip where do you want.

How to use

Start

$ vagrant up

Stop

$ vagrant halt

Terminal

shell into the running Vagrant machine.

$ vagrant ssh

Accesses

- From browser go to

http://192.168.33.10/ or http://localhost/

to see phpinfo().

- phpMyAdmin

http://192.168.33.10/phpmyadmin/ or http://localhost/phpmyadmin/

- Shared folder

The www folder is a shared folder synced with /var/www/html in ubuntu virtual machine that correspond to default root folder of the web server.

Is possible access to database from a desktop client such as Sequel Pro or HeidiSQL. Remind you need ssh tunneling.

In the box

  • Ubuntu-18.04 (live-server-amd64)
  • Apache (2.4.29)
  • PHP7.1 (7.1.17)
  • MySQL (5.7.22-0)
  • phpMyAdmin

Default Credential:

- Ubuntu Root Login

root: vagrant
password: vagrant

- DataBase Users

   MySQL Admin* for phpMyAdmin

user: vagrantdb
password: vagrantdb

   MySQL Root

user: root
password: root

Note: vagrantdb is an user with all privileges on vagrantdb, this for avoid conflict problem with phpmyadmin and access to it.

References

About

Minimal LAMP Stack provide Ubuntu 18.04, Apache, PHP7.1, MySQL, phpmyadmin in a flexible box for Vagrant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages