these install notes i got from the ubuntu desktop flie called install NOTES,
import/export file is located at: E:\VIRTUAL MACHINES -4-14-2016\IMPORT - EXPORT
file name: UBUNTU-step3-FRESH INSTALL with GUESS ADDITIONS-LAMP-git-laravel.ova
1. INSTALL SUBLIME
#############################
download sublime: https://www.sublimetext.com/3
command: subl to start
right click on the taskbar and select lock on launcher
2. INSTALL LAMP STACK
###########################
// follow these steps
http://tecadmin.net/install-laravel-framework-on-ubuntu/
Step 1. Install PHP 5.5
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get install -y php5 php5-mcrypt php5-gd
Install Apache2
sudo apt-get install apache2 libapache2-mod-php5
Install MySQL
sudo apt-get install mysql-server php5-mysql
SET PASSWORD: ooo000
Step 2 – Install Composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
sudo chmod +x /usr/local/bin/composer
3. INSTALL GIT
########################
sudo apt-get install git
4. Install Laravel
####################
cd /var/www
sudo git clone https://github.com/laravel/laravel.git
cd /var/www/laravel
sudo composer install
// IM NOT SURE WHAT THIS MESSAGE MEANS:
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
sudo mkdir -p /var/www/laravel/app/storage
sudo cp .env.example .env
sudo chown -R www-data.www-data /var/www/laravel
sudo chmod -R 755 /var/www/laravel
sudo chmod -R 777 /var/www/laravel/app/storage
5 Set Encryption Key
###########################
sudo php artisan key:generate
#RESULTS: Application key [base64:4ai40mnx90YRbL+ezb7m7yG0MMt0zqiUunPoLYFEi3I=] set successfully.
sudo nano config/app.php
CHANGE TO:
'key' => env('APP_KEY', 'uOHTNu3Au1Kt7Uloyr2Py9blU0J5XQ75'),
'cipher' => 'AES-256-CBC',
6. Create Apache VirtualHost
##################################
sudo nano /etc/apache2/sites-available/laravel.example.com.conf
sudo a2ensite laravel.example.com
7. ACCESS LARAVEL
##################
sudo nano /etc/hosts
ADD AT THE BOTTOM:
27.0.0.1 laravel.example.com
sudo service apache2 start
open in brownser: http://laravel.example.com
you should see: Laravel 5
################### UBUNTU - FRESH Install with sublime and npm
to install NPM is very easy, just send this command:
sudo apt-get install npm