詳細検索
Avatar

maeno

Put Capistrano tasks to sleep until the new EC2 instance is fully launched

Put Capistrano tasks to sleep until the new EC2 instance is fully launched

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. ...

Initial setup of a newly created EC2 instance in Capistrano

Initial setup of a newly created EC2 instance in Capistrano

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. ...

SSH to a newly created EC2 instance in Capistrano

SSH to a newly created EC2 instance in Capistrano

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...

Things to keep in mind when deploying AWS EC2 instances in Capistrano

Things to keep in mind when deploying AWS EC2 instances in Capistrano

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. ...

Launching EC2 instances to different AvilabilityZones in Capistrano

Launching EC2 instances to different AvilabilityZones in Capistrano

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. ...

Try deploying WordPress with Capistrano3

Try deploying WordPress with Capistrano3

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". ...

Plugin performance verification when WordPress site becomes heavy

Plugin performance verification when WordPress site becomes heavy

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. ...

Eliminate nesting of associative arrays with only one element

Eliminate nesting of associative arrays with only one element

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. ...

Responding to UserAgent formatting changed in Internet Explorer 11

Responding to UserAgent formatting changed in Internet Explorer 11

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...

DEVLAB has been renewed.

DEVLAB has been renewed.

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...

Plugins that make it easy to multilingualize your WordPress site

Plugins that make it easy to multilingualize your WordPress site

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. ...

DEVLAB has migrated to an Nginx environment

DEVLAB has migrated to an Nginx environment

In the last week of March 2013, I was migrating the environment of the DEVLAB site without anyone knowing. ...