Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
~ # cat /proc/cpuinfo
system type : TrendChip TC3162U SOC
processor : 0
cpu model : R3000 V0.1
BogoMIPS : 330.95
wait instruction : no
microsecond timers : no
tlb_entries : 32
extra interrupt vector : no
To use a yubico U2F token on CentOS/RHEL/Fedora you need to add the specific udev file to your system to recognize them.
Get the udev rules
wget -O /etc/udev/rules.d/70-u2f.rules https://raw.githubusercontent.com/Yubico/libu2f-host/master/70-u2f.rules
Reload device events
<?php | |
function microtime_float() | |
{ | |
list($usec, $sec) = explode(" ", microtime()); | |
return ((float)$usec + (float)$sec); | |
} | |
$i = 0; | |
$maxTime = 0; |
nginx: | |
image: fntlnz/nginx | |
volumes: | |
- docker/nginx/conf:/usr/local/nginx/conf | |
- docker/nginx/logs:/usr/local/nginx/logs | |
volumes_from: | |
- fpm | |
links: | |
- fpm:fpm |
drone: | |
image: drone/drone | |
restart: always | |
privileged: true | |
volumes: | |
- /data/drone:/var/lib/drone | |
- /var/run/docker.sock:/var/run/docker.sock | |
environment: | |
- DRONE_SESSION_SECRET=yoursessionsecrethere | |
- DRONE_GITHUB_CLIENT=yourgithubclientkey |
# Recycle Zombie connections | |
net.inet.tcp.fast_finwait2_recycle=1 | |
net.inet.tcp.maxtcptw=200000 | |
# Increase number of files | |
kern.maxfiles=65535 | |
kern.maxfilesperproc=16384 | |
# Increase page share factor per process | |
vm.pmap.pv_entry_max=54272521 |