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
hearthbleed-ssl-bug

A quick guideline on how to fix the Hearthbleed bug (and update OpenSSL) on Ubuntu

If you still haven’t fixed your servers after mainstream discovery of the legendary Hearthbleed bug, then do it now –

phpstorm-8

When PHPStorm’s cache eats up your harddisk space

I recently stumbled over this: By default PHPStorm (obviously in all versions since 1.0) creates a local history of all

phpstorm 7.0 php

A perfect video tutorial to get started with xdebug in PHPStorm

Laracast just published an excellent short tutorial on how to get install xdebug in a local environment and how to

vagrant

A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)

Here’s an excellent downloadable Vagrant box that’s brings you a preinstalled HHVM / HipHop for PHP within a Ubuntu 13.10

anti block adblock

Show ads to ad-blockering visitors – with PageFair.com

Interesting news on the dramatically decreasing web ad market: There’s a new service called PageFair that does basically exactly what

hearthbleed-ssl-bug

The SSL Heartbleed bug explained in 30 seconds

Another excellent comic by xkcd (a site that publishes dev/op/web-related comics, usually nailing things right to the head): This time

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

php uk conference

PHP Opcache Explained by Julien Pauli (video from PHP UK Conference 2014)

The title says it all. A VERY deep explanation on how OpCache works. If you never heard of this excellent

composer

How to install Composer on Windows 7 / 8 or Ubuntu

Installation on Windows 7 / 8 Installing Composer on Windows 7 or 8 is extremely easy: Get the latest version

php

Why Modern PHP is Awesome And How You Can Use It Today (Slides by Matt Stauffer)

1/4

Categories

Search

phpstorm-8
When PHPStorm’s cache eats up your harddisk space
First look on Gitter, the chat for GitHub
goodbye-lamp-going-hhvm-nosql-nginx-php
[RePost] Goodbye LAMP: Going Nginx, NoSQL, HHVM (41min conference talk with Arne Blankerts)
php
Must-read PHP blog: PHPweekly.com
js javascript
JavaScript Testing Tactics (21min video by Justin Searls)
You made a mess with Git ? Here’s a flowchart guideline on how to fix
php
Somebody is writing a compiler for PHP, compiles down to machine code, outperforms HHVM
Ghost
[FREE SERVER PROMO] Install GHOST for free on a free SSD server with this coupon
Frontend Ops Conf 2014 – Rebooting Flickr On A Node.js Stack, One Page At A Time (from PHP) by Bertrand Fan
php
Is there a JSFiddle for PHP ? Yes !
GitHub finally introduces repo traffic stats
js javascript
Push database changes to all clients in real-time (!) with AngularJS and Firebase
phpstorm-8
A PHPStorm shortcuts cheat sheet (for Windows, Mac OS and Linux)
sass
New features in SASS 3.3 (a talk by SASS-creator Chris Eppstein)
mod-rewrite-ubuntu-14-04-lts
Which server OS version to choose ? Some EOL lists of Debian, Ubuntu and CentOS

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