Changes between Version 8 and Version 9 of cs122b-2017-winter-project1
- Timestamp:
- Jan 18, 2017, 8:54:10 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cs122b-2017-winter-project1
v8 v9 90 90 3. Launch a new '''Ubuntu 14.04''' free-tier '''t2.micro''' instance. Notice that you need to generate and download a key to ssh to the machine, and it may take a few minutes for the instance to be initialized. 91 91 4. After the instance is running, you will see a public IP address assigned to it. Keep this IP: you are required to give us this IP to demo project 1. 92 5. When viewing the list of instances, you can click on the "connect" button, on the top to get instructions on how to use SSH to connect to the instance. By default, only the SSH port, 22, is open. In order to get other services (e.g., HTTP, HTTPS, and Tomcat) to be available to other machines, you will need to open the corresponding ports. To do so, when the instance is checked, select the security group, go to the "inbound" tab, and add more rules.92 5. When viewing the list of instances, you can click on the "connect" button, on the top to get instructions on how to use SSH to connect to the instance. By default, only the SSH port, 22, is open. In order to get other services (e.g., HTTP, HTTPS, and Tomcat) to be available to other machines, you will need to open the corresponding ports. '''To do so, when the instance is checked, select the security group, go to the "inbound" tab, and add more rules'''. 93 93 94 94 == Setup MySQL and !Apache/Tomcat on the AWS instance == … … 96 96 This part assumes you have SSH access to the Ubuntu 14.04 AWS instance. 97 97 1. [https://www.linode.com/docs/databases/mysql/how-to-install-mysql-on-ubuntu-14-04 Install MySQL]. 98 2. [https://help.ubuntu.com/lts/serverguide/httpd.html Install Apache Web server]. Open port 80.98 2. [https://help.ubuntu.com/lts/serverguide/httpd.html Install Apache Web server]. '''Open port 80'''. 99 99 3. [http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/ Install Java] [[BR]] 100 4. [https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-14-04 Install Tomcat]. You may skip the part of installing JDK. Setup its application app manager page and test it using the URL http://YOUR_PUBLIC_IP:8080/manager/html. Open port 8080. This part is a little tricky, so read the instructions carefully.100 4. [https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-14-04 Install Tomcat]. You may skip the part of installing JDK. Setup its application app manager page and test it using the URL http://YOUR_PUBLIC_IP:8080/manager/html. '''Open port 8080'''. This part is a little tricky, so read the instructions carefully. 101 101 102 102 Once you finish these steps, repeat tasks 1 - 3 on this instance.
