Instalasi Laravel 5 di Linux Mint

Selection_001

Ketik di terminal:

1. Download composer

curl -sS https://getcomposer.org/installer | php

atau (bisa untuk update laravel juga) :

composer global require “laravel/installer”

2. Jika php5-cli belum terinstal, maka:

sudo apt-get install php5-cli

3. Ketik :

sudo mv composer.phar /usr/local/bin/composer

4. Untuk buat project baru cukup ketik:

composer create-project laravel/laravel sisfo –prefer-dist

atau

export PATH=”~/.composer/vendor/bin:$PATH”

laravel new ‘nama proyek’

5. Lalu open permission-nya:

sudo chmod -R 777 /opt/lampp/htdocs/sisfo

Silahkan cek di browser Anda:

http://localhost/sisfo/public/

source:
https://getcomposer.org/download/
http://id-laravel.com/post/instalasi-laravel-4/
http://id-laravel.com/post/instalasi-laravel-5/
https://laravel.com/docs/5.1/installation
http://stackoverflow.com/questions/28597648/laravel-5-installation-in-ubuntu-laravel-command-not-found

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s