As configured in my dotfiles.
start new:
tmux
start new with session name:
/*============================================================================ | |
Name : LinkedList.java | |
Author : Eric Swanson | |
Date : Sep 7, 2011 | |
Version : | |
Description : | |
Copyright (C) 2011 Eric Swanson | |
This program is free software: you can redistribute it and/or modify |
As configured in my dotfiles.
start new:
tmux
start new with session name:
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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.
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
" Turn on syntax highlighting | |
syntax on |
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk.
This process is outlined at the Nginx ngx_http_fastcgi_module page manual page.
Exploring management options for an ESXi server in a home/lab environment.
# tmxsync: bring all windows as panes into one window and activate the "synchronize-panes" option | |
# tmxunsync: split all panes into different windows and deactivate the "synchronize-panes" option. | |
# Licence: | |
# To the extent possible under law I, Konstantinos Koukopoulos, have waived all copyright and related or neighboring rights to tmxsync.sh, as describe by the CC0 document: | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
# This work is published from: Greece. | |
tmxsync () { | |
export _TMUX_SYNC=1; |