Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Install and configure a web server (웹서버 설치 및 설정) ====== > Ubuntu에 웹 서버를 설치하고 설정하기. ===== Apache2 HTTP Server ===== ==== Install Apache2 ==== - 아파치2 설치 <code bash>sudo apt install apache2</code> - 아파치2 설정 검사 <code bash>sudo apache2ctl configtest</code> - 아파치2 설정 <code bash>sudo vi /etc/apache2/apache2.conf</code><code plaintext>ServerName {IP or domain}</code> - 아파치2 재시작 <code bash>sudo systemctl restart apache2</code> - 웹 브라우저에서 기본 페이지 열어 확인 ==== Apply HTTP/2, HTTPS TLS v1.3 ==== - 패키지 레포지터리 추가 <code bash> sudo add-apt-repository ppa:ondrej/apache2</code> - 패키지 업데이트 및 업그레이드 <code bash> sudo apt update && sudo apt upgrade -y</code> - 패키지 설치 <code bash> sudo apt install apache2 libapache2-mod-fcgid libapache2-mod-xforward openssl -y</code> * ?? libapache2-mod-proxy-uwsgi 설치 안됨. ===== Nginx ===== ==== Install Nginx ==== public/computer/install_and_configure_a_web_server.txt Last modified: 2025/05/19 22:30by alex