Skip to content

Instantly share code, notes, and snippets.

@topwebmaster
Last active August 29, 2015 14:08
Show Gist options
  • Save topwebmaster/160c2c807f954d78f607 to your computer and use it in GitHub Desktop.
Save topwebmaster/160c2c807f954d78f607 to your computer and use it in GitHub Desktop.
Vagrant Ubuntu Lamp Ruby Python - quick settings fot dev env. Настройка окружения для PHP
for non english sudo apt-get install language-pack-UTF-8 or sudo locale-gen UTF-8
http://freetonik.com/blog/all/vagrant/
Adding repos
sudo add-apt-repository -y ppa:ondrej/php5 && sudo add-apt-repository -y ppa:ondrej/mysql-5.6 && sudo apt-add-repository -y ppa:phalcon/stable
sudo apt-get install fish arj cabextract gcc make apache2 php5 libapache2-mod-php5 apache2-utils php5-curl php5-gd php5-intl php5-mcrypt php5-mysql php5-odbc php5-dev mysql-server-5.6 mysql-client curl libpcre3-dev mc php-apc python-software-properties
if mysql not starting
sudo mkdir /var/run/mysqld
sudo mkfifo /var/run/mysqld/mysqld.sock
sudo chown -R mysql /var/run/mysqld
sudo update-rc.d apache2 disable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment