๋ฐ˜์‘ํ˜•
  • Blocking : ๋‹ค์Œ ์ˆœ์„œ๋ฅผ ๊ธฐ๋‹ค๋ฆผ. ๊ธฐ๋‹ค๋ฆฌ๋Š” ๋™์•ˆ ์•„๋ฌด๊ฒƒ๋„ ๋ชปํ•จ.
  • Non-blocking : ๋‹ค์Œ ์ˆœ์„œ๋ฅผ ๊ธฐ๋‹ค๋ฆฌ์ง€ ์•Š๊ณ (๊ฒฐ๊ณผ๋ฐ›์Œ) ๊ทธ ๋‹ค์Œ์„ ์‹คํ–‰.
  • Synchronous : ์š”์ฒญ์— ๋Œ€ํ•œ ๊ฒฐ๊ณผ๊ฐ’์„ ์š”์ฒญํ•œ ์ฃผ์ฒด๊ฐ€ ์ธ์ง€ํ•จ. (์š”์ฒญ์— ๋Œ€ํ•œ ๊ฒฐ๊ณผ ์‹œ๊ฐ„๊ณผ ๋‹ค์Œ ์š”์ฒญ์‹œ๊ฐ„์ด ๋™์ผ).
  • Asynchronous : ์š”์ฒญ์— ๋Œ€ํ•œ ๊ฒฐ๊ณผ๊ฐ’์„ ์š”์ฒญํ•œ ์ฃผ์ฒด๊ฐ€ ์ธ์ง€ํ•˜์ง€ ์•Š๊ณ , ๊ฒฐ๊ณผ๋ฅผ ์ฃผ๋Š” ๊ณณ์—์„œ ๋”ฐ๋กœ ํ™•์ธ

 

- ์ฐธ๊ณ 

 

http://wiki.sys4u.co.kr/pages/viewpage.action?pageId=7767390

ํŽ˜์ด์ง€ PLATEER OPEN WIKI ๊ธฐํƒ€๋“ฑ๋“ฑ ๋ฐฐ๋„ˆ์˜ ๋งจ ๋์œผ๋กœ ๋ฐฐ๋„ˆ์˜ ๋งจ ์ฒ˜์Œ์œผ๋กœ ๋ฉ”ํƒ€ ๋ฐ์ดํ„ฐ์˜ ๋์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ ์•Œ ์ˆ˜ ์—†๋Š” ์‚ฌ์šฉ์ž (sonnsk87)๋‹˜์ด ์ž‘์„ฑ, 1์›” 17, 2018์— ์ตœ์ข… ๋ณ€๊ฒฝ ๋ฉ”ํƒ€ ๋ฐ์ดํ„ฐ์˜ ์‹œ์ž‘์œผ๋กœ ์ด๋™

wiki.sys4u.co.kr

juneyr.dev/reactive-programming

๋ฐ˜์‘ํ˜•
๋ฐ˜์‘ํ˜•

Lombokํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์„ค์น˜ ํ•˜์˜€๋Š”์ง€ ํ™•์ธํ•˜๊ธฐ!

(pom.xml์œผ๋กœ ๋ถˆ๋Ÿฌ์˜จ๋‹ค๊ณ  ๋์ด ์•„๋‹ˆ์˜€๋‹ค)

 

Help > Find Action > Plugins ๊ฒ€์ƒ‰ > Marketplace๋‹จ์—์„œ Lombok ๊ฒ€์ƒ‰ํ•˜์—ฌ ์„ค์น˜

 

๋ฐ˜์‘ํ˜•
๋ฐ˜์‘ํ˜•
@ reverse 
 - ๋ฐฐ์—ด.reverse() : ๋ฐฐ์—ด ๋’ค์ง‘๊ธฐ
var test = [1,2,3,4,5]; 
test.reverse(); //test=[5,4,3,2,1] 

@ split 
 - ๋ฌธ์ž.split("๋Š๋Š”๋ฌธ์ž์—ด") : ๋ฌธ์ž์—ด ๋ฐฐ์—ดํ™” ํ•˜๊ธฐ
var testString = "1,2,3,4,5";
testString.split(",");// ["1", "2", "3", "4", "5"]

@ shift 
- ๋ฐฐ์—ด.shift("๋ฌธ์ž") : ๋ฐฐ์—ด ์ฒซ๋ฒˆ์งธ ๊ฐ’ ๋นผ๊ธฐ([๋ฐฉํ–ฅ:<--]์™ผ์ชฝ์œผ๋กœ ๋ฐ€๋ ค์ง)
var test = [1,2,3,4,5];
test.shift();//1
test.shift();//2
test.shift();//3
test.shift();//4
test.shift();//5
test.shift();//undefined
console.log(test);//

var testA = [6,7,8,9];
testA.shift();//6
console.log(testA);//(3) [7, 8, 9]

@ unshift 
- ๋ฐฐ์—ด.unshift("๋ฌธ์ž") : ๋ฐฐ์—ด๊ฐ’ ์ฒซ๋ฒˆ์งธ์— ๊ฐ’ ์ถ”๊ฐ€([๋ฐฉํ–ฅ:-->]์˜ค๋ฅธ์ชฝ์œผ๋กœ ๋ฐ€๋ ค์ง)
var test = [1,2,3]
test.unshift()
console.log(test);// (3) [1, 2, 3]
test.unshift(4) 
console.log(test); // (4) [4, 1, 2, 3]
test.unshift(6)
console.log(test);// (5) [6, 4, 1, 2, 3]

@ push 
- ๋ฐฐ์—ด.push(๋„ฃ๋Š”๊ฐ’) : ๋ฐฐ์—ด๊ฐ’ ๋์š”์†Œ์— ๊ฐ’ ์ถ”๊ฐ€
var test = [1,2,3,4,5,6];
test.push(7); //7
console.log(test); // (7) [1, 2, 3, 4, 5, 6, 7]

@ pop 
- ๋ฐฐ์—ด.pop() : ๋ฐฐ์—ด๋’ค์— ๋ฐฐ์—ด๊ฐ’ ๋นผ๊ธฐ
var test = [1,2,3,4,5,6];
test.push(); //6
console.log(test); // (5) [1, 2, 3, 4, 5]

@ splice 
- ๋ฐฐ์—ด.splice(์ˆœ์„œ,๊ฐฏ์ˆ˜) : ์ˆœ์„œ์œ„์น˜๋ถ€ํ„ฐ ๊ฐฏ์ˆ˜๊นŒ์ง€ ๋ฒ„๋ฆผ
var test = [1,2,3,4,5,6,7,8,9];
test.splice(0,2)// (2) [1, 2] : 0๋ฒˆ์งธ์—์„œ 2๊ฐœ ๋ฒ„๋ฆผ
console.log(test)// (7) [3, 4, 5, 6, 7, 8, 9]
test.splice(2,5)// (5) [5, 6, 7, 8, 9] : 012๋ฒˆ์งธ์—์„œ5๊ฐœ๋ฒ„๋ฆผ
console.log(test)// (2) [3, 4]

@ concat 
- A๋ฐฐ์—ด.concat(B๋ฐฐ์—ด) : ๋ฐฐ์—ดํ•ฉ์น˜๊ธฐ(A+B)
var A = [5,6,7]
var B = [1,2,3]
A.concat(B) //(6) [5, 6, 7, 1, 2, 3]

@ join 
- ๋ฐฐ์—ด.join("๋ฌถ๋Š”๋ฌธ์ž์—ด") : ๋ฐฐ์—ด์„ ๋ฌถ๋Š”๋ฌธ์ž์—ด๋กœ ์—ฐ๊ฒฐํ•˜์—ฌ ๋ฌธ์ž์—ด๋กœ ๋ณ€๊ฒฝ
var test = [1,2,3,4,555,6]
test.join(",") //"1,2,3,4,555,6"
test.join("555")//"15552555355545555555556"
test.join("1")//"1121314155516"
test.join("-")//"1-2-3-4-555-6"

@ sort 
- ๋ฐฐ์—ด.sort() : ๋ฐฐ์—ด ์ •๋ ฌ
var test = [4,3,6,1,2]
test.sort() //(5) [1, 2, 3, 4, 6]

@ substr 
- ๋ฌธ์ž.substr(์ˆœ์„œ,๊ฐฏ์ˆ˜) : ์ˆœ์„œ๋ถ€ํ„ฐ ๊ฐฏ์ˆ˜๊นŒ์ง€ ์ถ”์ถœ
var test = 'Hello, my world!!';
test.substr(2,3) //"llo"//012๋ฒˆ์งธ์—์„œ3๊ฐœ
test.substr(0,3)//"Hel"//0๋ฒˆ์งธ์—์„œ3๊ฐœ
test.substr(0,5) //"Hello" //0๋ฒˆ์งธ์—์„œ5๊ฐœ
test.substr(5,5)//", my " //012345๋ฒˆ์งธ์—์„œ 5๊ฐœ



๋ฐ˜์‘ํ˜•
๋ฐ˜์‘ํ˜•

[1] ํŽธ์ง‘

vi /etc/ssh/sshd_config

PermitRootLogin yes ๋กœ๋ณ€๊ฒฝ



[2] ์žฌ์‹œ์ž‘

service sshd restart

๋ฐ˜์‘ํ˜•
๋ฐ˜์‘ํ˜•

์ฐธ๊ณ ๋กœ ํ‚ค ์—†์ด ๋กœ๊ทธ์ธ์„ ํ•œ๋‹ค๋Š”๊ฑด ๊ทธ๋งŒํผ ๋ณด์•ˆ์— ์ทจ์•ฝํ•˜๋‹ค๋Š”๊ฑธ ์•Œ์•„๋‘๊ณ ..


[1] sshd_config๋ฅผ ์ˆ˜์ •

 sudo vi /etc/ssh/sshd_config


 ...๋‚ด์šฉ์ค‘ 

 PermitRootLogin yes ๋กœ ๋ณ€๊ฒฝ

 PasswordAuthentication yes ๋ณ€๊ฒฝ ํ›„ ์ €์žฅ(:wq!)


[2] ssh ์žฌ์‹œ์ž‘
 sudo service ssh restart


[3] root ๋น„๋ฐ€๋ฒˆํ˜ธ ์„ค์ •

 sudo passwd root 


 Enter new UNIX password: ์‚ฌ์šฉํ•  ๋น„๋ฐ€๋ฒˆํ˜ธ ์ž…๋ ฅ

 Retype new UNIX password: ์‚ฌ์šฉํ•  ๋น„๋ฐ€๋ฒˆํ˜ธ ์ž…๋ ฅ

 passwd: password updated successfully


[4] ํ‚ค(*.ppk) ์—†์ด putty ์ ‘์† (๋กœ๊ทธ์ธ์„ root๋กœ..)



์ฐธ๊ณ  : http://ora-sysdba.tistory.com/entry/Cloud-Computing-Amazon-EC2-%EC%9D%B8%EC%8A%A4%ED%84%B4%EC%8A%A4%EC%9D%98-ROOT-%EA%B3%84%EC%A0%95%ED%99%9C%EC%84%B1%ED%99%94

๋ฐ˜์‘ํ˜•
๋ฐ˜์‘ํ˜•

๊ธฐ๋ณธ์ ์œผ๋กœ๋Š” 22ํฌํŠธ๋Š” ์—ด๋ ค์žˆ๋”๋ผ 

--> ์ธ์Šคํ„ด์Šค ์ƒ์„ฑํ• ๋•Œ ๊ธฐ๋ณธ์ ์œผ๋กœ ์„ค์ •๋œ์ฑ„๋กœ ์ƒ์„ฑํ•จ 



[๋ณด์•ˆ ๊ทธ๋ฃน] ํด๋ฆญ -> [ํŽธ์ง‘] ํด๋ฆญ



[๊ทœ์น™ ์ถ”๊ฐ€] ํด๋ฆญ -> ํ•ด๋‹น ํฌํŠธ๋“ค ์„ค์ • ํ›„ [์ €์žฅ] ํด๋ฆญ



๋ฐ˜์‘ํ˜•
๋ฐ˜์‘ํ˜•

๊ฐœ์ธPC์— ๊ฐ€์ƒ์„œ๋ฒ„๋ฅผ ๋„์šธ๊ฒƒ์ด๋‹ค.

์ด๋ฅผ ์ œ๊ณตํ•ด์ฃผ๋Š” ํ”„๋กœ๊ทธ๋žจ ์ข…๋ฅ˜ ์ค‘ ํ•˜๋‚˜์ธ ๋ฒ„์ถ”์–ผ๋ฐ•์Šค๋ฅผ ์ด์šฉํ–ˆ๊ณ , Centos7๋ฅผ ์„ค์น˜ํ• ๊ฒƒ์ด๋‹ค.

์ฐธ๊ณ ๋กœ window10 Enterprise ํ™˜๊ฒฝ์—์„œ๋Š” hyper-v๋ผ๋Š” ์‹œ์Šคํ…œ์„ ์ œ๊ณตํ•ด์ฃผ๊ณ  ์žˆ๋‹ค.. 

(window 10 home ๋ฒ„์ „์—์„œ๋Š” ์•ˆ๋œ๋‹ค๋”๋ผ..)


0. centos7 ์šด์˜์ฒด์ œ ISOํŒŒ์ผ ๋‹ค์šด๋ฐ›๊ธฐ

http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Everything-1708.iso



1. ์„ค์น˜๊ณผ์ • 




2. ๋ฆฌ๋ˆ…์Šค ์šด์˜์ฒด์ œ ์„ค์น˜ (centos7 ์„ ์„ค์น˜ ํ•  ๊ฒƒ์ด๋‹ค)

๋งŒ์•ฝ 64๋น„ํŠธ๊ฐ€ ์•ˆ๋‚˜์˜ค๊ฑฐ๋“ ,

์ปดํ“จํ„ฐ ์™„์ „ ์‹คํ–‰ ์‹œ BIOS ํ™”๋ฉด์—์„œ Virturalization ์ด๋ผ๋Š” ๊ฐ’์„ ์ฐพ์•„ true ๋กœ ์„ค์ •์„ ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค.

์ฐธ๊ณ ๋กœ PC๋งˆ๋‹ค BIOS ํ™”๋ฉด์ด ๋‹ค๋ฅด๋ฉฐ, ๋‹จ์ถ•ํ‚ค๋„ ๋‹ค๋ฅด๊ธฐ์— ์ž˜ ์ฐพ์•„๋ณด๋„๋ก ํ•˜์—ฌ๋ผ. 

(์ž์‹ ์˜ PC์ œํ’ˆ์— ๋งž๋Š” ๋‹จ์ถ•ํ‚ค๋ฅผ ์ฐพ์•„๋ณด๋ผ)

์ฐธ๊ณ  : http://idchowto.com/?p=15289



๋ฉ”๋ชจ๋ฆฌ๋Š” ์ž์‹ ์˜ ํ˜„์žฌ PC RAM ์‚ฌ์–‘๊ณผ ๊ณ ๋ คํ•˜์—ฌ ์„ค์ •ํ•˜์—ฌ๋ผ..


๋””์Šคํฌ ์„ ํƒํ•˜๊ธฐ(C)๋ฅผ ๋ˆŒ๋Ÿฌ ์šด์˜์ฒด์ œ๋ฅผ ๋„ฃ์–ด์ฃผ์ž.

0. ์—์„œ ๋ฐ›์€ ๋ฆฌ๋ˆ…์Šค(centos7)ํŒŒ์ผ์„ ๋„ฃ์–ด์ฃผ๋ฉด ๋œ๋‹ค.



๋ฐ˜์‘ํ˜•

+ Recent posts