본문 바로가기
Freebsd/system

rc.conf 수정

by 북한산산적 2008. 11. 20.

#ee /etc/rc.conf

# -- sysinstall generated deltas -- # Sat Oct  4 19:41:10 2008
# Created: Sat Oct  4 19:41:10 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.0.1"
gateway_enable="YES"
hostname="ns.crois.net"
ifconfig_nfe0="inet 192.168.0.4  netmask 255.255.255.0"
inetd_enable="YES"
keyrate="fast"
linux_enable="YES"          리눅스 바이너리 사용
sshd_enable="YES"         서버시작시 ssh start
apache2_enable="YES"    서버시작시 아파치 서버 start
mysql_enable="YES"        서버시작시 mysql start
pureftpd_enable="YES"     서버시작시 pureftp start
apmd_enable="YES"         shutdown -p now 로 서버 전원을 끌수 있도록 설정.