일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- LetsEncrypt
- vscode
- php
- mysql
- SSL
- launch.json
- root
- git pull
- Apache
- centos
- Certbot
- Google Cloud
- https
- CentOS7
- new user
- Xdebug
- Fail2ban
- child theme
- 구글 클라우드
- html
- front page
- Liniux
- crontab
- Mac
- MariaDB
- home page
- DOM Parser
- wordpress
- Linux
- non-www
- Today
- Total
목록Software Development Engineering/Dev.Info. (9)
between 0 and 1
Step 1. create ssl certificate $ letsencrypt Step 2. create .htaccess file on webroot and save below contents. RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{ENV:HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,R=301,NE] Step 3. set vhost.conf ServerName example.com ServerAlias ww..
To renew ssl automatically, We can use crontab. Step 1. enter crontab edit mode $ sudo crontab -e Step 2. certbot auto-renewal script ## certbot 30 4 * * 0 certbot renew >> /home/log/certbot/cert_$(date +\%Y\%m\%d).log above script will be executed 4:30 AM on every Sunday. and the execution log will be stored in the "/home/log/certbot/" folder.
Prerequisites - CentOS - Apache Web Server on CentOS Step 1 - Installing the Crertbot Let's Encrypt Client $ sudo yum install epel-release $ sudo yum install certbot python2-certbot-apache mod_ssl -y Step 2 - Obtaining a Certificate $ sudo letsencrypt Step 3 - set information and select domain for ssl 1) set email address Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected:..
1. create a new repository on Github 2. move to existing project and initiate git 1) touch .gitignore 2) git init 3) git add . 4) git commit -m "any message" 5) git remote add origin https://github/~~.git 6) git push origin master 3. move to Github 4. set default branch to "master" 5. delete "main" branch
how to solve "git pull" error in vscode error: There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details git pull If you wish to set tracking information for this branch you can do so with: git branch --set-upstream develop origin/ as descirbed in error message, we need just set an upstream branch ex. git branch --set..
Local SSL development (for localhost) 1) create Certificate authority (CA) for local machine $> openssl req -x509 -nodes -new -sha256 -days 1024 -newkey rsa:2048 -keyout RootCA.key -out RootCA.pem -subj "/C=US/CN=Example-Root-CA" $> openssl x509 -outform pem -in RootCA.pem -out RootCA.crt 2) create Domain name certificate create a domains.ext file with following contents authorityKeyIdentifier=k..
httpd-vhosts.conf ServerName localhost ServerAlias www.localhost Redirect permanent / https://localhost DocumentRoot "/Users/devxpert/Dev/webroot" ServerName localhost ServerAlias www.localhost Protocols h2 http/1.1 Redirect permanent / https://localhost SSLEngine on SSLCertificateFile "/Users/devxpert/Dev/webroot/ssl/localhost.crt" SSLCertificateKeyFile "/Users/devxpert/Dev/webroot/ssl/localhos..
OS Start Stop Load & Unload (Run at Startup) List Linus systemctl start daemon systemctl stop daemon Load: systemctl enable daemon Unload: systemctl disable daemon systemctl list MaxOS launchctl start daemon launchctl stop daemon Load: launchctl load daemon Unlaod: launchctl unload daemon launchctl list
유튜브 썸네일 주소 목록 https://img.youtube.com/vi//0.jpg https://img.youtube.com/vi//1.jpg https://img.youtube.com/vi//2.jpg https://img.youtube.com/vi//3.jpg https://img.youtube.com/vi//default.jpg https://img.youtube.com/vi//hqdefault.jpg https://img.youtube.com/vi//mqdefault.jpg https://img.youtube.com/vi//sddefault.jpg https://img.youtube.com/vi//maxresdefault.jpg