2009/09/06
아치 리눅스 (Arch Linux)
빠르고 간결하게 가볍게!
http://www.archlinux.org/
http://www3.opensourcekorea.org/~arch/xe/
http://wiki.archlinux.org : [초보자 가이드]
-- 설치 arch linux (아래 미러 사이트 수동추가 ko locale 추가)
..
-- 설치중
- xfce -
pacman -S xorg
pacman -Ss xf86-video 나오는 목록중 자신의 것을 골라
pacman -S xf86-video-radeonhd libgl ati-dri
pacman -S hwdetect
hwdetect -s
lspci |grep VGA
pacman -S hal dbus
vi /etc/rc.conf (DAEMONS 항목에 hal dbus 추가)
startx or xinit
vi /etc/X11/xorg.conf (다음은 기본예)
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
FontPath "/usr/share/fonts/local/"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 7300"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
EndSection
pacman -S xfce4
pacman -S xfce4-goodies
pacman -S esound
pacman -S gnome-icon-theme
pacman -S tango-icon-theme
startxfce4
$HOME/.xinitrc >> exec startxfce4 추가
gpasswd -a USER power (halt/poweroff/shutdown)
pacman -Sy alsa-lib alsa-utils alsa-oss gstreamer0.10-plugins
ls -l /sys/module/snd/holders
vi /etc/modprobe.d/modprobe.conf
(options snd-intel8x0 index=0
options snd-pcsp index=1)
lsmod|grep '^snd' | column -t
ls -l /dev/snd
modprobe snd-NAME-OF-MODULE
modprobe snd-pcm-oss
alsamixer set Master 90% unmute
alsamixer set PCM 85% unmute
alsaconf
vi /etc/rc.conf (DAEMONS에 alsa 추가)
alsactl store
alsactl restore
gpasswd -a USERNAME audio
aplay /usr/share/sounds/alsa/Front_Center.wav
wget http://myhome.qook.co.kr/~webmagic/dg.mp3
pacman -S xfce4-mixer
pacman -S gstreamer0.10-good-plugins gstreamer0.10-bad-plugins
-- slim : http://www3.opensourcekorea.org/~arch/xe/?document_srl=4163
: 로그인 매니저
pacman -S slim slim-themes
vi /etc/slim.conf
current_theme wave,lake,lunar,rainbow
vi /etc/$HOME/.xinitrc
exec startxfce4
vi /etc/rc.conf
DAEMONS=(... slim ...)
--설치후 arch linux
- 폰트 설치 -
은폰트 기본 wget http://arch.freebsdcity.org/korea/ttf-alee-11.5-1-i686.pkg.tar.gz
네이버 사전체 wget http://cdn.naver.com/naver/dic/naverdic.tgz
1.
pacman -U ttf-alee.-11.5-1-i686.pkg.tar.gz
fc-cache
2. 직접, 압축풀고, ttf 파일을
~/.fonts or /usr/share/fonts
cp 폰트글꼴 ~/.fonts
fc-cache
-- direct rendering
glxgears
glxinfo |grep render
-- compiz
pacman -S compiz-fusion
fusion-icon
- 한글 입력기 -
pacman -S scim scim-hangul
vi ~/.xprofile
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
scim -d
- pacman mirror -
vi /etc/pacman.d/mirrorlist
Server = http://mirror.linux.sarang.net/archlinux/$repo/os/i686
Server = http://archlinux.cbn.net.id/$repo/os/i686
Server = http://schlunix.org/archlinux/$repo/os/i686
Server = http://archlinux.unixheads.org/$repo/os/i686
Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/i686
Server = http://mirrors.hosef.org/archlinux/$repo/os/i686
Server = http://mirror.rit.edu/archlinux/$repo/os/i686
파일 저장 후 pacman -Syu
- locale ko_KR -
vi /etc/locale.gen << locale="ko_KR.UTF-8" all="(ALL)" ls="'ls" color="auto" ll="'ls">
2009/09/01
[KLDP펌] Linux 시스템 백업과 복원
이글은 우분투 포럼에 A-star라는 작자가 올린 글을 요약 정리 한겁니다.
http://ubuntuforums.org/showthread.php?t=81311
방법은 간단합니다.
tar로 전체 시스템을 압축하는 명령어를 사용하면서
/proc , /lost+found , /mnt , /sys 는 제외하고 압축하고
나중에 복원은 이 파일 압축 푸는 방식입니다.
===========압축=========================
방법은 아래에 순서대로 작성했습니다.
sudo su
cd /
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/media --exclude=/sys /
그러니까 루트 권한으로 바꾸고 나서 최상위 리스트로 올라가서 tar 명령어를 적용하는데
압축 파일이름은 backup.tgz로 하고 압축시 /proc , /lost+found , /mnt , /sys, /media 는 제외하자는 겁니다.
각자 사정에 맞춰서 제외할 디렉토리는 더 추가하시면 되겠죠.
그런 후에 backup.tgz파일을 dvd로 굽든 랜으로 다른 컴터로 옮기시든 하시면 되겠죠.
압축 종료후 나오는 'tar: Error exit delayed from previous errors'란 메세지는 쌩까시면 됩니다.
압축률을 좀더 높이자면 Bzip2나 7zip으로 압축하시면 됩니다.
Bzip2로 압축할 경우 아래 명령어를 쓰시면 됩니다. (cvpzf에서 cvpjf로 옵션을 바꿔야합니다.)
tar cvpjf backup.tar.bz2 --exclude=/proc --exclude=/lost+found --exclude=/backup.tar.bz2 --exclude=/mnt --exclude=/media --exclude=/sys /
==============복원===================
backup.tgz는 루트디렉토리에 있어야합니다.
sudo su
그리고 아래 명령어를 먹여주면 됩니다.
tar xvpzf backup.tgz -C /
Bz2로 압축한 경우
tar xvpjf backup.tar.bz2 -C /
그러고 나서 압축시 제외했던 폴더는 따로 만들어 주면됩니다mkdir sys.
아래처럼
mkdir proc
mkdir lost+found
mkdir mnt
mkdir sys
mkdir media
etc...
=====================================
만약 압축하고 자시고 하는게 너무 귀찮다하시면 아래 방법을 쓰면 됩니다.
이건 어떤 분 블러그에서 보고 배운건데
원본 시스템이 깔린 하드 A가 있고 그 시스템을 똑같이 복사할 하드 B가 있다고 하면
하드 B를 하드 A에 케이블로 연결을 해서 아래 명령어를 적용시키면 됩니다.
cat (하드A) > (하드B)
만약 하드 A 위치가 /dev/hdb이고 하드 B 위치가 /dev/hdc라면 이렇게 되는거죠.
cat /dev/hdb > /dev/hdc
그러면 하드A의 내용이 하드B에 완전히 모조리 똑같이 백업됩니다. 당연히 시스템 디바이스 관련된것도
같이 가니까 사용할 컴터 스펙은 동일해야겠죠.
2009/08/09
2009/08/01
달걀 삶기
2. 물이 보글보글 끊어서 물표면이 마구 요동치면 불을 끄고 냄비뚜껑을 닫는다.
3. 시간이 중요한데, 12~15분 정도 기다리면 달걀이 단단하게 익는다.
4. 냄비에서 달걀을 꺼내 찬물로 기절시켜 더이상 익지 못하게 한다.
1. 뚜껑 달린 냄비류에 한국자 정도의 물을 넣고 달걀과 함께 끓인다
2. 물이 끓으면 불을 끄고 뚜껑을 덮고 5-10분 기다린다. (반숙과 완숙 조절)
1. 전기주전자류에 잠길정도 물을 넣고 끓인다.
http://ryudonghyup.com/2007/04/27/boiling-eggs/
http://nuridol.egloos.com/980559
2009/07/19
밥(rice)
쌀 속에는 가바(Gaba)라는 물질이 함유되어 있는데, 이는 혈액 내 중성지방을 줄이고 간 기능을 높여 뇌혈류를 개선하는 의약품으로 연구되고 있다. 특히 이 성분은 쌀눈에 풍부하여 쌀을 물에 담가두면 배아가 발아준비에 들어가면서 가바가 늘어난다고 한다.
쌀의 주된 영양성분은 당질인 탄수화물로 하루 세끼 같은 양을 먹게 되면 체내 포도당이 일정하게 유지하도록 하여 살이 찌지 않게 된다. 또한 위장의 기능을 복돋아 주고 오장의 기능을 활성시켜 기와 혈의 순환을 촉진시키는 역할도 한다.
- 기본 쌀밥 짓기
1 쌀 씻기
물을 부어 씻을 때는 오래도록 씻지 않도록 한다. 큰 그릇에 물을 듬뿍 붓고 재빨리 한 번 섞듯이 씻은 후 물을 따라버려야 쌀눈의 영양 손실을 줄일 수 있을 뿐더러 쌀겨 냄새가 배는 것을 막을 수 있다.
양손바닥으로 쌀을 움켜쥐듯이 하여 문질러 씻는데, 이 과정은 쌀겨가 씻겨나가 수분이 잘 흡수되어 밥맛이 좋아지게 하는 중요한 과정이다 문지른 다음 맑은 물이 나올 때 까지 서 너 번 정도 씻는다.
씻어서 잠시 체에 건져 불리는 과정을 해야 밥이 고슬거리게 잘 지어진다. 일어낸 쌀을 30분정도 물에서 불린 후에 소쿠리에 밭쳐 물기를 빼고 젖은 행주로 1시간 정도 덮어준 뒤에 밥을 지으면 맛이 더욱 좋아진다.
2 밥물 맞추기
불린 쌀이나 햅쌀의 밥물은 쌀의 양과 같은 양이 좋고 묵은 쌀은 쌀의 1.5배정도로 밥물을 잡는데 손으로 맞출 때에는 약 1cm정도 올라오도록 물을 맞추고 묵을 쌀로 지을 때에는 손등의 반까지 붓는 것이 정확하다.
3 끓이기
쌀을 냄비에 앉힌 후에 뚜껑을 덮고 센 불에서 끓인다. 10분쯤 되면 부글부글 끓는 상태가 되는데 이때 밥물이 넘지 않도록 조심한다.
물이 따닥따닥 소리를 내며 잦아들 때 불을 약간 줄이고 주걱으로 한번 뒤섞어준다. 이 상태에서 뚜껑 덮고 4-5분정도 끓인다. 중불로 줄여 5분 정도 더 끓인다. 밥물이 어느 정도 잦아질 때 까지 끓인다.
4 뜸들이기
밥물이 어느 정도 없어지면 완전히 약한 불로 줄여서 10분정도 뜸을 들인다. 뜸 들이는 과정이야 말로 밥맛을 좌우한다. 밥알 속까지 말랑 말랑해져서 밥맛이 좋아지기 때문이다. 단, 너무 오래 뜸을 들이면 밥이 덩어리져서 맛이 없다.
5 밥푸기
밥솥에 밥을 오래 두면 밥맛이 변한다. 주걱으로 아래위를 살살 섞어 뜨거운 김을 날린 후 뚜껑이 있는 그릇에 담아두면 밥맛이 변하지 않고 그대로 유지된다.
- 묵은쌀로 밥하기
묵은쌀로 밥을 할 때에는 다시마를 사방 5cm로 잘라 밥물이 끓을 때 넣으면 밥에 윤기가 돌고 묵은 냄새가 없다.
또 다른 방법으로는 묵은 냄새를 완전하게 제거하려면 청주나 식초를 1작은술 밥물에 넣어서 밥을 지으면 밥의 묵은내가 나지 않는다.
밥에 윤기를 돌게 하려면 식용유 한 방울을 밥물에 떨어뜨려 밥을 지으면 밥에서 윤기가 자르르 흘러 마치 햅쌀로 밥을 지은 것 같은 윤기가 돈다.
- 맛있게 밥 짓기
묵은 쌀의 경우 밥물에 청주나 식용유를 한 큰술 넣어주면 밥알에 윤기가 돌고 맛도 좋아진다. 그 외에 다시마 국물을 붓거나 소금을 조금 넣어 밥을 해도 감칠맛을 느낄 수 있다. 수돗물보다는 정수나 생수를 이용하면 밥맛이 더욱 좋아 진다. 부드러운 밥맛을 느끼려면 식초를 한 두 방울 떨어뜨려준다.
- 일반 솥이나 냄비 돌솥에 밥 짓기
뚝배기, 돌솥, 솥, 냄비 등 모두 해당되는데 뜸을 뭉근히 들일 수 있어 밥이 구수한 장점이 있다. 물의 양은 쌀의 1배~1.2배가 기본.
1 쌀을 깨끗하게 씻어 물에 30분정도 담갔다가 솥에 담기 전에 체에 밭여 물을 뺀다.
2 솥에 쌀을 안치고 밥물을 부어 밥을 짓는다. 처음에는 센불에서 끓이다가 중불로 줄여 5분에서 6분정도 뜸을 들인다. 물이 잦아들면 불을 아주 약하게 줄여 뭉근히 뜸을 들인다.
→뚝배기나 돌솥에서 밥을 하는 경우는 열이 천천히 오르면서 그 열이 오래도록 남아 있어 바닥이 타기 쉽다. 이럴 때에는 밥물이 끓으면 바로 불을 아주 약하게 줄이고 뜸을 오래도록 들이면서 중간에 한번 뒤섞여 주어야 밥이 눌지 않고 맛있다.
- 압력솥에 밥 짓기
가장 많은 가정에서 보편적으로 쓰이는 압력솥은 밥 짓는 시간이 짧고 찰기가 많아서 묵은쌀로 밥을 지으면 더욱 좋은데 잡곡밥을 지을 때에도 잡곡이 쉽게 물러 먹기에 편리한 장점이 있다. 밥물은 쌀과 동량이거나 1.1배가 적당하다.
1 쌀을 깨끗하게 씻어 물에 30분정도 담갔다가 밥 짓기 전에 체에 밭쳐 물기를 뺀다.
2 압력솥에 쌀을 안치고 밥물은 일반 솥보다 적게 잡아 밥을 짓는다.
- 전기밥솥에서 밥 짓기
예약기능과 보온기능을 갖고 있어서 가장 편리하지만 밥물을 자칫 잘못 잡으면 밥이 푸석거려 맛이 없고 오래두면 냄새가 나기도 한다. 밥물은 쌀의 1.2배가 적당하다.
1 쌀을 씻어서 물에 30분정도 담갔다가 체에 건져 물기를 뺀다.
2 전기밥솥에 쌀을 붓고 밥솥에 표시된 대로 물의 양을 잡아 밥을 짓는다. 쌀의 1.2배정도로 표시가 되어 있어서 초보가 이용하기에 알맞다.
- 잡곡밥
재료
수수 기장조 흑미 3큰술, 보리쌀 1/5컵, 현미 1/4컵, 멥쌀 1컵, 물 2 1/2컵
이렇게 만드세요!
1 수수는 빨간 물이 나오지 않을 때까지 씻어서 체에 밭쳐 1시간 이상 불리고, 기장조와 보리쌀도 각각 씻어서 체에 밭쳐 1시간 이상 불린다.
2 현미와 흑미, 멥쌀은 각각 씻어서 물에 30분 이상 담갔다가 건져 체에 밭쳐 1시간 이상 불린다.
3 솥에 수수와 보리쌀 현미 흑미 멥쌀을 섞어서 안치고 위에 기장조를 올려서 물을 분량만큼 붓는다.
4 불에 올려서 센불에서 10분정도 끓여 밥물이 끓으면 중간 불로 바꿔서 2분 정도 더 끓인다.
5 밥물이 잦아들면 불을 약하게 줄이고 뜸을 8분 이상 들인다.
6 뜸이 충분하게 들어 잡곡밥이 부드럽게 퍼지면 위아래를 뒤섞어서 윤기 있게 밥을 퍼 담는다.
Point
잡곡은 처음부터 모두 합해서 씻으면 잡곡 각각의 성분이 자칫 없어질 수 있다. 수수는 빨간물이 나오지 않을 때까지 씻어서 헹궈야 하고 기장조는 돌을 골라내고 체에 쳐서 씻어서 불려야 한다.
현미와 멥쌀, 흑미는 씻어서 잠시 물에 담갔다가 건져 체에서 1시간 이상 불려야 고슬하게 잘 퍼진 밥이 완성된다.
2009/07/18
gentoo apache mysql php pure-ftpd gd phpadmin qmail
http://en.gentoo-wiki.com/w/index.php?search=march
http://en.gentoo-wiki.com/wiki/Index:Tutorials
======== kernel ======
# lspci
# lsmod
======== locale ======
# nano -w /etc/locale.gen
ko_KR.UTF-8 UTF-8
# locale-gen
# nano -w /etc/env.d/02locale
LANG="ko_KR.UTF-8"
LC_CTYPE="ko_KR.UTF-8"
LC_NUMERIC="ko_KR.UTF-8"
LC_TIME="ko_KR.UTF-8"
LC_COLLATE="ko_KR.UTF-8"
LC_MONETARY="ko_KR.UTF-8"
LC_MESSAGES="ko_KR.UTF-8"
LC_PAPER="ko_KR.UTF-8"
LC_NAME="ko_KR.UTF-8"
LC_ADDRESS="ko_KR.UTF-8"
LC_TELEPHONE="ko_KR.UTF-8"
LC_MEASUREMENT="ko_KR.UTF-8"
LC_IDENTIFICATION="ko_KR.UTF-8"
LC_ALL="ko_KR.UTF-8"
# env-update && source /etc/profile
========== make.conf ===========
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
LINGUAS="ko en"
VIDEO_CARDS="vmware"
INPUT_DEVICES="keyboard mouse evdev"
GENTOO_MIRRORS="http://ftp.gentoo.or.kr/ http://ftp.daum.net/gentoo/"
# for php
USE="apache2 mysql suhosin nls ssl gd ftp jpeg ipv6 truetype cgi"
# php for phpmyadmin
USE="crypt ctype pcre session unicode vhosts"
# php for phpBB
USE="zlib xml"
# for pure-ftpd
USE="pam"
# for apache
USE="php"
======== mysql apache php gd pure-ftpd phpmyadmin =====
// # echo 'dev-php5/phpdbg ~x86' >> /etc/portage/package.keywords
// # emerge dev-php5/phpdbg
# emerge dev-db/mysql apache php gd pure-ftpd
# mysql_setpermission
# emerge phpmyadmin
htdocs # webapp-config -I phpmyadmin 2.11.9.5 -d phpmyadmin
phpmyadmin webconfig
http://en.gentoo-wiki.com/wiki/Creating_an_Updated_Ebuild
============= system ==================
# emerge --sync
# emerge system
# emerge world
# etc-update
============== config ===============
http://en.gentoo-wiki.com/wiki/Apache
============== cron ================
# crontab -e
0 3 * * 1 emerge --sync // 매주 월 새벽 3:00
0 3 * * 2 emerge system // 매주 화 새벽 3:00
0 3 * * 3 emerge world // 매주 수 새벽 3:00
분 시 일 월 주 명령
============== qmail ===============
============= webmin ==============
2009/07/16
make.conf
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
# CFLAGS="-O2 -march=i686 -pipe"
# CXXFLAGS="-O2 -march=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
LINGUAS="ko en"
VIDEO_CARDS="radeonhd radeon"
INPUT_DEVICES="keyboard mouse evdev"
GENTOO_MIRRORS="http://ftp.gentoo.or.kr/ http://ftp.daum.net/gentoo/"
USE="X aac flac mp2 mp3 oggvorbis vorbis dts dvb httpd firefox mozilla ssl openmp gimp gimpprint asf avi live mpeg quicktime real realmedia win32codecs x264 xvid apache2 mysql ffmpeg encode gif jpeg pdf png dvd dvdr dvdread 3dnow 3dnowext sse sse2 mmx mmxext usb opengl alsa hardcode-tables ssse3 crypt pythonbitmap-fonts truetype truetype-fonts bzip2 bzlib zlib rar cups hal gstreamer gtk gtk2 java nsplugin ncurses readline userlocales xv pam unicode dbus xml mplayer svg ipv6 network xscreensaver nls php keyboard apm mad a52 modplug musepack theora v41 xcb xfce corefonts cxx perl acl gpm -gnome -kde -kde4 trash-plugin file-icons menu-plugin glitz"
source /usr/local/portage/layman/make.conf
=====================================================
torrent : transmission
image : mirage
test3
# nano -w /etc/layman/layman.cfg
overlays : http://www.gentoo.org/proj/en/overlays/layman-global.txt
http://gentoo-kr.kldp.net/overlays.xml
# emerge dev-util/subversion
# emerge -avu dev-util/git // xfce 메뉴 아이콘 요고
# layman -f
# layman -L
# layman -a gentoo-kr
# layman -S
# echo "source /usr/local/portage/layman/make.conf" >> /etc/make.conf
# mkdir -p /usr/local/portage/profiles/
# echo "local_overlay" > /usr/local/portage/profiles/repo_name
File: /etc/portage/package.keywords
dev-python/compizconfig-python
x11-wm/compiz
x11-wm/compiz-fusion
x11-plugins/compiz-plugins-main
x11-plugins/compiz-plugins-extra
x11-plugins/compiz-plugins-unsupported
x11-wm/emerald
x11-themes/emerald-themes
x11-apps/ccsm
x11-libs/libcompizconfig
x11-libs/compizconfig-backend-gconf
x11-libs/compizconfig-backend-kconfig
x11-libs/compiz-bcop
# emerge -av compiz-fusion
File: /etc/X11/xorg.conf
Section "Extensions"
Option "Composite" "On"
EndSection
Section "ServerFlags"
Option "AIGLX" "On"
EndSection
2009/07/15
xorg.conf
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection
Section "Module"
Load "glx"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "fglrx"
EndSection
============== ex : 2 ================
Section "ServerLayout"
Identifier "X.Org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "AlwaysCore"
# InputDevice "Serial Mouse" "AlwaysCore"
InputDevice "USB Mouse" "AlwaysCore"
#No Synaptics touchpad found
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
FontPath "/usr/share/fonts/util"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/arphicfonts"
FontPath "/usr/share/fonts/jisx0213"
FontPath "/usr/share/fonts/shinonome"
FontPath "/usr/share/fonts/baekmuk-fonts"
FontPath "/usr/share/fonts/kacst-fonts"
FontPath "/usr/share/fonts/sgi-fonts"
FontPath "/usr/share/fonts/unfonts"
FontPath "/usr/share/fonts/default/ghostscript"
FontPath "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection
Section "Module"
Load "ddc"
Load "vbe"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap"
Load "type1"
Load "freetype"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
# Option "XkbOptions" "grp:toggle,grp_led:scroll"
Option "XkbVariant" ",winkeys"
Option "XkbLayout" ""
EndSection
Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/misc/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Protocol" "event"
Option "Device" ""
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1900"
Option "BottomEdge" "4000"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.10"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection
# Auto-generated by mkxf86config
Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0 - 96.0
VertRefresh 50.0 - 75.0
EndSection
Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
#Option "MonitorLayout" "LVDS, NONE"
Identifier "Card0"
# The following line is auto-generated by x11-misc/mkxf86config
Driver "ati"
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
===================== me) ==============
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "dri"
Load "xtrap"
Load "dbe"
Load "record"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 35.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer,
###
### [arg]: arg optional
#Option "NoAccel" # [
#Option "AccelMethod" # [
#Option "offscreensize" # [
#Option "SWcursor" # [
#Option "ignoreconnector" # [
#Option "forcereduced" # [
#Option "forcedpi" #
#Option "useconfiguredmonitor" # [
#Option "HPD" #
#Option "NoRandr" # [
#Option "RROutputOrder" # [
#Option "DRI" # [
#Option "TVMode" # [
#Option "ScaleType" # [
#Option "UseAtomBIOS" # [
#Option "AtomBIOS" # [
#Option "UnverifiedFeatures" # [
Identifier "Card0"
Driver "radeonhd"
VendorName "ATI Technologies Inc"
BoardName "Radeon HD 3870"
BusID "PCI:5:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "On"
EndSection
Section "ServerFlags"
Option "AIGLX" "On"
EndSection
2009/07/13
커널(kernel)
Device Drivers --->
<*> Sound card support --->
<*> Advanced Linux Sound Architecture --->
[*] PCI sound devices --->
<*> Intel HD Audio --->
[*] Build Realtek HD-audio codec support
[*] Build ATI HDMI HD-audio codec support
- Network card (8168/8169/8101/8111)
Device Drivers --->
Network device suport -->
[*] Network device support
Ethernet (1000 Mbit) --->
<*> Realtek 8169 gigabit ethernet support
-Hardware 3D Acceleration Guide
Processor type and features --->
<*> MTRR (Memory Type Range Register) support
Device drivers --->
Graphics support --->
(The agpgart option is not present on 64-bit kernels; just choose your chipset support.)
(Enable your chipset instead of the above.)
-Using UTF-8 with Gentoo
File Systems -->
Native Language Support -->
(utf8) Default NLS Option
<*> NLS UTF8
(Also <*> other character sets that are in use in
your FAT filesystems or Joilet CD-ROMs.)
File Systems -->
DOS/FAT/NT Filesystems -->
(437) Default codepage for fat
-Power Management Guide
Power management and ACPI options --->
[*] Power Management Support
[ ] Software Suspend
ACPI( Advanced Configuration and Power Interface ) Support --->
[ ] Deprecated /proc/acpi/ files
[*] AC Adapter
[*] Battery
[ ] Generic Hotkey
< > ASUS/Medion Laptop Extras
< > IBM ThinkPad Laptop Extras
< > Toshiba Laptop Extras
(0) Disable ACPI for systems before Jan 1st this year
[ ] Debug Statements
[*] Power Management Timer Support
< > ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)
CPU Frequency Scaling --->
[*] CPU Frequency scaling
[ ] Enable CPUfreq debugging
< > CPU frequency translation statistics
[ ] CPU frequency translation statistics details
Default CPUFreq governor (userspace)
<*> 'performance' governor
<*> 'powersave' governor
<*> 'ondemand' cpufreq policy governor
<*> 'conservative' cpufreq governor
<*> CPU frequency table helpers
<*> CPUFreq driver for your processor
-Gentoo Printing
Device Drivers -->
<*> Parallel port support
<*> PC-style hardware
Device Drivers -->
Character Devices -->
<*> Parallel printer support
[*] IEEE 1284 transfer modes)
Device Drivers -->
USB Support -->
<*> Support for Host-side USB
(...)
--- USB Host Controller Drivers
(Select the HCD that your system uses. If you do not know which one
to select, run "lspci -v | grep HCI" from another terminal)
<*> EHCI HCD (USB 2.0) support ( or )
<*> OHCI HCD support ( or )
<*> UHCI HCD (most Intel and VIA) support
(...)
<*> USB Printer support
File systems -->
Network File Systems -->
<*> SMB file system support (to mount Windows shares etc.)
<*> CIFS support (advanced network file system for Samba, Windows and other CIFS compliant servers)
=========================================================
ex) vmware kernel
---------------------------------------------------------------------------------
Enable loadable module support --->
--- Enable loadable support
[*] Module unloading
[*] Forced module unloading
[*] Automatic kernel module loading
Processor type and features --->
+ Processor family (Core 2/newer Xeon)
(2) Maximum number of CPUs (2-255)
Device Drivers --->
+ SCSI device support --->
--- SCSI device support
<*> SCSI disk support
<*> SCSI generic support
++ SCSI Transports
[*] SCSI low-level drivers --->
+++ <*> BusLogic SCSI support
+++ [*] Omit FlashPoint support
+ Fusion MPT device support --->
++ <*> Fusion MPT ScsiHost drivers for SPI
++ <*> Fusion MPT ScsiHost drivers for FC
++ <*> Fusion MPT ScsiHost drivers for SAS
++ (128) Maximum number of scatter gather entries (16 - 128)
++ <*> Fusion MPT misc device (ioctl) driver
++ [*] Fusion MPT logging facility
+ Network device support --->
++ Ethernet (10 or 100Mbit) --->
+++ [*] EISA, VLB, PCI and on board controllers
+++ <*> AMD PCnet32 PCI support
+ Sound --->
++ Advanced Linux Sound Architecture --->
+++ <*> Advanced Linux sound Architecture
+++ <*> OSS Mixer API
+++ <*> OSS PCM (digital audio) API
++++ PCI devices --->
+++++ <*> (Creative) Ensoniq AudioPCI 1371/1373
File systems --->
+ DOS/FAT/NT Filesystems --->
++ (949) Default codepage for FAT
++ (EUC-KR) Default iocharset for FAT
++ <*> NTFS file system support
++ [*] NTFS debugging support
++ [*] NTFS write support
+ Native Language Support --->
++ (utf8) Default NLS Option
++ <*> Codepage 437 (United States, Canada)
++ <*> Korean charset (CP949, EUC-KR)
++ <*> NLS ISO 8859-1 (Latin 1; Western European Languages)
++ <*> NLS UTF8
---------------------------------------------------------------------------------
Kernel panic: VFS: Unable to mount root fs on xx xx
kernel 에 ext2 파티션 추가
자신의 하드디스크 관련 모듈 추가
2009/07/11
초기 설정
# modprobe r1000
# /etc/init.d/net.eth0 restart
# echo r1000 >> /etc/modules.autoload.d/kernel-2.6
(나중에 해줘도 되고, 커널에 포함됐을경우는 생략, r8169, pcnet32, r1000,
r8168:RTL8111/8168)
# echo 'config_eth0=( "dhcp" )' >> /etc/conf.d/net
or
# echo 'config_eth0=( "192.168.176.135" )' >> /etc/conf.d/net
# echo 'routes_eth0=( "default via 192.168.176.1" )' >> /etc/conf.d/net
# cat /etc/resolv.conf
nameserver 168.126.63.1
nameserver 168.126.63.2
-- end --
-- locale --
# nano -w /etc/locale.gen
ko_KR.UTF-8 UTF-8
# locale-gen
# nano -w /etc/env.d/02locale
LANG="ko_KR.UTF-8"
LC_CTYPE="ko_KR.UTF-8"
LC_NUMERIC="ko_KR.UTF-8"
LC_TIME="ko_KR.UTF-8"
LC_COLLATE="ko_KR.UTF-8"
LC_MONETARY="ko_KR.UTF-8"
LC_MESSAGES="ko_KR.UTF-8"
LC_PAPER="ko_KR.UTF-8"
LC_NAME="ko_KR.UTF-8"
LC_ADDRESS="ko_KR.UTF-8"
LC_TELEPHONE="ko_KR.UTF-8"
LC_MEASUREMENT="ko_KR.UTF-8"
LC_IDENTIFICATION="ko_KR.UTF-8"
LC_ALL="ko_KR.UTF-8"
# env-update && source /etc/profile
-- end locale --
-- adduser --
adduser 유저이름 -m -s /bin/bash -G wheel,audio,users
passwd 유저이름
-- end --
-- /etc/make.conf --
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
LINGUAS="ko en" // for korea
VIDEO_CARDS="radeonhd radeon"
INPUT_DEVICES="keyboard mouse"
USE="X aac flac mp2 mp3 oggvorbis vorbis dts dvb httpd firefox mozilla ssl
openmp gimp gimpprint asf avi live mpeg quicktime real realmedia win32codecs
x264 xvid apache2 mysql ffmpeg encode gif jpeg pdf png dvd dvdr dvdread
3dnow 3dnowext sse sse2 mmx mmxext usb opengl alsa hardcode-tables ssse3
crypt pythonbitmap-fonts truetype truetype-fonts bzip2 bzlib zlib rar cups
hal gstreamer gtk gtk2 java nsplugin ncurses readline userlocales xv pam
unicode dbus xml mplayer svg ipv6 network xscreensaver nls php keyboard apm
mad a52 modplug musepack theora v41 xcb xfce corefonts cxx perl acl gpm -
gnome -kde -kde4"
-- end --
-- nabi --
$ nano -w $HOME/.xinitrc
export XMODIFIERS="@im=nabi"
export GTK_IM_MODULE=hangul2
export GDK_USE_XFT=1
export G_BROKEN_FILENAMES=1
nabi &
exec startxfce4
# nano -w /etc/X11/Xmodmap
keycode 109 = Hangul_Hanja
keycode 113 = Hangul
( keycode 값은 xev로 확인 : emerge xev)
-- end nabi --
-- xfce4 --
# emerge -a xfce4
# emerge -a xfce4-extras
# emerge hal
# /etc/init.d/hald start
# rc-update add hald default
- starting xfce : xdm -
# emerge -a xdm
# echo 'XSESSION="Xfce4"' >> /etc/env.d/90xsession
# /etc/init.d/xdm restart
# echo 'xfce4-session' >> $HOME/.xsession
# rc-update add xdm default
# cat /etc/conf.d/xdm
DISPLAYMANAGER="xdm"
:use slim
# emerge -av slim
# emerge -av slim-themes
# nano -w /etc/conf.d/xdm
DISPLAYMANAGER="slim"
- end -
- startx -
# echo 'exec startxfce4' >> $HOME/.xinitrc
# startx
- end -
-- end --
-- sound -- http://www.gentoo.org/doc/en/alsa-guide.xml
# lspci |grep Audio
# modprobe snd-hda-intel
# emerge alsa-utils alsa-oss alsa-headers alsa-lib
//alsa-utils 까지만 해볼것
# /etc/init.d/alsasound snd-hda-intel
# rc-update add alsasound boot
# gpasswd -a
# /etc/init.d/alsasound start
# alsamixer
# emerge mplayer xfce4-mixer
-- end --
-- etc --
# emerge nabi pciutils baekmuk-fonts unfonts nabi mozilla-firefox xfmedia
Xfburn vim adobe-flash
# emerge -a bittorrent
xfce4-mixer xfce4-power-manager xfce4-settings xfce4-wmdock xfce4-notes
xfmedia xfburn
http://home.megapass.net/~webmagic/dg.mp3
emerge -pv << check portage
emerge -a << full setup
xfce4-extras :
xfce-extra/xfce4-clipman-0.8.1
gnome-extra/libgsf-1.14.11
dev-libs/libcroco-0.6.2
app-arch/xarchiver-0.5.2
media-libs/taglib-1.5
dev-libs/libtasn1-2.2
media-fonts/corefonts-1-r4
media-video/ffmpeg-0.5-r1
gnome-base/librsvg-2.22.3
xfce-extra/thunar-media-tags-0.1.2
xfce-extra/thunar-archive-0.2.4-r1
net-libs/gnutls-2.6.6
media-video/ffmpegthumbnailer-1.5.3
xfce-extra/xfce4-mailwatch-1.1.0
xfce-extra/xfce4-xkb-0.5.2
media-gfx/imagemagick-6.5.2.9
xfce-extra/thunar-thumbnailers-0.4.1
xfce-base/xfce4-extras-4.4.2
-- end --
-- update --
emerge --sync // 최신 패키지 목록 업데이트, 하루에 한번이상 하지 말것.
emerge system // 비교해서 필수 패키지 업뎃
emerge world // 전체 전체 패키지 업뎃
-- end --
-- compiz-fusion -- http://en.gentoo-wiki.com/wiki/Compiz-Fusion
# emerge -av compiz-fusion
# compiz-manager
# compiz-start
-- end --
-- radeon --
# emerge --search radeon
-- end --
//make.conf
cflags : http://en.gentoo-wiki.com/w/index.php?search=cflags&ns0=1&ns4=1&ns100=1&ns102=1&title=Special%3ASearch&fulltext=Search
2009/07/08
nabi
>>
# cat /etc/locale.gen
ko_KR.UTF-8 UTF-8
>>
#cat /etc/00basic
LC_ALL="ko_KR.UTF-8"
LC_LANG="ko_KR.UTF-8"
LC_MESSAGE="ko_KR.UTF-8"
LANG="ko_KR.UTF-8"
>>
# cat /etc/env.d/02locale
LC_CTYPE="ko_KR.UTF-8"
LANG="ko_KR.UTF-8"
LC_ALL="ko_KR.UTF-8"
#nabi for xim
XMODIFIERS="@im=nabi"
XIM_PROGRAM="/usr/bin/nabi"
GTK_IM_MODULE=xim
G_BROKEN_FILENAMES=1
>>
cat $HOME/.Xmodmap
! for using hangul key
keycode 109 = Hangul_Hanja
keycode 113 = Hangul
>> xev 설치 해서 사용할 키값을 구해온다.
은 폰트
# emerge alee-fonts
>>
백묵 글꼴
# emerge baekmuk-fonts
>>
/usr/share/fonts/
2009/06/30
젠투 리눅스 (gentoo linux) 설치
boot: gentoo-nofb
# lspci
# modprobe pcnet32
# net-setup eth0
# ifconfig
# /etc/init.d/sshd start
# passwd
>> 원격 로그인(ssh)
# fdisk /dev/sda // or /dev/hda
# fdisk -l /dev/sda
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6310e0ec
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 136 987997+ 82 Linux swap / Solaris
/dev/sda3 137 1044 7293510 83 Linux
# mke2fs /dev/sda1
# mke2fs -j /dev/sda3 // (-j:ext3)
# mkswap /dev/sda2 && swapon /dev/sda2
# mount /dev/sda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/sda1 /mnt/gentoo/boot
# cd /mnt/gentoo
livecd gentoo # links http://www.gentoo.org/main/en/mirrors.xml
livecd gentoo # wget http://ftp.gentoo.or.kr/releases/x86/autobuilds/20090630/stage3-i686-20090630.tar.bz2
livecd gentoo # time tar xjpf stage3*
livecd gentoo # cd /mnt/gentoo/usr
livecd usr # wget http://ftp.gentoo.or.kr/snapshots/portage-20090707.tar.bz2
livecd usr # time tar xjf portage-lat*
livecd usr # cd /
livecd / # mount -t proc proc /mnt/gentoo/proc
livecd / # mount -o bind /dev /mnt/gentoo/dev
livecd / # cp -L /etc/resolv.conf /mnt/gentoo/etc/
livecd / # chroot /mnt/gentoo /bin/bash
livecd / # env-update && source /etc/profile
livecd / # nano -w /etc/make.conf
GENTOO_MIRRORS="http://ftp.gentoo.or.kr/ http://ftp.kaist.ac.kr/pub/gentoo/ http://ftp.daum.net/gentoo/ "
livecd / # cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime
livecd / # date 070910472009
livecd / # cd /etc
livecd etc # echo "127.0.0.1 zzo.goanygate.com zzo localhost" > hosts
livecd etc # sed -i -e 's/HOSTNAME.*/HOSTNAME="zzo"/' conf.d/hostname
livecd etc # hostname zzo
livecd etc # hostname -f
livecd etc # emerge gentoo-sources
livecd etc # cd /usr/src/linux
livecd linux # lsmod //활성화된 모듈들을 적어 놓자.
livecd linux # make menuconfig
livecd linux # make -j2
livecd linux # make modules_install
livecd linux # cp arch/i386/boot/bzImage /boot/kernel
livecd linux # cd /etc
livecd etc # nano -w fstab
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw
livecd etc # cd conf.d
livecd conf.d # echo 'config_eth0=( "192.168.176.135" )' >> net
livecd conf.d # echo 'routes_eth0=( "default via 192.168.176.1" )' >> net
livecd conf.d # echo 'config_eth0=( "dhcp" )' >> net // dhcp 경우
livecd conf.d # rc-update add net.eth0 default
livecd conf.d # echo pcnet32 >> /etc/modules.autoload.d/kernel-2.6
(나중에 해줘도 되고, 커널에 포함됐을경우는 생략)
livecd conf.d # rc-update add sshd default
livecd conf.d # passwd
livecd conf.d # nano -w /etc/conf.d/clock
CLOCK="KST"
TIMEZONE="Asia/Seoul"
livecd conf.d # nano -w /etc/rc.conf
livecd conf.d # nano -w /etc/conf.d/rc
livecd conf.d # nano -w /etc/conf.d/keymaps
(위셋의 체크)
livecd conf.d # emerge syslog-ng vixie-cron
livecd conf.d # rc-update add syslog-ng default
livecd conf.d # rc-update add vixie-cron default
livecd conf.d # emerge dhcpcd
livecd conf.d # emerge grub
livecd conf.d # nano -w /boot/grub/grub.conf
default 0
timeout 10
title Gentoo
root (hd0,0)
kernel /boot/kernel root=/dev/sda3
livecd conf.d # grub --no-floppy
Probing devices to guess BIOS drives. This may take a long time.
grub> root (hd0,0) // 첫번째 하드디스크 첫번째 파티션
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p(hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> quit
livecd conf.d # exit
livecd / # umount /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo
livecd / # reboot
2009/06/17
페도라(fedora) 11 release
http://fedoraproject.org/ko/index : 페도라 프로젝트
http://fedoraproject.org/ko/get-fedora-all : 페도라 전체 다운로드 목록
- 배포판 용어 -
i386 : 80386과 이 CPU의 호환 프로세서들을 집합
i686 : 80686 intel pentium pro 호환
x86-64 : x86 명령어 집합 아키텍처의 64비트 모임
ppc(PowerPC) : 애플사의 파워맥(power macintosh) 2005년까지, IBM의 일부 워크스테이션, 슈퍼컴퓨터
live CD : 배포판 맛보기용
source : 오픈소스의 원시코드
배포판 종류가 많은 이유 : 각각 플랫폼에 맞게 소스코드를 일일이 컴파일 하는 시간 절약.
2009/06/08
요즘 비박이 유행을 타는것 같습니다.
일견 멋있어 보일수도 있지만 우리가 비박을하고자 하는 대자연은 그리 호락호락한곳이 아니지요..
때문에 비박에 필요한 장비를 준비하는 것은 등반자의 경험, 기술, 체력과 대상지, 등반조건, 계절 등에 따라 달라져야하며, 여기서는 님을 초보자라는 가정하에 제경험을 기초로 설명드리겠습니다.
1. 기본적으로 비박은 텐트를 사용치 않고 야외에서 하는 노숙정도로 설명될수 있겠습니다.
이는 앞서 설명한것처럼 미리 예상치못한 상황하에서 텐트등의 숙영장비 없이 야외에서의 노숙을 의미하는것
일수도 있지만 일반적으로는 장비의 경량화를 통하여 보다 원할한 산행을 돕고자 사전에 미리 "비박"을 계획하
는 경우가 대부분이라 할수 있겠습니다.(산에서 1Kg을 줄이면 1Km를 더갈수 있다는 말이 있다죠..^^)
2. 앞서 설명드린것처럼 비박은 낭만적일수 있으나 우리가 비박하고자하는 대자연은 그리 호락호락하지 않습 니
다. 저의 경우 개도 감기가 안걸린다는 오뉴월에 산속에서 비박하다가 저체온증으로 죽을뻔한적도 있으니까
요. 특히 산속에서의 환경은 같은 산이라 해도 고도와 위치에 따라 매우 큰 차이를 보이고 평지에서보다 기상
도 급변하는 경향이 있습니다. 때문에 비박을 위한 산행을 준비하신다면 항상 최악의 상황을 상정하시고 최선
의 준비를 하셔야 합니다. 자칫 생명이 위험할수도 있습니다.
2, 서론이 다소 길었네요 본격적으로 기초초장비를 보자면 제일 중요한것이 "침낭" 입니다.
계절별로 준비하고자하시는 분도 있을수 있지만 앞서 설명드린것과 같은 이유로 저는 중복투자를 막고 최악의
상황을 고려해서 동계용 침낭을 준비하실것을 권해드립니다.(무게는 다소 무거워질수 있지만..)
침낭은 충전된 보온소재의 종류에 따라 화섬(화학섬유)침낭과 우모(오리/거위털)침낭으로 구분되며 가격차이
가 상당합니다. 일반적으로 국내의 경우 우모침낭중 오리털 1300g~1500g 정도 충전된것을 준비하신다면 무
리가 없을것입니다. 이때 중요한것은 오리솜털과 깃털의 비율인데 80:20이상인것을 구입하셔야 됩니다. 간혹
옥#등에서 충전량은 높은데 가격이 매우 저렴한것이 있을수 있지만 대부분 솜털과 깃털의 비율이 50:50정도
입니다. 또한 필파워도 고려하셔야 하지만 1300g이상의 우모가 충전되어 있다면 그리 고려대상은 아니라고 봅
니다(필파워가 높을수록 적은 충전량으로 높은 보온력을 보이지만 가격이 매우 높아지죠)
외국제품의경우 가격대가 보통50만원에서 100만원 이상제품이 많이 있습니다. 하지만 국내의 제품도 매우 좋
다고 합니다. 주로 다나침낭이나 준우침낭에서 30만원대전후로 1300g대의 우모 침낭을 구입하실수 있을것입
니다.
3. 침남만큼 중요한장비가 매트리스 입니다. 침낭과는 바늘과 실의 관계라고 할수 있구요..
야외에서 숙영시 바닥의 냉기는 상상을 초월합니다. 또한 평탄한 잔디밭이라면 모를까 바닥도 요철이 심하구
요 이럴때 매트리스를 사용하신다면 이를 해결하실수 있습니다. 부가적으로 고가의 침낭을 지면의 요철로부
터 보호해 주기도 하며 습기도 일정부분 막아 줍니다.
매트리스의 종류로는 에어 매트리스와 발포매트리스(릿지매트리스라고도하지요)로 크게 나누어지는데...
에어매트리스의 경우 냉기의 차단과 쿠션이 좋고 수납시에 부피가 작아 편리한 반면 가격이 고가라는게 단점
입니다. 반면에 발포매트리스의경우 부피로인한 수납이 다소 불편한것을 제외하면 가격대비 성능면에서
매우 뛰어나다 할수 있습니다. 보통 15000원정도면 약 2센티 두께에 길이180센티정도의 제품을 구입할수 있구
요(배낭에 말아서 가지고 다니는 것을 보셨을겁니다.) 에에매트리스는 최소 약20만원 이상입니다.
4 야외 특히 산에서는앞서 말쓰드린것처럼 기상이 급변하고 새벽에는 거의 공통적으로 이슬이 맻히는등
비가올 경우와 이슬등의 외부 환경을 차단하는게 매우 중요합니다. 이를 피하기위한 것이 타프와 쉘터
입니다.
타프는 쉽게말해서 방수천입니다. 여기에 모서리부분등에 아일렛이나 가이라인을 묶을수 있는 웨빙테입을 처
리해서 나무나 폴등을 이용하여 비나 이슬을 피할수 있게 합니다. 형태또한 다양하지만 "렉타타프"즉 사각타프
가 활용이 편리합니다. 쉘터의 경우 바닦을 제외하고 사면이 막힌 방수재질 텐트와 유사한 장비 입니다만 텐
트와의 차이점이라면 바닥이 없고 부가적인 폴을 사용하기보다는 주로 나무나 등산용스틱을 이용해서 설치할
수 있게 되어 있습니다. 모양은 A텐트형 피라미드형 피라미드형을 반으로나눈 알파미드형 인디언텐트와 유사
한 티피텐트형 오각뿔형등 다양하며 재질과 형태에 따라 매우 큰 가격차이를 보입니다.
타프와 쉐터역시 10만원대초반에서 40만원대정도의 가격이 주로 형성되어 있고 거의 외국제품이 주를 이룹니
다. 정리하자면 타프의경우 비를피하고 그늘을 만드는등의 다용도로 사용이 가능한 장비이고
쉘터의경우 텐트와 발리 바닥이 없고 폴대가 없는 바람과 비를 피알수 있는 장비라 보시면 거의 맞을듯십네
요.. 경량화의 관점에서 본다면 이런것들을 따로 준비하느니 차라리 텐트를 준비하겠다고 하시는분도 있지만
각각의 장단점이 있으니 스스로의 취향에 따라 선택하면 될것입니다.
5 마지막으로 침낭 외피 입니다. 침낭의 경우 대부분 고가이고 특히 우모침낭의경우 외부습기에 매우
취약합니다
때문에 침낭의 보호차원에서 침낭외피를 사용하기 시작했고 부가적으로보온기능에 있어서 침낭외피의 사
용시 미사용시보다 평균적으로 약3-4도정도의 보온효과를 높일수 있다고 합니다.
혹서기에는 침낭없이 침낭대용으로사용하기도 하며 주로 고어텍스재질이 많습니다.
최근에는 발수투습기능을 가진 특수소재를 사용하여 침낭외피(침낭커버혹은 비비색이라고도합)만으로 우천
시에서 비박이 가능하게 해주는 제품도 많이 출시되어 있습니다.
아 쓰다보니 두서없이 너무 길어졌네요..마지막으로... 비박의 일반적인 목적이 경량화에 있는것이라 할때 위의 장비중 텐트의 용도로 사용되는 타프 쉘터 침낭커버(비비색)를 모두 준비하느니 차라리 텐트를 준비하는것보다 무겁다...라고 할수도 있습니다. 하지만 일빈적으로 위의 3가지 장비를 더한것보다 가벼운 1인용텐트는 매우 고가입니다. 또한 위의 장비를 모두 준비한다면 텐트에 필적하며 여러계절에 다목적으로 대응되는 조합을 만드실수도 있다는 장점이 있는반면 텐트는 용도가 다소 제한적이지요..선택은 개개인이 필요에 맞게 하시면 될것입니다....
참고로 제가 사용하는 조합은
침낭:국산 준우1300g침낭
메트리스:발포메트리스
침낭커버:고어택스재질
쉘터:OR사 라이트헤븐
타프:인테그랄 디자인 실타프
침낭커버와 쉘터 타프는 산행목적에 따라 그때그때 적절히 조합하며 타프의 경우 다용도로 사용할수 있어서 항상휴대하는 편이지요...
http://kin.naver.com/detail/detail.php?d1id=9&dir_id=90703&eid=YQDrJFKbNzd4qkEI8WqEpthEMeFiA2nT&qb=67mE67CV&enc=utf8§ion=kin&rank=2&sort=0&spq=0&pid=fAyaidoi5T8sscyC5Kdsss--258944&sid=SiyDsyKALEoAABZTY7A
http://blog.daum.net/pak3304/12883455
-
http://ko.wikipedia.org/wiki/%EC%B9%B4%ED%8B%B0%EC%95%84 V5 V6 차이 : - V5는 파일 기반(File-Based)으로 데이터를 저장하며, 데이터베이스는 옵션으로 제공 - V6는 모든 데이터가 데이...
-
공구가 참 많다. 1. 기준 공구를 잡는다. (아무거나, 보통 Φ10 엔드밀) 2. MDI - M03S1000; 2. HANDLE(수동) 이동으로 - Y축 터치 : POS - 상대좌표 - X - ORIGIN - X축 터치 : POS - 상대좌...
-
1. autocad 에서 글자를 쓴다. 2. expresstool 에서 explode text 이용하여 글자를 라인화 한다. (txtexp) (expresstool 은 캐드 설치시에 옵션 설치라 없을 수 도 있다.) (expresstool 을 설치...