리눅스

Total 331
Today 0
profile_image
윤진한
07-12-24 17:02 0개 16회
일반문서
[FreeBSD] 설치후 확인 사항 및 포트 관리 기본
FreeBSD 설치 후 설치 환경 변경시 -> sysinstall 실행
 
sendmail  사용하지 않을 경우
-> 부팅 시간을 줄이기 위해 sendmail 서비스 중단설정
-> /etc/rc.conf 파일 수정 -> sendmail_enable='NONE'으로 수정
* sendmail_enable='NO'로 설정해도 sendmail 데몬 실행됨
 
root로 sshd 접속을 위해
->/etc/ssh/sshd_config 수정
-> $PermitRootLogin no -> PermitRootLogin yes로 수정
 
기본적으로 설치되야 하는 것은 mc-4.6.2_4, gmake-3.81_1, ports 이 세가지가 기본적으로 설치 되어 있어야 한다.
 
ftp 서비스 필요시
-> /etc/inetd.conf  수정
-> '#ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l' 라인에서 '#제거
 
 
1. CVS up
// CVS Install
#  cd /usr/ports/net/cvsup
# make install clean
# cd /root
# cd /usr/share/examples/cvsup/ports-supfile  .
 --> ports-supfile 을 열어 CHANGE_THIS.FeeBSD.org -> cvsup.kr.freebsd.org 로 변경
# cvsup -g -L 2 /root/ports-supfile
 
2. Ports Upgrade
# cd /usr/pors/sysutils/portupgrade
# make install clean
# /usr/local/sbin/pkgdb -F
# /usr/local/sbin/portupgrade -a
 
 
==== ls 컬러 적용하기 ====
cd /usr/ports/misc/gnuls
make install clean
rehash
vi /etc/csh.cshrc 에 다음줄 추가
alias ls gnuls --color=always
vi /etc/profile 에 다음줄 추가
alias ls=’gnuls --color=always’

==== tab 눌렀을 때 관련 리스트 보여주기 ====
.cshrc 파일에 다음 두 줄 추가
 set autolist
 set autoexpand
 

댓글목록

등록된 댓글이 없습니다.