Skip to content
Snippets Groups Projects
Commit 4dcbf903 authored by MJB's avatar MJB
Browse files

#37 downloading files from ftp (need to zip this in future) rather than in git...

#37 downloading files from ftp (need to zip this in future) rather than in git repo, updated infra to include clmc, checked basic reporting of metrics
parent f230a4fd
No related branches found
No related tags found
No related merge requests found
hosts: hosts:
- name: clmc-service
cpus: 1
memory: 2048
disk: "10GB"
forward_ports:
- guest: 8086
host: 8086
- guest: 8888
host: 8888
- guest: 9092
host: 9092
ip_address: "192.168.50.10"
install_script: "install-clmc-service.sh"
start_script: "start-clmc-service.sh"
- name: apache1 - name: apache1
cpus: 1 cpus: 1
memory: 2048 memory: 2048
......
...@@ -27,25 +27,26 @@ ...@@ -27,25 +27,26 @@
# Install apache # Install apache
sudo apt-get update sudo apt-get update
sudo apt-get -y install apache2 sudo apt-get -y install apache2
# Copy corrected configed over # Copy corrected configed over
# Servername # Servername
sudo rm /etc/apache2/apache2.conf sudo rm /etc/apache2/apache2.conf
sudo cp ./test/services/apache/apache2.conf /etc/apache2/apache2.conf sudo cp -rf ./test/services/apache/apache2.conf /etc/apache2/apache2.conf
# ports # ports
sudo rm /etc/apache2/ports.conf sudo rm /etc/apache2/ports.conf
sudo cp ./test/services/apache/ports.conf /etc/apache2/ports.conf sudo cp -rf ./test/services/apache/ports.conf /etc/apache2/ports.conf
# ports for server # ports for server
sudo rm /etc/apache2/sites-enabled/000-default.conf sudo rm /etc/apache2/sites-enabled/000-default.conf
sudo cp ./test/services/apache/000-default.conf /etc/apache2/sites-enabled/000-default.conf sudo cp -rf ./test/services/apache/000-default.conf /etc/apache2/sites-enabled/000-default.conf
sudo rm /etc/apache2/sites-available/000-default.conf sudo rm /etc/apache2/sites-available/000-default.conf
sudo cp ./test/services/apache/000-default.conf /etc/apache2/sites-available/000-default.conf sudo cp -rf ./test/services/apache/000-default.conf /etc/apache2/sites-available/000-default.conf
# Copy files for MPEG-DASH testing # Copy files for MPEG-DASH testing
sudo cp ./resources/videofile.mp4 /var/www/html/videofile.mp4 wget -r ftp://flame-rw:DR8ngj3ogSjd8gl@ftp.it-innovation.soton.ac.uk/media/videos/flame-video -P .
sudo cp ./resources/stream.mpd /var/www/html/stream.mpd mv ftp.it-innovation.soton.ac.uk/media/videos/flame-video/* /var/www/html
sudo cp -r ./resources/audio/* /var/www/html/audio rm -rf ftp.it-innovation.soton.ac.uk/media/videos/flame-video
sudo cp -r ./resources/video/* /var/www/html/video
sudo apachectl -k start sudo apachectl -k start
sudo apachectl -k restart sudo apachectl -k restart
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