본문 바로가기

IT Information/System Technical24

Linux Interface MAC 주소 변경 Linux Interface MAC 주소 변경 # ifconfig eth0 down // MAC 변경 이전 인터페이스 다운# ifconfig eth0 hw ether // MAC 변경# ifconfig eth0 // 변경된 MAC 확인# /etc/rc.d/init.d/network restart // 네트워크 재시작# dhclient eth0 // dhcp 다시 할당 ※ 해당 내용은 시스템 다시 시작시 기존값으로 되도라옴 2013. 8. 30.
Linux 시간 동기화 설정 Linux 시간 동기화 설정 - 시간확인# clock -r CMOS 시간 확인# date 시스템 시간 확인 - 시간설정# clock -w 시스템 시간을 CMOS 시간으로 설정# clock -s CMOS 시간을 시스템 시간으로 설정 - 국가 시간대 설정# ln -s /usr/shard/zoneinfo/Asia/Seoul /etc/localtime - 시간 동기화# rdate -s 리눅스 시스템 시간 동기화# clock -w CMOS 시간에 적용 - crontab 설정# crontab -e 수정00 00 * * * /usr/bin/rdate -s && /sbin/clock -w # crontab -l 적용 확인 2013. 5. 30.
Cacti RRD 한글화 Cacti RRD 한글화 1. Cacti config.php 수정# vi /../include/config.phpheader("Content-Type: text/html; charset=utf-8"); # vi /../lib/rrd.php"--title=" . cacti_escapeshellarg($graph["title_cache"]) . RRD_NL ."--title=\"" . str_replace("\"", "\\\"", $graph["title_cache"]) . "\"" . RRD_NL . #이걸로 수정 putenv("LANG=ko_KR.UTF-8); #맨윗줄에 추가 2. 한글 폰트 추가 및 설정폰트를 서버에 추가console > setting > Pathes > RRDTool Default F.. 2013. 5. 29.
리눅스 텍스트 환경에서 공인 IP 확인 방법 리눅스 텍스트 환경에서 공인 IP 확인 방법# curl -s ifconfig.meoption: -s/--silent (Silent or quiet mode. Don't show progress meter or error messages. Makes Curl mute.) 2013. 5. 28.
Howto setup DHCP Server and Dynamic DNS with BIND in Debian This tutorial will explain Howto setup DHCP Server and Dynamic DNS with BIND in Debian.Preparing you systemFirst you need to install DHCP,BIND servers using the following command#aptitude install dhcp3-server bind9This will complete the installation.This is the network configuration of our DHCP/DNS server we are using for our tutorial Hostname : router.static.example.org WAN interface (eth0) : 1.. 2013. 5. 24.