지속적인 통합을 지원해주는 가장 유명한 도구인 Jenkins는
Java로 만들어졌고 400여개 이상의 플러그인을 제공해주고 있다.

지속적인 통합이라는 말을 이해하기 힘든 분은 그냥 빌드 자동화 (Build Automation) 도구라고만 이해해도 된다.

본래 Hudson이라는 이름의 도구였는데 Oracle에 흡수되면서 발생한 이슈들로 인해서
2010년 투표를 통해 별도 분리를 하기로 결정을 하고 2011년에 Jenkins라는 이름을 달고 별도 프로젝트로 분리했다.

Hudson을 만든 사람으로 유명한 Kohsuke Kawaguchi는 여전히 Jenkins 개발에도 참여하고 있으며,
여전히 많은 plugin 개발에도 참여하고 있다.

사실 Kohsuke는 약 8년 정도 Sun Microsystems에서 근무를 했었다.
그러다가 2010년도에 Sun이 Oracle에 합병이 되면서 짧게 나마 Oracle에서 근무를 했었다.
이런 이유로 Hudson이 Oracle 소유가 되어버린 것 같다.

http://jenkins-ci.org/




1. Release vs LTS (Long-Term Support Release)

   - 실제 업무에 사용하기 위해서는 LTS 버전으로 설치 하는 것을 추천한다.



2. JDK installation

   - http://whatwant.tistory.com/438



3. Download

   - LTS 가장 최신 버전으로 다운로드
   - 설치 경로는 필자의 개인적인 취향 (개취존중 !)




4. Script

   - 사실 Jenkins를 실행하는 것은 정말 쉽다.
   - [ java -jar jenkins.war ] 명령만으로도 실행이 가능하다.

   - 하지만, 제대로 서버에서 Jenkins를 활용하기 위해서는 script를 만들어서 init.d 로 관리하는 것을 추천한다.

$ sudo nano /etc/init.d/jenkins

#!/bin/sh

DESC="Jenkins CI Server"
NAME="jenkins"
PIDFILE="/var/run/$NAME.pid"
#RUN_AS="jenkins"
RUN_AS="chani"
COMMAND="/usr/bin/java -- -jar /srv/install/jenkins/jenkins.war"

d_start() {
        start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE --chuid $RUN_AS --exec $COMMAND
}

d_stop() {
        start-stop-daemon --stop --quiet --pidfile $PIDFILE
        if [ -e $PIDFILE ]
                then rm $PIDFILE
        fi
}

case $1 in
        start)
                echo -n "Starting $DESC: $NAME"
                d_start
                echo "."
                ;;
        stop)
                echo -n "Stopping $DESC: $NAME"
                d_stop
                echo "."
                ;;
        restart)
                echo -n "Restarting $DESC: $NAME"
                d_stop
                sleep 1
                d_start
                echo "."
                ;;
        *)
                echo "usage: $NAME {start|stop|restart}"
                exit 1
                ;;
esac

exit 0

   - 나중에 빌드 서버를 제대로 활용하기 위해서 고려해야 하는 부분은 RUN_AS 부분이다.
   - 어떤 계정 권한으로 Jenkins를 실행할 것인지 명시하는 부분이다.

$ sudo chmod +x /etc/init.d/jenkins
$ sudo service jenkins start

   - 지금은 이렇게 직접 실행을 하지만, 이후부터는 재부팅 때 자동으로 실행이 된다.


   - 별다르게 설정하지 않으면 기본적으로 8080 포트를 사용한다.


설정이나 사용하는 방법에 대해서는 별도로 살펴보도록 하겠다.
일단은 실행해서 접속이 되는 것까지 진행한 것으로 만족하자 !!! ^^


(흑흑... 실은 내일 출근하려면 지금 자야한다.... 연휴의 첫째날..... 새벽 1시를 막 넘긴 시간에.... 흑흑....)
반응형

만날 모니터링 하다가 꼭 잠시 한 눈 판 사이에 새로운 버전이 올라온다. 우씨...

가장 대표적인 것은 Multi-screen 지원 관련하여 많은 개선이 있었고...
리눅스 관련해서 최신 커널 컴파일 지원이 추가 되었다.

업데이트 해서 작업해본 결과 큰 이상은 보이지 않는다 ^^

   - https://www.virtualbox.org/wiki/Downloads


VirtualBox 4.2.12 (release 2013-04-12)

This is a maintenance release. The following items were fixed and/or added:

•VMM: fixed a Guru Meditation on putting Linux guest CPU online if nested paging is disabled
•VMM: invalidate TLB entries even for non-present pages
•GUI: Multi-screen support: fixed a crash on visual-mode change
•GUI: Multi-screen support: disabled guest-screens should now remain disabled on visual-mode change
•GUI: Multi-screen support: handle host/guest screen plugging/unplugging in different visual-modes
•GUI: Multi-screen support: seamless mode: fixed a bug when empty seamless screens were represented by fullscreen windows
•GUI: Multi-screen support: each machine window in multi-screen configuration should have correct menu-bar now (Mac OS X hosts)
•GUI: Multi-screen support: machine window View menu should have correct content in seamless/fullscreen mode now (Mac OS X hosts)
•GUI: VM manager: vertical scroll-bars should be now updated on content/window resize
•GUI: VM settings: fixed crash on machine state-change event
•GUI: don't show warnings about enabled or disabled mouse integration if the VM was restored from a saved state
•Virtio-net: properly announce that the guest has to handle partial TCP checksums (bug #9380)
•Storage: Fixed incorrect alignment of VDI images causing disk size changes when using snapshots (bug #11597)
•Audio: fixed broken ALSA & PulseAudio on some Linux hosts due to invalid symbol resolution (bug #11615)
•PS/2 keyboard: re-apply keyboard repeat delay and rate after a VM was restored from a saved state (bug #10933)
•BIOS: updated DMI processor information table (type 4): corrected L1 & L2 cache table handles
•Timekeeping: fix several issues which can lead to incorrect time, Solaris guests sporadically showed time going briefly back to Jan 1 1970
•Main/Metrics: disk metrics are collected properly when software RAID, symbolic links or rootfs are used on Linux hosts
•VBoxManage: don't stay paused after a snapshot was created and the VM was running before
•VBoxManage: introduced controlvm nicpromisc (bug #11423)
•VBoxManage: don't crash on controlvm guestmemoryballoon if the VM isn't running (bug #11639)
•VBoxHeadless: don't filter guest property events as this would affect all clients (bug #11644)
•Guest control: prevent double CR in the output generated by guest commands and do NLS conversion
•Linux hosts / guests: fixed build errors on Linux 3.5 and newer kernels if the CONFIG_UIDGID_STRICT_TYPE_CHECKS config option is enabled (bug #11664)
•Linux Additions: handle fall-back to VESA driver on RedHat-based guests if vboxvideo cannot be loaded
•Linux Additions: RHEL/OEL/CentOS 6.4 compile fix (bug #11586)
•Linux Additions: Debian Linux kernel 3.2.0-4 (3.2.39) compile fix (bug #11634)
•Linux Additions: added auto-logon support for Linux guests using LightDM as the display manager
•Windows Additions: Support for multimonitor. Dynamic enable/disable of secondary virtual monitors. Support for XPDM/WDDM based guests
•X11 Additions: support X.Org Server 1.14 (bug #11609)

반응형

가상데스크탑 유틸리티인 VirtualBox를 조금이라도 사용해본 사람이라면,
Guest OS 설치 후 제일 먼저 해야되는 작업인 Guest Addtion Install 을 알 것이다.

그래픽 드라이버나 입력 장치 등의 개선된 가상 드라이버를 설정해주는...
그냥 쉽게 말해서 상당히 더 쓸만하게 만들어주는 과정이다.

Guest OS로 Ubuntu를 설치하고 나서 Guest Addtion Install을 실행하게 되면
아래와 같은 화면이 나온다.


그런데, 위 화면을 보면 Install 과정이 잘 된 것 같지만,
중간 부분을 보면 아래와 같은 메시지가 있다.

The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

뭔가가 없어서 compile을 실패했단다.
그 뭔가는 바로 현재 사용하고 있는 kernel의 headers이다.

그런데, 실제로 살펴보면
"linux-headers-generic" 패키지를 설치하고자 하면 이미 설치되어있다.

이 문제를 해결하기 위해서는 다른 것을 설치해야 한다.


$ sudo apt-get install virtualbox-ose-guest-dkms
$ sudo apt-get install virtualbox-ose-guest-utils
( $ sudo apt-get install virtualbox-ose-guest-x11 )

즉, 우리의 사랑스럽고 친절한 ubuntu에서 VirtualBox를 위한 패키지를 이미 가지고 있다!!!
위와 같이 그대로 설치하면 된다.


설치 중간에 위와 같이 기존에 이미 존재하는 스크립트에 대한 처리를 묻는다.
그냥 기본값으로 N을 적용하면 된다.

설치가 끝나면 재부팅을 하자.

그리고 나서 다시 한 번 VirtualBox Guest Addtion Install을 실행하자.


이번에는 중간에 뭔가 이상한 것 없이 잘 설치가 되었다.
위 메시지에 나온 것처럼, 재부팅만 한 번 해주면 된다!!!


모두들 즐거운 VirtualBox 생활하세요!!!!!!

반응형

4.2.8 버전이 나온지 보름 정도 밖에 지나지 않았는데, 의외로 빨리 나온 업데이트다.

VirtualBox 4.2.10 (release 2013-03-15)

This is a maintenance release. The following items were fixed and/or added:

  • GUI: fixed keyboard with XQuartz X server (bug #10664)
  • Main/Display: fixed a crash with multi-monitors under certain conditions (Mac OS X hosts only)
  • Main/Properties: fixed a crash under certain conditions, for example after wakeup from host hibernate (bug #11444)
  • Settings: don't lose the internal network settings if they are not currently active
  • Storage: another incompatibility fix for VHD differencing images with Hyper-V (bug #5990)
  • VBoxManage: don't read beyond the end of the file specified with export --eulafile (bug #11528)
  • Linux hosts / guests: Linux 3.9-rc0 compile fixes (bug #11529)
  • Linux Additions: fixed two warnings in the shared folders guest kernel module (bug #11390)
  • Linux Additions: don't crash VBoxService if libdbus is not available (bug #8638)
  • Windows Additions: fixed upgrading MultiMedia Redirection (MMR) support

무엇인가 큰 bugfix가 있나 살펴보는데... 피부에 와닿는 것은 안보인다.

호스트의 하이버네이트 상황에서 wakeup할 때 발생하기도 하는 에러에 대한 것이나 공유폴더 관련한 내용이 보이지만
지금 내 상황에서 확 와닿지는 않다보니....^^

다운로드 - https://www.virtualbox.org/wiki/Downloads


그런데, 개인적인 상황일지는 모르겠는데 설치 후 조금 문제가 있었다.

   - Host   : Windows XP
   - Guest : Ubuntu 11.10

VBox 4.2.8에서 4.2.10 버전으로 업그레이드 후 VBoxGuestAddtions 설치를 진행하려는데.... mount가 안된다.
재부팅을 해도 안되고, 수작업으로 mount를 하려고 해도 잡히지를 않는다.

정확한 원인이나 해결방법을 찾게 되면 다시 한 번 공유하도록 하겠다.



→ 새로운 버전으로 해결이 되었다.

처음에 받았던 설치파일 이름과 지금 다운로드 되고 있는 설치파일 이름을 보면 차이가 있다.

   - VirtualBox-4.2.10-84104-Win.exe
   - VirtualBox-4.2.10-84105-Win.exe

Extension 파일은 여전피 빌드 번호가 예전 것으로 되어있다.

   - Oracle_VM_VirtualBox_Extension_Pack-4.2.10-84104.vbox-extpack

여하튼, 새로운 빌드 번호로 되어있는 파일로 다운로드 받아 설치를 하고선 이전과 같이 진행을 했는데, 잘 된다.
아무래도 작은 실수가 있던 설치 파일을 바로 내리고 새로 빌드를 해서 업로드 해놓은 것 같다.

다운 받아서 새로운 버전을 사용해보세요~

반응형

분명히 28일날 확인했을 때에도 없었는데, 어느덧 등장한 4.2.8 버전이다.

재미있는 내용 중 하나.... [ •3D support: fix Battlefield 1942 game crashes (bug #11369) ]
배틀필드 게임과 충돌 발생하는 것을 고쳤단다... ^^

•VMM: fixed guest crash with huge amount of guest RAM on VT-x hosts (bug #11306)
•GUI: fixed a layout bug in the Mac OS X clone VM dialog (bug #10982)
•GUI: not all the translation tags were taken into account during the language switch (bug #11342)
•GUI: take guest screenshot dialog sometimes had no keyboard input available on Windows host
•Main/Machine: fix generation of spurious event for inaccessible VMs which triggered an endless event generation loop in cooperation with the GUI which became unresponsive (4.2.6 regression, bug #11323)
•Main/Display: fix for an access violation under certain conditions in multi-monitor configurations (bug #10539)
•Main/Metrics: network metrics are now collected for active (up) interfaces only, the state of an interface being evaluated when the associated metric is enabled via setupMetrics
•Snapshots: reduce the time for merging snapshots under certain conditions
•Storage: fixed data corruption after resizing a VDI image under certain circumstances (bug #11344)
•Storage: fixed non working online merging of snapshots (4.2.6 regression, bug #11359)
•Storage: fixed crash when connecting to certain QNAP iSCSI targets
•Storage: fixed incompatibility of VHD differencing images with Hyper-V (bug #5990)
•Bridged Networking: fixed TCP pseudo header checksum computation for IPv6 (bug #9380)
•3D support: fix Battlefield 1942 game crashes (bug #11369)
•Settings: really sanitize the name of VM folders and settings file, the code was disabled before (bug #10549)
•Settings: allow to change VRDE settings for saved VMs
•VBoxManage: don't crash during screenshotpng if there is no display (bug #11363)
•Linux hosts: work around gcc bug 55940 which might lead to wrong kernel module code if gcc 4.7 is used to compile the 32-bit Linux host kernel (bug #11035)
•Linux hosts: fixed inconsistent lock state and deadlock warnings on module load and VM startup when CONFIG_PROVE_LOCKING is enabled (bug #11318)
•Linux hosts: made "]" key work again on Japanese keyboards
•Mac OS X hosts: don't crash the kernel during dtrace if the VBox kernel extensions are loaded (10.6 hosts only; bug #11273)
•Solaris / Mac OS X hosts: machine CPU load metrics now report 100% when all cores are fully utilized (used to be a single core)
•Solaris 11 host installer: wait for any services left over from a previous installation to be terminated to avoid confusing SMF.
•Guest Additions: don't block signals for processes executed via guest control
•Guest Additions: fixed a small memory leak in VBoxService (bug #10970)
•Windows Additions: fixed shared folder issue with large reads/writes on 64 bit Windows guests (bug #11115)
•Linux Additions: Linux 3.8 compile fixes (bug #11036)
•X11 Additions: fixed blocked SIGALRM in 3D desktop sessions (bug #10987)
•X11 Additions: fixed an unresolved reference in vboxvideo_drv for X.org 6.8 guests and before (e.g. RHEL4; 4.2.0 regression)
•X11 Additions: fixed screen automatic resizing for guests with X.org 1.3 or older (4.2.0 regression)

뭔가 많이 고쳤고, 나랑 관련있는 부분도 많을텐데.... 마땅히 확 와닿는 부분은 안보인다....
반응형

그 동안 VirtualBox 업데이트가 있었지만, 사실 별로 재미가 없어서 포스팅을 하지 않았었다.


그리고, 사실 좀 실망한 부분이 있어서 잘 살펴보지 않은 이유도 있다.
한국어 키보드를 제대로 지원하지 못했던 것이다. [ 한/영 ]키와 [ 한자 ]키를 제대로 지원하지 않았던 것이다.

이전에 잘 지원을 해왔다가 4.2.x 버전이 되면서 갑자기 제대로 지원을 하지 못했던 것이다.
그나마 키보드 드라이버를 종류3 으로 변경해서 <Shift-Space> 조합으로 한영키 전환을 해왔었다.

이 문제를 제대로 계속 해결해주지 않고 있다가, 드디어 수정을 해주었다 !!!

•VMM: don't inject stale VT-x events to prevent crashes after VM reset (bug #11256)
•VMM: workaround for buggy BIOSes which enable MONITOR only for certain CPUs (bugs #9460, #10686)
•GUI: fixed trimming of anti-aliased text in details-view element headers (4.2.0 regression)
•GUI: fixed create-settings-file-alias functionality on Mac hosts (4.2.0 regression)
•GUI: fixed take-guest-screenshot functionality on Windows hosts (bug #11095)
•GUI: several minor fixes, including palette fixes (bug #11191)
•GUI: fixed Windows 2012 OS type (bug #11206)
•GUI: allow to terminate the VM even if VBoxSVC crashed
•API: fixed cancelling of snapshots, previously this could lead to inconsistent VM configs (bug #6877)
•API: fixed identifying disk images by UUID (bug #11209)
•3D Support: several fixes
•VRDP: fixed occasional crash with external authentication (bug #11156)
•VGA: fix for double scan text modes
•USB: fixed invalid pending request count at the time of service of DEVICE POWER requests (Windows hosts only; bugs #10021, #11056)
•USB keyboard: Korean keyboard workaround (bug #11150)
•Storage: fixed hang with QCOW images and asynchronous I/O enabled
•Storage: fixed hang with newer VHD images (bug #11279)
•Storage: actually write the non-rotational flag to the VM settings (4.2.0 regression)
•Virtio-net: fixed the problem with network statistics counters in Session Information dialog (GUI)
•Metrics: introduced network rate and disk usage metrics
•Metrics: fixed a crash under certain conditions on Solaris hosts
•BIOS: fix for El Torito
•Shared Folders: if the host folder of a shared folder mapping does not exist, keep it active but mark it as invalid to prevent inconsitent saved states (bug #11147)
•VBoxManage: fixed converting disks from raw images
•VBoxManage: show snapshot description in the VM or snapshot information
•VBoxManage: make implicit opening of media consistent in all places dealing with media
•VBoxManage: the iSCSI initiator name was not stored in the settings file when doing storageattach (bug #11212)
•VBoxManage: metrics collect now properly handles 'CPU/MHz' and 'Net/*/LinkSpeed' metrics
•VBoxManage: changing the image UUID or parent UUID as part of storageattach works now in all safe cases
•VBoxManage: introduced storageattach --medium additions as a shortcut to mount the additions image (bug #11165)
•OVF: fixed importing OVF files cerated by recent VMware products (bug #10905)
•Linux hosts / Bridged Networking: fixed the problem with leaking connections in conntrack (bug #11178)
•Linux Additions: added support for ConsoleKit sessions in the vminfo service of VBoxService
•Linux Additions: don't crash during remount under certain conditions (bug #11291)
•Linux/Solaris Additions: fixed guest memory metrics collection
•Solaris hosts: added a dependency to ensure that the user directories are reachable when starting VBox services
•Windows host installer: integrated user-contributed translations, thanks to all contributors!
•Windows Additions: fixed auto-logon installation for Windows 8
•Windows Additions: don't fail if the shared folders host service is not available
•Windows Additions: fixed Guest Additions startup on Windows 2000 guests (bug #11253)
•Windows Additions: auto-resize fixes for Windows 8 guests

거기에다가 희한하게 집에서 사용하는 데스크탑에서만 발생하는 현상으로
VBox 화면 위에 다른 윈도우가 있다가 치웠을 때 잔상이 계속 남았었는데... 이번 버전에서는 이게 해결이 되었다.

4.0.x 버전 때부터 계속 발생했던 현상인데 이 문제까지 이번 업그레이드로 해결이 되어 너무나 행복하다.

https://www.virtualbox.org/wiki/Changelog
https://www.virtualbox.org/wiki/Downloads

모두 즐거운 VirtualBox 생활 하시길...
반응형

드디어 4.2 버전이 공식적으로 릴리즈 되었다.

   - http://www.oracle.com/us/corporate/press/1842885


나름 큰 변화가 있는 Major upgrade가 된 VirtualBox이다!

보다 스마트해진 사용자 인터페이스와 네트웍 성능 향상, 그리고 Windows8이나 Mac OS X 10.8 "Mountain Lion"과 같은 새로운 운영체제 지원 등이 장점이라고 한다.


새로운 VirtualBox에 대해서 간략히 정리해보면

   - VM(VirtualMachine)을 그룹 관리할 수 있다.
   - 보다 유연해진 VM 실행 옵션을 제공해준다.
   - VM 하나당 네트웍 카드 지원 제한 갯수가 증가했고 네트웍 성능도 좋아졌으며, VLAN 이라는 것도 지원(?)하고
   - 추가적으로 Windows 8, Mac OS X 10.8 "Mountain Lion", Oracle Linux 6.3 환경도 지원한다.


그러고보니 개인적으로는.... 별다른게 없네!?

뭐 여하튼 VirtualBox의 Major Version-up 되었답니다!!!
반응형

늦은 여름휴가를 다녀오니 어느새 새로운 버전이 출몰했다!!!

VirtualBox 4.1.22 (released 2012-09-07)

This is a maintenance release. The following items were fixed and/or added:

  • VMM: fixed a potential host crash triggered by shutting down a VM when another VM was running (only affected 32-bit hosts and 64-bit OS X hosts, 4.1 regression, bug #9897)
  • VMM: fixed a potential host crash under a high guest memory pressure (seen with Windows 8 guests)
  • VMM: respect RAM preallocation while restoring saved state.
  • VMM: fixed handling of task gates if VT-x/AMD-V is disabled
  • Storage: fixed audio CD passthrough for certain media players
  • USB: don't crash if a USB device is plugged or unplugged when saving or loading the VM state (SMP guests only)
  • RTC: fixed a potential corruption of CMOS bank 1
  • Mac OS X hosts: installer fixes for Leopard (4.1.20 regression)
  • Windows Additions: fixed memory leak in VBoxTray (bug #10808)


이번에는 중요한 crash들을 많이 해결을 했단다. 꼭 업데이트하기를 추천한다.

   - 다른 VM이 동작중인데, 셧다운을 할 때에 발생하는 충돌 해결
   - Windows 8 게스트에서 메모리를 많이 사용할 때 발생하는 충돌 해결
   - 저장된 상태를 복구할 때에 RAM을 미리 확보
   - CMOS bank 1의 중요한 충돌 해결
   - VBoxTray에서 메모리 누수 해결

뭔가 많이 고쳤다니 꼭 반영하세요~!!!
반응형

+ Recent posts