summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/rubygem-packages.sh6
-rw-r--r--files/website_apache.conf15
2 files changed, 21 insertions, 0 deletions
diff --git a/files/rubygem-packages.sh b/files/rubygem-packages.sh
new file mode 100644
index 0000000..150e01d
--- /dev/null
+++ b/files/rubygem-packages.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+#
+echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
+echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
+echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
+source ~/.bashrc
diff --git a/files/website_apache.conf b/files/website_apache.conf
new file mode 100644
index 0000000..99f5642
--- /dev/null
+++ b/files/website_apache.conf
@@ -0,0 +1,15 @@
+# Ensure that Apache listens on port 80
+Listen 80
+<VirtualHost *:80>
+ DocumentRoot "/www/example1"
+ ServerName www.example.com
+
+ # Other directives here
+</VirtualHost>
+
+<VirtualHost *:80>
+ DocumentRoot "/www/example2"
+ ServerName www.example.org
+
+ # Other directives here
+</VirtualHost>