<?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>Ubuntu 20.04 | Linuxでサーバー構築</title>
	<atom:link href="https://korodes.com/category/ununtu20/feed/" rel="self" type="application/rss+xml" />
	<link>https://korodes.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 Apr 2025 03:46:52 +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>Ubuntu 20.04 | Linuxでサーバー構築</title>
	<link>https://korodes.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Ubuntu Server 20.04 : イメージの入手とインストール</title>
		<link>https://korodes.com/ubuntu20_01/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Thu, 16 Dec 2021 02:19:48 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4581</guid>

					<description><![CDATA[Ubuntu Server 20.04インストールイメージのダウンロード

Ubuntu Serverのインストール用メディアはインターネット上の公式サイトからダウンロードできます。高速な回線さえあれば2～3分程度でOS自体をダウンロードすることができます。ダウンロードしたisoファイルからインストール用CD/DVDを作成する必要があります。(約1.2G)
Vmware等を使用して仮想マシンにインストールする場合はisoファイル自体を利用できます。
isoファイルのダウンロード先は「Ubuntu 公式ダウンロードサイト」です。

Ubuntu Server 20.04 インストール

上記で作成したインストールディスクから起動できるようにBIOSを変更して、PCを起動する

1.インストール画面]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : 初期設定</title>
		<link>https://korodes.com/ubuntu20-02/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Thu, 16 Dec 2021 07:29:45 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4611</guid>

					<description><![CDATA[1. rootパスワードを設定し、SUコマンドを利用

Ubuntu のデフォルト設定では root ユーザーはパスワードが設定されていないため利用不可となっています。
root ユーザーにパスワードを設定することで、従来の [su] コマンドによる遷移が可能となる。

$ sudo passwd root
[sudo] password for <user名> ← 現在のユーザのパスワード
Enter new UNIX password: ← 設定するパスワードを入力
Retype new UNIX password: ← 設定するパスワードを再度入力
passwd: password updated successfully

rootユーザーへの切り替え
$ su -
Password:<上記で設定したパスワード>

2. システムの最新化
# apt update
# apt upgrade]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : SSHサービス &#038; ファイアウォール</title>
		<link>https://korodes.com/ubuntu20-03/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Fri, 17 Dec 2021 02:38:11 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4646</guid>

					<description><![CDATA[1. SSHサービスのセキュリティ設定

SSHサービスはデフォルトでrootユーザーのログインを許可しています。rootユーザーはユーザー名が既に判明しているためパスワードが判明すると、管理者権限でサーバーへログイン出来るため、これを拒否する設定を行います

1.1 一般ユーザーの作成

Ubuntu 20のインストール時に一般ユーザーを作成している場合は、本手順は不要です。
サー バーに作成されているユーザーがrootのみの場合、SSHによるリモートログインが出来なくなりますので、OSのインストール時にユーザーを作成していない場合、事前にユーザーを作成する必要があります。OSのインストール時にユーザーを作成している場合は、本手順は不要です。
ユーザーの作成は"useradd"コマンドで行います。"-m"オプションでホームディレクトリの作成、"-p"オプションでパスワードを指定します。
例えばユーザーアカウント名として「ubuntuuser」、パスワードとして「123456」を設定する場合は、以下のように実行します。]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : NTP , FTP , WEBサーバー</title>
		<link>https://korodes.com/ubuntu20-04/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Fri, 17 Dec 2021 05:01:36 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4660</guid>

					<description><![CDATA[2. FTPサーバー　vsftpdをインストール

①インストール

# apt install vsftpd

②UFWにてPORT　21を開ける

# ufw allow ftp
# ufw reload


③設定ファイルの変更
3. Apache2インストール

最初にUFWでhttp:80番ポートおよびhttps:443ポートをallowしておく

# ufw allow http
# ufw allow 443
# ufw reload
3.1 Apache2 をインストール
# apt -y install apache2

3.2 Apache2 基本設定]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : ウイルス対策　メールサーバー</title>
		<link>https://korodes.com/ubuntu20-05/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Fri, 17 Dec 2021 23:42:37 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4674</guid>

					<description><![CDATA[1.ウイルス対策ソフトClamav導入
1.1 インストール
# apt install clamav clamav-daemon

尚、clamav関連の設定ファイルは、/etc/clamav/フォルダにインストールされる

1.2 ウイルス定義の更新
# freshclam
上記コマンドで、ウイルス定義が更新できるが、下記のようなエラーが出る場合はlog設定を変更して、再度実行
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log)]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : Apache、Mail、FTPサーバーSSL化(Let&#039;s Encrypt)</title>
		<link>https://korodes.com/ubuntu20-06/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sat, 18 Dec 2021 04:02:54 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4695</guid>

					<description><![CDATA[本ページでは、Let’s Encryptで証明書取得とapacheへの適用、メールサーバーへの適用、FTPサーバーへ適用し、SSL化する方法を説明。


1. 証明書を取得する (Let's Encrypt)
1.1 事前準備

①mod_sslを有効にする

# a2enmod ssl

②Let's Encrypt証明書を取得するためのクライアントツールをインストール

# apt -y install certbot

③Let's Encrypt証明書の取得
Apache httpd や Nginx などの Webサーバーが稼働していることが前提となります。
作業を実施するサーバーで Webサーバーが稼働していない場合は ④の手順を実行。
また、インターネット側から、作業を実施するサーバー (証明書を取得したい FQDN のサーバー) の 80 ポート宛てにアクセス可能であることも前提です。]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : SNORT  ,  Tripwire インストール</title>
		<link>https://korodes.com/ubuntu20-08/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sat, 18 Dec 2021 08:05:06 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4733</guid>

					<description><![CDATA[1.SNORTインストール

Snortは、IPネットワーク上でリアルタイムのトラフィック分析とパケットロギングを実行できるオープンソースのネットワーク侵入検知システムです。

「プロトコル分析」「コンテンツ検索」「マッチング」を実行でき、「バッファオーバーフロー」「ステルスポートスキャン」「CGI攻撃」「SMBプローブ」「OSフィンガープリント試行」「セマンティックURL攻撃」「サーバメッセージブロック探査」など、さまざまな攻撃検出に使用できます。

1.1 インストール

①必要なライブラリーインストール]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : DiCE  logwatch インストール etc</title>
		<link>https://korodes.com/ubuntu20-09/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sun, 19 Dec 2021 12:01:27 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4765</guid>

					<description><![CDATA[1. DiCEのインストール

ネットが切断されたり、ルーターが切断再起動したときにおこるグローバルIPの変更の度に、ダイナミックDNSにアクセスしグローバルIPが変更されたことを知らせなくてはいけません。その作業を自動的にやってくれるのがDiCEです

1. 1  Diceのダウンロード、インストール

①ダウンロード]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : システムバックアップ・復元</title>
		<link>https://korodes.com/ubuntu20-10/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Mon, 20 Dec 2021 01:17:36 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4771</guid>

					<description><![CDATA[1. システムのバックアップ
1.1 /var/www/html　配下のバックアップ

①/var/www/systemディレクトリーを作成

# mkdir /var/www/system

②/var/www/system配下にbackup_all.shスクリプト作成

# vi /var/www/system/backup_all.sh

backup_all.shスクリプト内容]]></description>
		
		
		
			</item>
		<item>
		<title>Ubuntu Server 20.04 : MySQL 8 , WordPress インストール</title>
		<link>https://korodes.com/ubuntu20-07/</link>
		
		<dc:creator><![CDATA[nuy]]></dc:creator>
		<pubDate>Sat, 18 Dec 2021 05:00:57 +0000</pubDate>
				<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://korodes.com/?p=4703</guid>

					<description><![CDATA[1. MySQL 8インストール
1. インストール
# apt -y install mysql-server-8.0
2. MySQLサーバのセキュリティ設定

MySQLサーバのセキュリティ関連の設定を行うためにmysql_secure_installtionというツールを実行します。
実行すると、質問形式でいくつかのセキュリティ設定がはじまります。はじめに以下のようにパスワードバリデーション用のプラグインを使用するか確認されます。パスワードバリデーションというのは、MySQL用のユーザのパスワード強度をチェックし、十分セキュアなパスワードのみ受け付けるよう制限をかけることができます。例えば、最低何文字以上で必ず記号と数値を1文字以上含むなどです。この条件について次の質問で設定できます。
良ければyを入力してEnterを押します]]></description>
		
		
		
			</item>
	</channel>
</rss>
