<?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>LAMP | masao-Tec-blog</title>
	<atom:link href="https://masao-tec.com/tag/lamp/feed/" rel="self" type="application/rss+xml" />
	<link>https://masao-tec.com</link>
	<description>メーカー系Sier会社に勤めるサラリーマンである筆者が、ホームネットワークの構築を通して得られたノウハウを、自己の備忘録も兼ねてわかりやすく紹介するブログです。</description>
	<lastBuildDate>Sat, 15 Mar 2025 14:16:07 +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://masao-tec.com/wp-content/uploads/2022/01/cropped-monitor-2004457_1280-32x32.png</url>
	<title>LAMP | masao-Tec-blog</title>
	<link>https://masao-tec.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Synology NASでのWordPressを用いたWebサイト構築</title>
		<link>https://masao-tec.com/website-construction-using-wordpress-on-synology-nas/</link>
		
		<dc:creator><![CDATA[masao]]></dc:creator>
		<pubDate>Sun, 13 Feb 2022 04:47:23 +0000</pubDate>
				<category><![CDATA[Synology NAS 応用]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[DSM]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://masao-tec.com/?p=1083</guid>

					<description><![CDATA[WordPress（ワードプレス）はPHPというプログラミング言語で作られているCMS（コンテンツマネジメントシステム）の一種で、ブログやWebサイトを作る事ができます。&#160; WordPressを実行するためには [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-cocoon-blocks-tab-box-1 blank-box bb-tab bb-point block-box has-background has-watery-blue-background-color">
<p>Sylogogy NASでWordPressを用いたWebサイトの構築を行います。WordPressがSynology NASのDSM（DiskStation Manager)でパッケージとして提供されているため、簡単にインストールすることが出来ます。</p>
</div>


<div id="114524-1"><script src="//ads.themoneytizer.com/s/gen.js?type=1"></script><script src="//ads.themoneytizer.com/s/requestform.js?siteId=114524&formatId=1"></script></div>




<p><strong>WordPress</strong>（<strong>ワードプレス</strong>）は<strong>PHP</strong>というプログラミング言語で作られている<strong>CMS</strong>（<strong>コンテンツマネジメントシステム</strong>）の一種で、ブログやWebサイトを作る事ができます。&nbsp;</p>



<p>WordPressを実行するためには、実行環境として<strong>LAMP環境</strong>を構築することが必要となります。</p>



<p><strong>LAMP環境</strong>とは「<strong>Linux</strong>」、「<strong>Apache</strong>」、「<strong>MySQL</strong>」、「<strong>PHP</strong>」の4つの<strong>オープンソース</strong>でWebシステムを開発する環境のことをいいます。</p>



<p>Synology NASのOSである<strong>DSM</strong>（<strong>DiskStation Manager</strong>)は、LinuxベースのOSであるため、残り３つの「<strong>Apache</strong>」、「<strong>MySQL</strong>」、「<strong>PHP</strong>」をインストールする必要がありますが、インストーラーで簡単にインストールすることが出来ます。</p>



<p>また、DSMの場合は「<strong>MySQL</strong>」の代わりに互換データベースソフトである「<strong>MariaDB</strong>」が採用されています。</p>



<p>当ブログも<strong>Synology DM220+</strong>上に構築した<strong>WordPress環境</strong>で運用しています。</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="800" height="450" src="https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1-800x450.png" alt="" class="wp-image-1151" srcset="https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1-800x450.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1-500x281.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1-300x169.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1-768x432.png 768w, https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1-240x135.png 240w, https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1-320x180.png 320w, https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1-640x360.png 640w, https://masao-tec.com/wp-content/uploads/2022/02/LAMP-1.png 960w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>なお、本記事では、DSMのパッケージによるWordPress環境構築について紹介しておりますが、以下の記事にて、Synology DSMの<strong>Container Manager</strong>というパッケージを用いて、WordPressを<strong>Dockerコンテナプロジェクト</strong>としてインストール・セットアップする手順を紹介しております。</p>



<p><span class="badge">参考</span>　Synoloy NASでのContainer Managerを用いたWordPressのWebサイト構築</p>



<div class="wp-block-cocoon-blocks-blogcard blogcard-type bct-together">

<a href="https://masao-tec.com/building-a-wordpress-site-using-docker-on-synoloy-nas/" title="Synology NASにDockerでWordPressサイトを構築する手順｜初心者向け完全ガイド" class="blogcard-wrap internal-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img decoding="async" width="160" height="90" src="https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2-320x180.jpg" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2-320x180.jpg 320w, https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2-500x281.jpg 500w, https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2-800x450.jpg 800w, https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2-300x169.jpg 300w, https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2-768x432.jpg 768w, https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2-240x135.jpg 240w, https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2-640x360.jpg 640w, https://masao-tec.com/wp-content/uploads/2022/06/building-a-wordpress-site-using-docker-on-synoloy-nas_2.jpg 1280w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">Synology NASにDockerでWordPressサイトを構築する手順｜初心者向け完全ガイド</div><div class="blogcard-snippet internal-blogcard-snippet">Synology NAS上でDockerを使ってWordPressサイトを構築する方法を解説。インストール手順、データ保存、初期設定まで、初心者にもわかりやすくまとめています。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img decoding="async" src="https://www.google.com/s2/favicons?domain=https://masao-tec.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">masao-tec.com</div></div><div class="blogcard-date internal-blogcard-date"><div class="blogcard-post-date internal-blogcard-post-date">2022.06.06</div></div></div></div></a>
</div>



<p>インストール・セットアップ手順は多少複雑にはなりますが、メリットも大きいため、個人的には<span class="bold-red">上記記事でのインストール方法がおすすめ</span>です。</p>



<p><span class="badge-green">前提</span>　本記事でのDSM（OS）バージョンはSynology DSM 7.2を用いています。</p>




  <div id="toc" class="toc tnt-none toc-center tnt-none border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ul class="toc-list open"><li><a href="#toc1" tabindex="0">1.WordPressのインストール</a></li><li><a href="#toc2" tabindex="0">2.MariaDBのインストールとセットアップ</a></li><li><a href="#toc3" tabindex="0">3.PHP、Apacheのインストール</a></li><li><a href="#toc4" tabindex="0">4.WordPress用データベースのセットアップ</a></li><li><a href="#toc5" tabindex="0">5.WordPressパッケージのインストール</a></li><li><a href="#toc6" tabindex="0">6.インストール完了状態の確認</a></li><li><a href="#toc7" tabindex="0">7.PHP拡張モジュールの有効化</a></li><li><a href="#toc8" tabindex="0">8.WordPressのセットアップと動作確認</a></li></ul>
    </div>
  </div>

<h2 class="wp-block-heading" id="1-wordpressのインストール"><span id="toc1">1.WordPressのインストール</span></h2>



<p>DSMコンソールにログインし、［<strong>パッケージセンター</strong>］より［<strong>WordPress</strong>]をインストールします。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1290" height="656" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress001.png" alt="" class="wp-image-3914" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress001.png 1290w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress001-500x254.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress001-800x407.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress001-300x153.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress001-768x391.png 768w" sizes="(max-width: 1290px) 100vw, 1290px" /></figure>



<p>パッケージセンターが自動的に「<strong>Web Station</strong>」「<strong>MariaDB</strong>」「<strong>PHP</strong>」「<strong>Apache</strong>」のインストールを行う旨のダイアログが表示されますので、「<strong>はい</strong>」を押して続行します。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="827" height="650" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress002.png" alt="" class="wp-image-3915" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress002.png 827w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress002-500x393.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress002-800x629.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress002-300x236.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress002-768x604.png 768w" sizes="(max-width: 827px) 100vw, 827px" /></figure>



<p>Webサーバ管理ソフトウェアである「<strong>Web Station</strong>」がインストールされます。</p>



<h2 class="wp-block-heading" id="2-mariadbのインストールとセットアップ"><span id="toc2">2.MariaDBのインストールとセットアップ</span></h2>



<p>WordPressインストールのインストーラの処理の続きですが、ここで、<strong>MariaDBのインストールとセットアップ</strong>の手順が始まります。</p>



<p>インストールに先立ち、<span class="marker-under-red"><strong>データベース管理者用のパスワード</strong></span>を要求されるので、ここでパスワードを入力します。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="916" height="650" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress003.png" alt="" class="wp-image-3919" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress003.png 916w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress003-500x355.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress003-800x568.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress003-300x213.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress003-768x545.png 768w" sizes="(max-width: 916px) 100vw, 916px" /></figure>



<p>ウィザードがMariaDBをインストールする旨の表示を行いますので、そのまま「<strong>完了</strong>」を押して続行します。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="906" height="654" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress004.png" alt="" class="wp-image-3920" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress004.png 906w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress004-500x361.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress004-800x577.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress004-300x217.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress004-768x554.png 768w" sizes="(max-width: 906px) 100vw, 906px" /></figure>



<p>MariaDBのインストールが実行されます。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="908" height="649" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress005.png" alt="" class="wp-image-3921" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress005.png 908w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress005-500x357.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress005-800x572.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress005-300x214.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress005-768x549.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<div class="wp-block-group is-layout-constrained wp-block-group-is-layout-constrained">
<div class="wp-block-group is-layout-constrained wp-block-group-is-layout-constrained">
<div class="wp-block-group is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading"><span id="toc3">3.PHP、Apacheのインストール</span></h2>
</div>



<p>続いて、WordPressが動作するスクリプト言語である「<strong>PHP</strong>」、および、Webサーバである「<strong>Apache</strong>」がインストールされます。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="908" height="649" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress006.png" alt="" class="wp-image-3918" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress006.png 908w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress006-500x357.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress006-800x572.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress006-300x214.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress006-768x549.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<div class="wp-block-cocoon-blocks-icon-box common-icon-box block-box information-box">
<p>DSMのパッケージセンターにはいくつかのバージョンの<strong>Apach</strong>eが登録されていますが、<span class="marker-under">インストーラーが<strong>WordPress</strong>に最適なバージョンの<strong>Apache</strong>を自動的に選択</span>してくれます。</p>
</div>
</div>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="979" height="725" src="https://masao-tec.com/wp-content/uploads/2022/02/12-2-2022_224853.jpeg" alt="" class="wp-image-1130" srcset="https://masao-tec.com/wp-content/uploads/2022/02/12-2-2022_224853.jpeg 979w, https://masao-tec.com/wp-content/uploads/2022/02/12-2-2022_224853-500x370.jpeg 500w, https://masao-tec.com/wp-content/uploads/2022/02/12-2-2022_224853-800x592.jpeg 800w, https://masao-tec.com/wp-content/uploads/2022/02/12-2-2022_224853-300x222.jpeg 300w, https://masao-tec.com/wp-content/uploads/2022/02/12-2-2022_224853-768x569.jpeg 768w" sizes="(max-width: 979px) 100vw, 979px" /></figure>
</div>



<h2 class="wp-block-heading" id="3-wordpress用データベースのセットアップ"><span id="toc4">4.WordPress用データベースのセットアップ</span></h2>



<p>WordPressインストールのインストーラの処理の続きですが、<strong>MariaDB</strong>に<strong>WordPressで使用するためのデータベースをセットアップ</strong>します。</p>



<p>先ほどMariaDBのインストールの手順で設定した<strong><span class="marker-under-red">データベース管理者用のパスワード</span></strong>を要求されますので、パスワード欄に入力します。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="903" height="652" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress008.png" alt="" class="wp-image-3924" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress008.png 903w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress008-500x361.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress008-800x578.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress008-300x217.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress008-768x555.png 768w" sizes="(max-width: 903px) 100vw, 903px" /></figure>



<p>WordPressが作成するデータを格納するための<strong>データベース名</strong>、およびデータベースアクセス用の<strong>ユーザアカウント</strong>、データーベースアクセス用のユーザアカウントの<strong>パスワード</strong>を入力します。</p>



<div class="wp-block-cocoon-blocks-icon-box common-icon-box block-box information-box">
<p><strong>データベース名</strong>およびデータベースの<strong>ユーザアカウント</strong>についてはデフォルトで値が設定されていますので、特に変える必要がなければそのまま使用します。<strong>パスワード</strong>は<span class="marker-under-red">管理者用のパスワードとは異なるもの</span>をここで設定します。<br><strong>WordPress</strong>から<strong>MariaDB</strong>上で生成されたデータベースにアクセスする際にこれらのアカウント・パスワードが使用されますが、<span class="marker-under">WordPress内で自動的に処理される</span>ので以降は特に意識しなくても大丈夫です。</p>
</div>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="909" height="651" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress009.png" alt="" class="wp-image-3925" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress009.png 909w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress009-500x358.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress009-800x573.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress009-300x215.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress009-768x550.png 768w" sizes="(max-width: 909px) 100vw, 909px" /></figure>



<h2 class="wp-block-heading" id="4-wordpressパッケージのインストール"><span id="toc5">5.WordPressパッケージのインストール</span></h2>



<p>WordPressインストールのインストーラの処理の続きですが、<strong>WordPress本体のインストール</strong>となります。<br>ウィザードがWordPressパッケージをインストールする旨の表示を行いますので、そのまま「<strong>完了</strong>」を押して続行します。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="905" height="652" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress010.png" alt="" class="wp-image-3926" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress010.png 905w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress010-500x360.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress010-800x576.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress010-300x216.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress010-768x553.png 768w" sizes="(max-width: 905px) 100vw, 905px" /></figure>



<p>WordPressのインストールが完了し、WordPressのステータスが「<strong><span class="bold-green">実行中</span></strong>」となりました。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1290" height="652" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress011.png" alt="" class="wp-image-3927" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress011.png 1290w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress011-500x253.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress011-800x404.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress011-300x152.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress011-768x388.png 768w" sizes="(max-width: 1290px) 100vw, 1290px" /></figure>



<h2 class="wp-block-heading" id="5-インストール完了状態の確認"><span id="toc6">6.インストール完了状態の確認</span></h2>



<p>DSMコンソールよりメインメニューを選択します。</p>



<p>「<strong>Web Station</strong>」「<strong>MariaDB</strong>」「<strong>WordPress</strong>」のアイコンが新規追加されています。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1219" height="722" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress012.jpg" alt="" class="wp-image-3928" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress012.jpg 1219w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress012-500x296.jpg 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress012-800x474.jpg 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress012-300x178.jpg 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress012-768x455.jpg 768w" sizes="(max-width: 1219px) 100vw, 1219px" /></figure>



<p>「<strong>Web Station</strong>」のアイコンをクリックすると、Web Station画面が表示されます。</p>



<p>「<strong>Apache HTTP Server 2.4</strong>」、「<strong>PHP 8.0</strong>」、「<strong>WordPress</strong>」がインストールされ、状態が「<strong><span class="bold-green">通常</span></strong>」表示となっています。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1189" height="718" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress013.png" alt="" class="wp-image-3929" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress013.png 1189w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress013-500x302.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress013-800x483.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress013-300x181.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress013-768x464.png 768w" sizes="(max-width: 1189px) 100vw, 1189px" /></figure>



<h2 class="wp-block-heading" id="6-php拡張モジュールの有効化"><span id="toc7">7.PHP拡張モジュールの有効化</span></h2>



<p>WordPressでプラグインを導入したときに追加でPHPの拡張モジュールが必要となる場合があるので、あらかじめPHPプロファイルを編集して拡張モジュールを有効化しておきます。</p>



<p>［Web Station]＞[<strong>スクリプト言語の設定</strong>]を選択します。<br>［<strong>PHP7.3</strong>］を選択し、「<strong>編集</strong>」をクリックします。<br>［<strong>PHPプロファイルを編集ダイアログ</strong>］にて、一番上のチェックボックスを選択して（全選択）、［保存］をクリックして状態を保存します。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1191" height="828" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress014.png" alt="" class="wp-image-3931" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress014.png 1191w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress014-500x348.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress014-800x556.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress014-300x209.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress014-768x534.png 768w" sizes="(max-width: 1191px) 100vw, 1191px" /></figure>



<h2 class="wp-block-heading" id="7-wordpressのセットアップと動作確認"><span id="toc8">8.WordPressのセットアップと動作確認</span></h2>



<p>DSMコンソールのメインメニューより「<strong>WordPress</strong>」のアイコンをクリックすると、<span class="marker-under">WordPressの初期設定が開始</span>されます。最初に<span class="marker-under">言語設定の選択画面</span>が表示されます。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1461" height="827" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress015.png" alt="" class="wp-image-3932" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress015.png 1461w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress015-500x283.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress015-800x453.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress015-300x170.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress015-768x435.png 768w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress015-240x135.png 240w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress015-320x180.png 320w" sizes="(max-width: 1461px) 100vw, 1461px" /></figure>



<p>言語メニューの中から「<strong>日本語</strong>」を選択して「<strong>次へ</strong>」をクリックします。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1409" height="813" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress016.png" alt="" class="wp-image-3933" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress016.png 1409w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress016-500x289.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress016-800x462.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress016-300x173.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress016-768x443.png 768w" sizes="(max-width: 1409px) 100vw, 1409px" /></figure>



<p>WordPressの初期設定画面が表示されます。「サイトのタイトル」、「<strong>ユーザー名</strong>」、「<strong>パスワード</strong>」、「<strong>メールアドレス</strong>」を入力します。これらは<span class="marker-under-red">WordPressへのログインやサイト構築・管理に使用されます。</span></p>



<div class="wp-block-cocoon-blocks-iconlist-box iconlist-box blank-box list-check-circle block-box has-border-color has-icon-color has-blue-border-color has-red-icon-color"><div class="iconlist-title"></div>
<ul class="wp-block-list">
<li>サイトのタイトル：<span class="red"><span class="bold-red">Webサイト（ブログサイト）のタイトルです。</span></span></li>



<li>ユーザ名：<span class="bold-red">WordPressの管理画面にログインするときのアカウント名となります。</span></li>



<li>パスワード：<span class="bold-red">WordPressの管理画面にログインするときのアカウントのパスワードとなります。</span></li>



<li>メールアドレス：<span class="bold-red">WordPressの管理用のメールアドレスとなります。WordPressでサイトの設定変更を行ったときにこのメールアドレスにメールが届きます。また、パスワードを忘れた際にパスワード再設定を行う場合にも使用されます。</span></li>
</ul>
</div>



<p>上記を入力したら「<strong>WordPressをインストール</strong>」を押して続行します。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1370" height="891" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress017.png" alt="" class="wp-image-3934" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress017.png 1370w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress017-500x325.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress017-800x520.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress017-300x195.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress017-768x499.png 768w" sizes="(max-width: 1370px) 100vw, 1370px" /></figure>



<p>「<strong>成功しました！</strong>」の表示でセットアップが完了となります。</p>



<p>引き続き「<strong><span class="bold-blue">ログイン</span></strong>」を押してログインしてみます。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1219" height="587" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress018.png" alt="" class="wp-image-3935" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress018.png 1219w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress018-500x241.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress018-800x385.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress018-300x144.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress018-768x370.png 768w" sizes="(max-width: 1219px) 100vw, 1219px" /></figure>



<p>ログイン画面が表示されますので、先ほど設定した「<strong>ユーザ名</strong>」、「<strong>パスワード</strong>」を入力して、「<span class="bold-blue"><span class="marker-blue">ログイン</span></span>」釦をクリックします。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="604" height="576" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress019.png" alt="" class="wp-image-3936" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress019.png 604w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress019-500x477.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress019-300x286.png 300w" sizes="(max-width: 604px) 100vw, 604px" /></figure>



<p>WordPressの管理画面にログインし、<strong>ダッシュボード画面</strong>が表示されます。</p>



<p>本画面から<span class="marker-under">WordPressを操作し、サイトの構築を行っていく</span>こととなります。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="1216" height="862" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress020.png" alt="" class="wp-image-3937" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress020.png 1216w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress020-500x354.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress020-800x567.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress020-300x213.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress020-768x544.png 768w" sizes="(max-width: 1216px) 100vw, 1216px" /></figure>



<p>サイトのURL（Synology NASに設定したURL＋/wordpress）にアクセスし、Webサイト（ブログサイト）の表示を行ってみます。</p>



<p>設定したブログタイトルで「<strong>Hello World!!</strong>」の表示が行われ、サイトの構築が成功していることがわかります。</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="992" height="1013" data-id="3939" src="https://masao-tec.com/wp-content/uploads/2022/02/wordpress021-1.png" alt="" class="wp-image-3939" srcset="https://masao-tec.com/wp-content/uploads/2022/02/wordpress021-1.png 992w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress021-1-500x511.png 500w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress021-1-800x817.png 800w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress021-1-300x306.png 300w, https://masao-tec.com/wp-content/uploads/2022/02/wordpress021-1-768x784.png 768w" sizes="(max-width: 992px) 100vw, 992px" /></figure>
</figure>



<p>ここまでの手順で構築したWordPressのWebサイトに、独自ドメイン設定およびLet’s EncryptによるHTTPS化設定を行う手順については以下の記事で紹介していますので、こちらもご一読ください。</p>



<p><span class="badge">参考</span>　Synology NASで構築したWebサイトに独自ドメイン設定およびLet’s EncryptによるHTTPS化設定</p>



<div class="wp-block-cocoon-blocks-blogcard blogcard-type bct-related">

<a href="https://masao-tec.com/websites-built-with-synology-nas-have-their-own-domain-settings-and-lets-encrypt-https-settings/" title="Synology NASで構築したWebサイトに独自ドメイン設定およびLet&#039;s EncryptによるHTTPS化設定" class="blogcard-wrap internal-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://masao-tec.com/wp-content/uploads/2022/02/https-3344700_1280-320x180.jpg" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://masao-tec.com/wp-content/uploads/2022/02/https-3344700_1280-320x180.jpg 320w, https://masao-tec.com/wp-content/uploads/2022/02/https-3344700_1280-240x135.jpg 240w, https://masao-tec.com/wp-content/uploads/2022/02/https-3344700_1280-640x360.jpg 640w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">Synology NASで構築したWebサイトに独自ドメイン設定およびLet's EncryptによるHTTPS化設定</div><div class="blogcard-snippet internal-blogcard-snippet">SSL(Secure Sockets Layer)とは、インターネット上でのWebブラウザとWebサーバー間の通信を暗号化し、データをやりとりする仕組みのことです。SSL対応されているWebサイトは、URLが「https://」となります。Webサイトを運営するにあたりHTTPS化は必須となっていますので、本記事ではSynology NASで構築したWebサイトに独自ドメインを設定し、Let&#039;s Encryptによる常時HTTPS化設定を行います。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img decoding="async" src="https://www.google.com/s2/favicons?domain=https://masao-tec.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">masao-tec.com</div></div><div class="blogcard-date internal-blogcard-date"><div class="blogcard-post-date internal-blogcard-post-date">2022.02.15</div></div></div></div></a>
</div>


<div class="kattene">
    <div class="kattene__imgpart"><a rel="noopener" target="_blank" href="https://amzn.to/4nATy1g"><img decoding="async" width="160" height="160" loading="lazy" src="https://m.media-amazon.com/images/I/51vG8nyVUOL._AC_SL1200_.jpg" ></a></div>
    <div class="kattene__infopart">
      <div class="kattene__title"><a rel="noopener" target="_blank" href="https://amzn.to/4nATy1g">Synology NASキット 2ベイ DS225+ クアッドCPU搭載 2GBメモリ搭載 2.5GbE-NIC スタンダードユーザー向け DiskStation</a></div>
      <div class="kattene__description">Synology</div>
      <div class="kattene__btns __two"><div><a rel="noopener" class="kattene__btn __orange" target="_blank" href="https://amzn.to/4nATy1g">Amazon</a></div><div><a rel="noopener" class="kattene__btn __red" target="_blank" href="https://a.r10.to/hk2Ff0">Rakuten</a></div></div></div></div>


<div class="kattene">
    <div class="kattene__imgpart"><a rel="noopener" target="_blank" href="https://amzn.to/4273eqv"><img decoding="async" width="160" height="160" loading="lazy" src="https://m.media-amazon.com/images/I/71y0UqWIiSL._AC_SL1500_.jpg" ></a></div>
    <div class="kattene__infopart">
      <div class="kattene__title"><a rel="noopener" target="_blank" href="https://amzn.to/4273eqv">Seagate IronWolf 3.5インチ  4TB 内蔵 ハードディスク HDD CMR 6Gb/s 256MB 5400rpm ST4000VN006/EC</a></div>
      <div class="kattene__description">SEAGATE</div>
      <div class="kattene__btns __two"><div><a rel="noopener" class="kattene__btn __orange" target="_blank" href="https://amzn.to/4273eqv">Amazon</a></div><div><a rel="noopener" class="kattene__btn __red" target="_blank" href="https://a.r10.to/hF34Wm">Rakuten</a></div></div></div></div>


<div class="kattene">
    <div class="kattene__imgpart"><a rel="noopener" target="_blank" href="https://www.amazon.co.jp/%E3%80%90NAS%E7%94%A8%E6%8B%A1%E5%BC%B5%E3%83%A1%E3%83%A2%E3%83%AA%E3%80%91Synology-D4NESO-2666-4G-666-SODIMM-Synology-%E5%9B%BD%E5%86%85%E6%AD%A3%E8%A6%8F%E4%BB%A3%E7%90%86%E5%BA%97%E5%93%81/dp/B07X5MMGWG?pd_rd_w=UsYPJ&amp;pf_rd_p=e6abce55-fc6f-4462-923b-b8a729351d49&amp;pf_rd_r=G7HNVA53TGP07FV4YBGW&amp;pd_rd_r=b5e13bb6-c0a4-4dd6-abce-8903827de7c5&amp;pd_rd_wg=KdtA8&amp;pd_rd_i=B07X5MMGWG&amp;psc=1&amp;linkCode=ll1&amp;tag=masaotecblo0b-22&amp;linkId=fc1c31dcfe099df6c1be21329903570e&amp;language=ja_JP&amp;ref_=as_li_ss_tl"><img decoding="async" width="160" height="160" loading="lazy" src="https://m.media-amazon.com/images/I/612ZzLNDauL.__AC_SY300_SX300_QL70_ML2_.jpg" ></a></div>
    <div class="kattene__infopart">
      <div class="kattene__title"><a rel="noopener" target="_blank" href="https://www.amazon.co.jp/%E3%80%90NAS%E7%94%A8%E6%8B%A1%E5%BC%B5%E3%83%A1%E3%83%A2%E3%83%AA%E3%80%91Synology-D4NESO-2666-4G-666-SODIMM-Synology-%E5%9B%BD%E5%86%85%E6%AD%A3%E8%A6%8F%E4%BB%A3%E7%90%86%E5%BA%97%E5%93%81/dp/B07X5MMGWG?pd_rd_w=UsYPJ&amp;pf_rd_p=e6abce55-fc6f-4462-923b-b8a729351d49&amp;pf_rd_r=G7HNVA53TGP07FV4YBGW&amp;pd_rd_r=b5e13bb6-c0a4-4dd6-abce-8903827de7c5&amp;pd_rd_wg=KdtA8&amp;pd_rd_i=B07X5MMGWG&amp;psc=1&amp;linkCode=ll1&amp;tag=masaotecblo0b-22&amp;linkId=fc1c31dcfe099df6c1be21329903570e&amp;language=ja_JP&amp;ref_=as_li_ss_tl">【NAS用拡張メモリ】Synology D4NESO-2666-4G [DDR4-2,666-SODIMM / 4GB / Synology NAS専用] 国内正規代理店品</a></div>
      <div class="kattene__description">Synology</div>
      <div class="kattene__btns __two"><div><a rel="noopener" class="kattene__btn __orange" target="_blank" href="https://www.amazon.co.jp/%E3%80%90NAS%E7%94%A8%E6%8B%A1%E5%BC%B5%E3%83%A1%E3%83%A2%E3%83%AA%E3%80%91Synology-D4NESO-2666-4G-666-SODIMM-Synology-%E5%9B%BD%E5%86%85%E6%AD%A3%E8%A6%8F%E4%BB%A3%E7%90%86%E5%BA%97%E5%93%81/dp/B07X5MMGWG?pd_rd_w=UsYPJ&amp;pf_rd_p=e6abce55-fc6f-4462-923b-b8a729351d49&amp;pf_rd_r=G7HNVA53TGP07FV4YBGW&amp;pd_rd_r=b5e13bb6-c0a4-4dd6-abce-8903827de7c5&amp;pd_rd_wg=KdtA8&amp;pd_rd_i=B07X5MMGWG&amp;psc=1&amp;linkCode=ll1&amp;tag=masaotecblo0b-22&amp;linkId=fc1c31dcfe099df6c1be21329903570e&amp;language=ja_JP&amp;ref_=as_li_ss_tl">Amazon</a></div><div><a rel="noopener" class="kattene__btn __red" target="_blank" href="https://hb.afl.rakuten.co.jp/ichiba/05126964.481bb828.0cc30f1e.c28e1fdc/_RTLink41257?pc=https%3A%2F%2Fproduct.rakuten.co.jp%2Fproduct%2F-%2F4a33334a67b3e6a8244995c1dc112b8d%2F&amp;link_type=hybrid_url&amp;ut=eyJwYWdlIjoiaXRlbSIsInR5cGUiOiJoeWJyaWRfdXJsIiwic2l6ZSI6IjI0MHgyNDAiLCJuYW0iOjEsIm5hbXAiOiJyaWdodCIsImNvbSI6MSwiY29tcCI6ImRvd24iLCJwcmljZSI6MCwiYm9yIjoxLCJjb2wiOjEsImJidG4iOjEsInByb2QiOjEsImFtcCI6ZmFsc2V9">Rakuten</a></div></div></div></div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
