Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| # Update, upgrade and install development tools: | |
| apt-get update | |
| apt-get -y upgrade | |
| apt-get -y install build-essential git-core curl libssl-dev \ | |
| libreadline5 libreadline5-dev \ | |
| zlib1g zlib1g-dev \ | |
| libmysqlclient-dev \ | |
| libcurl4-openssl-dev \ | |
| libxslt-dev libxml2-dev |
| #!/bin/bash | |
| # per-user install | |
| echo 'if [ -z "$(type rbenv 2> /dev/null | head -1 | grep function)" ]; then' >> ~/.bashrc | |
| echo ' export RBENV_ROOT=/usr/local/rbenv' >> ~/.bashrc | |
| echo ' export PATH=$RBENV_ROOT/bin:$PATH' >> ~/.bashrc | |
| echo ' eval "$(rbenv init -)"' >> ~/.bashrc | |
| echo 'fi' >> ~/.bashrc |