사용자 도구

사이트 도구


os:debian:install

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
os:debian:install [2008/09/16 10:28]
starlits
os:debian:install [2010/01/05 04:59] (현재)
starlits
줄 1: 줄 1:
-====== Debian Linux Installation Guide ====== +====== Debian Linux 설치후 작업 ====== 
- +===== LOCALE 설정 =====
-===== CD 이미지 구하기 ===== +
-  - http://debian.org 홈페이지에 들어가서 [Getting Debian] -> [CD ISO images] 메뉴에서 CD 이미지를 받아서 구워 놓는다. (따끈따끈하게..) +
-  - NetInst 버젼으로 받는 것을 추천한다. (불필요한 파일,서비스까지 설치할 필요가 없다.) +
- +
- +
-===== 설치 ===== +
-  - [[ http://www.debian.org/releases/stable/i386/index.html.ko | 데비안 4.0 Etch 설치안내서 ]] 를 참고한다. +
-  - 기본적으로 최소설치를 하는 것을 권장한다.(필요한 패키지만 설치하는 것이 데뱐의 철학인듯 ~) +
-  +
- +
-===== 설치 후 작업 ===== +
- +
-==== LOCALE 설정 ====+
   - /etc/locale.gen 파일을 열어서 아래의 설정을 추가한다.<code>   - /etc/locale.gen 파일을 열어서 아래의 설정을 추가한다.<code>
 # This file lists locales that you wish to have built. You can find a list # This file lists locales that you wish to have built. You can find a list
줄 34: 줄 21:
   - /etc/locale.gen 설정을 적용하기 위하여 locale-gen 명령을 실행한다.<code>   - /etc/locale.gen 설정을 적용하기 위하여 locale-gen 명령을 실행한다.<code>
 # locale-gen # locale-gen
-</code> 
-  - ~/.bashrc 에 LANG 설정을 한다.<code> 
-export LANG="ko_KR.UTF-8" 
-#export LANG="ko_KR.EUC-KR" 
 </code> </code>
   - 현재 shell 을 종료하고, 다시 로그인한다.   - 현재 shell 을 종료하고, 다시 로그인한다.
  
  
-==== 서비스하지 않는 서비스 리하기 ====+===== ENVIRONMENT 설정 ====
 +  - /etc/environment 파일을 설정한다. <code> 
 +LANG="ko_KR.UTF-8" 
 +</code> 
 +  - /etc/default/locale 파일을 설정한다. <code> 
 +LANG="ko_KR.UTF-8" 
 +</code>
  
-^ portmap | | +===== 사용하지 않는 서비스 제거방법 =====
-^ nfs-common |  | +
  
-==== 메모리/세스 절약기 ====+  - debian 을 설치하면 default로 NFS 설정을 할 수 있는 portmap과 nfs-common 이 실행되어 있다. \\ 사용지 않는 경우 제거해 두는 것이 좋다. 
 +  - /etc/init.d/portmap stop <code bash>  
 +# /etc/init.d/portmap stop 
 +Stopping portmap daemon.... 
 +</code> 
 +  - /etc/init.d/nfs-common stop <code bash> 
 +# /etc/init.d/nfs-common stop 
 +Stopping NFS common utilities: statd. 
 +</code> 
 +  - apt-get --purge remove portmap <code bash> 
 +# apt-get --purge remove portmap 
 +Reading package lists... Done 
 +Building dependency tree... Done 
 +The following packages will be REMOVED: 
 +  nfs-common* portmap* 
 +0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 
 +Need to get 0B of archives. 
 +After unpacking 553kB disk space will be freed. 
 +Do you want to continue [Y/n]? Y 
 +(Reading database ... 31103 files and directories currently installed.) 
 +Removing nfs-common ... 
 +Stopping NFS common utilities: statd. 
 +Purging configuration files for nfs-common ... 
 +Removing portmap ... 
 +Stopping portmap daemon.... 
 +Purging configuration files for portmap ... 
 +</code>
  
 +===== 메모리/프로세스 절약하기 =====
 +  - ps 명령어로 사용하지 않는 프로세스를 종료한다. <code> # ps -ef </code>
  
-==== VI 편집기 설정 ====+===== VI 편집기 설정 ====
 +  - vim 패키지를 설치 <code> # apt-get install vim-full </code> 
 +  - .vimrc 를 복사하여 ~/.vimrc 로 복사한다. 
 +  - 아래는 .vimrc 에 간단히 만들어 본것이다. <code> 
 +set bg=dark 
 +syntax on 
 +set ts=4 
 +set sw=4 
 +</code> 
 + 
 +===== BASH 설정 ===== 
 + 
 +  - vi ~/.bashrc (필요한 것을 편집해 준다.) \\ 아래는 내 취향으로 변경한 것입니다. <code vi> 
 +... 
 +# 주석해제 
 +PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 
 +... 
 +# 주석해제 
 +# some more ls aliases 
 +alias ll='ls -l' 
 +alias la='ls -A' 
 +alias l='ls -CF' 
 +... 
 +export LANG="ko_KR.UTF-8" 
 +#export LANG="ko_KR.EUC-KR" 
 +... 
 +</code>
  
 +===== SSH 설정 =====
 +  - <color blue/lightgrey>ssh</color>를 설치한다. <code bash> # apt-get install ssh </code>
  
os/debian/install.1221528503.txt.gz · 마지막으로 수정됨: 2008/09/16 10:28 저자 starlits