mehul15

Commands

Jun 23rd, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. common user of amazon cloud
  2. username:vmdd.hackveda@gmail.com
  3. password:bvp@12345
  4. steps:
  5. 1. create instanceEC2:Elastic computer cloud)
  6. 2. convert .pem into .ppk using puttygen softwaee
  7. privacy enchanced mail security certificate(.pem)
  8. putty private key(.ppk)
  9.  
  10.  
  11.  
  12.  
  13.  
  14. commands used for virtual machine
  15. 1. to update all the things
  16. Sudo yum -y update
  17. 2. to install PHP
  18. Sudo yum install -y php
  19. 3. to install PHP libraries
  20. Sudo yum install php-devel php-mysql php-pdo
  21. 4. to install gcc compiler
  22. Sudo yum install gcc
  23. 5. to install mysql
  24. Sudo yum -y install mysql-server mysql
  25. 6. to start mysql
  26. Sudo service mysqld start
  27. 7. install apache server
  28. sudo yum -y install httpd
  29. 8. start apache server
  30. sudo service httpd start
  31.  
  32.  
  33.  
  34.  
  35. to let home page appear
  36. 1. check instance name like launc-wizard-26 for mehul
  37. 2. enter in security groups
  38. 3. select your wizard
  39. 4. edit it and add port 80 and save
  40. 5. will appear
  41.  
  42.  
  43.  
  44. commands for html
  45. 1. cd /var/www/html
  46. 2. sudo nano index.html(will save a file in name of index and html file will appear)
Add Comment
Please, Sign In to add comment