Puppet - passenger: Difference between revisions
From ICO wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
sudo service apache2 restart | sudo service apache2 restart | ||
sudo gem install rack passenger | sudo gem install rack passenger | ||
sudo | sudo apt-get install zlib1g-dev | ||
sudo apt-get install libapr1-dev | sudo apt-get install libapr1-dev | ||
sudo apt-get install libaprutil1-dev | sudo apt-get install libaprutil1-dev | ||
sudo apt-get install apache2-threaded-dev | |||
sudo passenger-install-apache2-module | |||
sudo mkdir -p /usr/share/puppet/rack/puppetmasterd | sudo mkdir -p /usr/share/puppet/rack/puppetmasterd | ||
sudo mkdir /usr/share/puppet/rack/puppetmasterd/public /usr/share/puppet/rack/puppetmasterd/tmp | sudo mkdir /usr/share/puppet/rack/puppetmasterd/public /usr/share/puppet/rack/puppetmasterd/tmp | ||
sudo cp /usr/share/puppet/ext/rack/files/config.ru /usr/share/puppet/rack/puppetmasterd/ | sudo cp /usr/share/puppet/ext/rack/files/config.ru /usr/share/puppet/rack/puppetmasterd/ | ||
</source> | </source> |
Revision as of 10:53, 18 December 2013
sudo apt-get install apache2 ruby1.8-dev rubygems
sudo a2enmod ssl
sudo a2enmod headers
sudo service apache2 restart
sudo gem install rack passenger
sudo apt-get install zlib1g-dev
sudo apt-get install libapr1-dev
sudo apt-get install libaprutil1-dev
sudo apt-get install apache2-threaded-dev
sudo passenger-install-apache2-module
sudo mkdir -p /usr/share/puppet/rack/puppetmasterd
sudo mkdir /usr/share/puppet/rack/puppetmasterd/public /usr/share/puppet/rack/puppetmasterd/tmp
sudo cp /usr/share/puppet/ext/rack/files/config.ru /usr/share/puppet/rack/puppetmasterd/