https://github.com/jorbriib/vagrant-lamp-phpmyadmin-load-dump-db
Vagrant VM with LAMP, PHPMyAdmin and Load&Dump Database
https://github.com/jorbriib/vagrant-lamp-phpmyadmin-load-dump-db
backup lamp phpmyadmin vagrant
Last synced: about 1 month ago
JSON representation
Vagrant VM with LAMP, PHPMyAdmin and Load&Dump Database
- Host: GitHub
- URL: https://github.com/jorbriib/vagrant-lamp-phpmyadmin-load-dump-db
- Owner: jorbriib
- Created: 2016-09-01T13:00:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-01T14:10:42.000Z (almost 10 years ago)
- Last Synced: 2025-09-01T11:04:39.341Z (10 months ago)
- Topics: backup, lamp, phpmyadmin, vagrant
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vagrant VM with LAMP, PHPMyAdmin and Load&Dump Database
This repository creates a vagrant VM with a LAMP environment. Vagrant loads a sql file to create a database and PHPMyAdmin is accesible to handle.
When the machine Vagrant shuts down, it creates a backup of the database.
##Virtual Machine
- Ubuntu 14.04 LTS (trusty)
- Apache
- MySQL
- PHP
- Pear
- Setup TimeZone
- MySQL user and database
- PHPMyAdmin
- mod_rewrite
- mcrypt
- git
- composer
##Prerequisites
1. You must have vagrant installed.
2. If you want to enable automatic backups, you have to install vagrant-triggers plugin:
$ vagrant plugin install vagrant-triggers
##Config
It is possible change TimeZone, database's name, user and password in bootstrap.sh and sql/dump/dump.sh
##Quick Start
1. Clone the repo: git clone git://github.com/jorbriib/vagrant-lamp-phpmyadmin-load-dump-db.git
2. To load a database, copy a script 'database.sql' in the 'sql' folder.
3. Launch machines with command: vagrant up.
4. Copy your web site in the shared folder 'www'.