For example following command adds user execute permission to an arbitrary file:
git update-index --chmod=+x <file>
git ls-files --stage
git commit -m "Set exec"
# MySQL config files | |
/usr/sbin/mysqld --verbose --help | grep -A 1 "Default options" | |
# composer install | |
curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
For example following command adds user execute permission to an arbitrary file:
git update-index --chmod=+x <file>
git ls-files --stage
git commit -m "Set exec"
http://jpauli.github.io/2015/03/05/opcache.html | |
Configuring OPCache# | |
If you use a framework based application, like a Symfony2 based application, I strongly suggest : | |
you turn off revalidation mechanism on production (turn opcache.validate_timestamps to 0) | |
you deploy using a full new runtime of your scripts, this is the case with Symfony2 applications | |
you size correctly your buffers | |
opcache.memory_consumption, the most important | |
opcache.interned_strings_buffer , monitor your usage, and size accordingly, take care if you tell OPCache to save comments, which you will likely do if you use PHP "annotations" (opcache.save_comments = 1), those are strings, big strings, that will eat your interned strings buffer |
=== Symlink Support in Windows | |
The first step is installing Polsedit - User Policies Editor. When you open it, look for Create symbolic links. | |
http://www.southsoftware.com/polsedit.zip | |
Double click the row, click Add User or Group... and look for your username in the list. | |
Closing the app will automatically save your choices, and you'll need to reboot your machine. | |
=== Updating fresh system | |
;; Edit /etc/yum.conf and set installonly_limit: 2 | |
yum upgrade | |
reboot |