Let's Encrypt(certbot)

$ cat certbot.sh

docker run -it --rm --name certbot \

  -v '/etc/letsencrypt:/etc/letsencrypt' \

  -v '/var/lib/letsencrypt:/var/lib/letsencrypt' \

  certbot/certbot certonly -d '*.4wxyz.com' \

  --manual --preferred-challenges dns.

  --server https://acme-v02.api.letsencrypt.org/directory

 

$ chmod +x certbot.sh

 

$ sh certbot.sh

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Plugins selected: Authenticator manual, Installer None

Obtaining a new certificate

Performing the following challenges:

dns-01 challenge for 4wxyz.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

NOTE: The IP of this machine will be publicly logged as having requested this

certificate. If you're running certbot in manual mode on a machine that is not

your server, please ensure you're okay with that.

 

Are you OK with your IP being logged?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(Y)es/(N)o: y

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Please deploy a DNS TXT record under the name

_acme-challenge.4wxyz.com with the following value:

 

UTECS7sGUjtKAMICmqn9t9owcxFgRgjy6Wwx64SAPBk

 

Before continuing, verify the record is deployed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Press Enter to Continue

 

<=== Register txt record on dns server(/etc/resolv.conf Authoritative DNS server) ===>

 

Waiting for verification...

Cleaning up challenges

 

IMPORTANT NOTES:

 - Congratulations! Your certificate and chain have been saved at:

   /etc/letsencrypt/live/4wxyz.com/fullchain.pem

   Your key file has been saved at:

   /etc/letsencrypt/live/4wxyz.com/privkey.pem

   Your cert will expire on 2019-09-09. To obtain a new or tweaked

   version of this certificate in the future, simply run certbot

   again. To non-interactively renew *all* of your certificates, run

   "certbot renew"

 - If you like Certbot, please consider supporting our work by:

 

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate

   Donating to EFF:                    https://eff.org/donate-le

 

$ ls -l /etc/letsencrypt/live/4wxyz.com/*

lrwxrwxrwx 1 root root  33 Jun 11 14:14 /etc/letsencrypt/live/4wxyz.com/cert.pem -> ../../archive/4wxyz.com/cert1.pem

lrwxrwxrwx 1 root root  34 Jun 11 14:14 /etc/letsencrypt/live/4wxyz.com/chain.pem -> ../../archive/4wxyz.com/chain1.pem

lrwxrwxrwx 1 root root  38 Jun 11 14:14 /etc/letsencrypt/live/4wxyz.com/fullchain.pem -> ../../archive/4wxyz.com/fullchain1.pem

lrwxrwxrwx 1 root root  36 Jun 11 14:14 /etc/letsencrypt/live/4wxyz.com/privkey.pem -> ../../archive/4wxyz.com/privkey1.pem

-rw-r--r-- 1 root root 692 Jun 11 14:14 /etc/letsencrypt/live/4wxyz.com/README

 

 

$ sh certbot_renew.sh

docker run -it --rm --name certbot \

  -v '/etc/letsencrypt:/etc/letsencrypt' \

  -v '/var/lib/letsencrypt:/var/lib/letsencrypt' \

  certbot/certbot --renew-by-default certonly -d '*.4wxyz.com' \

  --manual --preferred-challenges dns \

  --server https://acme-v02.api.letsencrypt.org/directory

 

$ chmod +x certbot_renew.sh

 

$ sh certbot_renew.sh

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Plugins selected: Authenticator manual, Installer None

Renewing an existing certificate

 

IMPORTANT NOTES:

 - Congratulations! Your certificate and chain have been saved at:

   /etc/letsencrypt/live/4wxyz.com/fullchain.pem

   Your key file has been saved at:

   /etc/letsencrypt/live/4wxyz.com/privkey.pem

   Your cert will expire on 2019-09-09. To obtain a new or tweaked

   version of this certificate in the future, simply run certbot

   again. To non-interactively renew *all* of your certificates, run

   "certbot renew"

 - If you like Certbot, please consider supporting our work by:

 

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate

   Donating to EFF:                    https://eff.org/donate-le

 

$ crontab -l

### domain renew

00 10 1-7 * *   [ "`date '+\%a'`" == Mon ] && /bin/bash /app/letsencrypt/certbot_renew.sh > /dev/null 2>&1

'___기타' 카테고리의 다른 글

[open source] knockpy : Subdomain Scanner  (0) 2019.08.07
Let's Encrypt(certbot)  (0) 2019.06.11
[MAC] geoiplookup 명령어 설치  (0) 2018.09.07
[URL] Rackmonkey  (0) 2017.06.07
[ANSIBLE] 계정 생성 및 삭제  (0) 2017.04.25
[ANSIBLE] 일반 계정 생성  (0) 2017.04.25
댓글 남기기

[사이트 URL] io 드로잉

draw.io


https://www.draw.io/

'___사이트URL' 카테고리의 다른 글

[사이트 URL] io 드로잉  (0) 2018.11.15
[사이트 URL] 조회 사이트  (0) 2018.11.12
[URL] patorjk.com  (0) 2018.10.23
[URL] Text to ASCII Art Generator  (0) 2018.10.23
[URL] Easy Bash PS1 Generator  (0) 2018.10.23
[URL] HeidiSQL  (0) 2018.08.13
댓글 남기기

[사이트 URL] 조회 사이트

wintelguy.com


https://wintelguy.com

'___사이트URL' 카테고리의 다른 글

[사이트 URL] io 드로잉  (0) 2018.11.15
[사이트 URL] 조회 사이트  (0) 2018.11.12
[URL] patorjk.com  (0) 2018.10.23
[URL] Text to ASCII Art Generator  (0) 2018.10.23
[URL] Easy Bash PS1 Generator  (0) 2018.10.23
[URL] HeidiSQL  (0) 2018.08.13
댓글 남기기

[apache] apache(http) ab

apache(http) ab


Usage: ab [options] [http[s]://]hostname[:port]/path

Options are:

    -n requests     Number of requests to perform

    -c concurrency  Number of multiple requests to make at a time

    -t timelimit    Seconds to max. to spend on benchmarking

                    This implies -n 50000

    -s timeout      Seconds to max. wait for each response

                    Default is 30 seconds

    -b windowsize   Size of TCP send/receive buffer, in bytes

    -B address      Address to bind to when making outgoing connections

    -p postfile     File containing data to POST. Remember also to set -T

    -u putfile      File containing data to PUT. Remember also to set -T

    -T content-type Content-type header to use for POST/PUT data, eg.

                    'application/x-www-form-urlencoded'

                    Default is 'text/plain'

    -v verbosity    How much troubleshooting info to print

    -w              Print out results in HTML tables

    -i              Use HEAD instead of GET

    -x attributes   String to insert as table attributes

    -y attributes   String to insert as tr attributes

    -z attributes   String to insert as td or th attributes

    -C attribute    Add cookie, eg. 'Apache=1234'. (repeatable)

    -H attribute    Add Arbitrary header line, eg. 'Accept-Encoding: gzip'

                    Inserted after all normal header lines. (repeatable)

    -A attribute    Add Basic WWW Authentication, the attributes

                    are a colon separated username and password.

    -P attribute    Add Basic Proxy Authentication, the attributes

                    are a colon separated username and password.

    -X proxy:port   Proxyserver and port number to use

    -V              Print version number and exit

    -k              Use HTTP KeepAlive feature

    -d              Do not show percentiles served table.

    -S              Do not show confidence estimators and warnings.

    -q              Do not show progress when doing more than 150 requests

    -g filename     Output collected data to gnuplot format file.

    -e filename     Output CSV file with percentages served

    -r              Don't exit on socket receive errors.

    -h              Display usage information (this message)

    -Z ciphersuite  Specify SSL/TLS cipher suite (See openssl ciphers)

    -f protocol     Specify SSL/TLS protocol

                    (SSL3, TLS1, TLS1.1, TLS1.2 or ALL)

'___APM' 카테고리의 다른 글

[apache] apache(http) ab  (0) 2018.11.09
PHP 7.2 설치(업그레이드) [CentOS 7 / remi RPM repository]  (0) 2018.06.19
[nginx] nginx upstream 옵션  (0) 2016.03.16
[HTTP] HTTP Status Code  (0) 2015.08.12
[MariaDB] MariaDB 소스 설치  (0) 2015.08.04
[APM] APM 설치_20150209  (0) 2015.02.09
댓글 남기기

[URL] patorjk.com

patorjk.com


http://patorjk.com/


Apps
Gradient Image GeneratorFor creating gradient images (an image that fades from one color to another). A very old app and there aren't many good reasons use it. But it's here just in case.
Gradient Image GeneratorCreates a color palette from an image. I made it one afternoon on a lark a long time ago.
Keyboard Layout AnalyzerThe default layout of the keys on your keyboard is not very good. There are actually several popular layouts you can set yourself up with. This app analyzes the text you type and lets you see what layout would benefit you most.
Old School Gaming FiltersTakes a photo and converts it into what it may have looked like on an old school gaming console.
Text Color FaderCreate color faded text for your HTML documents, emails, profiles, message board posts, and whatever else you can think of.
Text to ASCII Art GeneratorCreate text art from words. Like this:
              __                 __ __    
___________ _/  |_  ___________ |__|  | __
\____ \__  \\   __\/  _ \_  __ \|  |  |/ /
|  |_> > __ \|  | (  <_> )  | \/|  |    < 
|   __(____  /__|  \____/|__/\__|  |__|_ \
|__|       \/               \______|    \/
						
Typing Speed TestHow fast kind you type? This app is kind of old, but still serves its purposes and it gives you some nice stats and has some handy options.
Social Media ShowdownWho�셲 more popular on the web? Various APIs are used to pit websites against each other to see who is �쏬iked�� the most.
Years Spent Watching YouTubeAn app that will tell you how many viewing years people have put into watching particular YouTube videos. (edit: not really accurate since people don't watch videos to completion, I'll probably remove this app at some point)
Visualizations
Computer Science SalariesBased on U.S. Bureau of Labor Statistics data (2013).
Game of Throne Character AppearancesA visualization showing the appearances of various GoT characters.
Nutrition CalculatorNutrition calculator for various fast food places.
Space DustA visualization of size and scale in the universe.
Games and Misc
Scrolling Text Time WasterColors, scrolling, fun?
SnakeJavaScript Snake game. The classic game of snake done in JS.
Slider PuzzlesAn assortment of various slider puzzles with a neat spinning interface.
179 Ways to Annoy PeopleFunny list from an old AOL chain letter.
Arial ASCII ArtA collection of ASCII Art from the AOL community of the late 90's.
Visual Basic 6.0 (legacy content)
Visual Basic Arrays Tutorial by Adam WehmannAn array tutorial that covers the basics of arrays and how you use them in VB.
Visual Basic 6.0 Code BankA large collection of popular code samples written in Visual Basic 5.0 and 6.0.
Visual Basic 6.0 Example ArchiveA collection of Visual Basic code that was submitted to patorjk.com between the years of 1998 and 2003. Examples cover everything from AOL add-on programming to working with files to image manipulation to menu customization to the Windows API and much more.

원본 URL : http://patorjk.com/

'___사이트URL' 카테고리의 다른 글

[사이트 URL] io 드로잉  (0) 2018.11.15
[사이트 URL] 조회 사이트  (0) 2018.11.12
[URL] patorjk.com  (0) 2018.10.23
[URL] Text to ASCII Art Generator  (0) 2018.10.23
[URL] Easy Bash PS1 Generator  (0) 2018.10.23
[URL] HeidiSQL  (0) 2018.08.13
댓글 남기기
◀ PREV 12345···132 NEXT ▶