Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Deploy Node
- https://www.youtube.com/watch?v=1OU5ngq-WyM&list=PLQlWzK5tU-gDyxC1JTpyC2avvJlt3hrIh
- https://www.youtube.com/watch?v=d4QDyHLHZ9c&t=659s
- Step 1:
- ===============
- yum -y install epel-release^C // install if not installed
- Step 2:
- ===============
- yum -y install certbot
- Step 3:
- ===============
- certbot certonly --standalone -d abc-alumni.org // standalone means they use their webserver
- certbot certonly --standalone -d bn.thepostman24.com
- Step 4:
- ==============
- ssl key: (link them on config)
- =========
- /etc/letsencrypt/live/abc-alumni.org/fullchain.pem
- key: /etc/letsencrypt/live/abc-alumni.org/privkey.pem
- /etc/letsencrypt/live/bn.thepostman24.com/fullchain.pem
- Step 4: ( NOT NECCESSARY IF YOU WANT TO BACKUP)
- cp -r copy_folder copy_to_folder
- tar czf name.tar.gz folder_name // zip file
- https://ssl-config.mozilla.org/ // best config ssl genarator
- server version
- ========
- nginx -v
- Reniew:
- ==========
- crontab -e
- 0 12 * * * /usr/bin/certbot renew --quiet
- Problem binding to port 80: Could not bind to IPv4 or IPv6.
- sudo systemctl stop nginx
- sudo systemctl start nginx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement