<?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>fedora36 | Linuxでサーバー構築</title>
	<atom:link href="https://korodes.com/category/fedora36/feed/" rel="self" type="application/rss+xml" />
	<link>https://korodes.com</link>
	<description></description>
	<lastBuildDate>Wed, 25 Mar 2026 04:24:24 +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>fedora36 | Linuxでサーバー構築</title>
	<link>https://korodes.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Fedora36 ; WEBサーバー(Apache2)インストール</title>
		<link>https://korodes.com/fedora36_06/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Mon, 17 Oct 2022 05:06:26 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10504</guid>

					<description><![CDATA[Apache2のインストールとバーチャルホスト設定
1.Apache2インストール

①httpdをインストール

# dnf -y install httpd

バージョン確認
3.バーチャルホストの設定

バーチャルホストで運用するFQDN [fedora.korodes.com] を、ドキュメントルート[/var/www/html/fedora.korodes.com] ディレクトリに割り当てて設定します
CGIスクリプトの利用確認

①CGIの利用可確認

# grep -n "^ *ScriptAlias" /etc/httpd/conf/httpd.conf
PHPのインストールと設定
1.PHPインストール
①インストール
# dnf -y install php php-mbstring php-pear]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 : システムのバックアップ、リストア</title>
		<link>https://korodes.com/fedora36_12/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Thu, 20 Oct 2022 12:28:05 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10574</guid>

					<description><![CDATA[Web構成ファイル(html配下)バックアップ

①html配下バックアップスクリプトファイルの作成

# cd /var/www/system/
# vi html_backup.sh
MySQLデータベースバックアップ
①バックアップスクリプトファイルの作成
# cd /var/www/system
# vi db_my_backup.sh
Web構成ファイル(html配下)復元

① リストアに使用するHTML バックアップファイルをサーバーの「/（ルート）」ディレクトリへ格納 する
MySQL のデータを復元する
① データベースバックアップファイルを任意のディレクトリに保存]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 : SSL証明書 ( Let&#039;s Encrypt ) , Apache ・Mail サーバーSSL化</title>
		<link>https://korodes.com/fedora36_10/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Wed, 19 Oct 2022 01:40:20 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10556</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」オプションをつけて下記のようにしても失敗する。]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 : Mysql8 ,  WordPressインストール</title>
		<link>https://korodes.com/fedora36_09/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Tue, 18 Oct 2022 07:19:06 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10551</guid>

					<description><![CDATA[Mysql8 インストール
＃ dnf module -y install mysql:8.0
＃ vi /etc/my.cnf.d/charset.cnf

charset.cnf 下記の内容で新規作成
WordPressインストール
1. Word Press 用のデータベースを作成

例としてデータベース[wp_db] データベースユーザー[wp_user] パスワード[?W123456]とします
2.Wordpressインストール
# cd /var/www/html/fedora.korodes.com
# wget http://ja.wordpress.org/latest-ja.tar.gz
# tar xvf latest-ja.tar.gz
3.Wordpress設定ファイルの編集]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 ; SNORT2 , Tripwire  インストール</title>
		<link>https://korodes.com/fedora36_08/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Tue, 18 Oct 2022 01:16:30 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10542</guid>

					<description><![CDATA[SNORT インストール Snortは、 Linuxで使える侵入検知システム（IDS）です。ネットワーク型IDSは、ネットワーク上を流れる通信の内容を監視し、攻撃を受けているか否かを検出します。ポートスキャンなどは「攻撃 [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 : ウイルス対策(Clamav) , Mailサーバー</title>
		<link>https://korodes.com/fedora36_07/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Mon, 17 Oct 2022 07:20:54 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10517</guid>

					<description><![CDATA[clamav ( アンチウィルスソフト )のインストール

1.Clam AntiVirusインストール

# dnf -y install clamav clamd clamav-update
メールサーバー インストール
1. Postfixのインストール

1.1 インストール
Postfix をインストールして SMTP サーバーを構築します
Mail サーバー : Postfix + Clamav + Amavisd+SpamAssassin
1.メールのリアルタイムスキャン
①Amavisd および Clamav Server をインストール
# dnf -y install amavisd-new clamd perl-Digest-SHA1 perl-IO-stringy]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 : FTPサーバ(Vsftpd) , Sambaでファイルサーバー</title>
		<link>https://korodes.com/fedora36_05/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sun, 16 Oct 2022 23:29:35 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10494</guid>

					<description><![CDATA[1.FTPサーバ インストール
1. 1 vsftpdインストール
# dnf -y install vsftpd
2. vsftpd SSL/TLS

Vsftpd を SSL/TLS で利用できるように設定します

2.1 自己署名の証明書を作成
3. Sambaでファイルサーバー導入
ユーザー認証が必要なアクセス権付ファイルサーバーをSambaで構築します。
導入手順
①ユーザー認証が必要なアクセス権付の共有フォルダーを作成
②アクセス可能なグループ作成
③アクセス可能なグループに属するユーザー作成
④設定ファイル編集]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 : SSH の公開鍵暗号方式によるリモート接続</title>
		<link>https://korodes.com/fedora36_04/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sun, 16 Oct 2022 12:59:09 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10488</guid>

					<description><![CDATA[SSH の公開鍵暗号方式設定

Windowsに SSH 秘密鍵、サーバーに SSH 公開鍵を作成し、鍵ペアによる認証でログインできるようにする。

1.ECDSA でキーペアを作成

一般ユーザーになり、ECDSA でキーペアを作成します
3.秘密鍵でのみログインするよう変更します
# vi /etc/ssh/sshd_config
■66 行目あたり
「#PasswordAuthentication yes」の下に「PasswordAuthentication no」を追加
#PasswordAuthentication yes
PasswordAuthentication no
SSH を再起動
# systemctl restart sshd.service
4.PuTTYgen を使った秘密鍵の作成
該当サーバーを選択し、Winscpを起動しToolsからRun PuTTYgen を起動]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 : SSH接続  、 ファイアウォール(Firewalld)</title>
		<link>https://korodes.com/fedora36_03/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sun, 16 Oct 2022 12:43:59 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10485</guid>

					<description><![CDATA[1.SSHによるリモート接続の設定

SSHはサーバーへリモートで接続するためのサービスで、基本的にはOSインストール直後に動作していますが、デフォルトの設定ではややセキュリティに難があります。
ここではデフォルトの設定を変更してssh接続のセキュリティを高める設定を行います。

1.1 SSHサービスの設定ファイル変更

SSHサービスの設定を変更するために設定ファイルを変更します。
SSHサービスの設定ファイルは"/etc/ssh/sshd_config"になります。設定ファイルをviエディターで開きます。
2.ファイアウォール(firewalld)の設定方法

Fedoraではファイアウォールはfirewalldがデフォルトに設定されており、OSインストール時に有効になっています。
「firewalld」について簡単に説明すると、通信制御のポリシーを設定する場合、事前に定義されたゾーンに対して通信の許可・遮断ルールを適用し、そのゾーンを各NIC（ネットワークアダプタ）に割り当てていくという方式になっています。]]></description>
		
		
		
			</item>
		<item>
		<title>Fedora36 : インストール後の各種設定</title>
		<link>https://korodes.com/fedora36_02/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sun, 16 Oct 2022 07:06:59 +0000</pubDate>
				<category><![CDATA[fedora36]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=10476</guid>

					<description><![CDATA[1. SELinux の無効化

まず、selinuxを無効化します。selinuxはLinuxの監査やセキュリティを向上させる機能ですが、有効になっているとサービスの動作や、設定内容にかなりの制限が出てきます。そのため、基本的には無効にする場合が多いのが実情です。ウェブサイトを見ながらサーバー構築を行って、思った通りに動作しない場合は、このselinuxが有効化されていることが原因だったりします。その為、インストール後に忘れずに無効化します。
次のようにすると無効化ができます。
一般ユーザーでログイン後、ルートユーザーに権限変更の方法は既知のこととして進めます。

# grubby --update-kernel ALL --args selinux=0]]></description>
		
		
		
			</item>
	</channel>
</rss>
