Skip to content

Instantly share code, notes, and snippets.

@piotrkubisa
Last active August 4, 2016 06:51
Show Gist options
  • Save piotrkubisa/2644aa708757653ba8b9cad66975e65a to your computer and use it in GitHub Desktop.
Save piotrkubisa/2644aa708757653ba8b9cad66975e65a to your computer and use it in GitHub Desktop.
Rocketeer v2 for Ubuntu Xenial Xerus 16.04
# set default locales for system
sudo export LANGUAGE=en_US.UTF-8
sudo export LANG=en_US.UTF-8
sudo export LC_ALL=en_US.UTF-8
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
# utils
sudo apt-get update
sudo apt-get install -y zsh git curl tree aptitude
sudo apt-get install lamp-server^
# mysql
sudo apt-get install mysql-client mysql-server mysql-common
# php 7
sudo apt-get install php-common php-mysql php-cli php-common php-json php-mysql php-opcache php-readline php-pgsql php-zip php-gettext php-dompdf
# phpmyadmin
sudo apt-get install -y phpmyadmin
sudo apt-get install php-gettext php-mbstring
sudo phpenmod mbstring
echo "Include /etc/phpmyadmin/apache.conf" | sudo tee -a /etc/apache2/apache2.conf
sudo service apache2 restart
# ngnix with ssl
sudo apt-get install ssl-cert
# sudo apt-get install lamp-server^
# echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf && sudo a2enconf fqdn
# sudo service apache2 restart
# php composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
# node 6x
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
# golang
sudo apt-get install golang
# postgresql
sudo apt-get install postgresql-server^
@piotrkubisa
Copy link
Author

@piotrkubisa
Copy link
Author

Golang tools:

go get github.com/nsf/gocode
go get github.com/golang/lint/golint
go get golang.org/x/tools/cmd/guru
go get golang.org/x/tools/cmd/goimports
go get golang.org/x/tools/cmd/gorename

@piotrkubisa
Copy link
Author

@piotrkubisa
Copy link
Author

piotrkubisa commented Aug 4, 2016

Enable development settings for php:

sudo mv /etc/php/7.0/apache2/php.ini /etc/php/7.0/apache2/php.ini.back
sudo cp /usr/lib/php/7.0/php.ini-development /etc/php/7.0/apache2/php.ini
sudo service apache2 restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment