Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darkterminal/vagrant-lampp-stack
This is a setup environment for web development. The vagrant box using ubuntu/xenial64
https://github.com/darkterminal/vagrant-lampp-stack
lampp-stack ubuntu vagrant virtualbox
Last synced: about 1 month ago
JSON representation
This is a setup environment for web development. The vagrant box using ubuntu/xenial64
- Host: GitHub
- URL: https://github.com/darkterminal/vagrant-lampp-stack
- Owner: darkterminal
- Created: 2021-03-13T20:58:07.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-13T21:16:36.000Z (almost 4 years ago)
- Last Synced: 2024-11-08T06:48:09.347Z (3 months ago)
- Topics: lampp-stack, ubuntu, vagrant, virtualbox
- Language: HTML
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Vagrant LAMPP Stack](https://i.ibb.co/5WTFmm9/repo-cover.png "Repository Cover")
# Vagrant LAMPP
This is a setup environment for web development. The `vagrant box` using `ubuntu/xenial64`.## Feature
- Git version 2.7.4
- PHP 7.4.16
- MySQL Ver 14.14 Distrib 5.7.33, for Linux (x86_64)
- Apache2 Server version: Apache/2.4.46 (Ubuntu)
- PhpMyAdmin 5.1.0 - English## System Requirements
- VirtualBox >= 6.1
- Vagrant >= 2.2.14## Installing
You can use terminal (CMD, PowerShell, Git-Bash)
```
$ git clone [email protected]:darkterminal/vagrant-lampp-stack.git
```
And if you want to change directory name are `clone` you can use this command
```
$ git clone [email protected]:darkterminal/vagrant-lampp-stack.git
```## Default Kridensial
- The URLs
- Apache2 Web Server: `localhost:8181`
- MySQL Server port: `3306`
- Username: `root`
- Password: `root`
- PhpMyAdmin: `localhost:8181/phpmyadmin`
- Username: `root`
- Password: `root`## Optional Configuration (After Vagrant Up / Vagrant provision)
**Blowfish Secret**
If you facing warning in PhpMyAdmin page about `$cfg['blowfish_secret']`. You can configure with follow this step:
1. Make sure you are inside root directory that contain `Vagrantfile`
- 1.1 Open terminal (Git-Bash, Cygwin, or Terminal) inside
- 1.2 type command `vagrant ssh`
- 1.3 after vagrant has been logged in, type command `sudo nano /usr/share/phpmyadmin/config.inc.php`
- 1.4 Create Blowfish Secret in `https://hash.online-convert.com/blowfish-generator`
- 1.5 Paste in `config.inc.php` you just open
```
Options SymLinksIfOwnerMatch
DirectoryIndex index.php
AddType application/x-httpd-php .php
SetHandler application/x-httpd-php
php_value include_path .
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/
php_admin_value mbstring.func_overload 0
AddType application/x-httpd-php .php
SetHandler application/x-httpd-php
php_value include_path .
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/
php_admin_value mbstring.func_overload 0
# Authorize for setup
AuthType Basic
AuthName "phpMyAdmin Setup"
AuthUserFile /etc/phpmyadmin/htpasswd.setup
Require valid-user
# Disallow web access to directories that don't need it
Require all denied
Require all denied
Require all denied
```
- 2.2 Save the file and exit
- 2.3 Restart your server by typing `sudo service apache2 reload`