Linux & Unix | 2004/09/06 01:44
09.05.02
최근 버전은 아래의 1번, 2번 항목만 수행하면 된다.
04.09.06
1. 패키지 인스톨
#apt-get install linuxlogo
2. 파일 백업
#mv /etc/motd /etc/motd.old //기존의 motd파일을 백업한다.
#/usr/bin/linux_logo > /etc/motd //linuxlogo를 motd에 넣는다.
3. /etc/init.d/bootmisc.sh를 변경
기존 부분
수정
4. #/etc/init.d/bootmisc.sh // 스크립트를 실행
5. local에서 reboot
주의 사항 : reboot 전까진 remote 에서 접속이 차단되어 버림. 반드시 reboot.
최근 버전은 아래의 1번, 2번 항목만 수행하면 된다.
04.09.06
1. 패키지 인스톨
#apt-get install linuxlogo
2. 파일 백업
#mv /etc/motd /etc/motd.old //기존의 motd파일을 백업한다.
#/usr/bin/linux_logo > /etc/motd //linuxlogo를 motd에 넣는다.
3. /etc/init.d/bootmisc.sh를 변경
기존 부분
#
# Update /etc/motd.
#
if [ "$EDITMOTD" != no ]
then
uname -a > /etc/motd.tmp
sed 1d /etc/motd >> /etc/motd.tmp
mv /etc/motd.tmp / etc/motd
fi
# Update /etc/motd.
#
if [ "$EDITMOTD" != no ]
then
uname -a > /etc/motd.tmp
sed 1d /etc/motd >> /etc/motd.tmp
mv /etc/motd.tmp / etc/motd
fi
수정
#
# Update /etc/motd.
#
if [ "$EDITMOTD" != no ]
then
if [ -x /usr/bin/linux_logo ]
then
/usr/bin/linux_logo > /etc/motd.tmp
sed 1,18d /etc/motd >> /etc/motd.tmp
else
uname -a > /etc/motd.tmp
sed 1d /etc/motd >> /etc/motd.tmp
fi
mv /etc/motd.tmp /etc/motd
fi
# Update /etc/motd.
#
if [ "$EDITMOTD" != no ]
then
if [ -x /usr/bin/linux_logo ]
then
/usr/bin/linux_logo > /etc/motd.tmp
sed 1,18d /etc/motd >> /etc/motd.tmp
else
uname -a > /etc/motd.tmp
sed 1d /etc/motd >> /etc/motd.tmp
fi
mv /etc/motd.tmp /etc/motd
fi
4. #/etc/init.d/bootmisc.sh // 스크립트를 실행
5. local에서 reboot
주의 사항 : reboot 전까진 remote 에서 접속이 차단되어 버림. 반드시 reboot.
"Linux & Unix" 분류의 다른 글
| vmware를 이용하여 가상 linux 환경 구축시 가상 OS의 시간이 실제보다 더 ... (0) | 2008/07/30 |
| mysql의 root 패스워드를 분실했을 경우 (0) | 2006/03/19 |
| 특정 사용자 죽이기 (0) | 2006/02/17 |
| MySQL 4.0.x 에서 4.1.x 업그레이드시 euckr 과 utf8 포맷 변환 및 DB유지,... (0) | 2006/01/31 |
| MySQL error - Can't open file: "something.MYD" (errno : 145) (0) | 2005/12/26 |
Trackback Address : http://metalpen.net/blog/trackback/56





