No Image

config static port for nfsd on centos7

2016-05-21 KENNETH 0

config static port for nfsd on centos7 출처 : https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/nfs-serverconfig.html#s2-nfs-nfs-firewall-config 설정파일 :  /etc/sysconfig/nfs RPCMOUNTDOPTS=”-p 4002″ 와 MOUNTD_PORT=4002 옵션은 동일함   재시작   실행 후 포트 상태 확인  

No Image

config static port for nfsd on centos6

2016-05-21 KENNETH 0

config static port for nfsd on centos6   출처 : https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/s2-nfs-nfs-firewall-config.html 설정파일 :  /etc/sysconfig/nfs RQUOTAD_PORT=875 LOCKD_TCPPORT=4001 LOCKD_UDPPORT=4001 MOUNTD_PORT=4002 STATD_PORT=4000 #STATDARG=”-p 4000″ STATDARG=”-p 4000” 와 STATD_PORT=4000 옵션은 동일한것임..   실행 후 포트 상태 확인 # rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 4000 status 100024 1 tcp 4000 status 100011 1 udp 875 rquotad 100011 2 udp 875 rquotad 100011 1 tcp 875 rquotad 100011 2 tcp 875 rquotad 100005 1 udp 4002 mountd 100005 1 tcp 4002 mountd 100005 2 udp 4002 mountd 100005 2 tcp 4002 mountd 100005 3 udp 4002 mountd 100005 3 tcp 4002 mountd 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 [ more… ]

No Image

최신 버전 XE에서 config.inc.php 호출 내용 변경

2015-12-30 KENNETH 0

최신 버전 XE에서 config.inc.php 호출 내용 변경   index.php 파일을 참고하면 됨… 어느 버전 부터 변경된 것인지 모르지만.. 이 문제 때문에 구버전의 모듈이 작동 안하는 문제가 종종 발생할 수 있으므로 일단 정리함..   기존 define(‘__ZBXE__’, true); require(‘./config/config.inc.php’);   변경 define(‘__XE__’, TRUE); require dirname(__FILE__) . ‘/config/config.inc.php’;   이것 때문에 작동 안하는 구버전 모듈들이 있음…  

No Image

eAccelerator 설치 및 연동

2015-07-21 KENNETH 0

1. 다운로드 공식사이트 : http://eaccelerator.net 다운로드페이지 : https://github.com/eaccelerator/eaccelerator/tarball/master (2015/07/20 기준) 메뉴얼 : https://github.com/eaccelerator/eaccelerator/wiki   2. 설치 wget https://github.com/eaccelerator/eaccelerator/tarball/master tar zxvpf eaccelerator*tar.gz cd eaccelerator-* phpize ./configure –enable-shared –with-php-config=/usr/local/bin/php-config make cp modules/eaccelerator.so /usr/local/lib/php/extensions/   3. 설정 php.ini 파일에 아래내용 추가 (extension_dir = “/usr/local/lib/php/extensions” 상황을 가정함) extension=eaccelerator.so eaccelerator.shm_size=”16″ eaccelerator.cache_dir=”/tmp/eaccelerator” eaccelerator.enable=”1″ eaccelerator.optimizer=”1″ eaccelerator.check_mtime=”1″ eaccelerator.debug=”0″ eaccelerator.filter=”” eaccelerator.shm_ttl=”0″ eaccelerator.shm_prune_period=”0″ eaccelerator.shm_only=”0″   4. 디렉토리 생성 원래는 eaccelerator.cache_dir 항목에 설정해준 디렉토리를 생성하라고 설명되어 있으나.. 내가 설치했던 42067ac (출력버넌 1.0-dev)버전에서는 디렉토리를 생성하지 않아도 아파치 재시작후 알아서 생성되는것을 확인할 수 있었다. * 디렉토리 구조 # ls -al /tmp/eaccelerator/99/ total 72 drwx—— 18 nobody nobody 4096 Jul 19 21:30 . drwxrwxrwx 3 root root 4096 Jul 19 21:30 .. drwx—— 18 nobody nobody 4096 Jul 19 21:30 0 drwx—— 18 nobody nobody 4096 Jul 19 21:30 1 drwx—— 18 nobody nobody 4096 Jul 19 21:30 2 drwx—— 18 nobody nobody 4096 Jul 19 21:30 3 drwx—— 18 [ more… ]

No Image

php + xcache 설치 및 연동

2015-07-20 KENNETH 0

Install XCache   1. 다운로드 공식사이트 : http://xcache.lighttpd.net 다운로드페이지 : http://xcache.lighttpd.net/wiki/ReleaseArchive (2015/07/20 기준) Latest Stable Release: 3.2.x (full 5.1 ~ 5.6 support) Old Stable Release: 3.1.x (full 5.1 ~ 5.4 support) 이렇게 되어있으므로 최신 버전을 사용하는 분들은 그냥 latest를 사용하심 되겠다.   2. 설치 wget http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz tar zxvpf xcache-3.2.0.tar.gz cd xcache-3.2.0 phpize ./configure –enable-xcache’ ‘–with-php-config=/usr/local/bin/php-config’ ‘–enable-xcache-coverager make cp modules/xcache.so /usr/local/lib/php/extensions/ mkdir /home/ADMIN cp -rv htdocs /home/ADMIN/xcache   3. 설정 php.ini 에 아래내용 추가 (extension_dir = “/usr/local/lib/php/extensions” 상황을 가정함) 참고로 관리자 모드를 사용하지 않는다면 xcache.admin.X 관련 항목은 설정하지 않아도 되며.. xcache.admin.pass 에는 md5 인코딩 값이 들어가기 때문에.. 적절히 생성…. php python 뭐 대충 이렇게…   php -i|grep xcache 결과가 위에 설정한 내용들로 죽 나온다거나.. <?phpinfo();?> 내용에 xcache 관련 내용이 포함되어 있다면 정상적으로 로딩된 것.   4. 관리자 화면   * 아파치 설정 Alias /xcache /home/ADMIN/xcache * 접속 http://youripaddress/xcache