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
| --- | |
| - name: test if grub configured for noop i/o scheduler | |
| command: egrep -q 'elevator=noop' /boot/grub2/grub.cfg | |
| register: grub | |
| changed_when: no | |
| failed_when: grub_test.rc == 2 | |
| - name: configure grub for noop i/o scheduler | |
| sudo: yes | |
| command: grubby --update-kernel=ALL --args=elevator=noop |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am le9i0nx on github. | |
| * I am le9i0nx (https://keybase.io/le9i0nx) on keybase. | |
| * I have a public key whose fingerprint is 1607 1F5E D9B3 44AE 72EB F1D1 DAA9 DC5E 750C 1E85 | |
| To claim this, I am signing this object: |
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
| install the packages | |
| # yum install php-fpm php-ldap | |
| then make sure php-fpm can create sessions | |
| and change user and group to be nginx | |
| see /etc/php-fpm.d/www.conf for more details | |
| # sed -i -e 's/apache/nginx/g' /etc/php-fpm.d/www.conf | |
| # sed -i -e 's/;catch_workers_output = yes/catch_workers_output = yes/' /etc/php-fpm.d/www.conf |