Skip to content

Instantly share code, notes, and snippets.



Last active Mar 5, 2017
What would you like to do?
X2GO PHPStorm Demo
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y install software-properties-common
# X2Go
add-apt-repository -y ppa:x2go/stable && apt-get update
apt-get -y install x2goserver
# Download PHPStorm
mkdir /opt/phpstorm
curl -sL | tar zx -C /opt/phpstorm --strip-components 1
ln -s /opt/phpstorm/bin/ /usr/local/bin/phpstorm
# Install Firefox
apt-get -y install firefox
# Basic LAMP stack
apt-get -y install git lamp-server^ php5 php5-mhash php5-mcrypt php5-curl php5-cli php5-mysql php5-gd php5-intl php5-xsl
php5enmod mcrypt
# File permissions
usermod -a -G www-data ubuntu
chmod -R ug+rw /var/www; chown -R ubuntu:www-data /var/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment