-- 기본 페이지 사용안함 # cd /etc/apache2/sites-available # vi 000-default.conf Redirect 404 / ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # systemctl reload apache2 -- 가상호스트 추가, 활성화 # cd /etc/apache2/sites-available # vi quota.kr.conf ServerName quota.kr DocumentRoot /data/web/quota.kr/ Options FollowSymLinks AllowOverride All require all granted ErrorLog ${APACH..
-- 저장소 추가, 업데이트 # add-apt-repository ppa:jonathonf/ffmpeg-4 # apt update -- FFmpeg 설치 # apt install ffmpeg # ffmpeg -version
-- 저장소 추가, 업데이트 # add-apt-repository ppa:ondrej/apache2 # apt update -- OpenSSL 설치 # apt install openssl # openssl version -- Apache 설치 # apt install apache2 # apachectl -v -- Apache 설정 # a2enmod rewrite headers ssl # a2dismod -f autoindex # cd /etc/apache2 # cp apache2.conf apache2.conf_orig # sed -i "s/KeepAlive On/KeepAlive Off/g" apache2.conf # sed -i "s/Timeout 300/Timeout 20/" apache2.conf..
-- 저장소 변경, 업데이트, 업그레이드 # cd /etc/apt # cp sources.list sources.list_orig # sed -i "s/kr.archive.ubuntu.com/ftp.daumkakao.com/g" sources.list # sed -i "s/security.ubuntu.com/ftp.daumkakao.com/g" sources.list # apt update # apt upgrade -- 시간 동기화 # apt install ntp # cd /etc # cp ntp.conf ntp.conf_orig # sed -i "s/^pool/#pool/g" ntp.conf # echo \ > "server time.bora.net > server time.nuri.net > serv..