Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:computer:setting_up_a_web_server_on_ubuntu [2025/03/20 18:13] – created alexpublic:computer:setting_up_a_web_server_on_ubuntu [2025/04/08 21:06] (current) alex
Line 1: Line 1:
 ====== Setting up a web server on Ubuntu ====== ====== Setting up a web server on Ubuntu ======
-> 우분투에서 웹서버를 설정하기.+> 우분투에서 웹서버 설정하기.
  
 ===== 1. Install Web server ===== ===== 1. Install Web server =====
Line 21: Line 21:
 ===== 2. Install php ===== ===== 2. Install php =====
   - 패키지 업데이트 및 업그레이드 <code bash> sudo apt update && sudo apt upgrade -y</code>   - 패키지 업데이트 및 업그레이드 <code bash> sudo apt update && sudo apt upgrade -y</code>
-  - php 패키지 설치 <code bash> sudo apt install php php-gd php-xml php-json php-sqlite3 -y </code>+  - php 패키지 설치 <code bash> sudo apt install php php-gd php-xml php-json php-sqlite3 php-mbstring -y </code><code bash>sudo apt install php-{common,cli,fpm,bcmath,bz2,cgi,curl,dba,dev,enchant,gd,gmp,imap,interbase,intl,ldap,mbstring,mysql,odbc,opcache,pgsql,phpdbg,pspell,readline,snmp,soap,sqlite3,sybase,tidy,xml,xmlrpc,zip,xsl,imagick} libapache2-mod-php -y</code>
   - php 정보 페이지 생성 <code php><?php   - php 정보 페이지 생성 <code php><?php
 phpinfo() phpinfo()
  • public/computer/setting_up_a_web_server_on_ubuntu.1742462035.txt.gz
  • Last modified: 2025/03/20 18:13
  • by alex