<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Almalinux8.6 | Linuxでサーバー構築</title>
	<atom:link href="https://korodes.com/category/alma8-6/feed/" rel="self" type="application/rss+xml" />
	<link>https://korodes.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 Apr 2025 08:01:35 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://korodes.com/wp-content/uploads/2020/01/cropped-profile-32x32.jpg</url>
	<title>Almalinux8.6 | Linuxでサーバー構築</title>
	<link>https://korodes.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>AlmaLinux  8.6 : OSインストール</title>
		<link>https://korodes.com/alma8_01/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sat, 18 Jun 2022 12:23:44 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8278</guid>

					<description><![CDATA[AlmaLinux 8.6インストール

AlmaLinux OSは、CentOSの代替として米CloudLinuxが立ち上げたプロジェクト。現在、AlmaLinux OS Foundationを開発母体としている。AlmaLinux OS 8.6は、「Red Hat Enterprise Linux 8」と互換性のあるLinuxディストリビューション

１．AlmaLinux 8.6 ダウンロード

AlmaLinux 8.6のインストールイメージは下記サイトからダウンロード可能
https://almalinux.org]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux  8.6 : 初期設定</title>
		<link>https://korodes.com/alma8_02/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sat, 18 Jun 2022 13:22:38 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8306</guid>

					<description><![CDATA[1.SELinuxの無効化

まず、selinuxを無効化します。selinuxはLinuxの監査やセキュリティを向上させる機能ですが、有効になっているとサービスの動作や、設定内容にかなりの制限が出てきます。そのため、基本的には無効にする場合が多いのが実情です。
SELinux を無効する場合は、以下のようにカーネルコマンドラインに selinux=0 を追加して再起動が必要です。
2.システムの最新化

OSインストール直後にはできるだけ早期にパッケージのアップデートを行います。
しかし、dnf updateを行うと、カーネルアップデートも同時に行われます。
カーネルアップデートを行うと、システムの再起動やサービスの停止が必要だったり、最悪カーネルパニックが発生して、システムが起動しない場合があります。カーネルを除外してアップデートする方が賢明です。
dnf -y updateの後ろに「--exclude=kernel*」を指定して実行することで
カーネルをアップデート対象から除外することできます。]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux  8.6 : SSH , ファイアウォール , NTP</title>
		<link>https://korodes.com/alma8_03/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sun, 19 Jun 2022 13:42:58 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8310</guid>

					<description><![CDATA[1.SSHによるリモート接続の設定

SSHはサーバーへリモートで接続するためのサービスで、基本的にはOSインストール直後に動作していますが、デフォルトの設定ではややセキュリティに難があります。
ここではデフォルトの設定を変更してssh接続のセキュリティを高める設定を行います。

1.1 SSHサービスの設定ファイル変更

SSHサービスの設定を変更するために設定ファイルを変更します。
SSHサービスの設定ファイルは"/etc/ssh/sshd_config"になります。
2.ファイアウォール(firewalld)の設定方法

Rockyではファイアウォールはfirewalldがデフォルトに設定されており、OSインストール時に有効になっています。

「firewalld」について簡単に説明すると、通信制御のポリシーを設定する場合、事前に定義されたゾーンに対して通信の許可・遮断ルールを適用し、そのゾーンを各NIC（ネットワークアダプタ）に割り当てていくという方式になっています。
4.NTP サーバーの設定

サーバの時刻を日本標準時に同期させるNTP サーバーを構築します

①Chrony のインストールと設定]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux  8.6 : 公開鍵暗号方式を用いた認証によるSSH接続</title>
		<link>https://korodes.com/alma8_04/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Mon, 20 Jun 2022 10:11:34 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8332</guid>

					<description><![CDATA[RSA 公開鍵暗号方式を用いた認証によるSSH接続
 公開鍵、秘密鍵ペアの作成

OpenSSH 使って Linux サーバに接続するユーザの公開鍵と秘密鍵のペアを作成します。
鍵ペアの作成は ssh-keygen をを使います。
今回はSSH プロトコル Version 2 で利用する RSA 暗号を利用した鍵セットを作成します。
公開鍵と秘密鍵のペアの作成はリモートログインするユーザ権限(huong)で実行します。
作成先・ファイル名を指定しなければ、 /home/huong/.ssh/ に id_rsa, id_rsa.pub が作成される。 途中、鍵用のパスワードも入力する。]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux  8.6 : FTPサーバ インストール</title>
		<link>https://korodes.com/alma8_05/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Tue, 21 Jun 2022 01:14:04 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8337</guid>

					<description><![CDATA[FTPサーバ インストール
1. vsftpdインストール
# dnf -y install vsftpd
2.vsftpd の設定
編集前の vsftpd.conf を .bak を付けて保存
# cp /etc/vsftpd/vsftpd.conf /home/huong/vsftpd.conf.bak]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux  8.6 : WEBサーバ インストール</title>
		<link>https://korodes.com/alma8_06/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Tue, 21 Jun 2022 01:44:36 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8343</guid>

					<description><![CDATA[1.Apache2のインストールとバーチャルホスト設定
1.1 Apache2インストール

①httpdをインストール

# dnf -y install httpd

バージョン確認
2. CGIスクリプトの利用確認

①CGIの利用可確認
3. PHPのインストールと設定
1.PHPインストール
①インストール
# dnf module -y install php:7.2/common
4. Apache2でDigest認証を行う

http の認証認定方式として有名なBasic 認証は認証情報を平文で送信するので、パケット盗聴されるとID とパスワードが漏洩する危険があります。
一方、Digest 認証は認証情報を暗号化して送信するので、情報漏えいの心配がほとんどありません。Digest 認証はBasic 認証を強化した認証認定方式と言えます。]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux  8.6 : アンチウィルス , Mailサーバー</title>
		<link>https://korodes.com/alma8_07/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Tue, 21 Jun 2022 03:31:12 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8348</guid>

					<description><![CDATA[clamav ( アンチウィルスソフト )のインストール

1.Clam AntiVirusインストール

# dnf -y install clamav clamd clamav-update
2.Clam AntiVirus設定ファイル編集
メールサーバー インストール
1. Postfixのインストール

1.1 インストール
Postfix をインストールして SMTP サーバーを構築します]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux 8.6 : Snort2 , Tripwire , Chkrootkit インストール</title>
		<link>https://korodes.com/alma8_08/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Tue, 21 Jun 2022 05:09:04 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8355</guid>

					<description><![CDATA[SNORT2 インストール
1.事前準備

①CodeReady Red Hat リポジトリを追加し、必要なソフトウェアをインストールする

# dnf config-manager --set-enabled powertools
Tripwire インストール
1.ダウンロード、インストール
# cd /usr/local/src
# wget https://rpmfind.net/linux/epel/8/Everything/x86_64/Packages/t/tripwire-2.4.3.7-5.el8.x86_64.rpm
Chkrootkit インストール

①chkrootkit をダウンロード、インストール

# cd /usr/local/src]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux 8.6 : MySQL8 , WordPressインストール</title>
		<link>https://korodes.com/alma8_09/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Fri, 24 Jun 2022 07:31:09 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8395</guid>

					<description><![CDATA[Mysql8 インストール
＃dnf module -y install mysql:8.0
＃vi /etc/my.cnf.d/charset.cnf

charset.cnf 下記の内容で新規作成

# デフォルトの文字コードを設定   絵文字等 4 バイト長の文字を扱う場合はutf8mb4

[mysqld]
WordPressインストール
1. Word Press 用のデータベースを作成

例としてデータベース[wp_db] データベースユーザー[wp_user] パスワード[?W123456]とします

# mysql -u root -p]]></description>
		
		
		
			</item>
		<item>
		<title>AlmaLinux 8.6 :　SSL証明書取得 , WEB・MailサーバーSSL化</title>
		<link>https://korodes.com/alma8_10/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Fri, 24 Jun 2022 07:47:56 +0000</pubDate>
				<category><![CDATA[Almalinux8.6]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=8401</guid>

					<description><![CDATA[1.SSL証明書を取得する ( Let's Encrypt )

最新のopen sslをインストールしておく

# dnf install openssl-devel
1.1 証明書のインストール
2. Apache のhttps 化

念のため、下記をインストールしておく

# dnf -y install mod_ssl
2.1 ssl.conf ファイルの編集
3. Mail サーバーにSSL/TLS(Let's Encrypt) の設定
3.1 メールサーバー用証明書の取得

メールサーバー用の証明書を取得するが上記と同様の方法では取得できないので「--standalone」オプションをつけて下記のようにしても失敗する。

# certbot certonly --standalone -d mail.<domain name>]]></description>
		
		
		
			</item>
	</channel>
</rss>
