Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user| #!/bin/sh | |
| # | |
| # Delete a VPC and its dependencies | |
| if [ -z "$1" ] then | |
| echo "usage: $0 <vpcid>" | |
| exit 64 | |
| fi | |
| vpcid="$1" |
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user| API: | |
| Type: AWS::ApiGateway::RestApi | |
| Properties: | |
| Name: | |
| Fn::Join: | |
| - " " | |
| - - Restorer Plambda | |
| - Ref: Stage | |
| Description: Experimental Restorer Play app in Lambda |
Note: Stop mysql service before exec
- sudo mkdir /var/run/mysqld; sudo chown mysql /var/run/mysqld
- sudo mysqld_safe --skip-grant-tables&
- sudo mysql --user=root mysql
- mysql> update user set authentication_string=PASSWORD('new-password') where user='root';
- mysql> update user set plugin="mysql_native_password" where User='root';
- mysql> flush privileges;
| # 1. Clear retry set | |
| Sidekiq::RetrySet.new.clear | |
| # 2. Clear scheduled jobs | |
| Sidekiq::ScheduledSet.new.clear | |
| # 3. Clear 'Processed' and 'Failed' jobs |
$ rails new <app_name> --api -C -T
Visit my blog or connect with me on Twitter
git init
or