Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
December 23, 2014
Chris
Bootstrap, LAMP, Local Development, mini, PHP
Comments Off on Install MINI in 30 seconds inside Ubuntu 14.04 LTS

Install MINI in 30 seconds inside Ubuntu 14.04 LTS

PreviousNext

This is a guideline on how to install MINI – an extremely simple naked PHP application – more or less automatically inside Ubuntu 14.04 LTS with just some very simple copy&paste-commands on the command line. The best thing: This will also automatically install Apache, PHP, MySQL, PHPMyAdmin, git and Composer, set a password in MySQL and PHPMyadmin and even inside the application code, download the Composer-dependencies, activate mod_rewrite and edit the Apache settings, download the script itself from GitHub and run the demo SQL statements (for demo data). This is 100% automatic (needs 30 seconds of work and +/- 5 minutes of automaticly running tasks), you’ll end up with a fully running installation of MINI. You can thank me later :)

Ah, and disclaimer: This is just the most simple possible setup, made for a quick preview and easy-to-start-with development. Here we use weak passwords, root access etc., so keep that in mind.

1. Log into your server. This script is made for a real, fresh and naked server running Ubuntu 14.04 LTS, not for 12.04, not for CentOS, not for shared hosting. Please don’t write comments and support requests saying “this does not work on my Godaddy hosting”. A developer dies every time somebody uses shared hosting or outdated linux versions.

2. Download the installer script:

wget https://raw.githubusercontent.com/panique/mini/master/_vagrant/bootstrap.sh

3. Make the script executeable:

chmod +x bootstrap.sh

4. Run the script, make sure you’re running it as sudo (otherwise you’ll have a broken installation):

sudo ./bootstrap.sh

Then the installer will run for some minutes, downloading and installing all the stuff, setting the passwords etc. When the script has finally stopped you’ll see “Voila!” on your shell.

The password for the MySQL root user and PHPMyAdmin is “12345678”.

Check your IP in the browser and you’ll (hopefully) see a running installation of MINI:

MINI

frameworkMVCPHP
Share this
offf-2014

Europeans: Get ready for OFFF conference / festival in Barcelona, May 2014

Designers and frontend guys, this is for you: If you live or simply are in western Europe in May 2014,

shadow dom

Crossbrowser-safe HTML5 video (IE6+) with a few lines of code and just one .mp4 video file

No time to read the full article ? Get the code directly here on GitHub: panique/html5-video. Publishing a video on

MINI2, an extremely simple barebone PHP application on top of Slim

For my daily work I often needed to setup super-simple PHP applications, just some more or less static pages plus

composer

The difference between “composer install” and “composer update” – nailed on the head

What a beautiful, direct and clean explaination of the often-confusing difference between composer install and composer update: Beau Simensen (Twitter,

How to show memory usage (Ubuntu)

Always very useful: A simple command to show memory usage (Ubuntu / linux distros). cat /proc/meminfo  

Frontend Ops Conf 2014 – Rebooting Flickr On A Node.js Stack, One Page At A Time (from PHP) by Bertrand Fan

https://www.youtube.com/watch?v=vBo0aFtg1_M

composer

Composer problems ? Try full reset !

Some small Composer commands that might solve your problems: I’ve taken them directly from Jordi Boggiano‘s (Composer co-creator) “In Depth

Stressed and unrelaxed while coding ? Try some ultra-deeply-relaxing ASMR audio clips. It will change your life. Seriously.

Do you remember your first professional massage – and that weird, extremely soft and relaxing feeling you had, this strange

zend framework 3

First view on Zend Framework 3 by Matthew O’Phinney

Interesting stuff: One of the very first video impressions of Zend Framework 3, and it sounds fantastic! This is even

digitalocean coupon

DigitalOcean VPS coupon codes for december 2013 and early 2014

Some (working!) coupon codes for DigitalOcean, the low-cost VPS server/hosting provider of the year. They are for NEW customers, but

1/4

Categories

Search

php
PHP 5.6 announced, statically typed (!) “new” PHP announced by Facebook devs
php
PHP 5.6.0 RC1 is available
Migrating Wikipedia to HHVM (@Scale Conference 2014)
hearthbleed-ssl-bug
The SSL Heartbleed bug explained in 30 seconds
modern-php
Creator of Slim framework and “PHP – The right way” writes book: “Modern PHP”, available 2015
phpstorm 7.0 php
How to debug code on a remote server (or in vagrant box) with PHPStorm
PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)
php
PHP 5.7 gets refactored core, is 10%-30% faster than PHP 5.5! Wow!
Symfony devs: Creator of Symfony framework is hiring (Cologne, Germany)!
forbes 30 under 30
Need motivation ? Check out these 2 awesome “FORBES 30 under 30” lists (web, UI, games)
The architecture of StackOverflow
php uk conference
PHP Caching Best Practices by Eli White (video from PHP UK Conference 2014)
phpstorm-8
Killer-feature in PHPStorm: Search everywhere
JavaScript ECMAScript6 – A short video introduction (5min)
php-7
PHP 6.0 will be PHP 7

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy