자바의 DNS 이름 풀기 TTL 설정 방법

자바 2012/02/16 15:24 posted by 낭만검객
$JAVA_HOME/jre/lib/security/java.security 파일에 TTL 5분을 설정합니다.
networkaddress.cache.ttl=300
NSCD 데몬을 사용할 경우에는 /etc/nscd.conf에 아래 설정도 추가합니다.
positive-time-to-live hosts 300
 그리고 데몬을 재구동합니다.
service nscd restart

 
TAG dns

iPhone4S 실내 촬영

생활 2011/11/22 11:09 posted by 낭만검객




iPhone 에서 작성된 글입니다.

아파치, PHP 설치하기

PHP 2011/01/26 10:48 posted by 낭만검객
세상 참 편하네요.

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo apt-get install php5-memcache
sudo /etc/init.d/apache2 restart
cd /var/www/
ls index.html
cd /etc/apache2
ls conf.d