Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #6462:Had a few problems using server_ubuntu #12

Merged
merged 1 commit into from
Apr 3, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions provision/server_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,21 @@ wget --quiet -O- "http://${KEYSERVER}/pks/lookup?op=get&search=0x${KEY}" | sudo
for RUDDER_VERSION in latest
do
if [ "${RUDDER_VERSION}" == "latest" ]; then
echo "deb http://www.rudder-project.org/apt-${RUDDER_VERSION}/ ${DEBIAN_RELEASE} main contrib non-free" > /etc/apt/sources.list.d/rudder.list
echo "deb http://www.rudder-project.org/apt-${RUDDER_VERSION}/ ${DEBIAN_RELEASE} main multiverse restricted universe" > /etc/apt/sources.list.d/rudder.list
else
echo "#deb http://www.rudder-project.org/apt-${RUDDER_VERSION}/ ${DEBIAN_RELEASE} main contrib non-free" >> /etc/apt/sources.list.d/rudder.list
echo "#deb http://www.rudder-project.org/apt-${RUDDER_VERSION}/ ${DEBIAN_RELEASE} main multiverse restricted universe" >> /etc/apt/sources.list.d/rudder.list
fi
done

# Update APT cache
aptitude update

apt-get install -y apache2

a2enmod version

service apache2 restart

#Packages required by Rudder
aptitude ${APTITUDE_ARGS} install rudder-server-root

Expand Down