개인 서버에 Ubuntu LEMP WORDPRESS 설치하기 5

Contents

1. 개인 서버 만들기, 파워, 케이스, 메인보드, CPU쿨러, SSD, 메모리(RAM), CPU 선정과 주문 조립
2. 공유기 설정하기, 공유기1 브릿지 모드 설정, iptime 공유기2 IPTV 연결 설정
3. 개인 서버에 Ubuntu 22.04.4 LTS 설치하기, Universal-USB-Installer를 사용하여 부팅 가능한 USB를 생성하기
4. 개인 PC에 우분투 서버 접속용 3가지 SSH 설치, 자료실의 Putty, EditPlus, FileZilla 다운 후 설치하기
5. 우분투 서버 환경 date 설정하기
6. 웹 서버 Nginx 설치, 현재 iptables 규칙 초기화
7. Ubuntu sever 폴더 권한 설정, Nginx 페이지의 내용 수정과 권한 설정
8. Nginx 서버에 PHP8.3 설치, 자주 쓰이는 php8.3 모듈 설치하기
9. apt update와 upgrade가 완료 후 mariadb를 설치하기
10. MariaDB 관리 도구 phpMyAdmin 설치하기
11. 아사달에서 도메인 연결하기, 카페24에서 도메인 연결하기
12. HTTPS 적용을 위한 SSL 인증서 발급, Nginx에 acme-challenge 폴더 위치를 알리기 위하여 letsencrypt.conf 파일 만들기, Let’s Encrypt SSL 발급 받기
13. MariaDB에서 데이터베이스(DB) 만들기, phpMyAdmin에서 DB생성
14. 워드프레스 설치, 우분투 서버에 ko.wordpress.org/latest-ko_KR.zip 파일 설치, wordpress.zip 파일 압축 풀기, 서버 폴더 소유자 권한 및 사용자 그룹 변경
15. 워드프레스 설치 후 환경 설정, 우분투 서버에 wp-config.php에 임시디렉토리 설정, FTP 연결 정보 입력, Putty로 php.ini, nginx.conf를 수정

개인 서버에 Ubuntu LEMP WORDPRESS 설치하기 5

개인 서버에 Ubuntu sever LEMP(Linux-ubuntu+Nginx+MariaDB-Phpmyadmin+PHP8.3) WORDPRESS 설치하기

지난번에 PC로 우분투 서버 원격 접속(SSH)하기 위해서 PC에 3가지 SSH 프로그램을 설치하였습니다. 이번에는 Putty로 우분투 서버에 접속해서 서버 환경을 설정하겠습니다. 1. 서버 시스템 타임존 변경하기,  2. 서버 업데이트하기 및 업그레이드를 진행합니다.

5-1 우분투 서버 환경 설정하기

PC에서 Putty로 우분투 서버에 접속합니다.

junewoo@cvilla:~$ date                                            

접속 상태에서 date라고 입력해 봅니다.

UTC 시간으로 표시되어 나타날 것입니다.

 

한국 표준시로 변경이 필요합니다.

sudo dpkg-reconfigure tzdata를 입력하여 실행합니다.

junewoo@cvilla:~$ sudo dpkg-reconfigure tzdata                   

먼저 Asia를 선택합니다.

그 다음 아래로 내려가서 Seoul로 선택합니다.

그러면 시간 표시방식이 변경되었다고 나타납니다.

junewoo@cvilla:~$ sudo dpkg-reconfigure tzdata

Current default time zone: 'Asia/Seoul'
Local time is now: Wed Mar 6 03:13:34 KST 2024.
Universal Time is now: Tue Mar 5 18:13:34 UTC 2024.

다시 한번 date를 실행하여 확인을 해봅니다.

이제 우리가 알아볼 수 있는 한국 표준시로 나타나는 것을 확인하실 수 있습니다.

5-2 우분투 서버 환경 설정하기

5-2-1 우분투 서버 업데이트를 해 보겠습니다.

Putty 명령어 창에서 sudo apt update를 입력합니다.


junewoo@cvilla:~$ sudo apt update
[sudo] password for junewoo:
Hit:1 http://kr.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://kr.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:3 http://kr.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:4 http://kr.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:5 http://kr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,052 kB]
Get:6 http://kr.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [237 kB]
Get:7 http://kr.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [847 kB]
Get:8 http://kr.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [161 kB]
Hit:9 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Ign:10 https://ftp.harukasan.org/mariadb/repo/10.4/ubuntu bionic InRelease
Ign:10 https://ftp.harukasan.org/mariadb/repo/10.4/ubuntu bionic InRelease
Ign:10 https://ftp.harukasan.org/mariadb/repo/10.4/ubuntu bionic InRelease
Err:10 https://ftp.harukasan.org/mariadb/repo/10.4/ubuntu bionic InRelease
  Could not connect to ftp.harukasan.org:443 (175.214.128.79). - connect (111: Connection refused) Cannot initiate the connection to ftp.harukasan.org:443 (2001:470:23:440::2). - connect (101: Network is unreachable) Could not connect to ftp.harukasan.org:443 (118.38.208.102), connection timed out
Fetched 2,527 kB in 38s (67.0 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
51 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch https://ftp.harukasan.org/mariadb/repo/10.4/ubuntu/dists/bionic/InRelease  Could not connect to ftp.harukasan.org:443 (175.214.128.79). - connect (111: Connection refused) Cannot initiate the connection to ftp.harukasan.org:443 (2001:470:23:440::2). - connect (101: Network is unreachable) Could not connect to ftp.harukasan.org:443 (118.38.208.102), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
junewoo@cvilla:~$

정상적으로 업데이트 되었으면

Reading state information… Done
~ packagerpackages can be upgraded. Run ‘apt list –upgradable’ to see them.

라는 메시지가 나타납니다.

5-2-1 다음으로 우분투 서버 업그레이드를 해 보겠습니다.

Putty 명령어 창에서 sudo apt upgrade를 입력합니다.

중간에 Need to get 98.9 MB of archives.
After this operation, 340 MB of additional disk space will be used.
Do you want to continue? [Y/n]

라고 묻는데 Y를 입력하시면 됩니다.

설치 환경에 따라 한번 더 환경 변수를 묻는 경우

두 번째 keep the local version currently installed를 선택 진행합니다.

세 번째 몇 가지 환경 변수를 재 시작 할까요? 물으면 <OK>로 진행합니다.


junewoo@cvilla:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libmagickwand-6.q16-6 libmagickcore-6.q16-6 imagemagick-6-common
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages will be upgraded:
  base-files cloud-init coreutils distro-info distro-info-data
  firmware-sof-signed iptables libde265-0 libip4tc2 libip6tc2 libmm-glib0
  libnss-systemd libpam-systemd libpcre2-8-0 libsystemd0 libudev1 libxtables12
  linux-firmware modemmanager motd-news-config open-vm-tools php-common
  php8.2-bcmath php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-gd
  php8.2-intl php8.2-mbstring php8.2-mysql php8.2-opcache php8.2-readline
  php8.2-xml php8.2-zip python-apt-common python3-apt python3-distro-info
  python3-distupgrade python3-software-properties python3-update-manager
  software-properties-common systemd systemd-hwe-hwdb systemd-sysv
  systemd-timesyncd tcpdump ubuntu-release-upgrader-core udev unzip
  update-manager-core
51 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 standard LTS security update
Need to get 287 MB of archives.
After this operation, 42.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 libpcre2-8-0 amd64 10.42-3+ubuntu22.04.1+deb.sury.org+1 [230 kB]
Get:2 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php-common all 2:94+ubuntu22.04.1+deb.sury.org+2 [16.7 kB]
Get:3 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-zip amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [29.5 kB]
Get:4 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-xml amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [123 kB]
Get:5 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-readline amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [13.5 kB]
Get:6 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-opcache amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [370 kB]
Get:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-mysql amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [131 kB]
Get:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-mbstring amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [536 kB]
Get:9 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-intl amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [160 kB]
Get:10 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 motd-news-config all 12ubuntu4.6 [4,352 B]
Get:11 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 base-files amd64 12ubuntu4.6 [62.5 kB]
Get:12 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-gd amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [32.9 kB]
Get:13 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-cli amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [1,887 kB]
Get:14 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 coreutils amd64 8.32-4.1ubuntu1.1 [1,436 kB]
Get:15 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnss-systemd amd64 249.11-0ubuntu3.12 [133 kB]
Get:16 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsystemd0 amd64 249.11-0ubuntu3.12 [319 kB]
Get:17 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd-timesyncd amd64 249.11-0ubuntu3.12 [31.2 kB]
Get:18 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd-sysv amd64 249.11-0ubuntu3.12 [10.5 kB]
Get:19 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpam-systemd amd64 249.11-0ubuntu3.12 [203 kB]
Get:20 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd amd64 249.11-0ubuntu3.12 [4,581 kB]
Get:21 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 udev amd64 249.11-0ubuntu3.12 [1,557 kB]
Get:22 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libudev1 amd64 249.11-0ubuntu3.12 [78.2 kB]
Get:23 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libxtables12 amd64 1.8.7-1ubuntu5.2 [31.3 kB]
Get:24 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 iptables amd64 1.8.7-1ubuntu5.2 [455 kB]
Get:25 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libip6tc2 amd64 1.8.7-1ubuntu5.2 [20.3 kB]
Get:26 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libip4tc2 amd64 1.8.7-1ubuntu5.2 [19.9 kB]
Get:27 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 open-vm-tools amd64 2:12.3.5-3~ubuntu0.22.04.1 [746 kB]
Get:28 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 distro-info-data all 0.52ubuntu0.6 [5,160 B]
Get:29 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 distro-info amd64 1.1ubuntu0.2 [18.7 kB]
Get:30 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python-apt-common all 2.4.0ubuntu3 [14.6 kB]
Get:31 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-apt amd64 2.4.0ubuntu3 [164 kB]
Get:32 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distro-info all 1.1ubuntu0.2 [6,554 B]
Get:33 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 ubuntu-release-upgrader-core all 1:22.04.19 [26.2 kB]
Get:34 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distupgrade all 1:22.04.19 [106 kB]
Get:35 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-update-manager all 1:22.04.18 [38.9 kB]
Get:36 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 update-manager-core all 1:22.04.18 [11.5 kB]
Get:37 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 tcpdump amd64 4.99.1-3ubuntu0.2 [501 kB]
Get:38 http://kr.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 firmware-sof-signed all 2.0-1ubuntu4.5 [1,289 kB]
Get:39 http://kr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libde265-0 amd64 1.0.8-1ubuntu0.3 [290 kB]
Get:40 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libmm-glib0 amd64 1.20.0-1~ubuntu22.04.3 [263 kB]
Get:41 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.26 [266 MB]
Get:42 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-fpm amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [1,893 kB]
Get:43 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-curl amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [40.3 kB]
Get:44 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-bcmath amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [16.5 kB]
Get:45 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.2-common amd64 8.2.15-1+ubuntu22.04.1+deb.sury.org+1 [725 kB]
Get:46 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 modemmanager amd64 1.20.0-1~ubuntu22.04.3 [1,094 kB]
Get:47 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 software-properties-common all 0.99.22.9 [14.1 kB]
Get:48 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-software-properties all 0.99.22.9 [28.8 kB]
Get:49 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd-hwe-hwdb all 249.11.5 [3,228 B]
Get:50 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 unzip amd64 6.0-26ubuntu3.2 [175 kB]
Get:51 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cloud-init all 23.4.4-0ubuntu0~22.04.1 [551 kB]
Fetched 287 MB in 51s (5,598 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 113533 files and directories currently installed.)
Preparing to unpack .../motd-news-config_12ubuntu4.6_all.deb ...
Unpacking motd-news-config (12ubuntu4.6) over (12ubuntu4.4) ...
Preparing to unpack .../base-files_12ubuntu4.6_amd64.deb ...
Unpacking base-files (12ubuntu4.6) over (12ubuntu4.4) ...
Setting up base-files (12ubuntu4.6) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
Installing new version of config file /etc/update-motd.d/10-help-text ...
motd-news.service is a disabled or a static unit not running, not starting it.
(Reading database ... 113533 files and directories currently installed.)
Preparing to unpack .../coreutils_8.32-4.1ubuntu1.1_amd64.deb ...
Unpacking coreutils (8.32-4.1ubuntu1.1) over (8.32-4.1ubuntu1) ...
Setting up coreutils (8.32-4.1ubuntu1.1) ...
(Reading database ... 113533 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_249.11-0ubuntu3.12_amd64.deb ...
Unpacking libnss-systemd:amd64 (249.11-0ubuntu3.12) over (249.11-0ubuntu3.11) ...
Preparing to unpack .../libsystemd0_249.11-0ubuntu3.12_amd64.deb ...
Unpacking libsystemd0:amd64 (249.11-0ubuntu3.12) over (249.11-0ubuntu3.11) ...
Setting up libsystemd0:amd64 (249.11-0ubuntu3.12) ...
(Reading database ... 113533 files and directories currently installed.)
Preparing to unpack .../0-systemd-timesyncd_249.11-0ubuntu3.12_amd64.deb ...
Unpacking systemd-timesyncd (249.11-0ubuntu3.12) over (249.11-0ubuntu3.11) ...
Preparing to unpack .../1-systemd-sysv_249.11-0ubuntu3.12_amd64.deb ...
Unpacking systemd-sysv (249.11-0ubuntu3.12) over (249.11-0ubuntu3.11) ...
Preparing to unpack .../2-libpam-systemd_249.11-0ubuntu3.12_amd64.deb ...
Unpacking libpam-systemd:amd64 (249.11-0ubuntu3.12) over (249.11-0ubuntu3.11) ...
Preparing to unpack .../3-systemd_249.11-0ubuntu3.12_amd64.deb ...
Unpacking systemd (249.11-0ubuntu3.12) over (249.11-0ubuntu3.11) ...
Preparing to unpack .../4-udev_249.11-0ubuntu3.12_amd64.deb ...
Unpacking udev (249.11-0ubuntu3.12) over (249.11-0ubuntu3.11) ...
Preparing to unpack .../5-libudev1_249.11-0ubuntu3.12_amd64.deb ...
Unpacking libudev1:amd64 (249.11-0ubuntu3.12) over (249.11-0ubuntu3.11) ...
Setting up libudev1:amd64 (249.11-0ubuntu3.12) ...
(Reading database ... 113533 files and directories currently installed.)
Preparing to unpack .../0-libxtables12_1.8.7-1ubuntu5.2_amd64.deb ...
Unpacking libxtables12:amd64 (1.8.7-1ubuntu5.2) over (1.8.7-1ubuntu5.1) ...
Preparing to unpack .../1-iptables_1.8.7-1ubuntu5.2_amd64.deb ...
Unpacking iptables (1.8.7-1ubuntu5.2) over (1.8.7-1ubuntu5.1) ...
Preparing to unpack .../2-libip6tc2_1.8.7-1ubuntu5.2_amd64.deb ...
Unpacking libip6tc2:amd64 (1.8.7-1ubuntu5.2) over (1.8.7-1ubuntu5.1) ...
Preparing to unpack .../3-libip4tc2_1.8.7-1ubuntu5.2_amd64.deb ...
Unpacking libip4tc2:amd64 (1.8.7-1ubuntu5.2) over (1.8.7-1ubuntu5.1) ...
Preparing to unpack .../4-open-vm-tools_2%3a12.3.5-3~ubuntu0.22.04.1_amd64.deb ...
Unpacking open-vm-tools (2:12.3.5-3~ubuntu0.22.04.1) over (2:12.1.5-3~ubuntu0.22.04.4) ...
Preparing to unpack .../5-libpcre2-8-0_10.42-3+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.42-3+ubuntu22.04.1+deb.sury.org+1) over (10.40-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up libpcre2-8-0:amd64 (10.42-3+ubuntu22.04.1+deb.sury.org+1) ...
(Reading database ... 113533 files and directories currently installed.)
Preparing to unpack .../00-distro-info-data_0.52ubuntu0.6_all.deb ...
Unpacking distro-info-data (0.52ubuntu0.6) over (0.52ubuntu0.5) ...
Preparing to unpack .../01-distro-info_1.1ubuntu0.2_amd64.deb ...
Unpacking distro-info (1.1ubuntu0.2) over (1.1ubuntu0.1) ...
Preparing to unpack .../02-python-apt-common_2.4.0ubuntu3_all.deb ...
Unpacking python-apt-common (2.4.0ubuntu3) over (2.4.0ubuntu2) ...
Preparing to unpack .../03-python3-apt_2.4.0ubuntu3_amd64.deb ...
Unpacking python3-apt (2.4.0ubuntu3) over (2.4.0ubuntu2) ...
Preparing to unpack .../04-python3-distro-info_1.1ubuntu0.2_all.deb ...
Unpacking python3-distro-info (1.1ubuntu0.2) over (1.1ubuntu0.1) ...
Preparing to unpack .../05-ubuntu-release-upgrader-core_1%3a22.04.19_all.deb ...
Unpacking ubuntu-release-upgrader-core (1:22.04.19) over (1:22.04.17) ...
Preparing to unpack .../06-python3-distupgrade_1%3a22.04.19_all.deb ...
Unpacking python3-distupgrade (1:22.04.19) over (1:22.04.17) ...
Preparing to unpack .../07-python3-update-manager_1%3a22.04.18_all.deb ...
Unpacking python3-update-manager (1:22.04.18) over (1:22.04.10) ...
Preparing to unpack .../08-update-manager-core_1%3a22.04.18_all.deb ...
Unpacking update-manager-core (1:22.04.18) over (1:22.04.10) ...
Preparing to unpack .../09-tcpdump_4.99.1-3ubuntu0.2_amd64.deb ...
Unpacking tcpdump (4.99.1-3ubuntu0.2) over (4.99.1-3ubuntu0.1) ...
Preparing to unpack .../10-firmware-sof-signed_2.0-1ubuntu4.5_all.deb ...
Unpacking firmware-sof-signed (2.0-1ubuntu4.5) over (2.0-1ubuntu4.4) ...
Preparing to unpack .../11-libde265-0_1.0.8-1ubuntu0.3_amd64.deb ...
Unpacking libde265-0:amd64 (1.0.8-1ubuntu0.3) over (1.0.8-1ubuntu0.2) ...
Preparing to unpack .../12-libmm-glib0_1.20.0-1~ubuntu22.04.3_amd64.deb ...
Unpacking libmm-glib0:amd64 (1.20.0-1~ubuntu22.04.3) over (1.20.0-1~ubuntu22.04.2) ...
Preparing to unpack .../13-linux-firmware_20220329.git681281e4-0ubuntu3.26_all.deb ...
Unpacking linux-firmware (20220329.git681281e4-0ubuntu3.26) over (20220329.git681281e4-0ubuntu3.23) ...
Preparing to unpack .../14-modemmanager_1.20.0-1~ubuntu22.04.3_amd64.deb ...
Unpacking modemmanager (1.20.0-1~ubuntu22.04.3) over (1.20.0-1~ubuntu22.04.2) ...
Preparing to unpack .../15-php-common_2%3a94+ubuntu22.04.1+deb.sury.org+2_all.deb ...
Unpacking php-common (2:94+ubuntu22.04.1+deb.sury.org+2) over (2:93+ubuntu22.04.1+deb.sury.org+3) ...
Preparing to unpack .../16-php8.2-zip_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-zip (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../17-php8.2-xml_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-xml (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../18-php8.2-readline_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-readline (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../19-php8.2-opcache_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-opcache (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../20-php8.2-mysql_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-mysql (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../21-php8.2-mbstring_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-mbstring (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../22-php8.2-intl_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-intl (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../23-php8.2-gd_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-gd (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../24-php8.2-cli_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-cli (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../25-php8.2-fpm_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-fpm (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../26-php8.2-curl_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-curl (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../27-php8.2-bcmath_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-bcmath (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../28-php8.2-common_8.2.15-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.2-common (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) over (8.2.14-1+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../29-software-properties-common_0.99.22.9_all.deb ...
Unpacking software-properties-common (0.99.22.9) over (0.99.22.8) ...
Preparing to unpack .../30-python3-software-properties_0.99.22.9_all.deb ...
Unpacking python3-software-properties (0.99.22.9) over (0.99.22.8) ...
Preparing to unpack .../31-systemd-hwe-hwdb_249.11.5_all.deb ...
Unpacking systemd-hwe-hwdb (249.11.5) over (249.11.4) ...
Preparing to unpack .../32-unzip_6.0-26ubuntu3.2_amd64.deb ...
Unpacking unzip (6.0-26ubuntu3.2) over (6.0-26ubuntu3.1) ...
Preparing to unpack .../33-cloud-init_23.4.4-0ubuntu0~22.04.1_all.deb ...
Unpacking cloud-init (23.4.4-0ubuntu0~22.04.1) over (23.3.3-0ubuntu0~22.04.1) ...
Setting up libip4tc2:amd64 (1.8.7-1ubuntu5.2) ...
Setting up motd-news-config (12ubuntu4.6) ...
Setting up php-common (2:94+ubuntu22.04.1+deb.sury.org+2) ...
Setting up tcpdump (4.99.1-3ubuntu0.2) ...
Installing new version of config file /etc/apparmor.d/usr.bin.tcpdump ...
Setting up php8.2-common (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up cloud-init (23.4.4-0ubuntu0~22.04.1) ...
Installing new version of config file /etc/profile.d/Z99-cloud-locale-test.sh ...
Installing new version of config file /etc/profile.d/Z99-cloudinit-warnings.sh ...
Setting up php8.2-mysql (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.2-bcmath (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up linux-firmware (20220329.git681281e4-0ubuntu3.26) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-97-generic
update-initramfs: Generating /boot/initrd.img-5.15.0-91-generic
Setting up php8.2-zip (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up libip6tc2:amd64 (1.8.7-1ubuntu5.2) ...
Setting up distro-info-data (0.52ubuntu0.6) ...
Setting up php8.2-opcache (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up firmware-sof-signed (2.0-1ubuntu4.5) ...
Setting up unzip (6.0-26ubuntu3.2) ...
Setting up php8.2-readline (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.2-mbstring (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up systemd (249.11-0ubuntu3.12) ...
Setting up php8.2-intl (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.2-curl (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.2-xml (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up systemd-timesyncd (249.11-0ubuntu3.12) ...
Setting up udev (249.11-0ubuntu3.12) ...
Setting up libxtables12:amd64 (1.8.7-1ubuntu5.2) ...
Setting up systemd-hwe-hwdb (249.11.5) ...
Setting up python-apt-common (2.4.0ubuntu3) ...
Setting up open-vm-tools (2:12.3.5-3~ubuntu0.22.04.1) ...
Installing new version of config file /etc/vmware-tools/poweroff-vm-default ...
Installing new version of config file /etc/vmware-tools/poweron-vm-default ...
Installing new version of config file /etc/vmware-tools/resume-vm-default ...
Installing new version of config file /etc/vmware-tools/scripts/vmware/network ...
Installing new version of config file /etc/vmware-tools/suspend-vm-default ...
Installing new version of config file /etc/vmware-tools/tools.conf.example ...
Setting up libmm-glib0:amd64 (1.20.0-1~ubuntu22.04.3) ...
Setting up php8.2-gd (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up modemmanager (1.20.0-1~ubuntu22.04.3) ...
Setting up php8.2-cli (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up libde265-0:amd64 (1.0.8-1ubuntu0.3) ...
Setting up python3-distro-info (1.1ubuntu0.2) ...
Setting up distro-info (1.1ubuntu0.2) ...
Setting up systemd-sysv (249.11-0ubuntu3.12) ...
Setting up iptables (1.8.7-1ubuntu5.2) ...
Setting up python3-apt (2.4.0ubuntu3) ...
Setting up libnss-systemd:amd64 (249.11-0ubuntu3.12) ...
Setting up php8.2-fpm (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up python3-software-properties (0.99.22.9) ...
Setting up libpam-systemd:amd64 (249.11-0ubuntu3.12) ...
Setting up software-properties-common (0.99.22.9) ...
Setting up python3-update-manager (1:22.04.18) ...
Setting up python3-distupgrade (1:22.04.19) ...
Setting up ubuntu-release-upgrader-core (1:22.04.19) ...
Setting up update-manager-core (1:22.04.18) ...
Processing triggers for install-info (6.8-4build1) ...
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-97-generic
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for rsyslog (8.2112.0-2ubuntu2.2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for plymouth-theme-ubuntu-text (0.9.5+git20211018-1ubuntu3) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for php8.2-cli (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Processing triggers for php8.2-fpm (8.2.15-1+ubuntu22.04.1+deb.sury.org+1) ...
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-97-generic
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

Restarting services...
 systemctl restart cron.service irqbalance.service mariadb.service multipathd.service nginx.service packagekit.service polkit.service ssh.service thermald.service udisks2.service upower.service
Service restarts being deferred:
 /etc/needrestart/restart.d/dbus.service
 systemctl restart networkd-dispatcher.service
 systemctl restart systemd-logind.service
 systemctl restart unattended-upgrades.service
 systemctl restart user@1000.service

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
junewoo@cvilla:~$

우분투 서버의 최소 환경설정이 완료되었습니다.

다음으로 웹서버인 Nginx를 설치해보겠습니다.

6. 우분투 서버 환경 설정하기

Leave a Comment