Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- common user of amazon cloud
- username:vmdd.hackveda@gmail.com
- password:bvp@12345
- steps:
- 1. create instanceEC2:Elastic computer cloud)
- 2. convert .pem into .ppk using puttygen softwaee
- privacy enchanced mail security certificate(.pem)
- putty private key(.ppk)
- commands used for virtual machine
- 1. to update all the things
- Sudo yum -y update
- 2. to install PHP
- Sudo yum install -y php
- 3. to install PHP libraries
- Sudo yum install php-devel php-mysql php-pdo
- 4. to install gcc compiler
- Sudo yum install gcc
- 5. to install mysql
- Sudo yum -y install mysql-server mysql
- 6. to start mysql
- Sudo service mysqld start
- 7. install apache server
- sudo yum -y install httpd
- 8. start apache server
- sudo service httpd start
- to let home page appear
- 1. check instance name like launc-wizard-26 for mehul
- 2. enter in security groups
- 3. select your wizard
- 4. edit it and add port 80 and save
- 5. will appear
- commands for html
- 1. cd /var/www/html
- 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