Skip to content
Snippets Groups Projects

Added the right file path

parent 966da4fc
No related branches found
No related tags found
Loading
#!/bin/bash
yum update -y
yum install cowsay java-1.8.0-openjdk* -y
yum install httpd -y
service httpd start
chkconfig httpd on
# next, add the extra disk space
mkfs -t ext4 /dev/xvdf
mkdir /space
mount /dev/xvdf /space
wget https://XXXXX.appspot.com/cacheavoid/hello.py -P /var/www/cgi-bin
chmod +x /var/www/cgi-bin/hello.py
wget https://gitlab.surrey.ac.uk/js03432/cloud-computing-cw/-/blob/main/val_sim.py-P /var/www/cgi-bin
chmod +x /var/www/cgi-bin/val_sim.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment