{"id":6754,"date":"2022-03-27T14:07:10","date_gmt":"2022-03-27T05:07:10","guid":{"rendered":"https:\/\/the-world-star.com\/?p=6754"},"modified":"2026-11-21T12:40:50","modified_gmt":"2026-11-21T03:40:50","slug":"building-a-wordpress-environment-the-vision-planning-phase","status":"publish","type":"post","link":"https:\/\/the-world-star.com\/en\/server\/building-a-wordpress-environment-the-vision-planning-phase-6754\/","title":{"rendered":"Building a WordPress Environment: The Vision &#038; Planning Phase"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">March 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 on AWS EC2, and this post will be the first in a series documenting the journey. Essentially, this is just a personal memo for my hobbies, but I&#039;d be thrilled if it ends up helping someone else out, even just a little.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0 The Reason<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><br>My FC2 blog, &quot;I Want to Go Fishing Even in My Roadster,&quot; just won&#039;t get approved for Google AdSense.<br>Because my address verification straddled a house move and I left it sitting there, my Google AdSense application was rejected.<br>The existing content is way too massive to overhaul everything to meet their approval standards, so I want to start fresh, write about 8 articles, and hopefully breeze through the screening process this time.<br>Plus, I want to write about topics other than just fishing and cars.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Topics I Want to Write About<\/h3>\n\n\n<ul class=\"wp-block-list\">\n\n<li>My fresh impressions of experiencing Apple&#039;s ecosystem, especially right now using the iPad mini.<\/li>\n\n\n<li>Minecraft and running a Minecraft server.<\/li>\n\n\n<li>Plastic models\u2014Gunpla in particular\u2014and my thoughts on Gundam.<\/li>\n\n\n<li>Guitars and electronic DIY projects.<\/li>\n\n\n<li>Servers like AWS, and Linux.<\/li>\n\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\">I have diverse hobbies and want to leave behind a digital scrapbook of various things. I&#039;ve always loved writing and plan to keep at it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">*I probably need to make an effort to format this kind of stuff to make it more readable. Also, I tend to write casually in a colloquial style, so I need to keep a level of quality suitable for public viewing in mind. I&#039;ll figure this out as I go.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0 The Plan<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><br><strong>\u30fbChoosing the Server<\/strong><br>Initially, I started thinking about how I could break even on costs after the free tier of my AWS EC2 Minecraft server ended by using a blog and Google AdSense, so I&#039;m sticking with the AWS Minecraft server setup.<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, AWS EC2 doesn&#039;t seem ideal for a personal site intended for AdSense.<br>You get charged based on traffic, which makes costs unpredictable. Because of that, you have to defend against DDoS attacks yourself.<br>Cost-wise, paid blogging platforms are generally best and require zero maintenance.<br>That said, I get to use Amazon&#039;s world-class servers! Plus, it&#039;s free on the trial for a year. Cloud servers also seem fascinating and really tickle my thirst for knowledge, so I&#039;ve decided to give AWS a shot first.<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As for the Minecraft server mentioned earlier, I could run it on my daily-driver PC, a ThinkPad, but keeping the power on 24\/7 costs money\u2014though I&#039;ll write a separate post introducing that topic later\u2014so I somehow want to keep it hosted on an external server.<br>I also want to make it easy to share connection info with friends and handle maintenance operations!<br>    <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u30fbServer Configuration<\/strong><br>Even if I run AdSense, I probably won&#039;t put in an insane amount of effort, so to go from the red to breaking even, I&#039;m aiming for the absolute lowest cost. Ideally a t2.nano, though the free tier only covers the next step up, t2.micro.<br>To cut costs, I also want to run on as little storage as possible.<br>Should I use S3 just for single files or images? Based on my experiments so far, S3 is cheap storage-wise, but since you get charged per request, is it a bad fit for a website?<br>Even for images, 1GB a year should be plenty. So, I won&#039;t use S3 for now. -&gt; Addendum: This can be resolved by using CloudFront.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u30fbMy Skill Set<\/strong><br>I&#039;ve been familiar with university UNIX systems since my college days, using Sun SPARC OS and NeXTSTEP. At home, my environment was UNIX-based with the X68000 and FreeBSD. Even when forced to use Windows upon entering the corporate world, I immediately installed Cygwin, catch myself typing &quot;ls&quot; in the DOS prompt, and can only use Emacs as an editor.<br>Currently, I&#039;m writing this on Ubuntu\u2014I&#039;m a UNIX person through and through.<br>That said, I&#039;m not an expert; I&#039;ve only used it for client purposes and network servers, never really touching server-side infrastructure. I don&#039;t even know how to use vi.<br>A while ago, I wanted to play Minecraft with my daughter so we could play even when one of us wasn&#039;t around. When I looked into it, I found out Amazon&#039;s cloud\u2014AWS\u2014is free for a year, so I launched a Minecraft server on Ubuntu, which I was already comfortable with.<br>Later, driven by professional curiosity, I took a self-study company training course on Udemy and did some hands-on exercises building a full-spec AWS web server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u30fbResearching Necessary Software<\/strong><\/p>\n\n\n<ul class=\"wp-block-list\">\n\n<li>Apache2 \u2026 The famous and seemingly only(?) web server.<\/li>\n\n\n<li>WordPress \u2026 The rumored popular web tool, though I don&#039;t fully understand it yet.<\/li>\n\n\n<li>PHP \u2026 WordPress is written in PHP.<\/li>\n\n\n<li>MySQL or MariaDB \u2026 WordPress requires a database. I don&#039;t really get this part. Websites just link images directly inside HTML, so what does a database have to do with making searches fast?<\/li>\n\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\">*The difference between MySQL and MariaDB<br>&quot;MariaDB is a relatively recent fork of the MySQL project.<br>MySQL is owned and distributed by Oracle. MariaDB is completely open-source.&quot;<br>Ugh, Oracle gave us a hard time with Java too. Open-source is undefeated. MariaDB it is.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My main concern is how much storage space these software packages will consume.<br>They&#039;re just server programs, so each should only take about 20MB or so.<br>Databases are still a mystery to me.<br>I&#039;ll check disk usage with the `df` command every time I install a new piece of software.<br>Storage is already getting tight thanks to Minecraft backups.<br>If I look like I&#039;m running out, I&#039;ll just scale it up bit by bit.<br>Being able to scale incrementally is the beauty of AWS!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u30fbThe Domain<\/strong><br>I want a cool-sounding name, but...<br>For this experiment, I&#039;ll start by using the domain I already created and own: the-world-star.com.<br>I need to decide this quickly so that the accumulation of search index assets can begin once the site goes live.<br>Actually, I&#039;ve grown quite fond of this name and it feels just right.<br>One thing that bothers me is that people say it&#039;s better to avoid hyphens in domain names, as they can be hard to type. But even well-known brands like So-net use them.<br>Besides, people rarely type out URLs directly these days anyway.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Continue reading in the next article.<\/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\/setting-up-a-wordpress-environment-implementation-guide-6750\/\">Setting Up a WordPress Environment: Implementation Guide<\/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\t\u25a0 Implementation Phase - 2022\/03\/27 Picking up where we left off, it&#039;s time to actually set up the WordPress environment. Check out the previous article here. \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\/setting-up-a-wordpress-environment-implementation-guide-6750\/\" 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>","protected":false},"excerpt":{"rendered":"<p>March 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 on AWS EC2, and this post will be the first in a series documenting the journey. Essentially, this is just a personal memo for my hobbies, but [&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=9","_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[3],"tags":[69,70,1306,67,68],"class_list":["post-6754","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ec2","tag-aws","tag-hosting","tag-server","tag-wordpress","en-US"],"_links":{"self":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6754","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=6754"}],"version-history":[{"count":1,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6754\/revisions"}],"predecessor-version":[{"id":6755,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6754\/revisions\/6755"}],"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=6754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/categories?post=6754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/tags?post=6754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}