Skip to content

Instantly share code, notes, and snippets.

@lcdss
Last active November 6, 2016 22:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lcdss/a6852e7966e97c7e4875 to your computer and use it in GitHub Desktop.
Save lcdss/a6852e7966e97c7e4875 to your computer and use it in GitHub Desktop.
Elementary OS - PHP/Node.js Developers
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-add-repository -y ppa:philip.scott/elementary-tweaks
sudo apt-add-repository -y ppa:git-core/ppa
sudo apt-add-repository -y ppa:ondrej/php
sudo add-apt-repository -y ppa:webupd8team/java
sudo add-apt-repository -y ppa:mc3man/mpv-tests
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y elementary-tweaks google-chrome-stable git php7.0-cli nodejs oracle-java8-installer mpv build-essential
wget -O atom.deb https://atom.io/download/deb -c
wget -O vagrant.deb https://releases.hashicorp.com/vagrant/1.8.4/vagrant_1.8.4_x86_64.deb -c
wget -O http://download.virtualbox.org/virtualbox/5.0.24/virtualbox-5.0_5.0.24-108355~Ubuntu~xenial_amd64.deb -c
sudo dpkg -i atom.deb virtualbox.deb vagrant.deb
# install the last version of npm, gulp, bower and ncu
sudo npm install -g npm gulp bower npm-check-updates
apm install atom-beautify atom-material-syntax atom-material-ui color-picker \
docblockr editorconfig emmet file-icons git-blame git-plus language-babel \
language-vue language-blade language-twig merge-conflicts minimap pigments \
linter linter-php linter-ruby linter-eslint wakatime highlight-line \
highlight-selected activate-power-mode atom-autocomplete-php
# install composer into /usr/local/bin directory
sudo curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin -- --filename=composer
mkdir -p ~/Code ~/Vagrant ~/.ssh
git clone https://github.com/laravel/homestead.git ~/Vagrant/homestead
cd ~/Vagrant/homestead
bash init.sh
#################### Ubuntu Gnome #####################
# Remove some gnome dependencies and recommended packages
sudo apt purge -y aisleriot bluez bluez-cups brltty brasero brasero* cheese cups cups* deja-dup-* empathy evolution \
gnome-bluetooth gnome-calendar gnome-contacts gnome-documents gnome-getting-started-docs gnome-mahjongg \
gnome-maps gnome-mines gnome-music gnome-orca gnome-photos gnome-sudoku gnome-user-guide gnome-weather libreoffice-* \
mousetweaks nautilus-share printer-driver* pulseaudio-module-bluetooth rhythmbox rhythmbox-plugin-magnatune simple-scan \
thunderbird thunderbird-gnome-support telepathy-idle totem usb-creator-gtk xdiagnose yelp yelp* whoopsie
sudo apt update
sudo apt upgrade -y
sudo apt install -y curl wget
sudo apt-add-repository -y ppa:git-core/ppa
sudo apt-add-repository -y ppa:ppa:ondrej/php
sudo apt-add-repository -y ppa:numix/ppa
sudo add-apt-repository ppa:nginx/development
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt install -y google-chrome-stable git php7.0-fpm php7.0-dom php7.0-gd php7.0-mysql php7.0-mbstring nginx-light nodejs \
numix-gtk-theme numix-gtk-theme numix-icon-theme-circle build-essential
wget -O atom.deb https://atom.io/download/deb -c
wget -O slack.deb https://downloads.slack-edge.com/linux_releases/slack-desktop-2.2.1-amd64.deb -c
wget -O workbench.deb http://cdn.mysql.com//Downloads/MySQLGUITools/mysql-workbench-community-6.3.8-1ubu1604-amd64.deb -c
wget -O virtualbox.deb http://download.virtualbox.org/virtualbox/5.1.8/virtualbox-5.1_5.1.8-111374~Ubuntu~yakkety_amd64.deb -c
wget -O vagrant.deb https://releases.hashicorp.com/vagrant/1.8.7/vagrant_1.8.7_x86_64.deb -c
sudo dpkg -i atom.deb slack.deb workbench.deb virtualbox.deb vagrant.deb
# install the last version of npm and ncu
sudo npm install -g npm npm-check-updates yarn
apm install atom-material-syntax atom-material-ui color-picker \
docblockr editorconfig emmet file-icons git-plus language-babel \
language-vue language-blade pigments \
linter linter-php highlight-line \
highlight-selected wakatime
# install composer into /usr/local/bin directory
sudo curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin -- --filename=composer
mkdir -p ~/Code ~/Vagrant ~/.ssh
git clone https://github.com/laravel/homestead.git ~/Vagrant/homestead
cd ~/Vagrant/homestead
bash init.sh
gsettings set org.gnome.desktop.interface gtk-theme "Numix"
gsettings set org.gnome.desktop.wm.preferences theme "Numix"
gsettings set org.gnome.desktop.interface icon-theme "Numix-Circle"
sudo rm atom.deb slack.deb workbench.deb virtualbox.deb vagrant.deb
sudo apt autoremove -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment