* Modalhttps://github.com/dougludlow/ng2-bs3-modal-demo-angular-clihttp://embed.plnkr.co/hwbmF9/https://github.com/shlomiassaf/angular2-modal * DateTimePickerhttps://github.com/nkalinov/ng2-datetime * Moment (๋ฐ์ดํฐํ์ํผ์ปค ์ฌ์ฉ์ moment.js ์ค์น ํด์ผํจ)https://github.com/urish/angular2-moment * Paginationhttp://jasonwatmore.com/post/2016/08/23/angular-2-pagination-example-with-logic-like-google * Chartshttp://..
* Basichttps://plnkr.co/edit/su2aiL?p=infohttp://jasonwatmore.com/ * Routerhttps://github.com/simpulton/angular2-website-routeshttp://embed.plnkr.co/eBv3hZZSk9Tx3joykvSQ/ * User Registration and Login Examplehttp://jasonwatmore.com/post/2016/09/29/angular-2-user-registration-and-login-example-tutorial *JWT - Spring securityhttps://github.com/vhoang55/springboot-jwt-angular2
- yum ์ผ๋ก ์ค์น์ ์ค๋๋ ๋ฒ์ ์ด ์ค์น ๋๋ฏ๋ก ๋ฐ๋ก nginx repository ๋ฅผ ๊ตฌ์ฑํ๋๋ก ํ๋ค. #vi /etc/yum.repos.d/nginx.repo ์๋ ๋ด์ฉ์ ์ถ๊ฐ ํ๋ค. [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/7/$basearch/ gpgcheck=0 enabled=1 - ์ค์น #yum install -y nginx - nginx ์ค์ ์ค์ ํ์ผ ์์น : vim /etc/nginx/nginx.conf worker_connections 1024 ๋ฅผ auto ๋ก ๋ณ๊ฒฝ. (์ฌ์ฉํ cpu ์ฝ์ด ๊ฐ์ ) ๊ธฐ๋ณธ ์ค์ ํ์ผ ์์น: /etc/nginx/conf.d/default.conf * nginx.conf ํ์ผ์ def..
//๋ถ๋ชจํ๋ก์ธ์ค๊ฐ WNOHANG์ต์ ์ ์ฌ์ฉํ์ฌ waitpid๋ฅผ ์ฌ์ฉํ ์์ #include #include #include #include #include main() { pid_t pid; int status=0; if((pid=fork())>0) //pid๊ฐ forkํ๊ณ , ๋ถ๋ชจํ๋ก์ธ์ค ์ผ ๊ฒฝ์ฐ { while(!waitpid(pid, &status, WNOHANG)) //์ข ๋ฃํ ์์ํ๋ก์ธ์ค๊ฐ ์์ผ๋ฉด ์ด๋ฅผ ์ ์์ ์ผ๋ก ์ฒ๋ฆฌํ๊ณ , ์์ผ๋ฉด ๊ณง๋ฐ๋ก 0์ ๋ฐํ { printf("parent:%d\n", status++); sleep(1); //1์ด๋ง๋ค status๊ฐ์ ํ์ค ์ถ๋ ฅ ํ๋ฉด์ ์์ํ๋ก์ธ์ค์ ์ข ๋ฃ์ํ๋ฅผ ํ์ธ } printf("parent: child -exit (%d)\n", status); } else ..
//๋ถ๋ชจ ํ๋ก์ธ์ค๊ฐ ๋๊ฐ์ ์์ ํ๋ก์ธ์ค๋ฅผ ์์ฑํ๊ณ ๋์ค์ ์ข ๋ฃ๋๋ ์์ํ๋ก์ธ์ค๋ฅผ ๋จผ์ ์ฒ๋ฆฌํด ์ฃผ๋ ์์ ํ๋ก๊ทธ๋จ #include #include #include #include main() { pid_t pid1, pid2; int status; pid1=pid2=1; pid1=fork(); //pid1 ์์ ์์ฑ ํจ if(pid1>0) //pid1์ด ๋ถ๋ชจ์ผ ๊ฒฝ์ฐ, pid2=fork(); //pid2๋ฅผ forkํ๋ค. if(pid1>0 && pid2>0) //pid1๊ณผ pid2๊ฐ ๋ชจ๋ ๋ถ๋ชจ์ผ ๊ฒฝ์ฐ -> ์์ ์์ฑํ ๋ค์ { waitpid(pid2, &status, 0); //pid2๋ฅผ ๊ธฐ๋ค๋ฆผ //๋๊ธฐ์ํ 0 : ์ผ๋ฐ์ ์ธ ๋๊ธฐ ์ํ๋ก ์ง์ ํ ์์ ํ๋ก์ธ์ค๊ฐ ์ข ๋ฃ๋ ๋๊น์ง ๋๊ธฐ์ํ //WNOWHANG : w..
ํ๋ก์ธ์ค๊ฐ ๋๊ธฐํ : ์๊ทธ๋ ๋์ผํ ์์คํ ๋ด์ ๋ฉ์ธ์ง : ํ์ดํ ์๋ก ๋ค๋ฅธ ์์คํ ์ ํ๋ก์ธ์ค๋ผ๋ฆฌ ๋ฉ์ธ์ง : ์์ผ Interrupt : ๊ธฐ๋ํ์ง ์์ ์ด๋ฒคํธ๋ฅผ ๋ค๋ค ์ผ ํ ๋ ์ ์์ ์ผ๋ก ์คํ๋๊ณ ์๋ ํ๋ก์ธ์ค ์๊ฒ ์ ๋ฌ๋๋ค. ๋ฆฌ๋ ์ค ์์คํ ์ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ฉด ๊ด๋ จ๋ ํ๋ก์ธ์ค์๊ฒ ์ด๋ฒคํธ์ ๊ด๋ จ๋ ์๊ทธ๋์ ๋ณด๋ด๊ฒ ๋๋ค. ์๊ทธ๋์ ์ ์ผํ ๋ฒํธ๊ฐ ๋ถ์ฌ์ ธ ์๋ค. ์) ์ ๋ฉด์์ ์ํ์ค์ธ ํ๋ก์ธ์ค๋ฅผ ๊ฐ์ ๋ก ์ข ๋ฃํ๊ธฐ์ํด ctr+c๋ฅผ ๋๋ฅด๋ฉด ์ปค๋์ ํด๋น ํ๋ก์ธ์ค์๊ฒ SIGTERM์ ์ด๋ฆ์ ์๊ทธ๋์ ๋ณด๋ด๊ฒ ๋๋๋ฐ ์ด๋ 15๋ฒ์ ํด๋น ๋๋ค. ์ปค๋๋ง ์๊ทธ๋์ ๋ณด๋ผ ์ ์๋ ๊ฒ์ด ์๋๊ณ ์ด๋ค ํ๋ก์ธ์ค๋ ์ง ๊ถํ๋ง ์์ผ๋ฉด ์ ํ๋ ํ๋ก์ธ์ค์๊ฒ ํน์ ์๊ทธ๋์ ๋ณด๋ผ ์ ์๋ค. kill๋ช ๋ น์ด๋ ์ง์ ํ ํ๋ก์ธ์ค์๊ฒ SIGTERM ์๊ทธ๋์ ..
*ํ๋ก์ธ์ค ์์ฑ, ์ข ๋ฃ์ ๊ด๋ จ๋ ์์คํ ํธ์ถ/ํ์ค๋ผ์ด๋ธ๋ฌ๋ฆฌ ํจ์ ๋ชฉ๋ก fork : ์์ ๊ณผ ์์ ํ ๋์ผํ ํ๋ก์ธ์ค๋ฅผ ์์ฑํจ exec๊ณ์ด : ์ง์ ํ ์คํ ํ์ผ๋ก๋ถํฐ ํ๋ก์ธ์ค๋ฅผ ์์ฑํ๋ค. exit : ์ข ๋ฃ์ ๋ฐ๋ฅธ ์ํ ๊ฐ์ ๋ถ๋ชจ์๊ฒ ์ ๋ฌํ๋ฉฐ ํ๋ก์ธ์ค๋ฅผ ์ข ๋ฃํ๋ค. atexit : exit๋ก ํ๋ก์ธ์ค๋ฅผ ์ข ๋ฃํ ๋ ์ํํ ํจ์๋ฅผ ๋ฑ๋กํ๋ค. _exit : atexit๋ก ๋ฑ๋กํ ํจ์๋ฅผ ํธ์ถํ์ง ์๊ณ ํ๋ก์ธ์ค๋ฅผ ์ข ๋ฃํ๋ค. * fork fork๋ฅผ ํธ์ถํ ํ๋ก์ธ์ค๋ฅผ ๋ณต์ ํ์ฌ ์์ ํ ๋์ผํ ํ๋ก์ธ์ค๋ฅผ ์์ฑํ๋ค. ์ฌ์ฉ์ : #include // types.h๋ pid_t๋ฅผ ์ ์ํ๊ณ ์๋ค. #include // forkํ๋กํ ํ์ ์ด ์ ์๋์ด ์๋ค. ํ๋ก์ธ์ค๋ ํ instance๋ฅผ ์๋ฏธํ๋ค. ์คํํ์ผ์ ์คํ์ํค๋ฉด ํ์ผ ํํ๋ก ์ ์ฅ๋..
- Total
- Today
- Yesterday
- ํ๋ก์ ์ค์
- nginx
- exception์ข ๋ฅ
- Spring
- plugin
- angular2
- spring boot
- AJP
- spring jpa
- entity type
- entityfactory
- ์์ง์์ค
- https ๋์์ฌ์ฉ
- spring boot http
- entitymanager
- JPA
- ์๋ฐ ๊ฐ์๋จธ์
- ์์กด์ฑ ์ฌ์ดํด
- JPA ์ํฐํฐ
- tomcat Ajp
- ํ๋ฌ๊ทธ์ธ
- JPA ์์์ฑ๊ด๋ฆฌ
- HTTPS
- HTTP
- springboot
- JPA๋
- spring boot ํฌํธ
- spring boot 2.1
- SSL
- jpa ๊ฐํ์
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |