If you run a task to SSH access a newly created EC2 instance in Capistrano without fully upping it, the task will not complete with an error somewhere. Therefore, we created a task that checks the startup status of the EC2 instance to be deployed, and if it is not fully launched, it sleeps and waits for startup. ...
In this section, we will create tasks to initialize the server environment, such as creating a maintenance user, setting a password for the initial user, and setting the hostname of the server when logging in to a newly created EC2 instance in Capistrano for the first time via SSH. ...
Continuing from last time, let's SSH in to the newly created EC2 instance in Capistrano. First, AWS creates a key pair for the new instance. From the EC2 menu in the AWS Management Console, select Key...
The newly created EC2 instance in the previous deployment configuration file did not have a key pair, security group, etc., so I couldn't SSH access the created instance as it was... 1orz After that, I modified various deployment settings and was able to log in to the EC2 instance I created with SSH, so I wrote a memorandum about how it happened. ...
Last time, > Next time, I'm going to try to create a database and insert the initial settings as a last-minute task, then rewrite the WordPress configuration file and download the WordPress theme from GitHub. However, due to my convenience, I used Capistrano3 to create an AWS EC2 instance, so I would like to leave the TIPS. ...
I have used Capistrano3 to deploy the latest version of WordPress on my own host, so I will keep a log of the steps and advance my understanding of the deployment tool "Capistrano". ...
This is a memorandum from when I was building a multilingual site with WordPress, and I was doing performance tuning for the entire construction site when the integration test was almost over. ...
WordPress functions (especially in the $wpdb class, etc. When using the 'get_results()' method to get the value of the DB, etc.), and if the return value array has only one element but is an associative array, there are quite a few cases where nested loop processing is used when retrieving the value. ...
When we received a report that a problem occurred in the Internet Explorer 11 (hereinafter referred to as IE11) browser on a system that had been running without problems until now, we found that the user agent format had been changed in IE11 and the browser judgment process was treated as an "unknown browser". Until now, the user-agent browser version token (UA's "MSIE...
2014 Happy New Year. We took advantage of the year-end and New Year holidays to renew the DEVLAB site. This is the third renewal, but this time the WordPress theme itself has been recreated, so it has become a fairly large-scale renewal. In the second half of the new year, I gave up my family service and worked all night every day...
Figure 1: qTranslate plugin Although WordPress incorporates GNU's Gettext and supports multiple languages, it encounters various difficult problems when trying to achieve multilingualism on a single site. There was a request for multilingualization in a certain development project, so I was researching various language plug-ins and found the "qTranslate" plug-in. ...
In the last week of March 2013, I was migrating the environment of the DEVLAB site without anyone knowing. ...