더보기


크리에이티브 커먼즈 라이선스
Creative Commons License

설정

트랙백

댓글



더보기




크리에이티브 커먼즈 라이선스
Creative Commons License

설정

트랙백

댓글

출처) http://www.ibm.com/developerworks/kr/library/l-10sysadtips/


크리에이티브 커먼즈 라이선스
Creative Commons License

설정

트랙백

댓글

자바로 엑셀 문서를 다루는 방법에 대한 전반적인 조사와 예시를 문서로 정리합니다.

1. 존재하는 라이브러리
1) JXL
장점 : 대용량 데이터를 입력 속도가 빠름
단점 : 데이터를 엑셀 문서의 형태로 작성시 정상적인 엑셀 문서의 형태를 가지지 않음.

2) POI
장점 : 대용량 데이터의 입력 속도가 느림
단점 : 데이터를 엑셀 문서의 형태로 작성시 정상적인 엑셀 문서의 형태를 가진다. (현업들의 편집이 쉬움)

※ 보통은 데이터의 입력에는 JXL을 엑셀형태의 output 작성에는 POI를 사용한다고 함


크리에이티브 커먼즈 라이선스
Creative Commons License

설정

트랙백

댓글


더보기


크리에이티브 커먼즈 라이선스
Creative Commons License

설정

트랙백

댓글

 간만에 리눅스를 설치하면서 느끼는데 정말로 호환성이나 접근성이 굉장히 좋아졌다고 생각됀다. 이제 Wine 만 깔아주면 우리나라 사람들이 그리도 좋아하는 블리자드의 어지간한 게임들은 대부분 구동이 가능할 것 같다.


 더군다나 윈도우 DiretX 환경에서 게임을 할때보다 조금더 쾌적하게 느껴진다. (좀더 빠르다고 해야하나?) 물론 오픈GL을 사용하는 것으로 바꿔야지만 게임이 실행돼기 때문에 그림자 효과같은 것들이 빠졌기 때문이라고도 예상됀다.

 어쨋건 버철머신으로 윈도우 띄우고 파일받으면서 와우 2개돌리고 동영상 보면서 게임하는데도 할만하다는 건 분명히 쾌적하다고 생각할만 한 것 같다.

 단지 문제가 있는데 wine의 문제인지 한글 입력이 안됀다. -_-;; 해결이 안돼려나. 찾아보니 됀다고 하는 사람도 있고 안됀다는 사람도 있고 천차만별인지라 어떻게 해야할지 모르겠다.

 혹시라고 리눅스에서 와우를 해보고 싶은 분이 있다면 그냥 아래의 과정을 따라해보길 바란다. 

 1. 기본적으로 wine 이 설치돼어야한다. 가능하면 우분투 배포판에서 하길 권장한다.
    만약 우분투라면 aptitude install wine 로 간단히 설치가 가능할 것이다.

 2. 한글 입력 문제를 해결하기 위해서 아래의 파일을 ~/.wine/c_drive/windows/system32 에 복사하고 
    regedit reg_imekr.reg 를 실행한다.





 3. wine 이 제공하는 레지스트리 에디터를 열고 아래의 파일을 임포트한다.

 4. 와우가 존재하는 폴더로 이동해서 wtf/config.wtf 의 최하단에 아래의 문구를 넣는다.
     SET gxApi "opengl"

 5. 와우가 존재하는 폴더에서
     wine Wow.exe -opengl

주의사항은 와우에서 사용하는 단축키가 Gnome 에서 예약된 키인 경우 단축키가 씹히니 주의하시길...;; 많이 테스트 해본후에 레이드로;;
크리에이티브 커먼즈 라이선스
Creative Commons License

설정

트랙백

댓글

대학교 4학년 때 임베디드 수업을 이용해서 VMWare상에서 Bridged Networking 이 돼는 것을 보면서 굉장히 신기해 한적이 있다. 이걸 쓰는 이유는 상황에 따라서 다르겠지만... 뭐 어쨋든 리눅스 상에서 이것을 하는 방법이 필요했기에 자료 찾아보고 한번 설정해봄.


설정은 우분투를 이용했지만, 데비안에서도 그대로 적용 가능할 것이라고 생각함.
(https://help.ubuntu.com/community/VirtualBox 에서 자료 참고)

Networking

To start, NAT is by far the easiest way to get your guests connected to the interweb, but you may want to use the guests as servers. For this you need Host Networking.

Install Necessary Software

You will need to install bridge-utils and uml-utilities so that you can make a tap device and add it to a bridge.

sudo apt-get install bridge-utils uml-utilities

8.04 Hardy

To configure bridging, you basically go through three steps on the host machine. First you need to create a bridge. Next you create virtual interface(s). Then you add a real interface and virtual interface(s) to the bridge. Because of the scripts available on the distribution which take care of all the details, all of this sums up to two steps:

  • declare bridge and real network interface you add to it
  • declare virtual interfaces

Create a permanent bridge by editing /etc/network/interfaces

On the host machine:

$ sudo gedit /etc/network/interfaces
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet dhcp
bridge_ports eth0

# The loopback network interface
auto lo
iface lo inet loopback

"br0" is an arbitrary name. To take the modifications into account, restart the network:

$sudo /etc/init.d/networking restart

From now on, your system will always set up the bridge on boot. Note that this could slow down the boot time a little bit, because of the bridge coming up.

Declare virtual interfaces which will be used by VirtualBox by editing /etc/vbox/interfaces

On the host machine:

$ sudo gedit /etc/vbox/interfaces
# Each line should be of the format :
# <interface name> <user name> [<bridge>]
vbox0 <your user name> br0
vbox1 <your user name> br0
...

"vbox#" is an arbitrary name. You may declare here as many virtual interfaces as you wish, and add it to a bridge.

Later when you will configure the network of your virtual machine you will use the virtual adapter name "vbox#" for host networking. For example if you use the VirtualBox Qt graphical interface, enter "vbox#" in the "Interface Name" field, when choosing "Host interface".

To take the modifications into account, restart the VirtualBox host networking script:

$sudo /etc/init.d/virtualbox-ose restart

The virtual interfaces are now created and added to the bridge.

That's it! Now the different scripts will take care of cleanly create/configure/remove bridges and virtual interfaces when you boot and shut your system down.

Configure networking in VirtualBox

Once you have everything ready, you can start the VirtualBox management interface on the host machine, configure the network of your virtual machine, and by selecting "host networking", enter the name of one of the virtual adapter you have configured. Start your virtual machine, it gets a network card presented, that you can set up as you wish (static IP address, DHCP) using the network configuration tools inside the virtual machine.


대충 위와 같은 과정을 밟아가면 호스트 리눅스에서 게스트 리눅스로 직접 ip를 통해서 접근이 가능해진다.
크리에이티브 커먼즈 라이선스
Creative Commons License

설정

트랙백

댓글