yumyum

[Linux] APM 본문

[root@localhost ~]# rpm -qa httpd php maradb-server
httpd-2.4.6-95.el7.centos.x86_64
[root@localhost ~]# yum -y install httpd php php-mysqlnd mariadb mariadb-server

apm 확인후

apm 설치

[root@localhost ~]# rpm -qa httpd php maradb-server
php-5.4.16-48.el7.x86_64
httpd-2.4.6-99.el7.centos.1.x86_64
[root@localhost ~]# systemctl restart httpd
[root@localhost ~]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[root@localhost ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since 월 2023-09-04 17:21:27 KST; 21s ago
     Docs: man:httpd(8)
           man:apachectl(8)
 Main PID: 64232 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
   CGroup: /system.slice/httpd.service
           ├─64232 /usr/sbin/httpd -DFOREGROUND
           ├─64237 /usr/sbin/httpd -DFOREGROUND
           ├─64238 /usr/sbin/httpd -DFOREGROUND
           ├─64239 /usr/sbin/httpd -DFOREGROUND
           ├─64240 /usr/sbin/httpd -DFOREGROUND
           ├─64241 /usr/sbin/httpd -DFOREGROUND
           └─64242 /usr/sbin/httpd -DFOREGROUND

 9월 04 17:21:26 localhost.localdomain systemd[1]: Starting The Apache HTTP ...
 9월 04 17:21:26 localhost.localdomain httpd[64232]: AH00558: httpd: Could n...
 9월 04 17:21:27 localhost.localdomain systemd[1]: Started The Apache HTTP S...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]# systemctl restart mariadb
[root@localhost ~]# systemctl enable mariadb
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
[root@localhost ~]# systemctl status mariadb
● mariadb.service - MariaDB database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
   Active: active (running) since 월 2023-09-04 17:22:11 KST; 13s ago
 Main PID: 64371 (mysqld_safe)
   CGroup: /system.slice/mariadb.service
           ├─64371 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
           └─64536 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysq...

 9월 04 17:22:09 localhost.localdomain mariadb-prepare-db-dir[64286]: Altern...
 9월 04 17:22:09 localhost.localdomain mariadb-prepare-db-dir[64286]: '/usr/...
 9월 04 17:22:09 localhost.localdomain mariadb-prepare-db-dir[64286]: which ...
 9월 04 17:22:09 localhost.localdomain mariadb-prepare-db-dir[64286]: databa...
 9월 04 17:22:09 localhost.localdomain mariadb-prepare-db-dir[64286]: strong...
 9월 04 17:22:09 localhost.localdomain mariadb-prepare-db-dir[64286]: See th...
 9월 04 17:22:09 localhost.localdomain mariadb-prepare-db-dir[64286]: MySQL ...
 9월 04 17:22:09 localhost.localdomain mysqld_safe[64371]: 230904 17:22:09 m...
 9월 04 17:22:09 localhost.localdomain mysqld_safe[64371]: 230904 17:22:09 m...
 9월 04 17:22:11 localhost.localdomain systemd[1]: Started MariaDB database ...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]# firewall-config
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# cd /var/www/html/
[root@localhost html]# ls
[root@localhost html]# vim phpinfo.php
[root@localhost html]# pwd
/var/www/html
[root@localhost html]# ll
합계 4
-rw-r--r--. 1 root root 20  9월  4 17:27 phpinfo.php
[root@localhost html]# vim index.html
[root@localhost html]# vim index.html
[root@localhost html]# pwd
/var/www/html
[root@localhost html]# ll
합계 8
-rw-r--r--. 1 root root 156  9월  4 17:31 index.html
-rw-r--r--. 1 root root  20  9월  4 17:27 phpinfo.php

 

 

 

__________________________________________________________________________________

rocky9

[root@localhost ~]# dnf -y install mariadb mariadb-server php php-mysqlnd
마지막 메타자료 만료확인(1:01:26 이전): 2023년 09월 04일 (월) 오후 04시 43분 36초.
종속성이 해결되었습니다.
================================================================================
 꾸러미                       구조     버전                   저장소       크기
================================================================================
설치 중:
 mariadb                      x86_64   3:10.5.16-2.el9_0      appstream   1.6 M
 mariadb-server               x86_64   3:10.5.16-2.el9_0      appstream   9.4 M
 php                          x86_64   8.0.27-1.el9_1         appstream    10 k
 php-mysqlnd                  x86_64   8.0.27-1.el9_1         appstream   151 k
종속 꾸러미 설치 중:
 apr                          x86_64   1.7.0-11.el9           appstream   123 k
 apr-util                     x86_64   1.6.1-20.el9_2.1       appstream    94 k
 apr-util-bdb                 x86_64   1.6.1-20.el9_2.1       appstream    12 k
 httpd-core                   x86_64   2.4.53-11.el9_2.5      appstream   1.4 M
 httpd-filesystem             noarch   2.4.53-11.el9_2.5      appstream    14 k
 httpd-tools                  x86_64   2.4.53-11.el9_2.5      appstream    81 k
 mariadb-common               x86_64   3:10.5.16-2.el9_0      appstream    31 k
 mariadb-connector-c          x86_64   3.2.6-1.el9_0          appstream   195 k
 mariadb-connector-c-config   noarch   3.2.6-1.el9_0          appstream   9.8 k
 mariadb-errmsg               x86_64   3:10.5.16-2.el9_0      appstream   215 k
 mysql-selinux                noarch   1.0.5-1.el9_0          appstream    35 k
 nginx-filesystem             noarch   1:1.20.1-14.el9        appstream    10 k
 perl-DBD-MariaDB             x86_64   1.21-16.el9_0          appstream   151 k
 perl-File-Copy               noarch   2.34-480.el9           appstream    20 k
 perl-Sys-Hostname            x86_64   1.23-480.el9           appstream    17 k
 php-common                   x86_64   8.0.27-1.el9_1         appstream   667 k
 php-pdo                      x86_64   8.0.27-1.el9_1         appstream    83 k
 rocky-logos-httpd            noarch   90.14-1.el9            appstream    24 k
취약한 종속 꾸러미 설치 중:
 apr-util-openssl             x86_64   1.6.1-20.el9_2.1       appstream    14 k
 httpd                        x86_64   2.4.53-11.el9_2.5      appstream    47 k
 mariadb-backup               x86_64   3:10.5.16-2.el9_0      appstream   6.4 M
 mariadb-gssapi-server        x86_64   3:10.5.16-2.el9_0      appstream    19 k
 mariadb-server-utils         x86_64   3:10.5.16-2.el9_0      appstream   213 k
 mod_http2                    x86_64   1.15.19-4.el9_2.4      appstream   149 k
 mod_lua                      x86_64   2.4.53-11.el9_2.5      appstream    61 k
 php-cli                      x86_64   8.0.27-1.el9_1         appstream   3.1 M
 php-fpm                      x86_64   8.0.27-1.el9_1         appstream   1.6 M
 php-mbstring                 x86_64   8.0.27-1.el9_1         appstream   470 k
 php-opcache                  x86_64   8.0.27-1.el9_1         appstream   512 k
 php-xml                      x86_64   8.0.27-1.el9_1         appstream   131 k

연결 요약
================================================================================
설치  34 꾸러미

전체 내려받기 크기: 27 M
설치된 크기 : 150 M
꾸러미 내려받기 중:
(1/34): rocky-logos-httpd-90.14-1.el9.noarch.rp 126 kB/s |  24 kB     00:00    
(2/34): mod_lua-2.4.53-11.el9_2.5.x86_64.rpm    252 kB/s |  61 kB     00:00    
(3/34): httpd-tools-2.4.53-11.el9_2.5.x86_64.rp 323 kB/s |  81 kB     00:00    
(4/34): httpd-2.4.53-11.el9_2.5.x86_64.rpm      768 kB/s |  47 kB     00:00    
(5/34): httpd-filesystem-2.4.53-11.el9_2.5.noar 404 kB/s |  14 kB     00:00    
(6/34): apr-util-openssl-1.6.1-20.el9_2.1.x86_6 278 kB/s |  14 kB     00:00    
(7/34): apr-util-bdb-1.6.1-20.el9_2.1.x86_64.rp 233 kB/s |  12 kB     00:00    
(8/34): nginx-filesystem-1.20.1-14.el9.noarch.r 334 kB/s |  10 kB     00:00    
(9/34): mysql-selinux-1.0.5-1.el9_0.noarch.rpm  1.0 MB/s |  35 kB     00:00    
(10/34): apr-util-1.6.1-20.el9_2.1.x86_64.rpm   1.1 MB/s |  94 kB     00:00    
(11/34): mariadb-connector-c-config-3.2.6-1.el9 314 kB/s | 9.8 kB     00:00    
(12/34): apr-1.7.0-11.el9.x86_64.rpm            1.2 MB/s | 123 kB     00:00    
(13/34): mod_http2-1.15.19-4.el9_2.4.x86_64.rpm 1.3 MB/s | 149 kB     00:00    
(14/34): perl-Sys-Hostname-1.23-480.el9.x86_64. 420 kB/s |  17 kB     00:00    
(15/34): perl-File-Copy-2.34-480.el9.noarch.rpm 579 kB/s |  20 kB     00:00    
(16/34): mariadb-connector-c-3.2.6-1.el9_0.x86_ 965 kB/s | 195 kB     00:00    
(17/34): mariadb-gssapi-server-10.5.16-2.el9_0. 441 kB/s |  19 kB     00:00    
(18/34): mariadb-server-utils-10.5.16-2.el9_0.x 1.1 MB/s | 213 kB     00:00    
(19/34): mariadb-common-10.5.16-2.el9_0.x86_64. 675 kB/s |  31 kB     00:00    
(20/34): mariadb-errmsg-10.5.16-2.el9_0.x86_64. 1.2 MB/s | 215 kB     00:00    
(21/34): mariadb-10.5.16-2.el9_0.x86_64.rpm     454 kB/s | 1.6 MB     00:03    
(22/34): perl-DBD-MariaDB-1.21-16.el9_0.x86_64. 297 kB/s | 151 kB     00:00    
(23/34): php-xml-8.0.27-1.el9_1.x86_64.rpm      245 kB/s | 131 kB     00:00    
(24/34): php-pdo-8.0.27-1.el9_1.x86_64.rpm      279 kB/s |  83 kB     00:00    
(25/34): php-opcache-8.0.27-1.el9_1.x86_64.rpm  312 kB/s | 512 kB     00:01    
(26/34): php-mysqlnd-8.0.27-1.el9_1.x86_64.rpm  277 kB/s | 151 kB     00:00    
(27/34): php-mbstring-8.0.27-1.el9_1.x86_64.rpm 301 kB/s | 470 kB     00:01    
(28/34): php-fpm-8.0.27-1.el9_1.x86_64.rpm      899 kB/s | 1.6 MB     00:01    
(29/34): php-common-8.0.27-1.el9_1.x86_64.rpm   4.0 MB/s | 667 kB     00:00    
(30/34): mariadb-server-10.5.16-2.el9_0.x86_64. 869 kB/s | 9.4 MB     00:11    
(31/34): php-8.0.27-1.el9_1.x86_64.rpm          303 kB/s |  10 kB     00:00    
(32/34): httpd-core-2.4.53-11.el9_2.5.x86_64.rp 6.5 MB/s | 1.4 MB     00:00    
(33/34): php-cli-8.0.27-1.el9_1.x86_64.rpm      4.8 MB/s | 3.1 MB     00:00    
(34/34): mariadb-backup-10.5.16-2.el9_0.x86_64. 575 kB/s | 6.4 MB     00:11    
--------------------------------------------------------------------------------
합계                                            2.1 MB/s |  27 MB     00:12     
연결 확인 실행 중
연결 확인에 성공했습니다.
연결 시험 실행 중
연결 시험에 성공했습니다.
연결 실행 중
  준비 중     :                                                             1/1 
  설치 중     : php-common-8.0.27-1.el9_1.x86_64                           1/34 
  설치 중     : apr-1.7.0-11.el9.x86_64                                    2/34 
  설치 중     : apr-util-bdb-1.6.1-20.el9_2.1.x86_64                       3/34 
  설치 중     : apr-util-1.6.1-20.el9_2.1.x86_64                           4/34 
  설치 중     : apr-util-openssl-1.6.1-20.el9_2.1.x86_64                   5/34 
  설치 중     : mariadb-connector-c-config-3.2.6-1.el9_0.noarch            6/34 
  설치 중     : mariadb-common-3:10.5.16-2.el9_0.x86_64                    7/34 
  설치 중     : mariadb-connector-c-3.2.6-1.el9_0.x86_64                   8/34 
  설치 중     : php-pdo-8.0.27-1.el9_1.x86_64                              9/34 
  설치 중     : perl-Sys-Hostname-1.23-480.el9.x86_64                     10/34 
  구현 중     : httpd-filesystem-2.4.53-11.el9_2.5.noarch                 11/34 
  설치 중     : httpd-filesystem-2.4.53-11.el9_2.5.noarch                 11/34 
  설치 중     : perl-DBD-MariaDB-1.21-16.el9_0.x86_64                     12/34 
  설치 중     : mariadb-errmsg-3:10.5.16-2.el9_0.x86_64                   13/34 
  설치 중     : httpd-tools-2.4.53-11.el9_2.5.x86_64                      14/34 
  설치 중     : httpd-core-2.4.53-11.el9_2.5.x86_64                       15/34 
  설치 중     : mod_lua-2.4.53-11.el9_2.5.x86_64                          16/34 
  설치 중     : mod_http2-1.15.19-4.el9_2.4.x86_64                        17/34 
  설치 중     : php-xml-8.0.27-1.el9_1.x86_64                             18/34 
  설치 중     : php-opcache-8.0.27-1.el9_1.x86_64                         19/34 
  설치 중     : php-mbstring-8.0.27-1.el9_1.x86_64                        20/34 
  설치 중     : php-cli-8.0.27-1.el9_1.x86_64                             21/34 
  설치 중     : perl-File-Copy-2.34-480.el9.noarch                        22/34 
  구현 중     : nginx-filesystem-1:1.20.1-14.el9.noarch                   23/34 
  설치 중     : nginx-filesystem-1:1.20.1-14.el9.noarch                   23/34 
  설치 중     : php-fpm-8.0.27-1.el9_1.x86_64                             24/34 
  구현 중     : php-fpm-8.0.27-1.el9_1.x86_64                             24/34 
  구현 중     : mysql-selinux-1.0.5-1.el9_0.noarch                        25/34 
  설치 중     : mysql-selinux-1.0.5-1.el9_0.noarch                        25/34 
  구현 중     : mysql-selinux-1.0.5-1.el9_0.noarch                        25/34 
libsemanage.semanage_direct_install_info: Overriding mysql module at lower priority 100 with module at priority 200.

  설치 중     : mariadb-server-utils-3:10.5.16-2.el9_0.x86_64             26/34 
  설치 중     : mariadb-gssapi-server-3:10.5.16-2.el9_0.x86_64            27/34 
  설치 중     : mariadb-backup-3:10.5.16-2.el9_0.x86_64                   28/34 
  설치 중     : mariadb-3:10.5.16-2.el9_0.x86_64                          29/34 
  구현 중     : mariadb-server-3:10.5.16-2.el9_0.x86_64                   30/34 
  설치 중     : mariadb-server-3:10.5.16-2.el9_0.x86_64                   30/34 
  구현 중     : mariadb-server-3:10.5.16-2.el9_0.x86_64                   30/34 
  설치 중     : rocky-logos-httpd-90.14-1.el9.noarch                      31/34 
  설치 중     : httpd-2.4.53-11.el9_2.5.x86_64                            32/34 
  구현 중     : httpd-2.4.53-11.el9_2.5.x86_64                            32/34 
  설치 중     : php-8.0.27-1.el9_1.x86_64                                 33/34 
  설치 중     : php-mysqlnd-8.0.27-1.el9_1.x86_64                         34/34 
  구현 중     : mysql-selinux-1.0.5-1.el9_0.noarch                        34/34 
  구현 중     : httpd-2.4.53-11.el9_2.5.x86_64                            34/34 
  구현 중     : php-mysqlnd-8.0.27-1.el9_1.x86_64                         34/34 
  확인 중     : rocky-logos-httpd-90.14-1.el9.noarch                       1/34 
  확인 중     : mod_lua-2.4.53-11.el9_2.5.x86_64                           2/34 
  확인 중     : httpd-tools-2.4.53-11.el9_2.5.x86_64                       3/34 
  확인 중     : httpd-2.4.53-11.el9_2.5.x86_64                             4/34 
  확인 중     : httpd-filesystem-2.4.53-11.el9_2.5.noarch                  5/34 
  확인 중     : apr-util-openssl-1.6.1-20.el9_2.1.x86_64                   6/34 
  확인 중     : apr-util-bdb-1.6.1-20.el9_2.1.x86_64                       7/34 
  확인 중     : apr-util-1.6.1-20.el9_2.1.x86_64                           8/34 
  확인 중     : mysql-selinux-1.0.5-1.el9_0.noarch                         9/34 
  확인 중     : nginx-filesystem-1:1.20.1-14.el9.noarch                   10/34 
  확인 중     : mariadb-connector-c-3.2.6-1.el9_0.x86_64                  11/34 
  확인 중     : mariadb-connector-c-config-3.2.6-1.el9_0.noarch           12/34 
  확인 중     : mod_http2-1.15.19-4.el9_2.4.x86_64                        13/34 
  확인 중     : apr-1.7.0-11.el9.x86_64                                   14/34 
  확인 중     : perl-Sys-Hostname-1.23-480.el9.x86_64                     15/34 
  확인 중     : perl-File-Copy-2.34-480.el9.noarch                        16/34 
  확인 중     : mariadb-server-utils-3:10.5.16-2.el9_0.x86_64             17/34 
  확인 중     : mariadb-server-3:10.5.16-2.el9_0.x86_64                   18/34 
  확인 중     : mariadb-gssapi-server-3:10.5.16-2.el9_0.x86_64            19/34 
  확인 중     : mariadb-errmsg-3:10.5.16-2.el9_0.x86_64                   20/34 
  확인 중     : mariadb-common-3:10.5.16-2.el9_0.x86_64                   21/34 
  확인 중     : mariadb-backup-3:10.5.16-2.el9_0.x86_64                   22/34 
  확인 중     : mariadb-3:10.5.16-2.el9_0.x86_64                          23/34 
  확인 중     : perl-DBD-MariaDB-1.21-16.el9_0.x86_64                     24/34 
  확인 중     : php-xml-8.0.27-1.el9_1.x86_64                             25/34 
  확인 중     : php-pdo-8.0.27-1.el9_1.x86_64                             26/34 
  확인 중     : php-opcache-8.0.27-1.el9_1.x86_64                         27/34 
  확인 중     : php-mysqlnd-8.0.27-1.el9_1.x86_64                         28/34 
  확인 중     : php-mbstring-8.0.27-1.el9_1.x86_64                        29/34 
  확인 중     : php-fpm-8.0.27-1.el9_1.x86_64                             30/34 
  확인 중     : php-common-8.0.27-1.el9_1.x86_64                          31/34 
  확인 중     : php-cli-8.0.27-1.el9_1.x86_64                             32/34 
  확인 중     : php-8.0.27-1.el9_1.x86_64                                 33/34 
  확인 중     : httpd-core-2.4.53-11.el9_2.5.x86_64                       34/34 

설치되었습니다:
  apr-1.7.0-11.el9.x86_64                                                       
  apr-util-1.6.1-20.el9_2.1.x86_64                                              
  apr-util-bdb-1.6.1-20.el9_2.1.x86_64                                          
  apr-util-openssl-1.6.1-20.el9_2.1.x86_64                                      
  httpd-2.4.53-11.el9_2.5.x86_64                                                
  httpd-core-2.4.53-11.el9_2.5.x86_64                                           
  httpd-filesystem-2.4.53-11.el9_2.5.noarch                                     
  httpd-tools-2.4.53-11.el9_2.5.x86_64                                          
  mariadb-3:10.5.16-2.el9_0.x86_64                                              
  mariadb-backup-3:10.5.16-2.el9_0.x86_64                                       
  mariadb-common-3:10.5.16-2.el9_0.x86_64                                       
  mariadb-connector-c-3.2.6-1.el9_0.x86_64                                      
  mariadb-connector-c-config-3.2.6-1.el9_0.noarch                               
  mariadb-errmsg-3:10.5.16-2.el9_0.x86_64                                       
  mariadb-gssapi-server-3:10.5.16-2.el9_0.x86_64                                
  mariadb-server-3:10.5.16-2.el9_0.x86_64                                       
  mariadb-server-utils-3:10.5.16-2.el9_0.x86_64                                 
  mod_http2-1.15.19-4.el9_2.4.x86_64                                            
  mod_lua-2.4.53-11.el9_2.5.x86_64                                              
  mysql-selinux-1.0.5-1.el9_0.noarch                                            
  nginx-filesystem-1:1.20.1-14.el9.noarch                                       
  perl-DBD-MariaDB-1.21-16.el9_0.x86_64                                         
  perl-File-Copy-2.34-480.el9.noarch                                            
  perl-Sys-Hostname-1.23-480.el9.x86_64                                         
  php-8.0.27-1.el9_1.x86_64                                                     
  php-cli-8.0.27-1.el9_1.x86_64                                                 
  php-common-8.0.27-1.el9_1.x86_64                                              
  php-fpm-8.0.27-1.el9_1.x86_64                                                 
  php-mbstring-8.0.27-1.el9_1.x86_64                                            
  php-mysqlnd-8.0.27-1.el9_1.x86_64                                             
  php-opcache-8.0.27-1.el9_1.x86_64                                             
  php-pdo-8.0.27-1.el9_1.x86_64                                                 
  php-xml-8.0.27-1.el9_1.x86_64                                                 
  rocky-logos-httpd-90.14-1.el9.noarch                                          

완료되었습니다!
[root@localhost ~]# systemctl restar httpd
Unknown command verb restar.
[root@localhost ~]# systemctl restart httpd
[root@localhost ~]# systemctl enable httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
[root@localhost ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
     Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: di>
    Drop-In: /usr/lib/systemd/system/httpd.service.d
             └─php-fpm.conf
     Active: active (running) since Mon 2023-09-04 17:47:58 KST; 10s ago
       Docs: man:httpd.service(8)
   Main PID: 34462 (httpd)
     Status: "Total requests: 0; Idle/Busy workers 100/0;Requests/sec: 0; Bytes>
      Tasks: 213 (limit: 11228)
     Memory: 45.0M
        CPU: 61ms
     CGroup: /system.slice/httpd.service
             ├─34462 /usr/sbin/httpd -DFOREGROUND
             ├─34469 /usr/sbin/httpd -DFOREGROUND
             ├─34470 /usr/sbin/httpd -DFOREGROUND
             ├─34471 /usr/sbin/httpd -DFOREGROUND
             └─34472 /usr/sbin/httpd -DFOREGROUND

 9월 04 17:47:58 localhost.localdomain systemd[1]: Starting The Apache HTTP Ser>
 9월 04 17:47:58 localhost.localdomain httpd[34462]: AH00558: httpd: Could not >
 9월 04 17:47:58 localhost.localdomain httpd[34462]: Server configured, listeni>
 9월 04 17:47:58 localhost.localdomain systemd[1]: Started The Apache HTTP Serv>
[root@localhost ~]# 
[root@localhost ~]# systemctl restart mariadb
[root@localhost ~]# systemctl enable mariadb
Created symlink /etc/systemd/system/mysql.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/mysqld.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /usr/lib/systemd/system/mariadb.service.
[root@localhost ~]# systemctl status mariadb
● mariadb.service - MariaDB 10.5 database server
     Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; preset: >
     Active: active (running) since Mon 2023-09-04 17:48:31 KST; 14s ago
       Docs: man:mariadbd(8)
             https://mariadb.com/kb/en/library/systemd/
   Main PID: 34821 (mariadbd)
     Status: "Taking your SQL requests now..."
      Tasks: 12 (limit: 11228)
     Memory: 71.4M
        CPU: 246ms
     CGroup: /system.slice/mariadb.service
             └─34821 /usr/libexec/mariadbd --basedir=/usr

 9월 04 17:48:30 localhost.localdomain mariadb-prepare-db-dir[34777]: you need >
 9월 04 17:48:30 localhost.localdomain mariadb-prepare-db-dir[34777]: After con>
 9월 04 17:48:30 localhost.localdomain mariadb-prepare-db-dir[34777]: able to c>
 9월 04 17:48:30 localhost.localdomain mariadb-prepare-db-dir[34777]: See the M>
 9월 04 17:48:30 localhost.localdomain mariadb-prepare-db-dir[34777]: Please re>
 9월 04 17:48:30 localhost.localdomain mariadb-prepare-db-dir[34777]: The lates>
 9월 04 17:48:30 localhost.localdomain mariadb-prepare-db-dir[34777]: Consider >
 9월 04 17:48:30 localhost.localdomain mariadb-prepare-db-dir[34777]: https://m>
 9월 04 17:48:31 localhost.localdomain mariadbd[34821]: 2023-09-04 17:48:31 0 [>
 9월 04 17:48:31 localhost.localdomain systemd[1]: Started MariaDB 10.5 databas>
lines 1-23
[root@localhost ~]# 
[root@localhost ~]# firewall-config
/usr/bin/firewall-config:2388: DeprecationWarning: Gtk.Misc.set_alignment is deprecated
  label.set_alignment(0, 0.5)
/usr/bin/firewall-config:2452: DeprecationWarning: Gtk.Misc.set_padding is deprecated
  label.set_padding(12, 0)
[root@localhost ~]# cd /var/www/html/
[root@localhost html]# vim index.html
[root@localhost html]# vim index.html
[root@localhost html]# ifconfig
ens32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.111.120  netmask 255.255.255.0  broadcast 192.168.111.255
        inet6 fe80::20c:29ff:fee8:3f7f  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:e8:3f:7f  txqueuelen 1000  (Ethernet)
        RX packets 24439  bytes 33921246 (32.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9888  bytes 635758 (620.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 27  bytes 2715 (2.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 27  bytes 2715 (2.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

'ICT기반 클라우드 네트워크 해킹 침해대응전문가 > Linux' 카테고리의 다른 글

[Linux] ACL  (0) 2023.09.06
[Linux] XE OWNCLOUD WORDPRESS  (0) 2023.09.05
[Linux] telnet  (0) 2023.09.04
[Linux] QUOTA  (0) 2023.09.04
[Linux] LVM  (0) 2023.09.04