블로그 이미지
No pain, no gain!
creaplz

Notice

Recent Comment

Recent Trackback

Archive

calendar

      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  
  • 55,464total
  • 12today
  • 24yesterday
2009/06/28 16:32 OS/Linux
Shell에서 다음과 같은 명령을 넣으면 보안 업데이트를 받을 수 있다.
# yum -y install system-config-securitylevel 
posted by creaplz
2009/06/26 16:04 OS/Linux
netstate
  • 열려 있는 모든 포트 : # netstat -nap
  • LISTEN 되는 모든 포트 : # netstat -l 또는 netstat -nap | grep LISTEN
  • 모든 서비스 동시 접속자 수 : # netstat -nap | grep ESTABLISHED | wc -l
  • 웹 동시 접속자 수 : #netstat -nap | grep :80 | grep ESTABLISHED | wc -l

nmap
  • TCP 포트 확인 방법 : # nmap -sT -p 1-65535 localhost 
  • UDP 포트 확인 방법 :  # nmap -sU -p 1-65535 localhost
  • 네트워크에 열린 포트 확인 : # nmap -sX -p 22,53,110 211.239.111.* 

lsof
  • 모든 네트워크 소켓 확인 : # lsof -I

posted by creaplz
VirtualBox Port Fowarding 기능을 이용해 SSH 연결을 설정할 수 있다. Windows Command 창(시작>실행>cmd)에서 다음과 같이 해보자.

설정
> cd C:\Program Files\Sun\xVM VirtualBox

> VBoxManage setextradata "Ubuntu for aESOP S3C6410" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/GuestSSH/Protocol" TCP

> VBoxManage setextradata "Ubuntu for aESOP S3C6410" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/GuestSSH/GuestPort" 22

> VBoxManage setextradata "Ubuntu for aESOP S3C6410" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/GuestSSH/HostPort" 22

[] 안을 상황에 맞게 설정하여 사용하면 된다.
  • [C:\Program Files\Sun\xVM VirtualBox] : VirtualBox 설치 경로
  • "[Ubuntu for aESOP S3C6410]" : VirtualBox에 설치되어 있는 Guest OS 이름
  • ../[GuestSSH]/.. : 원하는 Service 이름
  • [22] : 원하는 Guest Port와 Host Port 번호

확인
> VBoxManage getextra "Ubuntu for aESOP S3C6410" enumerate

해제
해제는 명령에서 값을 제외시키면 된다.
> VBoxManage setextradata "Ubuntu for aESOP S3C6410" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/GuestSSH/Protocol"

> VBoxManage setextradata "Ubuntu for aESOP S3C6410" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/GuestSSH/GuestPort"

> VBoxManage setextradata "Ubuntu for aESOP S3C6410" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/GuestSSH/HostPort"

posted by creaplz
일반적으로 VirtualBox를 설치하고 그 안에 Linux를 설치하면, Linux의 네트워크 설정 후에 vncviewer와 vncserver 기능을 이용하거나 Linux 원격 데스크톱을 이용하여 VirtualBox의 Linux로 접속을 한다. 하지만 VirtualBox의 원격 디스플레이 기능을 이용하면 그러한 설정 없이도 Windows의 원격 데스크톱 연결을 이용하여 접속이 가능하게 할 수 있다. 다음 링크로 들어가 보도록 하자.

posted by creaplz
VirtualBox에서 USB를 사용하기 위한 설정 방법은 다음 링크에서 확인할 수 있다.

posted by creaplz
VirtualBox에서 제공하는 기능 중에 공유 폴더(Shared Folder)라는 기능이 있다. 자신의 PC에 설치되어 있는 OS와 VirutalBox에 설치되어 있는 Guest OS 사이에서 파일들을 공유하기 위하여 사용된다. Windows XP와 VirtualBox에 설치된 Ubuntu와의 공유 폴더 연결에 관한 자료는 다음 링크에서 볼 수 있다.

posted by creaplz
2009/06/11 16:01 Lecture
프로세스
  • 실행 상태에 있는 프로그램 인스턴스(Instance)
  • 실행 중인 프로그램의 실행 컨텍스트(Execution Context)

posted by creaplz
TAG Kernel, Linux
2009/05/21 22:10 GUI/QT
Dynamic Library(동적 라이브러리, Shared Library(공유 라이브러리)라고도 함)는 디스크에 별도의 파일로 저장되어 여러 개의 응용프로그램이 접근할 수 있는 독립된 모듈이다. 프로그램은 보통 링크 시 필요한 동적 라이브러리를 지정하는데, 이렇게 하면 이 라이브러리들은 응용프로그램이 시작될 때 자동으로 로드된다. 이러한 동적 라이브러리를 지정하는 방법은, 해당 라이브러리와 그의 Include Path(포함 경로)를 include path를 응용프로그램의 .pro 파일에 추가하는 과정과, 관련된 헤더 파일을 소스 파일 내에서 include하는 과정을 수반한다.

이에 대한 다른 대안으로는 라이브러리를 필요할 때 동적으로 읽어들인 뒤, 사용하고자하는 심벌을 분석하는 방법이 있다. Qt는 이를 플랫폼 독립적인 방법으로 수행하기 위한 QLibrary 클래스를 제공한다. 라이브러리의 기본적인 이름이 주어지게 되면, QLibrary는 플랫폼의 라이브러리 표준 위치를 탐색해 그에 해당하는 적절한 파일을 찾는다.
posted by creaplz
TAG plugin, QT
2009/05/21 07:37 English

Differences in opinion will always exist between parents and children.
Even twenty years ago, it was unheard of for students to dye their hair or wear makeup. Today, teens simply feel that they are making a fashion statement. On the contrary, parents feel that outer appearance should take a backsseat to academics. This growing focus on individuality futher alienates the younger generation. It also makes teens think that their parents are old-fashioned. Also, changes in technology have led kids to feel that their parents are out of touch with the times. Text massaging and the Internet have created so much more new lingo. As a result, today's youth feel as if they are literally speaking a different language from their parents.

※ 출처 : EBS '입이 트이는 영어'
posted by creaplz
2009/05/18 08:06 English

Korean rice cake, which is called dduck, is a typical type of snack food most Koreans enjoy. It's one of the most popular party treats as well. There are well over a hundred different varieties of dduck in Korea. First of all, there is the "ga-rae dduck". This is the kind used in soups and in dishes like dduck-booki. Basically it's made from rice that is ground up, steamed, and rolled into thick noodles. And then there is the "special occasion dduck". Most of those are quite sweet. My favorites are injul-mi and song-pyeon. Injul-mi is made from sticky rice coated with bean powder. Song-pyeon is rice cake stuffed with things like honey and sesame seeds. Both are normally a litte smaller than the size of a ping pong ball and are easy to eat.

※ 출처 : EBS "입이 트이는 영어"
posted by creaplz
 <PREV 1 2 3 4 5 ... 7    NEXT>