profile
undefined ๐Ÿ’๐Ÿปโ€โ™‚๏ธ

Cron ์Šค์ผ€์ค„ ์‹œ๊ฐ„ ์ •์˜

export declare enum CronExpression { EVERY_SECOND = "\* \* \* \* \* ", EVERY_5_SECONDS = "/5 \* \* \* \* ", EVERY_10_SECONDS = "/10 \* \* \*

2022๋…„ 7์›” 26์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

Jenkins

Jenkins ๋ช…๋ น์–ดRegister the Jenkins service with the command:You can start the Jenkins service with the command:You can check the status of the Jenkins se

2022๋…„ 6์›” 24์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

Ubuntu openJDK ์„ค์น˜

Ubuntu 18.04์ž๋ฐ” ์„ค์น˜sudo apt install openjdk-8-jdkpackage ๋ชป ์ฐพ์„ ๊ฒฝ์šฐsudo apt updateํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ •์ž๋ฐ” ๊ฒฝ๋กœ ํ™•์ธprofile ์ถ”๊ฐ€ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์ ์šฉ

2022๋…„ 6์›” 24์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

AWS ์ƒํ˜ธ์ธ์ฆ KEY ๋“ฑ๋ก

AWS ํด๋ผ์ด์–ธํŠธ VPN ์—”๋“œํฌ์ธํŠธ ์ƒ์„ฑ์„ ์œ„ํ•œ ์„œ๋ฒ„ ์ธ์ฆ์„œ ๋“ฑ๋ก ๋ฐฉ๋ฒ•https://docs.aws.amazon.com/ko_kr/vpn/latest/clientvpn-admin/client-authentication.html#mutual

2022๋…„ 6์›” 24์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

AWS ๋„คํŠธ์›Œํฌ

virtual private cloud๊ฐ€์ƒ IP ๋„คํŠธ์›ŒํฌVPC ๋‚ด์— ์žˆ๋Š” PC๋ผ๋ฆฌ๋Š” ์—ฐ๊ฒฐ๋˜์–ด ์žˆ์œผ๋ฉฐ, Private IP(VPC IP)๋ฅผ ํ†ตํ•ด ์„œ๋กœ ํ†ต์‹ ํ•  ์ˆ˜ ์žˆ๋‹ค.๋กœ์ปฌIP ์ด์™ธ์˜ ๋Œ€์ƒ๊ณผ ํ†ต์‹ ํ•  ๊ฒฝ์šฐ NAT Gateway๋กœ ํŠธ๋ž˜ํ”ฝ ์ „์†ก1-4. ์ธํ„ฐ๋„ท ๊ฒŒ์ดํŠธ์›จ์ดinter

2022๋…„ 6์›” 24์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

AWS ํƒ„๋ ฅ์  IP (Elastic IP) EC2 ๊ณ ์ •IP ๋ถ€์—ฌ

AWS EC2๋ฅผ ์ƒ์„ฑํ•˜๋ฉด ๊ธฐ๋ณธ IP๊ฐ’์ด ๊ณ ์ •IP๊ฐ€ ์•„๋‹ˆ๋‹ค.์ธ์Šคํ„ด์Šค๋ฅผ ์ค‘์ง€ ํ›„ ์‹œ์ž‘ํ–ˆ์„ ๋•Œ IP๊ฐ€ ๋ณ€๊ฒฝ๋œ๋‹ค.EC2 ์ƒ์„ฑ ํ›„ ํƒ„๋ ฅ์  IP๋ฅผ ์ƒ์„ฑํ•˜์—ฌ EC2 ํ• ๋‹นํ•˜์—ฌ ๊ณ ์ • IP๋ฅผ ์„ค์ •ํ•œ๋‹ค.๊ธฐ๋ณธ์ ์œผ๋กœ ๋ชจ๋“  AWS ๊ณ„์ •์€ region๋‹น 5๊ฐœ์˜ Elastic IP ์ฃผ์†Œ๋กœ ์ œํ•œ๋ฉ๋‹ˆ

2022๋…„ 6์›” 24์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

AWS IAM S3์šฉ ์ •์ฑ… ์ƒ์„ฑ

Jenkins์—์„œ s3 ๋ฐฐํฌ๋ฅผ ์œ„ํ•˜์—ฌ ๋ณ„๋„์˜ ์ •์ฑ…์„ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.IAM ์ •์ฑ… ์ƒ์„ฑJenkins ๋ฐฐํฌ์—์„œ ์‚ฌ์šฉํ•  IAM ์ƒ์„ฑ์ •์ฑ… ์„ธ๋ถ€์‚ฌํ•ญ๋„๋ฉ”์ธ๋ณ„๋กœ ์ •์ฑ…์„ ๋”ฐ๋กœ ๋งŒ๋“ค์–ด IAM ๊ด€๋ฆฌ๋ฅผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.https://docs.aws.amazon.com/ko_kr/IA

2022๋…„ 1์›” 5์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

์†Œ์—ฐ๋ด‡ (Discord bot) - ์‚ฐ์•…ํšŒ ๊ธฐ๋Šฅ ์—…๋ฐ์ดํŠธ

๋””์Šค์ฝ”๋“œ ์‚ฐ์•…ํšŒ ์ฑ„๋„ ๋งŒ๋“  ์ดํ›„ ์‚ฐ ์ •๋ณด๊ฐ€ ํ•„์š”ํ–ˆ์Šต๋‹ˆ๋‹ค.100๋Œ€ ๋ช…์‚ฐ์„ ์ •๋ณตํ•˜๊ธฐ ์œ„ํ•ด ์‚ฐ ์ •๋ณด๋ฅผ ์ˆ˜์ง‘ํ–ˆ์Šต๋‹ˆ๋‹ค.100๋Œ€ ๋ช…์‚ฐ ์ •๋ณด (์‚ฐ๋ฆผ์ฒญ)์•ˆํƒ€๊น๊ฒŒ๋„ ์ œ๊ฐ€ ์•„๋Š” ๋ช‡ ์‚ฐ์€ ๋น ์ ธ์žˆ๋„ค์š”.์จŒ๋“  ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ช…๋ น์–ด๋กœ ๊ตฌ์„ฑ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.100๋Œ€ ๋ช…์‚ฐ์ด ์กฐํšŒ๋ฉ๋‹ˆ๋‹ค.์ •๋ณตํ•œ ์‚ฐ์˜ ๋ชฉ๋ก์™„๋“ฑ

2021๋…„ 10์›” 29์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

์†Œ์—ฐ๋ด‡ (Discord bot) - ๋‚ ์”จ ๊ธฐ๋Šฅ ์—…๋ฐ์ดํŠธ2

์ถ”๊ฐ€๋œ ์ •๋ณดํ•˜๋Š˜์ƒํƒœ๋ฐ”๋žŒ์Šต๋„์ดˆ๊ธฐ๋ฒ„์ „์— ์ดˆ๋‹จ๊ธฐ์‹คํ™ฉ์„ ์‚ฌ์šฉํ–ˆ์—ˆ๋‹ค.์ •๋ณด๋“ค์ด ํ’๋ถ€ํ•˜์ง€ ๋ชปํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•˜์—ฌ ์ดˆ๋‹จ๊ธฐ์˜ˆ๋ณด๋กœ ๋ณ€๊ฒฝ๊ธฐ์˜จ์— ๋”ฐ๋ฅธ ์ด๋ชจ์ฐŒ ์ถ”๊ฐ€์˜ˆ์ •

2021๋…„ 10์›” 16์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

์†Œ์—ฐ๋ด‡(Discord Bot) ์†Œ๊ฐœ

์ด๋ฆ„์„ ๋ถˆ๋Ÿฌ์ฃผ๋ฉด ๋Œ€๋‹ตํ•ด์ฃผ๋Š” ์†Œ์—ฐ์ด์†Œ์—ฐ๋ด‡ ๋ช…๋ น์–ด๋Š” ์ด 36๊ฐ€์ง€์•ผ!์‚ฌ์šฉ๋ฒ• :: ์†Œ์—ฐ์•„ {{๋ช…๋ น์–ด}} {{์˜ต์…˜}}์ฝ”์ธ {{์ด๋ฆ„}}์ฐจํŠธ๋ญ์‚ด๊นŒ์•ˆ๋…•๋“ค์–ด๊ฐ€๋‚˜์™€๊ณ ๋งˆ์›Œ๋ฐ”๋ณด๋ฐฅ์˜ค์‚ฌ๋ž‘ํ•ด์ž๋ผ๋ฌด์•ผํ˜ธ๋ญ๋จน์ง€๋กœ๋˜ํŒ”๊นŒ์‚ด๊นŒ๊ณจ๋ผ์ค˜ {{A}} {{B}}์—ฐ๊ธˆ๋ณต๊ถŒ๋‚ ์”จ๊ฐ€์œ„๋ฐ”์œ„๋ณด๋ช…๋ น์–ด๋ฉ”๋‰ด๋˜๋ผ

2021๋…„ 10์›” 15์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

์†Œ์—ฐ๋ด‡ (Discord bot) - ๋‚ ์”จ ๊ธฐ๋Šฅ ์—…๋ฐ์ดํŠธ

๋””์ฝ”๋ด‡ ๋งŒ๋“ค์–ด ๋†“๊ณ  ๊ณ„์† ์—…๋ฐ์ดํŠธ ํ•ด์™”๋Š”๋ฐ ๋ญ”๊ฐ€ ์•„์‰ฌ์›Œ์—…๋ฐ์ดํŠธ ํžˆ์Šคํ† ๋ฆฌ๋ฅผ ๋‚จ๊ธฐ๊ธฐ๋กœ ํ–ˆ๋‹ค.๊ทธ๋ž˜์„œ ๊ธฐ๋Šฅ์ด ๋งŽ์ง€๋งŒ ๋ฒ„์ „์€ ์ด์ œ์„œ +1..๊ทธ ๋™์•ˆ ๋‚ ์”จ ๊ธฐ๋Šฅ์ด ์žˆ์—ˆ์ง€๋งŒ ๊ตฌ๊ธ€๋งํ•˜๋ฉด ์‰ฝ๊ฒŒ ์–ป์„ ์ˆ˜ ์žˆ๋Š” ๋„ค์ด๋ฒ„ ํฌ๋กค๋งํ•ด์„œ ๋ณด์—ฌ์ฃผ๋Š” ๊ธฐ๋Šฅ์ด์—ˆ๋‹ค.์ž๊ณ ๋กœ ๋ฐ์ดํ„ฐ๋Š” API๋ฅผ ์‚ฌ์šฉํ•ด์„œ ๋ถˆ๋Ÿฌ์™€

2021๋…„ 10์›” 15์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

Amazon EFS EC2 ์—ฐ๊ฒฐ (AWS Nas Storage)

https://aws.amazon.com/ko/efs/AWS EFS 10๋ถ„ ์ž์Šต์„œEFS ์ƒ์„ฑEFS ๋ณด์•ˆ๊ทธ๋ฃน ์ƒ์„ฑ๋ณด์•ˆ๊ทธ๋ฃน์„ ํ†ตํ•ด์„œ instance ๊ทธ๋ฃน์„ ๋Œ€์ƒ์œผ๋กœ ํ—ˆ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.Ubuntu์˜ ๊ฒฝ์šฐ efs-util ์„ค์น˜amazon-efs-utils guide

2021๋…„ 10์›” 15์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

AWS EC2 ์ธ์Šคํ„ด์Šค์™€ ๊ณต์œ  ๋ณผ๋ฅจ(EBS, EFS)

์„œ๋ฒ„ ๊ตฌ์„ฑ์„ ํ•˜๋‹ค๋ณด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•  ๋•Œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.์—ฌ๋Ÿฌ ๋Œ€์˜ ์„œ๋ฒ„์— ๊ณต์œ  ์Šคํ† ๋ฆฌ์ง€๋ฅผ ์—ฐ๊ฒฐํ•ด ํŒŒ์ผ์„ ๊ด€๋ฆฌ๋ฅผ ํ•˜๊ณ  ์‹ถ์–ด์ง€๋Š” ๊ฒฝ์šฐ์š”.์˜ˆ๋“ค ๋“ค์–ด,EC2 API SERVER 1 - Share VolumeEC2 API SERVER 2 - Share VolumeEC2

2021๋…„ 10์›” 15์ผ
ยท
1๊ฐœ์˜ ๋Œ“๊ธ€
ยท

ubuntu ์••์ถ• ํ’€๊ธฐ

์ž‘์„ฑ ์ค‘zip ์••์ถ•ํ’€๊ธฐtar.gz ์••์ถ• ํ’€๊ธฐ

2021๋…„ 10์›” 8์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

AWS S3์— SSL ์ ์šฉํ•˜๊ธฐ (CloudFront) with Angular

๊ธฐ์กด ๋…ธํŠธ์—์„œ ์—…๋ฐ์ดํŠธ๋ฅผ ํ•ด๋ด…์‹œ๋‹ค. Do it !CloudFront ์ƒ์„ฑOrigin Domain Name : s3 web endpoint ๋“ฑ๋กOrigin Path: xDefault Cache Behavior Settings๊ธฐ๋ณธ http and https ์„ค์ •Reques

2021๋…„ 10์›” 6์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

SSL์ธ์ฆ์„œ pfx => jks ๋ณ€ํ™˜

pfx ์— ๊ฐœ์ธํ‚ค, ์„œ๋ฒ„์ธ์ฆ์„œ, ์ฒด์ธ์ธ์ฆ์„œ, ๋ฃจํŠธ์ธ์ฆ์„œ ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ, KeyStore ์— ๋ชจ๋‘ Import ๋จ๋Œ€์ƒ ํ‚ค ์ €์žฅ์†Œ ๋น„๋ฐ€๋ฒˆํ˜ธ ์ž…๋ ฅ: \*\*์ƒˆ ๋น„๋ฐ€๋ฒˆํ˜ธ ๋‹ค์‹œ ์ž…๋ ฅ: \*\*์†Œ์Šค ํ‚ค ์ €์žฅ์†Œ ๋น„๋ฐ€๋ฒˆํ˜ธ ์ž…๋ ฅ: \*\* (pfx์•”ํ˜ธ)www.securesig

2021๋…„ 10์›” 6์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

Ubuntu Nginx ์„ค์น˜ ๋ฐ proxy_pass ์„ค์ •

sites-available/default ํŒŒ์ผ์— ์„ค์ • ์ถ”๊ฐ€server๋ฅผ ๋Š˜๋ฆฌ๋ฉด ๋œ๋‹คํ˜น์€ ์—ฌ๋Ÿฌ ๋„๋ฉ”์ธ์ผ ๊ฒฝ์šฐ ๋„๋ฉ”์ธ ํŒŒ์ผ์— ๊ฐ๊ฐ server ์„ค์ • ํ›„ ๋ณ‘ํ•ฉํ•ด์ค€๋‹ค.test1.domain.comtest2.domain.com์ด ๋ถ€๋ถ„ ๋…ธํŠธ๋Š” ์—…๋ฐ์ดํŠธ ์˜ˆ์ • (๊ธ‰ํ•˜๊ฒŒ ์ž‘์„ฑํ•œ ๋…ธํŠธ

2021๋…„ 10์›” 1์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

Nginx ๊ธฐ๋ณธ ๋ช…๋ น์–ด

$ sudo nginx -tsudo find / -name nginx.conf

2021๋…„ 10์›” 1์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

AWS RDS ์„ค์ • (AWS Database ํŒŒ๋ผ๋ฏธํ„ฐ ์ˆ˜์ •)

AWS console RDSํŒŒ๋ผ๋ฏธํ„ฐ ๊ทธ๋ฃน ์‹ ๊ทœ ์ƒ์„ฑ or ํŽธ์ง‘ํƒ€์ž„์กดtime_zone : Asia/Seoul์ธ์ฝ”๋”ฉcharacter-set-client : utf8character-set-connection : utf8character-set-database : utf8c

2021๋…„ 5์›” 14์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

Deploy Angular Apps with Nginx

! ๋…ธํŠธํ•ด๋‘์—ˆ๋˜ nginx ์„ค์ • ๋ฐฉ๋ฒ•์— ์˜ค๋ฅ˜๊ฐ€ ์žˆ์–ด ์ƒˆ๋กœ์šด ๋ฐฉ๋ฒ•์„ ์—…๋ฐ์ดํŠธ ํ•ด๋‘”๋‹ค.Nginx ์„ค์น˜ ๋ฐ ๋ช…๋ น์–ด ์—…๋ฐ์ดํŠธ ์˜ˆ์ •Nginx versionnginx version: nginx/1.14.0 (Ubuntu)

2021๋…„ 3์›” 29์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท