
Manufacturer: Humax Automotive Co. Ltd.
Model: HARN1003 RV2D-C3010E
Made in Korea
Manufacturer: Humax Automotive Co. Ltd.
Model: HARN1003 RV2D-C3010E
Made in Korea
Random read/write test
– Create 256MB file.
– Perform 4KB reads and writes.
– Using a 75%/25% (3 reads every 1 write) split within the file.
– 64 operations running at a time
1 |
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=fiotest --bs=4k --numjobs=1 --iodepth=64 --size=256M --readwrite=randrw --rwmixread=75 --runtime=30 --time_based |
Follow this article:
https://sideras.net/2016/02/24/lets-encrypt-https-certificates-for-openvpn-as-access-server/
Auto renew by adding crontab
1 |
0 0,12 * * * python -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/openvpn_as/scripts/renew_sslcert |
renew_ssl is a bash script as below
1 2 3 4 5 6 7 8 9 |
#!/bin/bash certbot renew | grep 'No renewals were attempted' if [ $? -ne 0 ] then /usr/local/openvpn_as/scripts/confdba -mk cs.ca_bundle -v "`cat /etc/letsencrypt/live/<site_domain>/fullchain.pem`" /usr/local/openvpn_as/scripts/confdba -mk cs.priv_key -v "`cat /etc/letsencrypt/live/<site_domain>/privkey.pem`" > /dev/null /usr/local/openvpn_as/scripts/confdba -mk cs.cert -v "`cat /etc/letsencrypt/live/<site_domain>/cert.pem`" service openvpnas restart fi |
Private key from PPK to PEM
1 |
puttygen <path_to_input_ppk_file> -O private-openssh -o <path_to_output_pem_file> |