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
| # This will tell folder sizes not file sizes | |
| du -ch --max-depth=1 |
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
| # Create kpdev user | |
| useradd kpdev | |
| # Install rvm for system | |
| bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) | |
| # First you need to add all users that will be using rvm to 'rvm' group, | |
| # and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`. | |
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
| # https://help.ubuntu.com/lts/serverguide/puppet.html | |
| # http://docs.puppetlabs.com/puppet_core_types_cheatsheet.pdf | |
| # http://docs.puppetlabs.com/module_cheat_sheet.pdf | |
| # http://docs.puppetlabs.com/references/latest/type.html | |
| # http://docs.puppetlabs.com/puppet/latest/reference/lang_summary.html |
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
| # http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-on-ubuntu-11.04 | |
| $ sudo apt-get install php5-fpm | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| Suggested packages: | |
| php-pear | |
| The following NEW packages will be installed: |
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
| # http://piwik.org/docs/installation/ | |
| # http://piwik.org/docs/requirements/ | |
| $ sudo chown -R _www:_www /Library/WebServer/Documents/analytics/piwik | |
| # TRACKING CODE # | |
| <!-- Piwik --> | |
| <script type="text/javascript"> | |
| var _paq = _paq || []; |
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
| $ sudo subl /private/etc/apache2/httpd.conf | |
| # Uncomment line | |
| LoadModule php5_module libexec/apache2/libphp5.so | |
| # Add lines | |
| <IfModule mod_php5.c> | |
| AddType application/x-httpd-php .php | |
| AddType application/x-httpd-php-source .phps |
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
| require "benchmark" | |
| puts(Benchmark.measure { sleep 0.5 }) |
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
| setfacl | |
| getfacl |
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
| # http://www.modrails.com/documentation/Users%20guide%20Nginx.html#_installation | |
| sudo apt-add-repository ppa:brightbox/passenger | |
| Nginx with Passenger support was successfully installed. | |
| The Nginx configuration file (/opt/nginx/conf/nginx.conf) | |
| must contain the correct configuration options in order for Phusion Passenger | |
| to function correctly. | |
| This installer has already modified the configuration file for you! The |
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
| # http://hendrelouw73.wordpress.com/2012/11/14/how-to-install-postgresql-9-1-on-ubuntu-12-10-linux/ |