debian tip

debian 설치후 해줄것들...

clipped from ahvohpuc.tistory.com

네트웍 설정

- dhcp 설정 중 취소 - 수동설정 ( ip주소, netmask, gateway 알고 있어야 함)
- 자동으로 설정되었을 경우 고정아이피 지정하려면 dhcp3 패키지 삭제해야 함


ssh 설치


apt-get install openssh-server

root 로긴 금지
/etc/ssh/sshd_config 파일에서


PermitRootLogin Yes # yes를 no로 바꿔줌

ftp 설치


#atp-get install wu-ftpd

시간설정 (UTC 사용안함)


)# date -s '2007-08-31 06:30:30'
# hwclock --systohc // 새로 바뀐 시간을 H/W clock 에 설정

locale 추가(euc-kr)

#/etc/locale.gen 파일에 다음을 추가


ko_KR.EUC-KR EUC-KR
ko_KR.UTF-8 UTF-8

#locale-gen

locale-gen 명령 실행

.bash_profile 에 charset 지정

LANG=ko_KR.EUC-KR
LANGUAGE=ko_KR.EUC-KR

apache2에서 utf-8, euc-kr 동시 사용

#/etc/apace2/conf.d/charset 에서 AddDefaultCharset UTF-8 주석처리

#AddDefaultCharset UTF-8

#/etc/apach2/mods-enabled/php5.conf 에 .html 추가

<IfModule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3 .html
AddType application/x-httpd-php-source .phps
</IfModule>
Get Clipmarks - The easiest way to email text, images and videos you find on the web.
Sent with Clipmarks

댓글

이 블로그의 인기 게시물

구어체 표현 85가지

Debian Lenny install-including wireless