lib-cherokee

by embreau
23 deployments · 0 still active · last rev. 6 years ago

Install latest version of Cherokee Web Server - Currently only working on Ubuntu.

Compatible with: No distros currently supported
						#!/bin/bash
# Install Cherokee Web Server from LaunchPad repository @ https://launchpad.net/~cherokee-webserver/+archive
# Currently only working on Ubuntu, RH comming soon.
# By Martin Brochu - embreau@gmail.com
# Version : 2010-04-06
#
# StackScriptID="370"


function install_cherokee_ubuntu {
	apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EBA7BD49
	echo "deb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu `lsb_release -c|awk {'print $2'}` main" >> /etc/apt/sources.list.d/cherokee.list
	echo "deb-src http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu `lsb_release -c|awk {'print $2'}` main" >> /etc/apt/sources.list.d/cherokee.list
	apt-get update
	aptitude -y install cherokee libcherokee-mod-admin
}