{"id":761,"date":"2023-10-06T12:22:26","date_gmt":"2023-11-11T19:10:59","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/"},"modified":"2025-08-01T02:14:25","modified_gmt":"2025-07-31T17:14:25","slug":"ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/","title":{"rendered":"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806"},"content":{"rendered":"<p>WordPress\u306f\u3001Drupal\u3084Joomla\u306a\u3069\u306e\u4ed6\u306eCMS\u3068\u6bd4\u8f03\u3057\u3066\u3001\u5e02\u5834\u30b7\u30a7\u30a2\u306e60%\u3092\u8a87\u308b\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\uff08CMS\uff09\u306e\u4e00\u3064\u3067\u3059\u3002WordPress\u306f\u3001\u30d6\u30ed\u30b0\u3001\u5c0f\u898f\u6a21\u30d3\u30b8\u30cd\u30b9\u3001\u5927\u4f01\u696d\u306a\u3069\u3001\u3042\u3089\u3086\u308b\u7a2e\u985e\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u958b\u767a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u7121\u6599\u304a\u3088\u3073\u6709\u6599\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u30c6\u30fc\u30de\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001WordPress\u30b5\u30a4\u30c8\u306f\u7d20\u65e9\u304f\u6a5f\u80fd\u3092\u62e1\u5f35\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u72ec\u81ea\u306e\u30c6\u30fc\u30de\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30b9\u30af\u30e9\u30c3\u30c1\u304b\u3089\u958b\u767a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3001\u3053\u308c\u306b\u3088\u308a\u4efb\u610f\u306eWordPress\u30b5\u30a4\u30c8\u306b\u72ec\u81ea\u306e\u6a5f\u80fd\u3092\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Ubuntu 18.04\u3067\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u306eNGINX\u3092\u4f7f\u7528\u3057\u305fLEMP\u30b9\u30bf\u30c3\u30af\u3092\u4f7f\u3063\u305fWordPress CMS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<ul class=\"post-ul\">\n<li>You can open an SSH session in your Ubuntu 18.04 server using root or a sudo enabled user.<\/li>\n<li>A registered domain name or subdomain to point to the WordPress installation.<\/li>\n<li>Domain DNS A-record pointing to your server\u2019s IP address.<\/li>\n<\/ul>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u540d\u306e\u4f7f\u7528\u304c\u5fc5\u8981\u3067\u3059\u3002SUBDOMAIN\u3001DOMAIN\u3001\u307e\u305f\u306fTLD\u306e\u5909\u6570\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u81ea\u5206\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u306e\u5024\u306b\u305d\u308c\u305e\u308c\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u3042\u306a\u305f\u306eUbuntu 18.04\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h2>\n<p>NGINX\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u524d\u306b\u3001\u5e38\u306bUbuntu 18.04\u3092\u6700\u65b0\u7248\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306eapt-get\u30b3\u30de\u30f3\u30c9\u304c\u305d\u308c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code># apt-get update \r\n# apt-get upgrade\r\n<\/code><\/pre>\n<p>\u6700\u521d\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u5229\u7528\u53ef\u80fd\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u305d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30ea\u30b9\u30c8\u3092\u66f4\u65b0\u3057\u307e\u3059\u30022\u3064\u76ee\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u5b9f\u969b\u306b\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067Ubuntu\u306e\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID: Ubuntu\r\nDescription:    Ubuntu 18.04.2 LTS\r\nRelease:        18.04\r\nCodename:       bionic\r\n<\/code><\/pre>\n<h2>\u30a6\u30d6\u30f3\u30c4 \u30a8\u306e NGINX \u3068\u3046\u3044 \u30a6\u30a7\u30d6\u30b5\u30fc\u30d0 \u3092\u3064\u304b\u3063\u3066\u3001\u30ef\u30fc\u30c9\u30d7\u30ec\u30b9 (WordPress) \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/h2>\n<p>\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u3001Ubuntu\u30b5\u30fc\u30d0\u30fc\u306bWordPress\u3068NGINX\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d71: NGINX\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u793a\u3059\u5358\u4e00\u884c\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001NGINX\u306fUbuntu\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u5229\u7528\u53ef\u80fd\u3067\u3042\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code># apt-get install nginx\r\n<\/code><\/pre>\n<p>NGINX\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3089\u3001\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u6b21\u306esystemctl\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code> # systemctl status nginx\r\n \u25cf nginx.service - A high-performance web server and a reverse proxy server\r\n   Loaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; vendor preset: enabled)\r\n   Active: active (running) since Tue 2019-02-12 09:12:08 UTC; 11s ago\r\n     Docs: man:nginx(8)\r\n  Process: 17726 ExecStart=\/usr\/sbin\/nginx -g daemon on; master_process on; (code=exited, status=0\/SUCCESS)\r\n  Process: 17714 ExecStartPre=\/usr\/sbin\/nginx -t -q -g daemon on; master_process on; (code=exited, status=0\/SUCCESS)\r\n Main PID: 17729 (nginx)\r\n    Tasks: 2 (limit: 1152)\r\n   CGroup: \/system.slice\/nginx.service\r\n           \u251c\u250017729 nginx: master process \/usr\/sbin\/nginx -g daemon on; master_process on;\r\n           \u2514\u250017732 nginx: worker process\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u306e\u51fa\u529b\u306f\u3001PID 17729 \u3067 NGINX \u304c\u30ed\u30fc\u30c9\u3055\u308c\u3066\u6d3b\u52d5\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d72\uff1aMariaDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/h3>\n<p>MariaDB\u306fUbuntu\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u72ec\u7acb\u3057\u305fMariaDB\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u79c1\u305f\u3061\u306fUbuntu\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u5b9f\u884c\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3067mysql_secure_installation\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code># apt-get install mariadb-server \r\n# systemctl enable mariadb.service\r\n# mysql_secure_installation\r\n<\/code><\/pre>\n<p>MariaDB\u306eroot\u30e6\u30fc\u30b6\u30fc\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u7a7a\u3067\u3059\u3002root\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u66f4\u65b0\u3059\u308b\u306b\u306f\u3001MySQL\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u53d6\u5f97\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092MySQL\u30b7\u30a7\u30eb\u304b\u3089\u767a\u884c\u3057\u3066\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>$ mysql -u root -p\r\nMariaDB [(none)]&gt; use mysql;\r\nMariaDB [mysql]&gt; update user SET PASSWORD=PASSWORD(\"Passw0rd!\") WHERE USER='root';\r\n<\/code><\/pre>\n<p>\u3042\u306a\u305f\u306eUbuntu 18.04\u30b7\u30b9\u30c6\u30e0\u3078\u306eMariaDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u9032\u3081\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d73: PHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p>\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306ePHP\uff087.2\uff09\u306f\u3001Ubuntu 18.04\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u5229\u7528\u53ef\u80fd\u3067\u3042\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5019\u88dc\u3068\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u5358\u7d14\u306b\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code># apt-get install php7.2 php7.2-cli php7.2-fpm php7.2-mysql php7.2-json php7.2-opcache php7.2-mbstring php7.2-xml php7.2-gd php7.2-curl\r\n<\/code><\/pre>\n<p>PHP7.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u4e0a\u8a18\u306eapt-get\u30b3\u30de\u30f3\u30c9\u3067\u306fMySQL\u3001XML\u3001Curl\u3001GD\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u3044\u304f\u3064\u304b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001WordPress\u30b5\u30a4\u30c8\u304c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u5bfe\u8a71\u3057\u3001XMLRPC\u306b\u5bfe\u5fdc\u3057\u3001\u307e\u305f\u753b\u50cf\u3092\u81ea\u52d5\u7684\u306b\u30c8\u30ea\u30df\u30f3\u30b0\u3084\u30ea\u30b5\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001php-fpm\uff08Fast process manager\uff09\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001NGINX\u304cWordPress\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306ePHP\u30da\u30fc\u30b8\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u3067\u3059\u3002PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001FPM\u30b5\u30fc\u30d3\u30b9\u306f\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u3092\u899a\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d74\uff1aWordPress\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n<p>MariaDB\u304c\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u8a2d\u5b9a\u3055\u308c\u305f\u3089\u3001WordPress\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u7279\u306b\u9069\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u305f\u3081\u306b\u306f\u3001mysql -u root -p\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066MariaDB\u30b5\u30fc\u30d0\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u4ee5\u4e0b\u306b\u8a18\u8f09\u3055\u308c\u305f\u624b\u9806\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>$ mysql -u root -p\r\nEnter password:\r\n\r\nMariaDB [mysql]&gt; CREATE DATABASE wordpress_db;\r\nQuery OK, 1 row affected (0.00 sec)\r\n\r\nMariaDB [mysql]&gt; GRANT ALL ON wordpress_db.* TO 'wpuser'@'localhost' IDENTIFIED BY 'Passw0rd!' WITH GRANT OPTION;\r\nQuery OK, 0 rows affected (0.00 sec)\r\n\r\nMariaDB [mysql]&gt; FLUSH PRIVILEGES;\r\nQuery OK, 0 rows affected (0.00 sec)\r\n\r\nMariaDB [mysql]&gt; exit\r\n<\/code><\/pre>\n<p>\u300c&#8217;wpuser&#8217;\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\u304c\u306a\u3044\u3053\u3068\u306b\u9a5a\u304b\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002GRANT\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u6700\u8fd1\u3053\u308c\u3092\u77e5\u3063\u3066\u3001\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u8aad\u3093\u3067\u3044\u308b\u4eba\u306b\u9a5a\u304d\u3092\u4e0e\u3048\u308b\u3064\u3082\u308a\u3067\u3057\u305f\u3002 :)\u300d<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d75\uff1aWordPress\u7528\u306bNGINX\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n<p>\u4eca\u304b\u3089\u306f\u3001NGINX\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3092\u8a2d\u5b9a\u3057\u3066WordPress\u30c9\u30e1\u30a4\u30f3\u3092\u63d0\u4f9b\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u6700\u521d\u306b\u3001WordPress\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528\u306e\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># mkdir -p \/var\/www\/html\/wordpress\/public_html\r\n<\/code><\/pre>\n<p>WordPress\u30c9\u30e1\u30a4\u30f3\u306e\u305f\u3081\u306bNGINX\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001\/etc\/nginx\/sites-available\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306fNGINX\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5834\u6240\u3067\u3059\u3002\u304a\u6c17\u306b\u5165\u308a\u306e\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bNGINX\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># cd \/etc\/nginx\/sites-available\r\n# cat wordpress.conf\r\nserver {\r\n            listen 80;\r\n            root \/var\/www\/html\/wordpress\/public_html;\r\n            index index.php index.html;\r\n            server_name SUBDOMAIN.DOMAIN.TLD;\r\n\r\n\t    access_log \/var\/log\/nginx\/SUBDOMAIN.access.log;\r\n    \t    error_log \/var\/log\/nginx\/SUBDOMAIN.error.log;\r\n\r\n            location \/ {\r\n                         try_files $uri $uri\/ =404;\r\n            }\r\n\r\n            location ~ \\.php$ {\r\n                         include snippets\/fastcgi-php.conf;\r\n                         fastcgi_pass unix:\/run\/php\/php7.2-fpm.sock;\r\n            }\r\n            \r\n            location ~ \/\\.ht {\r\n                         deny all;\r\n            }\r\n\r\n            location = \/favicon.ico {\r\n                         log_not_found off;\r\n                         access_log off;\r\n            }\r\n\r\n            location = \/robots.txt {\r\n                         allow all;\r\n                         log_not_found off;\r\n                         access_log off;\r\n           }\r\n       \r\n            location ~* \\.(js|css|png|jpg|jpeg|gif|ico)$ {\r\n                         expires max;\r\n                         log_not_found off;\r\n           }\r\n}\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u6b63\u78ba\u6027\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># nginx -t\r\nnginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\r\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful\r\n<\/code><\/pre>\n<p>\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3092\u30a2\u30af\u30c6\u30a3\u30d6\u5316\u3059\u308b\u306b\u306f\u3001\u4e0a\u8a18\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\/etc\/nginx\/sites-enabled\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># cd \/etc\/nginx\/sites-enabled\r\n# ln -s ..\/sites-available\/wordpress.conf .\r\n<\/code><\/pre>\n<p>\u65b0\u3057\u3044WordPress\u30c9\u30e1\u30a4\u30f3\u8a2d\u5b9a\u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306b\u3001NGINX\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># systemctl reload nginx\r\n<\/code><\/pre>\n<h3>\u30b9\u30c6\u30c3\u30d76: WordPress\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u8a2d\u5b9a\u3059\u308b<\/h3>\n<p>\u3053\u306e\u624b\u9806\u3067\u306f\u3001wget\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30fc\u30ab\u30a4\u30d6\u3055\u308c\u305fWordPress\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u524d\u306e\u624b\u9806\u3067\u4f5c\u6210\u3057\u305fWordPress\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u30eb\u30fc\u30c8\u306b\u5c55\u958b\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u305f\u3081\u306b\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># cd \/var\/www\/html\/wordpress\/public_html\r\n# wget https:\/\/wordpress.org\/latest.tar.gz\r\n# tar -zxvf latest.tar.gz\r\n# mv wordpress\/* .\r\n# rm -rf wordpress\r\n<\/code><\/pre>\n<p>\u62bd\u51fa\u3057\u305fWordPress\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u6240\u6709\u6a29\u3092\u5909\u66f4\u3057\u3001\u6b63\u3057\u3044\u6a29\u9650\u3092\u9069\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u305f\u3081\u306b\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># cd \/var\/www\/html\/wordpress\/public_html\r\n# chown -R www-data:www-data *\r\n# chmod -R 755 *\r\n<\/code><\/pre>\n<p>\u524d\u8ff0\u306e\u901a\u308a\u3001WordPress\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u540d\u524d\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30e6\u30fc\u30b6\u30fc\u3001\u304a\u3088\u3073\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3001\u4ee5\u524d\u306b\u4f5c\u6210\u3057\u305fMariaDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001WordPress\u306f\u30b5\u30f3\u30d7\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u4f7f\u7528\u3057\u3066\u72ec\u81ea\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u308c\u3092\u884c\u3046\u305f\u3081\u306b\u3001\u307e\u305a\u3001\u30b5\u30f3\u30d7\u30eb\u306eWordPress\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092wp-config.php\u306b\u5909\u66f4\u3057\u3001\u304a\u597d\u304d\u306a\u30a8\u30c7\u30a3\u30bf\u3067\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code># cd \/var\/www\/html\/wordpress\/public_html\r\n# mv wp-config-sample.php wp-config.php\r\n# vi wp-config.php\r\n ...\r\n ...\r\n define('DB_NAME', 'wordpress_db');\r\n define('DB_USER', 'wpuser');\r\n define('DB_PASSWORD', 'Passw0rd!');\r\n ...\r\n ...\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/49-0.png\" alt=\"Wordpress Database Config\" \/><\/div>\n<p>WordPress\u30b5\u30a4\u30c8\u3092\u5b89\u5168\u306b\u3059\u308b\u305f\u3081\u306b\u3001\u4e0a\u8a18\u306eWordPress\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u69cb\u6210\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u76f4\u5f8c\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ad\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u306e\u30ea\u30f3\u30af\u3092\u901a\u3058\u3066\u305d\u308c\u3092\u751f\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/51-0.png\" alt=\"Wordpress Add Salt\" \/><\/div>\n<p>\u304a\u6c17\u306b\u5165\u308a\u306e\u30d6\u30e9\u30a6\u30b6\u3092\u4f7f\u7528\u3057\u3066\u3001WordPress\u30b5\u30a4\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d7\uff17\uff1aWordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/h3>\n<p>WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u304a\u597d\u304d\u306a\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u3092\u300cSUBDOMAIN.DOMAIN.TLD\u300d\u306b\u5411\u3051\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/55-0.png\" alt=\"Choose Language For WordPress Installation\" \/><\/div>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u306f\u8a00\u8a9e\u3092\u9078\u629e\u3059\u308b\u3088\u3046\u306b\u6307\u793a\u3057\u307e\u3059\u3002\u8a00\u8a9e\u3092\u9078\u3073\u3001\u300e\u7d9a\u3051\u308b\u300f\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/57-0.png\" alt=\"Provide WordPress Site Information\" \/><\/div>\n<p>\u4eca\u3001\u30b5\u30a4\u30c8\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b5\u30a4\u30c8\u306e\u30bf\u30a4\u30c8\u30eb\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u3001\u300eWordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300f\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/59-0.png\" alt=\"Wordpress Install Confirmation Page\" \/><\/div>\n<p>WordPress\u30b5\u30a4\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u305f\u3081\u306b\u300c\u30ed\u30b0\u30a4\u30f3\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30b5\u30a4\u30c8\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u30c6\u30fc\u30de\u306e\u8a2d\u5b9a\u3092\u9032\u3081\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/61-0.png\" alt=\"Wordpress Login Page\" \/><\/div>\n<p>\u6700\u521d\u306e\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u3001\u4ee5\u524d\u5165\u529b\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u63d0\u4f9b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/63-0.png\" alt=\"Wordpress Dashboard\" \/><\/div>\n<p>\u304a\u3081\u3067\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff01WordPress\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u3042\u306a\u305f\u306e\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>WordPress\u306f\u6700\u3082\u4eba\u6c17\u306e\u3042\u308bCMS\u3067\u3042\u308a\u3001NGINX\u3092\u4f7f\u7528\u3057\u3066Ubuntu\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u4f5c\u6210\u306b\u9032\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306f\u3001Drupal\u3084Joomla\u306a\u3069\u306e\u4ed6\u306eCMS\u3068\u6bd4\u8f03\u3057\u3066\u3001\u5e02\u5834\u30b7\u30a7\u30a2\u306e60%\u3092\u8a87\u308b\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\uff08CMS\uff09\u306e\u4e00\u3064\u3067\u3059\u3002WordPress\u306f\u3001\u30d6\u30ed\u30b0\u3001\u5c0f\u898f\u6a21\u30d3\u30b8\u30cd\u30b9\u3001 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,17],"class_list":["post-761","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-17"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04\u3067nginx\u3092\u4f7f\u7528\u3057\u3066wordpress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\" \/>\n<meta property=\"og:description\" content=\"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04\u3067nginx\u3092\u4f7f\u7528\u3057\u3066wordpress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-11T19:10:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T17:14:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/49-0.png\" \/>\n<meta name=\"author\" content=\"\u7dbe\u4e43, \u4e00\u5e0c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7dbe\u4e43, \u4e00\u5e0c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"19\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/\",\"name\":\"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-11-11T19:10:59+00:00\",\"dateModified\":\"2025-07-31T17:14:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff\"},\"description\":\"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff\",\"name\":\"\u7dbe\u4e43, \u4e00\u5e0c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g\",\"caption\":\"\u7dbe\u4e43, \u4e00\u5e0c\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/ayanokazuki\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806 - Blog - Silicon Cloud","description":"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04\u3067nginx\u3092\u4f7f\u7528\u3057\u3066wordpress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\/","og_locale":"ja_JP","og_type":"article","og_title":"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806","og_description":"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04\u3067nginx\u3092\u4f7f\u7528\u3057\u3066wordpress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-11-11T19:10:59+00:00","article_modified_time":"2025-07-31T17:14:25+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656497e4daa94e2bdf7c05ee\/49-0.png"}],"author":"\u7dbe\u4e43, \u4e00\u5e0c","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u7dbe\u4e43, \u4e00\u5e0c","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"19\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/","name":"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-11-11T19:10:59+00:00","dateModified":"2025-07-31T17:14:25+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff"},"description":"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu 18.04\u3067Nginx\u3092\u4f7f\u7528\u3057\u3066WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff","name":"\u7dbe\u4e43, \u4e00\u5e0c","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g","caption":"\u7dbe\u4e43, \u4e00\u5e0c"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/ayanokazuki\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-18-04%e3%81%a7nginx%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6wordpress%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=761"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/761\/revisions"}],"predecessor-version":[{"id":325820,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/761\/revisions\/325820"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}