From 966da4fcc36431be81cfbc9d513239156507aa17 Mon Sep 17 00:00:00 2001 From: "Sivaramalingam, Janani (PG/T - Comp Sci & Elec Eng)" <js03432@surrey.ac.uk> Date: Sat, 10 Aug 2024 16:56:41 +0000 Subject: [PATCH] Add new file --- setup.bash | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 setup.bash diff --git a/setup.bash b/setup.bash new file mode 100644 index 0000000..7a85aea --- /dev/null +++ b/setup.bash @@ -0,0 +1,15 @@ +#!/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 -- GitLab