sudo apt install inotify-tools
server { | |
listen 80 default_server; | |
server_name readydedis.com www.readydedis.com; | |
return 301 https://readydedis.com$request_uri; | |
} | |
# HTTPS server | |
# | |
server { | |
listen 443; |
# Optimized MySQL configuration for cPanel servers by Kani Baspinar - Updated June 2016 | |
# | |
# The settings provided below are a starting point for a 24GB RAM server with 8 CPU cores. | |
# If you have less or more resources available you MUST adjust accordingly to save CPU, RAM and disk I/O usage. | |
# To fine tune these settings for your system, use MySQL DB diagnostics tools like: | |
# Test your configuration ; https://launchpad.net/mysql-tuning-primer | |
# or | |
# http://blog.mysqltuner.com/download/ | |
# Note that if there is NO comment beside a setting, then you don't need to adjust it. | |
# |
I'm in no case responsible for fried hardware, erased software or burning down houses. Make sure your miners are always well cooled.
Though you can easily mix nVidia and AMD in the same rig with Linux, it's recommended to use a different thread for each platform so a Driver crash doesn't bring the whole rig down. It should be noted however, that some mining software have trouble when both architecture are found on the same rig.
#!/bin/bash | |
# | |
# Adds Cloudflare IPV4 addresses to the Inbound rules of a AWS Security Group | |
# | |
## defining helper functions first | |
# show usage | |
show_usage() { |
server { listen 80; | |
server_name example.com; | |
access_log /var/log/example.com/nginx.access.log; | |
error_log /var/log/example.com/nginx.error.log; | |
root /var/www/apps/example.com/public; | |
charset utf-8; | |
location / { | |
rewrite ^ https://$host$request_uri? permanent; | |
} |
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.
0x080F411222C9F010D9c8fA053cf4c350E49609F0 |
I hereby claim:
- I am mmitech on github.
- I am mmitech (https://keybase.io/mmitech) on keybase.
- I have a public key ASC_rgi1QLkJ1Ve5t5NTlmO-llXeBt6xKYgihac4Y9mVXgo
To claim this, I am signing this object: