Skip to content

Instantly share code, notes, and snippets.

@63phc
Last active December 9, 2016 06:36
Show Gist options
  • Select an option

  • Save 63phc/48bef089e8448541560b73d1b45c430d to your computer and use it in GitHub Desktop.

Select an option

Save 63phc/48bef089e8448541560b73d1b45c430d to your computer and use it in GitHub Desktop.
///Work Machine
sudo apt install chromium-browser
///LAMP
sudo apt -y update && sudo apt -y upgrade && sudo apt -y install lamp-server^ && sudo apt -y install phpmyadmin
///phpmyadmin
sudo ln -s /usr/share/phpmyadmin /var/www/html
///need ext for server in php
sudo apt-get install php7.0-intl
sudo apt-get install php7.0-mbstring
sudo apt-get install zip unzip
///curl
sudo apt install curl
///git
sudo apt install git
//download and install composer:
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
composer global require "fxp/composer-asset-plugin:~1.1.1"
///yii2
composer create-project --prefer-dist yiisoft/yii2-app-basic dev
composer create-project --prefer-dist yiisoft/yii2-app-advanced dev
///root ---
sudo apt install root-system-bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment