Situhuna kel cara enda banci i dalanken bas linux sideban. Perban aku pake Fedora 22, jadi bas e saja kuban.

Adina lenga pernah installndu Apache, PHP, MariaDB install lebe alu

yum install httpd mariadb php php-mysqlnd php-cli php-pdo php-mcrypt phpMyAdmin

Pertama install composer alu user root

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/bin/composer

adina lenga kam pernah pake composer, banci nenndu dokumentasina i https://getcomposer.org/doc/00-intro.md

Pindah ku folder /var/www/html Dung e, install Laravel 5

cd /var/www/html;
composer create-project laravel/laravel

adina sambarindu atendu folderna perintah composerna ubah jadi

composer create-project laravel/laravel devkaro

Adina waktu develop Laravel username/password mysqlna i simpan bas file .env, bas contoh sidatas /var/www/html/laravel/.env. Contoh file .env enda

APP_ENV=local
APP_DEBUG=true
APP_KEY=4vmavBGHvDDpZU9608VeGNEkhnvHIaHE
 
DB_HOST=localhost
DB_DATABASE=dbkaro
DB_USERNAME=mekaro
DB_PASSWORD=adinaakukapndulakam
 
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
 
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null

Ubah permission folder laravel enda ndai jadi 777

chmod 777 -R /var/www/html/laravel

dung e cubaken buka bas http://localhost/laravel/public tampilenna bagi gambar teruh enda
laravel 5

Erlajar Laravel 5 enda mbue denga lanjutenna, adina lit requestndu atendu tutorial kerna Laravel 5 enda, ngata kam 🙂

Cara Install Laravel 5.1 bas Fedora 22
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *