{"id":6750,"date":"2022-03-27T21:38:01","date_gmt":"2022-03-27T12:38:01","guid":{"rendered":"https:\/\/the-world-star.com\/?p=6750"},"modified":"2026-11-21T12:39:46","modified_gmt":"2026-11-21T03:39:46","slug":"setting-up-a-wordpress-environment-implementation-guide","status":"publish","type":"post","link":"https:\/\/the-world-star.com\/en\/server\/setting-up-a-wordpress-environment-implementation-guide-6750\/","title":{"rendered":"Setting Up a WordPress Environment: Implementation Guide"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u25a0 Implementation Phase - 2022\/03\/27<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Picking up where we left off, it's time to actually set up the WordPress environment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check out the previous article here.<\/p>\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\t\t\t<div class=\"blog-card\">\n\t\t\t\t<div class=\"blog-card-body-outer\">\n\t\t\t\t\t<div class=\"blog-card-body\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"blog-card-title\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/the-world-star.com\/en\/server\/building-a-wordpress-environment-the-vision-planning-phase-6754\/\">Building a WordPress Environment: The Vision &#038; Planning Phase<\/a>\n\t\t\t\t\t\t\t<\/h5>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"blog-card-text\">\n\t\t\t\t\t\t\t\tMarch 27, 2022: Time to build a web server! I suppose it&#039;s a rite of passage for many tech enthusiasts. I recently launched a web server using WordPress o\u2026\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"blog-card-site-title\">\n\t\t\t\t\t\t\t<a href=\"http:\/\/the-world-star.com\/en\/\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tThe\u2606World Star\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"blog-card-image-outer\">\n\t\t\t\t\t\t<a href=\"https:\/\/the-world-star.com\/en\/server\/building-a-wordpress-environment-the-vision-planning-phase-6754\/\" class=\"blog-card-image-frame\">\n\t\t\t\t\t\t\t<img decoding=\"async\" class=\"blog-card-image-src\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/07\/31115522\/server_eyecatch.jpg\" alt=\"\">\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t<\/div><\/figure>\n\n\n<p class=\"wp-block-paragraph\"><br>I'll be using this guide as a reference.<br>https:\/\/qiita.com\/cherubim1111\/items\/b259493a39e36f5d524b<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I'm documenting the process as I go along for my own notes.<br>For now, I'll try installing the software directly onto my existing AWS EC2 Minecraft server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2013 Logging into EC2 (Current Minecraft Server) via SSH \u2013<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Welcome to Ubuntu 20.04.3 LTS (GNU\/Linux 5.11.0-1028-aws x86_64)Documentation: https:\/\/help.ubuntu.com\nManagement: https:\/\/landscape.canonical.com\nSupport: https:\/\/ubuntu.com\/advantage System information as of Sun Mar 27 11:04:03 JST 2022 System load: 0.02 Processes: 113\nUsage of \/: 67.3% of 7.69GB Users logged in: 0\nMemory usage: 78% IPv4 address for eth0: 172.31.45.138\nSwap usage: 0%\nUbuntu Pro delivers the most comprehensive open source security and\ncompliance features. https:\/\/ubuntu.com\/aws\/pro\n52 updates can be applied immediately.\nTo see these additional updates run: apt list \u2013upgradable<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Looking at the current memory usage, we might already be in trouble! Memory capacity depends on the scale of your AWS server tier.<br>Designations like 't2' or 'micro' determine things like the server's CPU type, number of cores, and memory.<br>Getting a rough grasp of this was tricky when I first built the Minecraft server, but I'll talk about that separately.<br>t2.micro: 1GB \u2026 What I'm using now<br>t2.nano: 0.5GB \u2026 Cheapest, but no way<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Useful information gathered upon logging in:<br>Currently,<br>\u30fb67.3% of the 7.69GB storage is in use.<br>\u30fbMemory usage is at 78%, out of an estimated total of 1GB.<br>I'd love to build a system that automatically emails me these stats without needing to log in manually.<br>Also, it's telling me there are updates available. I'll take care of those later.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2013 Checking the Timezone \u2013<\/strong><br>It's set to Asia\/Tokyo, so we're good.<br>If yours isn't, you can configure it using `timedatectl`.<br>\u2014 Checking timezone<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$sudo timedatectl\nLocal time: Sun 2022-03-27 13:15:16 JST\nUniversal time: Sun 2022-03-27 04:15:16 UTC\nRTC time: Sun 2022-03-27 04:15:16\nTime zone: Asia\/Tokyo (JST, +0900)\nSystem clock synchronized: yes\nNTP service: active\nRTC in local TZ: no<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u2013 Installing Apache2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30fbLet's refocus and install Apache2.<br>- Checking disk space before installation<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ubuntu@ip-172-31-45-138:~$ df \/\nFilesystem 1K-blocks Used Available Use% Mounted on\n\/dev\/root 8065444 5427640 2621420 68% \/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Why is this slightly different from the percentage at login? Maybe this one rounds up decimals?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">- Installation<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u2013apt\u306e\u66f4\u65b0\u3068\u3001apache\u306e\u78ba\u8a8d\n$sudo apt -y update\n$sudo apt show apache2\nPackage: apache2\nVersion: 2.4.41-4ubuntu3.10\nPriority: optional\nSection: web\nOrigin: Ubuntu\n\u7565<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><br>I'm not entirely sure, but Apache2 seems to be available and ready for installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2013 Proceeding with the installation.<br>$ sudo apt -y install apache2<br>Once finished,<br>\u2013 Check storage capacity<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$df \/\nFilesystem 1K-blocks Used Available Use% Mounted on\n\/dev\/root 8065444 5437156 2611904 68% \/\n5437156\u22125427640 = 9516kbyte\u202610M\u30d0\u30a4\u30c8\u304f\u3089\u3044\u3002\u5fae\u91cf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u2013 Start the service<br>$ sudo systemctl enable apache2<br>$ sudo systemctl start apache2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2013 Verification<br>Accessing via web browser...<strong>No response...<\/strong>.<br>[No Image]<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">- Opening Port 80 on the AWS EC2 Server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">That's right, I suddenly remembered that AWS requires you to open ports manually!<br>I believe pretty much everything is closed by default, so let's open up port 80 for web traffic!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/05\/AWS-EC2\u306bhttp\u306e\u30dd\u30fc\u30c8\u3092\u958b\u3051\u308b2.png\" alt=\"\" class=\"wp-image-23\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">[Image: AWS Port Settings]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I'll open four ports in total: port 80 for HTTP and port 443 for HTTPS, for both IPv4 and IPv6.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After opening the ports and checking via web browser again, the default welcome page appeared.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/05\/AWS-WEB\u30b5\u30fc\u30d0\u30fc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306eWEB\u30a2\u30af\u30bb\u30b9\u78ba\u8a8d.png\" alt=\"\" class=\"wp-image-24\"\/><figcaption class=\"wp-element-caption\">\u958b\u901a\u306eWEB\u753b\u50cf<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>If you just want to put up a simple custom page without WordPress, like \"Welcome to Minecraft!\", you can apparently just edit:<br>\/var\/www\/html\/index.html<br>Simply edit this file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Memory usage right after starting Apache2<br>*(Forgot to take a screenshot beforehand)*<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$free \u2013mega\ntotal used free shared buff\/cache available\nMem: 1015 756 67 1 191 100\nSwap: 0 0 0<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u2013 Installing PHP<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Install both `php` and `php-mysql`.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$sudo apt -y install php7.4 php7.4-mysql\n\u7565\n$df \/\nFilesystem 1K-blocks Used Available Use% Mounted on\n\/dev\/root 8065444 5545836 2503224 69% \/\n5545836\u22125437156 = 108,680 108M\u3001\u7d50\u69cb\u4f7f\u3063\u305f\u3002<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The tutorial I followed specified version numbers for installation, but generally, specifying a version like \"7.4\" isn't necessary. `php-mysql` should automatically pull in the version that matches your environment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">- Installing MariaDB 10.3<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$sudo apt -y install mariadb-server mariadb-client<br>\u2013\u306a\u3093\u304b\u9014\u4e2d\u3067\u3068\u307e\u3063\u305f\u2014<br>Setting up libhttp-message-perl (6.22-1) \u2026<br>Setting up mariadb-client (1:10.3.34-0ubuntu0.20.04.1) \u2026<br>Setting up libcgi-pm-perl (4.46-1) \u2026<br>Setting up libhtml-template-perl (2.97-1) \u2026<br>Setting up mariadb-server (1:10.3.34-0ubuntu0.20.04.1) \u2026<br>Setting up libcgi-fast-perl (1:2.15-1) \u2026<br>Processing triggers for systemd (245.4-4ubuntu3.15) \u2026<br>Processing triggers for man-db (2.9.1-1) \u2026<br>Processing triggers for libc-bin (2.31-0ubuntu9.7) \u2026<br>^C<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After waiting around 10 minutes with no response, I force-quit using `^C`.<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2013 Not knowing what state things were in, I ran the install command one more time \u2014<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$sudo apt install mariadb-server mariadb-client<br>Reading package lists\u2026 Done<br>Building dependency tree<br>Reading state information\u2026 Done<br>mariadb-client is already the newest version (1:10.3.34-0ubuntu0.20.04.1).<br>mariadb-server is already the newest version (1:10.3.34-0ubuntu0.20.04.1).<br>The following packages were automatically installed and are no longer required:<br>autoconf g++-9 gcc gcc-9 git-man icu-devtools libasan5 libatomic1 libc-dev-bin libc6-dev libcc1-0<br>libcrypt-dev libdpkg-perl liberror-perl libfile-fcntllock-perl libgcc-9-dev libicu-dev libitm1 liblsan0<br>libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix2 libquadmath0 libselinux1-dev libsepol1-dev<br>libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev m4 manpages-dev<br>Use \u2018sudo apt autoremove\u2019 to remove them.<br>0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It told me it was already installed, so hopefully that's okay?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Afterward, it suggested removing some unused dependencies from an update to save space, so I went ahead and removed them to squeeze out every megabyte.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt autoremove<br>:<br>Removing manpages-dev (5.05-1) \u2026<br>Processing triggers for man-db (2.9.1-1) \u2026<br>Processing triggers for install-info (6.7.0.dfsg.2-5) \u2026<br>Processing triggers for libc-bin (2.31-0ubuntu9.7) \u2026<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As expected, it hung around `libc-bin`... Is `libc-bin` broken? This planted a seed of worry that it might cause issues later on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2014 Running `autoremove` again<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt autoremove\nReading package lists\u2026 Done\nBuilding dependency tree\nReading state information\u2026 Done\n0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Looks like it worked!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$df \/<br>Filesystem 1K-blocks Used Available Use% Mounted on<br>\/dev\/root 8065444 5741772 2307288 72% \/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">5,741,772 - 5,437,156 = 304,616 (~300MB), that's actually quite substantial.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2013 Clearing the apt cache here<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since I want to keep the EC2 disk space as small as possible, I'll clear the apt cache right here now that the installations are done.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt clean<br>$ df \/<br>Filesystem 1K-blocks Used Available Use% Mounted on<br>\/dev\/root 8065444 5637348 2411712 71% \/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><br>5,637,348 - 5,741,772 = \u2212104,424<br>A 100MB reduction, likely accounting for the archives of Apache2, PHP, and MariaDB!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2013 Fire up Maria! \u2013<\/strong><br>$ sudo systemctl enable mariadb<br>$ sudo systemctl start mariadb<br>$ free \u2013mega<br>total used free shared buff\/cache available<br>Mem: 1015 826 73 3 116 49<br>Swap: 0 0 0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Free memory actually increased from 67 \u2192 73. Did something get swapped out? Not entirely sure.<br>Do you really need both `enable` and `start` for systemctl? Are they different? `enable` makes it start on reboot, while `start` boots it up right now, I suppose?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">- Installing WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u2013 Downloading (don't forget to delete this later) \u2013<br>My EC2 server doesn't have a GUI desktop environment, so I'm using the `wget` command, which accesses the web via the CUI (Command Line Interface). I installed this previously.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">wget https:\/\/ja.wordpress.org\/latest-ja.tar.gz<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ mkdir webserver<br>$ ls<br>HowToUseRemoteXonSsh.txt MinecraftServerBedrock webserver<br>$ cd webserver\/<br>~\/webserver$ ls<br>~\/webserver$ wget https:\/\/ja.wordpress.org\/latest-ja.tar.gz<br>\u20132022-03-27 12:36:19\u2013 https:\/\/ja.wordpress.org\/latest-ja.tar.gz<br>Resolving ja.wordpress.org (ja.wordpress.org)\u2026 198.143.164.252<br>Connecting to ja.wordpress.org (ja.wordpress.org)|198.143.164.252|:443\u2026 connected.<br>HTTP request sent, awaiting response\u2026 200 OK<br>Length: 19519460 (19M) &#91;application\/octet-stream]<br>Saving to: \u2018latest-ja.tar.gz\u2019<br>latest-ja.tar.gz 100%&#91;=========================================&gt;] 18.61M 6.05MB\/s in 3.1s<br>2022-03-27 12:36:23 (6.05 MB\/s) \u2013 \u2018latest-ja.tar.gz\u2019 saved &#91;19519460\/19519460]<br>~\/webserver$ ls<br>latest-ja.tar.gz<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It's 18.6MB. Pretty lightweight.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2013 Moving to the WordPress extraction folder \u2013<\/strong><br>$ cd \/var\/www\/html<br><br><strong>\u2013 Extract and change ownership \u2013<\/strong><br>$ sudo tar xvf ~\/webserver\/latest-ja.tar.gz<br>$ sudo chown -R www-data:www-data .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">`www-data` appears to be the default httpd user and group built into Ubuntu.<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2013 Verification \u2013<\/strong><br>\/var\/www\/html$ sudo chown -R www-data:www-data .<br>\/var\/www\/html$ ls -l<br>total 16<br>-rw-r\u2013r\u2013 1 www-data www-data 10918 Mar 27 11:17 index.html<br>drwxr-xr-x 5 www-data www-data 4096 Mar 18 23:00 wordpress<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Something feels off. As it stands, only `index.html` will be displayed.<br>Shouldn't everything inside the WordPress folder be directly under `\/var\/www\/html`?<br>Or is that just my imagination? When posting articles, would I access `http:\/\/xxxx\/wordpress`? Or does the site display `http:\/\/xxx\/index.html`?<br>No, I'm not imagining things. Even left like this, tweaking the settings would let me view WordPress posts at `http:\/\/xxx\/`, but that's a hassle.<br>It seems WordPress is designed to extract into a `wordpress` directory by default to keep things tidy, assuming it will be copied to a server or personal folder.<br>Either way, I decided to copy all files inside the `wordpress` folder directly under `\/var\/www\/html` after this.<br>*(Using `mv` is fine; make sure to rename Apache2's default `index.html`)*<br>$ cp -r wordpress\/* .<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">- Creating a Database for WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u2013 Log into MariaDB as root. Even though it's MariaDB, the commands are the same as standard MySQL. \u2013<br>The `-u root` argument specifies the server user ID, and `-p` prompts you to enter the password after running the command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/var\/www\/html$ sudo mysql -u root -p<br>Enter password:<br>Welcome to the MariaDB monitor. Commands end with ; or g.<br>Your MariaDB connection id is 37<br>Server version: 10.3.34-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04<br>Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.<br>Type \u2018help;\u2019 or \u2018h\u2019 for help. Type \u2018c\u2019 to clear the current input statement.<br>MariaDB &#91;(none)]&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>- Create a database named `wordpress` with UTF-8 character encoding in MariaDB \u2013<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I really dislike how DB queries seem to have their own quirky syntax culture.<br>If you forget the semicolon \";\" and hit enter, just type a semicolon on the next line.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2013 Create a DB user \u2013<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GRANT ALL ON wordpress.* TO 'username'@'localhost' IDENTIFIED BY 'p*a*s*s*w*o*r*d';\n\nFLUSH PRIVILEGES;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command grants access privileges to the database, but if the user doesn't exist yet, it will create them as well.<br>Choose your own `username`. Obvious names invite hacking. It's also best to make it different from your WordPress login ID.<br>Replace `'password'` with your actual secure password. Mine's a secret.<br>You'll need this info later for the initial WordPress installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u2013\u2013 Sequence of logs for DB configuration \u2013\u2013<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MariaDB &#91;(none)]&gt; CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8;\nQuery OK, 1 row affected (0.047 sec)\nMariaDB &#91;(none)]&gt; GRANT ALL ON wordpress.* TO 'username'@'localhost' IDENTIFIED BY 'p*a*s*s*w*o*r*d';\nQuery OK, 0 rows affected (0.013 sec)\nMariaDB &#91;(none)]&gt; FLUSH PRIVILEGES;\nQuery OK, 0 rows affected (0.003 sec)\nMariaDB &#91;(none)]&gt; quit\nBye<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">SQL commands can be written in lowercase.<br>Don't forget the single quotes around things like `'username'`.<br>Omitting the password part in the `GRANT` statement will result in a missing user error.<br>Handy SQL commands if things go wrong:<br>\u30fb`show databases;` - Lists databases. Check here to ensure the DB you created exists and has the correct name.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MariaDB &#91;(none)]&gt; show databases;<br>+--------------------+<br>| Database |<br>+--------------------+<br>| information_schema |<br>| mysql |<br>| performance_schema |<br>| wordpress |<br>+--------------------+<br>4 rows in set (0.001 sec)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30fb`select user,host from mysql.user;` - Displays the user list.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MariaDB &#91;(none)]&gt; select user,host from mysql.user ;<br>+------+-----------+<br>| user | host |<br>+------+-----------+<br>| wpuser | localhost |<br>| root | localhost |<br>+------+-----------+<br>2 rows in set (0.001 sec)<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u2013 Configuring WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u2013 Access WordPress via Web Browser \u2013<br>https:\/\/the-world-star.com\/wordpress\/<br>*(If you copied files directly under `\/var\/www\/html`, it's just https:\/\/the-world-star.com\/)*<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/05\/WordPress\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c.png\" alt=\"\" class=\"wp-image-28\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Enter the credentials you created in MariaDB. After clicking \"Let's go!\", you'll be taken to another input screen [DB Settings Image]\u2014oops, forgot to take a screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/05\/WordPress\u306e\u8a2d\u5b9a\u3001ID\u30d1\u30b9\u30ef\u30fc\u30c9\u52a0\u5de5\u54c1.png\" alt=\"\" class=\"wp-image-27\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>[WordPress Image] This ID and password are newly created for logging into WordPress itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After running the installation, it froze... The server response slowed down to an absolute crawl.<br>Something must have gone wild. I checked with `ps`, but nothing stood out. Was it because the MariaDB installation halted halfway? Who knows.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ubuntu@ip-172-31-45-138:\/var\/www\/html$ ps -aux<br>USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND<br>root 1 0.0 0.7 168748 7488 ? Ds Mar03 0:42 \/sbin\/init<br>root 2 0.0 0.0 0 0 ? S Mar03 0:00 [kthreadd]<br>root 3 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [rcu_gp]<br>root 4 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [rcu_par_gp]<br>root 6 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kworker\/0:0H-events_highpri]<br>root 9 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [mm_percpu_wq]<br>root 10 0.0 0.0 0 0 ? S Mar03 0:00 [rcu_tasks_rude_]<br>root 11 0.0 0.0 0 0 ? S Mar03 0:00 [rcu_tasks_trace]<br>root 12 0.0 0.0 0 0 ? S Mar03 0:13 [ksoftirqd\/0]<br>root 13 0.0 0.0 0 0 ? I Mar03 0:18 [rcu_sched]<br>root 14 0.0 0.0 0 0 ? S Mar03 0:04 [migration\/0]<br>root 15 0.0 0.0 0 0 ? S Mar03 0:00 [idle_inject\/0]<br>root 16 0.0 0.0 0 0 ? S Mar03 0:00 [cpuhp\/0]<br>root 17 0.0 0.0 0 0 ? S Mar03 0:00 [kdevtmpfs]<br>root 18 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [netns]<br>root 19 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [inet_frag_wq]<br>root 20 0.0 0.0 0 0 ? S Mar03 0:00 [kauditd]<br>root 21 0.0 0.0 0 0 ? S Mar03 0:00 [khungtaskd]<br>root 22 0.0 0.0 0 0 ? S Mar03 0:00 [oom_reaper]<br>root 23 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [writeback]<br>root 24 0.0 0.0 0 0 ? S Mar03 0:36 [kcompactd0]<br>root 25 0.0 0.0 0 0 ? SN Mar03 0:00 [ksmd]<br>root 26 0.0 0.0 0 0 ? SN Mar03 0:02 [khugepaged]<br>root 72 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kintegrityd]<br>root 73 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kblockd]<br>root 74 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [blkcg_punt_bio]<br>root 75 0.0 0.0 0 0 ? S Mar03 0:00 [xen-balloon]<br>root 76 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [tpm_dev_wq]<br>root 77 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [ata_sff]<br>root 78 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [md]<br>root 79 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [edac-poller]<br>root 80 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [devfreq_wq]<br>root 81 0.0 0.0 0 0 ? S Mar03 0:00 [watchdogd]<br>root 83 0.0 0.0 0 0 ? I&lt; Mar03 0:22 [kworker\/0:1H-kblockd]<br>root 85 0.1 0.0 0 0 ? R Mar03 46:48 [kswapd0]<br>root 86 0.0 0.0 0 0 ? S Mar03 0:00 [ecryptfs-kthrea]<br>root 88 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kthrotld]<br>root 89 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [acpi_thermal_pm]<br>root 90 0.0 0.0 0 0 ? S Mar03 0:00 [xenbus]<br>root 91 0.0 0.0 0 0 ? S Mar03 0:00 [xenwatch]<br>root 92 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [nvme-wq]<br>root 93 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [nvme-reset-wq]<br>root 94 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [nvme-delete-wq]<br>root 95 0.0 0.0 0 0 ? S Mar03 0:00 [scsi_eh_0]<br>root 96 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [scsi_tmf_0]<br>root 97 0.0 0.0 0 0 ? S Mar03 0:00 [scsi_eh_1]<br>root 98 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [scsi_tmf_1]<br>root 100 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [vfio-irqfd-clea]<br>root 101 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [ipv6_addrconf]<br>root 110 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kstrp]<br>root 113 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [zswap-shrink]<br>root 114 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kworker\/u31:0]<br>root 119 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [charger_manager]<br>root 120 0.0 0.0 0 0 ? S Mar03 0:09 [jbd2\/xvda1-8]<br>root 121 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [ext4-rsv-conver]<br>root 161 0.0 0.4 70084 4612 ? D&lt;s Mar03 0:36 \/lib\/systemd\/systemd-journald<br>root 191 0.0 0.2 8568 2484 ? Ss Mar03 0:01 \/lib\/systemd\/systemd-udevd<br>root 203 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [cryptd]<br>root 273 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kaluad]<br>root 274 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kmpath_rdacd]<br>root 275 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kmpathd]<br>root 276 0.0 0.0 0 0 ? I&lt; Mar03 0:00 [kmpath_handlerd]<br>root 277 0.0 1.8 280208 18000 ? SLsl Mar03 1:35 \/sbin\/multipathd -d -s<br>root 287 0.0 0.0 0 0 ? S&lt; Mar03 0:00 [loop0]<br>root 290 0.0 0.0 0 0 ? D&lt; Mar03 0:09 [loop1]<br>root 300 0.0 0.0 0 0 ? S&lt; Mar03 0:00 [loop3]<br>root 304 0.0 0.0 0 0 ? S&lt; Mar03 0:00 [loop5]<br>root 308 0.0 0.0 0 0 ? S&lt; Mar03 0:00 [loop7]<br>root 312 0.0 0.0 0 0 ? S&lt; Mar03 0:00 [loop8]<br>root 325 0.0 18.1 712728 180072 ? Ssl Mar03 30:40 s3fs minecraft-nyanpu \/mnt\/s3 -o rw,allow_o<br>systemd+ 357 0.0 0.3 89972 3312 ? Ssl Mar03 0:02 \/lib\/systemd\/systemd-timesyncd<br>systemd+ 402 0.0 0.3 26704 3344 ? Ss Mar03 0:09 \/lib\/systemd\/systemd-networkd<br>systemd+ 404 0.0 0.6 23868 5988 ? Ss Mar03 0:04 \/lib\/systemd\/systemd-resolved<br>root 442 0.0 0.2 241832 2520 ? Ssl Mar03 0:35 \/usr\/lib\/accountsservice\/accounts-daemon<br>root 443 0.0 0.0 2548 668 ? Ss Mar03 0:00 \/usr\/sbin\/acpid<br>root 450 0.0 0.2 8544 2104 ? Ss Mar03 0:02 \/usr\/sbin\/cron -f<br>message+ 451 0.0 0.3 7804 3384 ? Ss Mar03 0:03 \/usr\/bin\/dbus-daemon \u2013system \u2013address=sys<br>root 460 0.0 1.0 29284 10184 ? Ss Mar03 0:00 \/usr\/bin\/python3 \/usr\/bin\/networkd-dispatch<br>syslog 461 0.0 0.1 224500 1892 ? Ssl Mar03 0:04 \/usr\/sbin\/rsyslogd -n -iNONE<br>root 462 0.0 0.6 1235064 6856 ? Dsl Mar03 4:17 \/snap\/amazon-ssm-agent\/5163\/amazon-ssm-agen<br>root 466 0.0 0.4 17828 4880 ? Ss Mar03 0:02 \/lib\/systemd\/systemd-logind<br>root 468 0.0 0.1 394768 1932 ? Dsl Mar03 0:01 \/usr\/lib\/udisks2\/udisksd<br>daemon 469 0.0 0.1 3800 1944 ? Ss Mar03 0:00 \/usr\/sbin\/atd -f<br>root 486 0.0 0.1 7360 1896 ttyS0 Ss+ Mar03 0:00 \/sbin\/agetty -o -p \u2014 u \u2013keep-baud 115200<br>root 500 0.0 0.1 5836 1488 tty1 Ss+ Mar03 0:00 \/sbin\/agetty -o -p \u2014 u \u2013noclear tty1 lin<br>root 516 0.0 0.1 236428 1712 ? Ssl Mar03 0:00 \/usr\/lib\/policykit-1\/polkitd \u2013no-debug<br>root 582 0.0 1.0 108112 10908 ? Ssl Mar03 0:00 \/usr\/bin\/python3 \/usr\/share\/unattended-upgr<br>root 701 0.0 0.3 12180 3324 ? Ss Mar03 0:12 sshd: \/usr\/sbin\/sshd -D -o AuthorizedKeysCo<br>root 728 0.0 1.0 1247272 10468 ? Sl Mar03 4:26 \/snap\/amazon-ssm-agent\/5163\/ssm-agent-worke<br>ubuntu 854 0.0 0.3 18224 3080 ? Ss Mar03 0:00 \/lib\/systemd\/systemd \u2013user<br>ubuntu 855 0.0 0.3 103032 3200 ? S Mar03 0:00 (sd-pam)<br>root 19815 0.0 0.0 0 0 ? I&lt; Mar05 0:00 [xfsalloc]<br>root 19816 0.0 0.0 0 0 ? I&lt; Mar05 0:00 [xfs_mru_cache]<br>ubuntu 30005 0.0 0.2 8884 2040 ? Ss Mar06 0:00 SCREEN -S minecraft sh .\/start_server.sh<br>ubuntu 30006 0.0 0.0 2616 480 pts\/1 Ss+ Mar06 0:00 sh .\/start_server.sh<br>ubuntu 30008 2.4 39.1 1016820 388084 pts\/1 Dl+ Mar06 744:16 .\/bedrock_server<br>root 68726 0.0 0.0 0 0 ? S&lt; Mar10 0:00 [loop9]<br>root 98306 0.0 0.0 0 0 ? I Mar14 1:07 [kworker\/0:1-events]<br>root 109094 0.0 0.0 0 0 ? D&lt; Mar15 0:06 [loop4]<br>root 109136 0.0 1.6 734456 16688 ? Ssl Mar15 3:45 \/usr\/lib\/snapd\/snapd<br>root 139131 0.0 0.0 0 0 ? S&lt; Mar18 0:00 [loop10]<br>root 159511 0.0 0.0 0 0 ? I Mar21 0:00 [kworker\/0:0-events]<br>root 213481 0.0 0.0 0 0 ? S&lt; Mar26 0:00 [loop2]<br>root 221262 0.0 0.4 13796 4068 ? Ss 11:04 0:00 sshd: ubuntu [priv]<br>ubuntu 221361 0.0 0.3 13928 3128 ? D 11:04 0:01 sshd: ubuntu@pts\/0<br>ubuntu 221362 0.0 0.2 10080 2912 pts\/0 Ss 11:04 0:02 -bash<br>root 230506 0.0 0.8 194084 8496 ? Ds 11:45 0:02 \/usr\/sbin\/apache2 -k start<br>www-data 230510 0.0 0.6 194580 6136 ? S 11:45 0:00 \/usr\/sbin\/apache2 -k start<br>www-data 230511 0.0 0.6 194660 6320 ? S 11:45 0:00 \/usr\/sbin\/apache2 -k start<br>www-data 230512 0.0 0.5 194588 5892 ? S 11:45 0:00 \/usr\/sbin\/apache2 -k start<br>www-data 230513 0.0 3.7 207700 37148 ? S 11:45 0:00 \/usr\/sbin\/apache2 -k start<br>mysql 231369 0.6 6.3 1252044 62608 ? Ssl 11:57 1:02 \/usr\/sbin\/mysqld<br>www-data 232214 0.0 3.0 201400 30064 ? S 11:58 0:00 \/usr\/sbin\/apache2 -k start<br>www-data 232215 0.0 0.5 194588 5632 ? S 11:58 0:00 \/usr\/sbin\/apache2 -k start<br>www-data 233479 0.0 3.1 201400 31520 ? S 13:36 0:00 \/usr\/sbin\/apache2 -k start<br>www-data 233480 0.0 0.6 194580 6020 ? S 13:36 0:00 \/usr\/sbin\/apache2 -k start<br>www-data 233481 0.0 3.2 201436 32136 ? S 13:36 0:00 \/usr\/sbin\/apache2 -k start<br>root 233483 0.0 0.0 0 0 ? I 13:37 0:00 [kworker\/u30:1-events_power_efficient]<br>www-data 233490 0.0 1.0 194620 10820 ? S 13:39 0:03 \/usr\/sbin\/apache2 -k start<br>root 233553 0.0 0.0 0 0 ? I 13:42 0:00 [kworker\/u30:2-events_power_efficient]<br>root 233565 0.0 0.1 10220 1880 ? S 14:00 0:00 \/usr\/sbin\/CRON -f<br>ubuntu 233569 0.0 0.0 2616 472 ? Ss 14:06 0:00 \/bin\/sh -c \/home\/ubuntu\/MinecraftServerBedr<br>ubuntu 233572 0.1 0.0 8624 640 ? S 14:07 0:02 \/bin\/bash \/home\/ubuntu\/MinecraftServerBedro<br>root 233579 0.2 0.1 11968 1632 ? Ds 14:11 0:02 \/usr\/sbin\/sshd -D -o AuthorizedKeysCommand<br>root 233596 0.1 0.1 10220 1960 ? S 14:30 0:00 \/usr\/sbin\/CRON -f<br>ubuntu 233598 0.8 0.2 10816 2792 pts\/0 R+ 14:31 0:01 ps -aux<br>root 233601 2.2 0.0 11868 920 ? Ds 14:33 0:01 \/usr\/sbin\/sshd -D -o AuthorizedKeysCommand<br>ubuntu@ip-172-31-45-138:\/var\/www\/html$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>- Restarted EC2 from the AWS web console for recovery<\/strong><br>I deleted WordPress, re-extracted it, dropped the WordPress database, and recreated it from scratch.<br>Once I did that, it finished instantly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>- Deleting WordPress<\/strong>Just remove the files using `sudo rm -r wordpress`.<br><strong>- Deleting the DB<\/strong>Done via query.<br>$ sudo mysql -u root -p<br>Log into the console with this command.<br>Use `show databases;` to display databases. Remember that `databases` is plural, and the command won't be accepted without a semicolon at the end.<br>If you hit enter without typing \";\", just type \";\" and hit enter on the next line.<br>The query to delete the database is `drop database wordpress`<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$ sudo mysql<br>Welcome to the MariaDB monitor. Commands end with ; or g.<br>Your MariaDB connection id is 46<br>Server version: 10.3.34-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MariaDB [(none)]&gt; show databases<br>-&gt; ;<br>+\u2014\u2014\u2014\u2014\u2014\u2014\u2013+<br>| Database |<br>+\u2014\u2014\u2014\u2014\u2014\u2014\u2013+<br>| information_schema |<br>| mysql |<br>| performance_schema |<br>| wordpress |<br>+\u2014\u2014\u2014\u2014\u2014\u2014\u2013+<br>4 rows in set (0.000 sec)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MariaDB [(none)]&gt; drop database wordpress<br>-&gt; ;<br>Query OK, 11 rows affected (0.092 sec)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MariaDB [(none)]&gt; show databases;<br>+\u2014\u2014\u2014\u2014\u2014\u2014\u2013+<br>| Database |<br>+\u2014\u2014\u2014\u2014\u2014\u2014\u2013+<br>| information_schema |<br>| mysql |<br>| performance_schema |<br>+\u2014\u2014\u2014\u2014\u2014\u2014\u2013+<br>3 rows in set (0.000 sec)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u25a0 It Works!<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/05\/wordpress\u3067\u304d\u305f\uff01.png\" alt=\"\" class=\"wp-image-29\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">- Finally, checked storage capacity... Huh? Storage went up. Did a reboot clean something up?<br>$ df \/<br>Filesystem 1K-blocks Used Available Use% Mounted on<br>\/dev\/root 8065444 4733108 3315952 59% \/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">- Sure enough, accessing `http:\/\/xxx.com\/`<strong>pulls up the default `index.html`.<\/strong><br>This is because I installed it in `\/var\/www\/html\/wordpress`.<br>Apparently, adjusting WordPress settings, editing `index.php`, and placing `index.php` directly under `html` would fix it, but what should I do?!<br>Having everything directly under `html\/` seems easier to maintain moving forward.<br>Is deleting the DB and starting over too much of a hassle?<br>I'll delete the original `\/html\/index.html`. Otherwise, it takes priority.<br>Once deleted, it read `index.php`.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The one in `\/var\/www\/html\/wordpress`<br>doesn't work if you copy its `index.php` over. It just won't run.<br>However, accessing `http:\/\/xxxx\/wordpress\/` shows a 404 Not Found in the center.<br>Everything else works, though.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Conclusion: Dealing with all these quirks is a pain, so I decided to run things by placing all contents of `wordpress\/*` directly under `\/var\/www\/html\/`.<br>To maintain the web pages,<br>go to `http:\/\/xxxx\/wp-admin\/`.<br>That's it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0 Implementation Phase - 2022\/03\/27 Picking up where we left off, it's time to actually set up the WordPress environment. Check out the previous article here. I'll be using this guide as a reference.https:\/\/qiita.com\/cherubim1111\/items\/b259493a39e36f5d524b I'm documenting the process as I go along for my own notes.For now, I'll try installing the software directly onto my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2606,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/175.41.248.22\/?p=1878","_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[3],"tags":[70,1306,67,68,69],"class_list":["post-6750","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-aws","tag-hosting","tag-server","tag-wordpress","tag-ec2","en-US"],"_links":{"self":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/comments?post=6750"}],"version-history":[{"count":2,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6750\/revisions"}],"predecessor-version":[{"id":6753,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6750\/revisions\/6753"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media\/2606"}],"wp:attachment":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media?parent=6750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/categories?post=6750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/tags?post=6750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}