function getLocalIP(){ $aAddr = gethostbynamel(php_uname('n')); $sIP = $aAddr[0]; }
[월:] 2022년 11월
<VirtualHost *:80> ServerName host.space4u.co.kr ProxyRequests Off ProxyPreserveHost On ProxyPass / http://172.0.0.1:35016/ ProxyPassReverse / http://172.0.0.1:35016/ </VirtualHost>
80번 포트로 들어오는 접속을 35016 포트로 전달
설정후 아파치를 재시작해야 함.
현재 디렉토리에서 3단계까지 1기가 이상인 디렉토리 찾기
du -h --max-depth=3 | grep [0-9]G
디렉토리를 용량별로 정렬하기
du -S | sort -n