본문 바로가기

Server

(57)
CentOS APM 최신 버전으로 YUM으로 관리하기 http://phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=64672&sca=&sfl=wr_subject&stx=yum&sop=and 좋은 정보!~
FileInfo 설치 # pecl install fileinfo # vi /etc/php.ini extension=fileinfo.so // 모듈 추가 # service httpd restart http://www.php.net/manual/en/book.fileinfo.php
JSON 설치 # yum -y install php-devel php-pear gcc # pear install pecl/json # cd /etc/php.d # echo "extension=json.so" > json.ini # service httpd restart
bind 9.3.6 버전 DNS 설치및 설정 (Cent 5.5) # yum -y install bind bind-utils bind-libs caching-nameserver 네임서버에 필요한 데몬 설치 # vi /etc/named.caching-nameserver.conf 예전 /etc/named.conf를 를 대체하는 새로운 설정파일 options { listen-on port 53 { any; }; // 네임서버 포트번호, 네임서버 접근가능 아이피 설정 // 내부접근만 허용할경우 127.0.0.1; // 외부에서 네임서버 접근허용할경우 any; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/nam..
A session is active. You cannot change the session module's ini settings at this time ini_set("session.use_trans_sid", 0); 위 부분을 사용하려면 # vi php.ini ; Initialize session on request startup. session.auto_start = 0 php설정을 바꾸었으니 Apache 재시작~
(98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs 어느날 갑자기 아파치가 안 돌길래 시작을 하려 하니 누군가 벌써 80번 포트를 쓰고 있다고 나왔다. 왜 갑자기 안되징??? 누가 80번을 쓰고 있는지 알아 보면 범인을 잡을 수 있을 듯 해서 검색하여 보니 # netstat -nlp Active Internet connections (only servers) Proto Recv..
Windows2008서버에서 snmp 활성화 하기 그림과 함께 자세하게 설명되어 있습니다. http://umttumt.org/93
리눅스 IP잡기 크게 4가지 방법을 사용 1. ifconfig # ifconfig eth0 IP NETMASK up 2. /etc/sysconfig/network-scripts/ifcfg-eth0 # vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=xxx.xxx.xxx.xxx NETMASK=xxx.xxx.xxx.xxx GATEWAY=xxx.xxx.xxx.xxx 3. netconfig 4. setup IP설정 후 network 재시작 # /etc/rc.d/init.d/network restart