2013-12-02

Slitaz -- vagrant-slitaz


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

1.
tux@slitaz:~/vagrant-slitaz-master$ vagrant ssh

Welcome to the Open Source World!

SliTaz GNU/Linux is distributed in the hope that it will be useful,
but with ABSOLUTELY NO WARRANTY.

2.
web@devbox:~$ uname -a
Linux devbox 3.2-slitaz #4 SMP Sun Jan 27 02:10:33 CET 2013 i686 GNU/Linux

3.
web@devbox:~$ free -m
total used free shared buffers
Mem: 1516 273 1242 0 116
-/+ buffers: 157 1359
Swap: 0 0 0

4.
web@devbox:~$ df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 5.8G 471.1M 5.0G 8% /
tmpfs 758.3M 200.0K 758.1M 0% /run
devtmpfs 758.1M 0 758.1M 0% /dev
tmpfs 758.3M 0 758.3M 0% /dev/shm
none 2.9G 1.3G 1.6G 45% /projects
none 2.9G 1.3G 1.6G 45% /projects/www

5.
web@devbox:~$ ls -l /
total 72
drwxr-xr-x 2 root root 4096 Oct 22 20:23 bin/
drwxr-xr-x 4 root root 4096 Oct 22 20:35 boot/
drwxr-xr-x 12 root root 2880 Dec 2 16:06 dev/
drwxr-xr-x 16 root root 4096 Oct 27 20:02 etc/
drwxr-xr-x 3 root root 4096 Oct 25 13:01 home/
-rwxr-xr-x 1 root root 4081 Jan 17 2013 init
drwxr-xr-x 5 root root 4096 Oct 25 08:24 lib/
drwx------ 2 root root 16384 Oct 22 10:25 lost+found/
drwxr-xr-x 5 root root 4096 Oct 22 10:28 media/
drwxr-xr-x 2 root root 4096 Sep 23 13:53 mnt/
drwxr-xr-x 3 root root 4096 Oct 25 12:49 opt/
dr-xr-xr-x 63 root root 0 Dec 2 16:06 proc/
drwxrwxrwx 1 web web 160 Dec 2 16:04 projects/
drwxr-x--- 2 root root 4096 Oct 28 11:48 root/
drwxrwxrwt 8 root root 260 Dec 2 16:06 run/
drwxr-xr-x 2 root root 4096 Oct 25 08:24 sbin/
drwxr-xr-x 12 root root 0 Dec 2 16:06 sys/
drwxrwxrwt 4 root root 4096 Dec 2 16:09 tmp/
drwxr-xr-x 10 root root 4096 Oct 27 20:02 usr/
drwxr-xr-x 10 root root 4096 Dec 2 16:06 var/
web@devbox:~$