
삽질 끝, 행복 시작?
September 29th, 2003
아침 9시 반정도부터 시작된 데뱐 클린설치 울트라 삽질 프로젝트는 결국 새벽 2시가 되어서야 마무리지을 수 있었다. 그동안 너무 BSD에 익숙해서인지는 몰라도 리눅스의 설정이나 경로가 약간 생소하기도 해서 다소 어려움이 있었지만, 사실 큰 틀에서 보면 거기서 거기였기 때문인지 결국은 어느정도 만족할 만한 모습을 갗추었다. 그러나 신기한건 막상 작업을 끝마치고 나면 리눅스에 대한 관심이 다소 수그러드는 느낌이 든다는 것이다. 나에게 리눅스는 철저히 과정지향적인 운영체제인건지, 왠일인지 이것저것 삽질을 거듭하는 과정에서는 오기도 생기도 재미도 있고 뿌듯한 느낌도 들고 하는데, 막상 마무리를 지으면 웬일인지 별로 손이 가지 않는다. 어차피 나는 개발자가 아니라 엔드유저일 뿐인데… 아니 어쩌면 그래서 더 그런지도 모른다. 옆에 더 고사양의 프런트 엔드가 있는데 저레벨의 머신을 사용할 이유가 딱히 없지 않은가? 밖에 있는 FB는 그래서 더욱 듬직하다. 아무런 관심을 보이지 않아도 묵묵히 자신의 일을 열심히 수행한다. 불의의 정전에도 서비스는 멈추지 않는다. 화일 시스템도 깨지지 않는다. 어제 p9으로 보안 업그레이드를 했으니 당분간은 손 갈 일도 없다. 그러나 DESKTOP이 아니니 비교대상은 될 수 없다.
작업을 마쳤으니 대충 스크린 샷을 찍어 결과물을 등록해 둔다. 또한 추후 동일한 삽질을 피하기 위해서라도 몇가지 설정을 저장해 둔다.
1. 가벼운 윈도우 매니저 icewm. (jim-mac theme)
“>
2. MozillaFirebird with LunaBlue theme
“>
3. W2K Server by using rdesktop and Windows Media Player by wine project
“>
4. Some Useful Application (Winamp, Xmule, sandhur, xpenguins and more…)
“>
Screenshot catpured by XV.
########## KERNEL COMPILE 문제가 생기면 복구시킬 커널 이미지를 찾아 rescue를 구성한다. # ls -la / vmlinuz -> boot/vmlinuz-2.2.xx # ln -s boot/vmlinuz-2.2.xx /rescue # vi /etc/lilo.conf default=Linux image=/vmlinuz label=Linux read-only image=/rescue <<--- 추가 label=Rescue <<---- 추가 read-only <<------- 추가 커널 컴파일시 필요한 팩키지 : kernel-package, bzip2, ncurses lib kernel.org에서 커널을 받아 /usr/src에 풀어놓은후 /usr/src/linux로 심볼릭 링크를 걸어둔다. cd /usr/src/linux # make menuconfig # make-kpkg kernel-image # make-kpkg kernel-headers cd /usr/src # dpkg -i kernel-image-xxx.xxx.xxx.deb # dpkg -i kernel-headers-xxx.xxx.xxx.deb # update-modules; depmod -a # lilo # reboot # uname -r (optional) ########## APT-GET SOURCELIST deb http://ftp.debian.org/debian stable main contrib non-free deb ftp://ftp.sayclub.com/pub/Debian stable contrib non-free deb ftp://ftp.sayclub.com/pub/Linux/debian-non-us stable/non-US main contrib non-free deb http://security.debian.org/ stable/updates main contrib non-free ########## rdesktop setting http://www.rdesktop.org에서 소스를 받아온다. ssl을 지원하기 위해 dselect 등으로 libssl 을 설치한다. readme 화일을 보고 설치를 완료한다. #rdesktop -u account -g 1024*768 SERVERIP ########## X CONFIGURATION ~/.xinitrc export LANG=ko_KR.eucKR export LC_ALL=ko_KR.eucKR export XMODIFIERS="@im=Ami" xmodmap ~/.Xmodmap ami & exec icewm ~/.Xmodmap keycode 122 = Hangul keycode 121 = Hangul_Hanja ########## ICEWM CONFIGURATION # cat ~/.icewm/winoptions (아미를 태스크바에 넣기 위해) .... Ami.icon: /usr/share/ami/pix/love/ami-d.xpm Ami.tray: Exclusive Ami.ignoreWinList: 1 Ami.ignoreQuickSwitch: 1 Ami.startMinimized: 1 # cat /usr/X11R6/lib/X11/icewm/themes/jim-mac/default.theme ThemeAuthor="Jakub Steiner" ThemeDescription="Advertisement for MacOS" Look=metal TitleBarHeight=17 TaskBarClockLeds=0 ClockFontName="-*-lucida-medium-r-*-*-10-*-*-*-*-*-*-*" TaskBarClockLeds=0 ColorClock="#DCDEDC" ColorClockText="#000000" BorderSizeX=2 BorderSizeY=2 CornerSizeX=16 CornerSizeY=16 DlgBorderSizeX=2 DlgBorderSizeY=2 TitleFontName="-ms-gulim-medium-r-normal-*-*-90-*-*-c-*-ksc5601.1987-0" NormalTaskBarFontName="-ms-gulim-medium-r-normal-*-*-90-*-*-c-*-ksc5601.1987-0" ActiveTaskBarFontName="-ms-gulim-medium-r-normal-*-*-90-*-*-c-*-ksc5601.1987-0" DesktopBackgroundCenter=1 # 0/1 DesktopBackgroundColor="rgb:63/71/8C" DesktopBackgroundImage="bcg.xpm" ColorNormalBorder="rgb:DD/DD/DD" ColorActiveBorder="rgb:DD/DD/DD" ColorActiveTitleBar="rgb:CC/CC/CC" .... ########## XF86Config-4 (Nvidia 드라이버를 설치해야 한다. http://nvidia.com) ### BEGIN DEBCONF SECTION # XF86Config-4 (XFree86 server configuration file) generated by dexconf, the # Debian X Configuration tool, using values from the debconf database. # # Edit this file with caution, and see the XF86Config-4 manual page. # (Type "man XF86Config-4" at the shell prompt.) # # If you want your changes to this file preserved by dexconf, only make changes # before the "### BEGIN DEBCONF SECTION" line above, and/or after the # "### END DEBCONF SECTION" line below. # # To change things within the debconf section, run the command: # dpkg-reconfigure xserver-xfree86 # as root. Also see "How do I add custom sections to a dexconf-generated # XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz. Section "Files" # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/gulim" FontPath "/usr/lib/X11/fonts/batang" FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" FontPath "unix/:7100" # local font server EndSection Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" # Load "freetype" Load "glx" Load "int10" Load "pex5" Load "record" Load "speedo" Load "type1" Load "vbe" Load "xie" Load "xtt" Load "TrueType" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" # Option "Protocol" "PS/2" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "SendCoreEvents" "true" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "vga" Driver "nvidia" VideoRam 32768 # Option "UseFBDev" "true" EndSection Section "Monitor" Identifier "mon" HorizSync 30-70 VertRefresh 50-150 Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "vga" Monitor "mon" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1152x864" EndSubSection SubSection "Display" Depth 4 Modes "1152x864" EndSubSection SubSection "Display" Depth 8 Modes "1152x864" EndSubSection SubSection "Display" Depth 15 Modes "1152x864" EndSubSection SubSection "Display" Depth 16 Modes "1152x864" EndSubSection SubSection "Display" Depth 24 Modes "1152x864" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Generic Mouse" EndSection Section "DRI" Mode 0666 EndSection ### END DEBCONF SECTION
Leave a Reply