Server70 아파치 톰캣 이중화 (로드밸런싱, 세션클러스터링) 서버 부하 분산 등의 이유로 인해 이중화를 진행하는 경우가 있습니다.이럴 땐 아래와 같이 하면 됩니다. 1. 아파치 httpd.conf 설정 (%APACHE_HOME%/conf/httpd.conf) DocumentRoot /home/web ServerName intro0517.co.kr JkMount /* loadbalancer JkUnMount /resources/* loadbalancer Options FollowSymLinks AllowOverride None Order allow,deny Allow from all 2. 아파치 worker.properties 설정 (%APACHE_HOME%/conf.d/workers.properties) worker.list=loadbalancer worker.l.. 2019. 3. 25. 웹투비 기동 시 에러 (HTL-27569 F HTL0048: Listen port (80) is in use. Try to bind to that port again in 10 seconds. errno=13(Permission denied)) 웹투비 기동 시 아래와 같은 에러가 발생한다면 bin 디렉토리 내에 htl의 권한 처리를 해줘야한다. HTL-27569 F HTL0048: Listen port (80) is in use. Try to bind to that port again in 10 seconds. errno=13(Permission denied) 1. 웹투비 bin 경로로 이동# cd $WEBTOBDIR/bin 2. 권한변경 # chmod +s htl# chown root:tmax htl 3. 웹투비 시작# wscfl -i http.m# wsboot 2019. 2. 20. UNIX, LINUX, AIX 명령어 비교 대분류조회 항목AIXLINUX(Redhat)User AccountsCreate new usermkuseruseradd Delete userrmuseruserdelGeneral CommandsAdministratorsmitlinuxconf Virtual Memory statisticsvmstatvmstat I/O statisticsiostatiostat Error logsalog −o −t boot errptdmesg Display swap sizelsps −afreeDISK/LVM CommandsFilesystem table/etc/filesystems/etc/fstab Free disk blocksdf −kdf −k Device listinglsdev −Ccat /proc/devices Display .. 2019. 1. 31. Nginx php.ini 수정 후 적용 아파치의 경우에는 php.ini 설정 파일 수정 후 아파치를 재시작해주면 적용이 되지만 nginx는 그렇지 않습니다.nginx는 다음과 같이 해주면됩니다. service php-fpm restart 2018. 12. 18. 리눅스 목록 (용량순, 이름순) 리눅스 목록 조회 방법입니다. 1. 기본 조회# ls 2. 숨겨진파일 포함 전체정보# ls -al 3. 용량순 정렬# ls -alSS (내림차순)# ls -alSSr (오름차순)# ls -alSSrh (오름차순 용량단위 좋게 표시 ) 4. 날짜별 정렬# ls -alt (내림차순)# ls -altr (오름차순) 2018. 11. 21. 리눅스(Centos) 코어 확인 스크립트 리눅스 코어 확인 스크립트입니다. while truedo PHYSICAL_CNT=`cat /proc/cpuinfo | grep "physical id" | sort -u | wc -l`CORE_CNT=`cat /proc/cpuinfo | grep "cpu cores" | tail -1 | cut -d: -f2`CORE_ID=`cat /proc/cpuinfo | grep "core id" | sort -u | head -1 | cut -d: -f2`THREAD_CNT=`egrep "^core|^physical" /proc/cpuinfo | awk '{if((NR%2)==0) print $0 "," ; else print $0 }' | awk 'BEGIN {RS=","} {print $1,$2,$3,$4,$.. 2018. 10. 25. 이전 1 ··· 3 4 5 6 7 8 9 ··· 12 다음