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
java vs php

Switching from Java to PHP. Seriously. A very interesting and pre-judice-free talk with Ph.D. Aris Zakinthinos

Ph.D. Aris Zakinthinos, CTO of achievers.com, a well-scalability-experienced guy and former IT employee of the military, has just delivered one

forbes 30 under 30

Need motivation ? Check out these 2 awesome “FORBES 30 under 30” lists (web, UI, games)

The FORBES magazine has just published the new “30 under 30” lists, and they are really really interesting! Lots of

git-php-deployment

Extremely simple deployment with PHPloy

Let me ask you a question: How mad do you get when you have to remember which files you edited

hiphop php

HipHop VM reaches 100% green Unit Tests in Laravel, Drupal, Slim, CodeIgniter etc.

In September 2013 the PHP HipHop VM dev team wrote a very interesting article [1] about failing Unit Tests of

Adobe releases Firebug-like developer tools to edit and extract PSDs

A big step in frontend-development: According to this presentation on Adobe Max 2014 Adobe has just released a very interesting

Interesting stats on SONY’s hacked passwords

In 2011 SONY’s Playstation network got hacked, 77 million accounts have been compromised, and more than 1.000.000 passwords – saved

angularjs

Two excellent introductions into AngularJS by Todd Motto

If you are familiar with PHP frameworks and have a basic understanding of what a model, a controller and a

php

Test out PHP 5.6alpha1 on Windows 7 / 8 with two clicks

The popular Apache-MySQLP-PHP stack EasyPHP has become very professional, maintained and especially modularized in the last 2 years, and when

How Instagram.com works

redaktionelle-hochlastseiten

Hochlastseiten mit PHP, MySQL und Apache am Beispiel stern.de (deutscher Artikel)

Eine grandiose Powerpoint-Präsentation die sich jeder, der mit PHP, MySQL und Apache auf Linux arbeitet, mal anschauen sollte: Nils Langner,

1/4

Categories

Search

Frontend Ops Conf 2014 – Paul Irish: Delivering The Goods In Under 1000ms (40min video)
mod-rewrite-ubuntu-14-04-lts
Which server OS version to choose ? Some EOL lists of Debian, Ubuntu and CentOS
increase-your-pagespeed-score
Increase your PageSpeed score (10min video with Matt Gaunt)
php ide
Sitepoint asks for your favourite PHP IDE – take part!
php
PHP 5.6 announced, statically typed (!) “new” PHP announced by Facebook devs
php uk conference
PHP Opcache Explained by Julien Pauli (video from PHP UK Conference 2014)
php
New GitHub repo: simple php-long-polling for creating real-time apps
phpstorm-8
When PHPStorm’s cache eats up your harddisk space
This picture shows the icon of blindness
How blind people use websites (video with Sina Bahram, blind accessibility researcher)
Support FLARUM, the future of PHP forum scripts (with some dollars on Kickstarter)
composer
How to install Composer on Windows 7 / 8 or Ubuntu
Frontend Ops Conf 2014 – Rebooting Flickr On A Node.js Stack, One Page At A Time (from PHP) by Bertrand Fan
GitHub finally introduces repo traffic stats
logo-internet-explorer
How to professionally test on old Internet Explorer versions
Create a fast, perfect and bootable 1:1 Windows backup (full clone of HDD) for SSD migration

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