'2017/08/18'에 해당되는 글 2건

728x90

CentOS SSH 접속포트를 변경하는 방법을 적어둔다.



#Port 22 라고 주석처리되어 있다는 건 기본으로 22번 포트를 사용하고 있다는 의미다.

주석 제거하고 변경하고 싶은 포트를 적어준다.

수정하고 :wq 로 저장하고 빠져나온다.


SSH 데몬을 재구동한다.


# service sshd restart

아래 그림에서 보면 둘 중 어느것을 하더라도 동일하다는 걸 알 수 있다.



포트를 변경하면 반드시 방화벽에서 해당 포트를 등록해줘야만 접속이 가능하다.


-A INPUT -p tcp -m state --state NEW -m tcp --dport 1922 -j ACCEPT


방화벽 변경은 아래 순서로 해준다.

vi /etc/sysconfig/iptables
// 방화벽 재시작
/etc/init.d/iptables restart
// 변경한 정보 저장(재시작을 하고 나서 저장해야 적용된 정보가 저장됨)
service iptables save

'리눅스' 카테고리의 다른 글

리눅스 시간 동기화  (0) 2018.04.30
iptime 공유기 포트포워딩  (0) 2018.04.19
phpize 실행시 에러  (0) 2017.06.08
PHP mcrypt 동적 모듈 추가  (0) 2017.06.08
php sockets 동적 모듈 추가 (phpize)  (0) 2017.06.08
블로그 이미지

Link2Me

,
728x90

How about : ~하는건 어때? 라는 제안할 때 사용하는 표현이다.
Use how about to make suggestion and open possiblities.

A : I have the day off from work tomorrow. What should we do?
B : How about spending the day in the city?
A : Nah, I don't feeling like traveling.
B : OK, then how about cleaning the house?
A : No way. I want to do something fun.
B : How about doing some shopping and then seeing a movie.

I'm going to have lunch. How about you?
나 점심 먹을거야. 너는 어때?


We'll need to talk about this again. How about meeting next week?
우리 이것에 대해 다시 얘기 좀 해야 돼. 다음주말 미팅 어때?



What about : 어떻게 돼? (상대방의 의견)을 물을 때 사용하는 표현이다.
Use What about to mention an objection or potential problem with the plan or idea.

A : Let's go camping this weekend.
B : But what about my guitar lesson on Saturday? (근데 토요일 내 기타 수업은 어쩌지?)
A : Just call the teacher and reschedule it.
B : And What about the English test on Monday? I haven't studied yet.
A : You can study on Sunday night when we get back.
B : OK, but what about the weather? Isn't it going to be rather cold?

What about the lost wallet? 지갑 잃어버린거 어떻게 됐어?



How about you? = What about you? (같은 의미)

A : How have you been?

B : Good. How about you?


'영어 > 뉘앙스 어휘' 카테고리의 다른 글

just vs only  (0) 2017.12.27
trust 와 believe 의 차이  (0) 2016.02.23
chance 와 opportunity 의 차이  (0) 2016.02.18
think 와 guess 의 차이  (0) 2016.02.07
in a rut  (0) 2016.01.29
블로그 이미지

Link2Me

,