sudo su
apt-get update && apt-get install -y libvirt-dev ruby-all-dev apparmor-utils
curl -O -L https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb
dpkg -i vagrant_1.6.5_x86_64.deb
aa-complain /usr/lib/libvirt/virt-aa-helper # workaround
exit
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: Setup Windows machine with Ansible | |
| hosts: all | |
| gather_facts: false | |
| pre_tasks: | |
| - name: Setup WinRM, PSRP | |
| community.windows.psexec: | |
| hostname: '{{ hostvars[inventory_hostname]["ansible_host"] | default(inventory_hostname) }}' | |
| connection_username: '{{ ansible_user }}' | |
| connection_password: '{{ ansible_password }}' |
Moved to git repository: https://github.com/denji/nginx-tuning
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
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/bash | |
| ## Install ISPConfig 3.x on Debian 9 64Bits | |
| ## ISPConfig3 3.x + Apache2 + Debian 9 64Bits | |
| ## VM HD 50GB, swap 2GB, / 20GB, /var/www all | |
| ## Filesystem ext4 | |
| ## Run as root | |
| ## Link: https://www.howtoforge.com/tutorial/perfect-server-debian-9-stretch-apache-bind-dovecot-ispconfig-3-1 | |
| # Check if user has root privileges |
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/bash | |
| ## Install ISPConfig 3.x on CentOS 7 64Bits | |
| ## http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-centos.html | |
| ## https://www.howtoforge.com/tutorial/perfect-server-centos-7-2-apache-mysql-php-pureftpd-postfix-dovecot-and-ispconfig/2/ | |
| ## http://nareshv.blogspot.com.br/2014/02/configure-hhvm-with-apache-fastcgi-on.html | |
| ## ISPConfig3 3.x + Apache2 + CentOS 7 64Bits | |
| ## VM HD 50GB, swap 2GB, / 19GB, /var/www all | |
| ## Filesystem ext4 | |
| ## Run as root |