CentOS Stream 9




よく利用するプログラム等のバージョン確認

2023-12-07

# cat /etc/redhat-release 
CentOS Stream release 9
 
 
# uname -a
Linux ********** 5.14.0-22.el9.x86_64 #1 SMP Fri Nov 26 23:47:21 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
 
 
# openssl version
OpenSSL 3.0.0 7 sep 2021 (Library: OpenSSL 3.0.0 7 sep 2021)
 
 
# ssh -V
OpenSSH_8.7p1, OpenSSL 3.0.0 7 sep 2021
 
 
# httpd -v
Server version: Apache/2.4.57 (CentOS Stream)
Server built:   Jul 20 2023 00:00:00
 
CGIの利用は不可。
 
 
# postconf  | grep version
disable_mime_output_conversion = no
mail_version = 3.5.9
milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer}
milter_macro_v = $mail_name $mail_version
 
 
# php -v
PHP 8.0.30 (cli) (built: Aug  3 2023 17:13:08) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.30, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.30, Copyright (c), by Zend Technologies
 
 
# mysql --version
mysql  Ver 8.0.32 for Linux on x86_64 (Source distribution)
 
 
# python --version
Python 3.9.9
 
 
# perl -v
 
This is perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-thread-multi
(with 52 registered patches, see perl -V for more detail)
 
Copyright 1987-2021, Larry Wall
 
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
 
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
 
 
# wget -V
GNU Wget 1.21.1 built on linux-gnu.
 
-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls 
+ntlm +opie +psl +ssl/gnutls 
----- 以下省略 -----
 
# nkf -v
Network Kanji Filter Version 2.1.4 (2015-12-12) 
Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).
Copyright (C) 1996-2015, The nkf Project.
 
# tar --version
tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
 
Written by John Gilmore and Jay Fenlason.
 
 
# rsync --version
rsync  version 3.2.3  protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, hardlink-specials, symlinks, IPv6, atimes,
    batchfiles, inplace, append, ACLs, xattrs, optional protect-args, iconv,
    symtimes, prealloc, stop-at, no crtimes
Optimizations:
    SIMD, asm, openssl-crypto
Checksum list:
    md5 md4 none
Compress list:
    zstd lz4 zlibx zlib none
 
rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.
 
 
# systemctl list-unit-files -t service | grep enabled
auditd.service                             enabled         enabled
chronyd.service                            enabled         enabled
crond.service                              enabled         enabled
dbus-broker.service                        enabled         enabled
firewalld.service                          disabled        enabled
getty@.service                             enabled         enabled
httpd.service                              enabled         disabled
irqbalance.service                         enabled         enabled
kdump.service                              disabled        enabled
mysqld.service                             enabled         disabled
NetworkManager-dispatcher.service          enabled         enabled
NetworkManager-wait-online.service         enabled         disabled
NetworkManager.service                     enabled         enabled
nis-domainname.service                     enabled         enabled
postfix.service                            enabled         disabled
rhsmcertd.service                          enabled         enabled
rsyslog.service                            enabled         enabled
selinux-autorelabel-mark.service           enabled         enabled
sshd.service                               enabled         enabled
sssd.service                               enabled         enabled
systemd-fsck-root.service                  enabled-runtime disabled
systemd-pstore.service                     disabled        enabled
systemd-remount-fs.service                 enabled-runtime disabled
tuned.service                              enabled         enabled
 
 
 
# iptables -L -v -n
Chain INPUT (policy DROP 5275 packets, 476K bytes)
 pkts bytes target     prot opt in     out     source               destination         
  526 23711 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0           
 2282 2853K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      *       192.168.0.0/24       0.0.0.0/0           
    0     0 ACCEPT     all  --  *      *       192.168.1.0/24       0.0.0.0/0           
 
===== 中略 =====
 
   64  3582 REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80 reject-with icmp-port-unreachable
 2919  370K ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:443
   19   912 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:21
 148K  112M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
 
Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
 
Chain OUTPUT (policy ACCEPT 331K packets, 96M bytes)
 pkts bytes target     prot opt in     out     source               destination        




参考URL

利用者の情報

2023-10-30時点

  • CentOS Stream9 構築方法 CentOS Linuxとの違いについて


さくらのVPSでの設定