第1回 JAWS-UG静岡 勉強会 AWSハンズオン
「AWSアカウント作成〜EC2ログイン」

15,096 views

Published on

2011.11.27におこなったJAWS-UG浜松勉強会で行ったハンズオンの資料です。

Published in: Technology, Business
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total views
15,096
On SlideShare
0
From Embeds
0
Number of Embeds
11,440
Actions
Shares
0
Downloads
15
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

第1回 JAWS-UG静岡 勉強会 AWSハンズオン
「AWSアカウント作成〜EC2ログイン」

  1. 1. 1 JAWS-UG AWSAWS EC2 kaz@cloudpack.jp 2011.11.27
  2. 2. : cloudpack @kaz_goto JAWS-UG: facebook.com/kaz.goto new! AWS : RDS Multi-AZ (Oracle)→ (bA)→ IT (WIRED VISION)→→ (cloudpack) 2
  3. 3. E-mail ID PIN Firefox ssh vi or nano 3
  4. 4. 1. AWS2. EC23. EC24. EC25. WordPress 4
  5. 5. 5
  6. 6. 11 1 6
  7. 7. AWS Amazon SimpleDB SQS SNS1 7
  8. 8. AWS 8
  9. 9. AWS1. AWS2.3.4.5.6. 9
  10. 10. http://aws.amazon.com/jp/ 10
  11. 11. 11
  12. 12. 12
  13. 13. 13
  14. 14. 14
  15. 15. 15
  16. 16. 16
  17. 17. 17
  18. 18. 18
  19. 19. 19
  20. 20. 20
  21. 21. EC2 21
  22. 22. EC21.2. 22
  23. 23. 23
  24. 24. 24
  25. 25. 25
  26. 26. 26
  27. 27. EC2 27
  28. 28. EC21. Management Console2. Management Console3.4. SSH5.6. 28
  29. 29. 29
  30. 30. EC2 30
  31. 31. AZ32
  32. 32. 33
  33. 33. Amazon Linux 34
  34. 34. 35
  35. 35. 36
  36. 36. 37
  37. 37. 38
  38. 38. 39
  39. 39. 40
  40. 40. EC241
  41. 41. EC2Web 42
  42. 42. EC21.2. SSH3.4. Web Apache5. Web Apache 43
  43. 43. 44
  44. 44. SSH$ chmod 600 default-tokyo.pem$ ssh -i default-tokyo.pem ec2-user@ 45
  45. 45. $ sudo yum update -y 46
  46. 46. 47
  47. 47. Web Apache$ sudo yum install -y httpd 48
  48. 48. $ sudo /etc/init.d/httpd start$ sudo chkconfig httpd on Web sudo /etc/init.d/httpd start sudo chkconfig httpd on 49
  49. 49. 50
  50. 50. 80 (HTTP)51
  51. 51. 52
  52. 52. WordPress 53
  53. 53. WordPress1. PHP/MySQL2. MySQL &DB3. WordPress4. WordPress5. WordPress6. 54
  54. 54. MySQL PHP$ sudo yum install -y php mysql-serverphp-mysql php-mbstring Web sudo /etc/init.d/httpd restart $ sudo /etc/init.d/httpd restart 55
  55. 55. MySQL$ sudo /etc/init.d/mysqld start $ sudo chkconfig mysqld on MySQL sudo chkconfig mysqld on 56
  56. 56. WordPress wp wpcreate database wp default charset utf8;grant all on wp.* to wp@localhost identifiedby wp; 57
  57. 57. http://ja.wordpress.org/ 58
  58. 58. WordPress$ sudo curl -O http://ja.wordpress.org/wordpress-3.2.1-ja.tar.gz$ sudo tar zxf wordpress-3.2.1-ja.tar.gz$ cd wordpress$ sudo cp wp-config-sample.php wp-config.php$ sudo vi wp-config.php 59
  59. 59. wp-config.phpDB_NAME DB_PASSWORD DB_HOST wp 60
  60. 60. http:// /wordpress/wp-admin/install.php 61
  61. 61. WordPress62
  62. 62. 63

×