Changes

Jump to: navigation, search

OPS345 Lab 3

25 bytes added, 04:27, 2 January 2022
Remove public IP from the web server
* You can add a temporary public IP to an instance which does not get a public IP automatically: allocate a new elastic IP named "temporary_ip", and associate it with the www instance.
* Install httpd and php
* Attach the existing www-data volume to the www instance.
* Follow the steps in the
== Reconnect www-data ==
** Note that Attach the existing www-data was not deleted when volume to the original www was terminated. Attach it to www nowinstance.** All the data you created on the logical volume is still there, but your fstab is modifications are gone, add lv.* Follow the steps in the '''Mount your new LV on /var/www''' section above to permanently mount /dev/mapper/vg_www-lv_www on /var/www back into there.** Start httpd, everything should be back to as it waswith the ww VM.
== Disasociate the public ip from www ==

Navigation menu