Last active
May 16, 2016 18:59
-
-
Save truetamtam/f712c60d1766bbcae61b to your computer and use it in GitHub Desktop.
Homestead after.sh commands(for vanilla).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # If you would like to do some extra provisioning you may | |
| # add any commands you wish to this file and they will | |
| # be run after the Homestead machine is provisioned. | |
| # vim & .gitconfig | |
| # | |
| sed -i 's/#force_color_prompt=yes/force_color_prompt=yes/' /home/vagrant/.bashrc | |
| echo "syntax on\nset nu\n" > /home/vagrant/.vimrc | |
| # .gitconfig | |
| curl -o /home/vagrant/.gitconfig https://gist.githubusercontent.com/truetamtam/1c1396c52dfaaeead700/raw/7871a120476a0d30fbbedec0f38eabfc5d851a02/.gitconfig | |
| # locale | |
| # | |
| locale-gen ru_RU.UTF-8 | |
| update-locale | |
| # Date | |
| # | |
| echo "Europe/Moscow" > /etc/timezone | |
| dpkg-reconfigure -f noninteractive tzdata | |
| # fpm | |
| # | |
| # opcache | |
| #sed -i 's/;opcache.revalidate_freq=2/opcache.revalidate_freq=0/' /etc/php5/fpm/php.ini | |
| #echo "opcache.revalidate_freq=0" >> /etc/php5/fpm/conf.d/05-opcache.ini | |
| # php error reporting | |
| #sed -i 's/; error_reporting/error_reporting E_ALL/' /etc/php5/fpm/php.ini | |
| #service php5-fpm restart | |
| # for apache2 | |
| # sed -i 's/;opcache.revalidate_freq=2/opcache.revalidate_freq=0/' /etc/php5/apache2/php.ini | |
| # sed -i 's/; error_reporting/error_reporting E_ALL/' /etc/php5/apache2/php.ini | |
| # dev stuff | |
| # tmux npm gulp | |
| # | |
| #npm install -g gulp | |
| #npm install -g npm@latest | |
| #apt-get install -y tmux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment