# cat /etc/*release*
CentOS release 6.3 (Final)
CentOS release 6.3 (Final)
CentOS release 6.3 (Final)
cpe:/o:centos:linux:6:GA
OS 64bit 확인
#getconf LONG_BIT
64
Prompt 절대 경로 표시
vi /etc/bashrc
PS1="[\u@\h \\] 이부분 찾아서
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \$PWD]\\$ "
SetupTool 설치
yum install setuptool
yum install system-config-securitylevel-tui system-config-date
yum install authconfig system-config-network-tui ntsysv
rDate 설정
# time setting
14 3 * * * /usr/bin/rdate -s time.bora.net; /sbin/hwclock --systohc
uLimit 설정
echo "ulimit -SHn 10240" >> /etc/rc.local
GeoIP 설치
yum -y install GeoIP GeoIP-devel GeoIP-data perl-Geo-IP
History 설정
vi ~/.bash_profile
export HISTTIMEFORMAT="%F %T "
댓글 없음:
댓글 쓰기