This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
web:agtek_web_ec2_config [2018/08/07 20:00] mjallison |
web:agtek_web_ec2_config [2018/08/08 17:06] (current) mjallison |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Short recipe to configure EC2 for www.agtek.com ====== | ====== Short recipe to configure EC2 for www.agtek.com ====== | ||
- | * Allocate EC2 instance - Amazon Linux 2 instance (t2.small) as of 2018-08 | + | * Allocate EC2 instance - Use the ''Agtek Web Server'' private AMI |
- | * ''amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2'' | + | * This is pre-loaded with httpd, php, mysql |
- | * ''sudo yum install -y httpd mariadb-server'' | + | * Note that the mysql database is pre-loaded with old content. A dump / restore is required. |
- | * ''systemctl enable httpd'' | + | |
- | * ''systemctl enable mariadb'' | + | |
- | * ''systemctl start httpd'' | + | |
- | * ''systemctl start mariadb'' | + | |
* Create dump of database from old machine | * Create dump of database from old machine | ||
* Log into old machine | * Log into old machine |