<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 포트로 전달
설정후 아파치를 재시작해야 함.
공간나눔
<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
리눅스 쉘에서 이미지를 조작하는 프로그램 몽타지 montage 설명서
cui 명령어로 이미지를 조작해 보자
https://legacy.imagemagick.org/Usage/montage/
https://ubunlog.com/ko/montage-herramienta-crear-collage-fotos-desde-terminal/
/search_text\c
%
.
u
Ctrl+r
쉘에서 다음 명령어를 순서대로 실행하세요.
/var/www/html$ sudo apt update
/var/www/html$ sudo apt install apache2
방화벽 설정, 접속이 안될 경우 반드시 설정해야 함.
/var/www/html$ sudo ufw allow 'Apache Full'
Rule added
Rule added (v6)
/var/www/html$ sudo ufw status
Status: active
To Action From
-- ------ ----
1194/tcp ALLOW Anywhere
OpenSSH ALLOW Anywhere
Apache Full ALLOW Anywhere
1194/tcp (v6) ALLOW Anywhere (v6)
OpenSSH (v6) ALLOW Anywhere (v6)
Apache Full (v6) ALLOW Anywhere (v6)