Skip to content

selectany/vagrant-slitaz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-slitaz

Vagrant setup based on Slitaz Linux. Started from base cooking image 8Mb. Built against Virtual Box Guest Addins v4.3.

Benefits

The main one is the small vagrant's box size ~96Mb. Despite this the Slitaz guest OS is equipped with: Apache2.4, php-5.4.13, xdebug-2.2.3, perl-5.12.3, MySql-5.5.27, sqlite3, php-cli, git-1.8.3, composer-2013-10-21, ngrok, phpMyAdmin-3.5.2, openssh-5.9

Installed php extensions:

  • gd.so
  • mysql.so
  • openssl.so
  • mysqli.so
  • pdo_mysql.so
  • mcrypt.so
  • xdebug.so

Getting Started

Usage

  • Clone a copy of this repository to your local system or download it zipped.
  • Navigate to main directory (where Vagrantfile resides) with your terminal and run vagrant up.

After all you should be able to visit http://localhost:8888

PhpMyAdmin is accessable via: http://localhost:8888/phpmyadmin

Guest OS accounts:

  • username: root

  • passwd: root

  • username: web

  • passwd: web

Mysql accounts:

  • username: root
  • passwd: root

Example Usage with Laravel PHP Framework

After vagrant up and vagrant ssh, go to /projects/www directory. Then type following command to create Laravel based project named "test": composer create-project laravel/laravel test --prefer-dist The 'test' directory will appear under /project/www. Now you can load the project into you preffered IDE using synched 'test' folder from the host side.

Web app can be accessed by http://localhost:8888/test/public

Additional functionallity could be added using vagrant ssh into guest OS.

Enjoy!

About

Slitaz Linux (base-cooking) based vagrant box

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published