2012-06-26 15:21:05 +00:00
|
|
|
======================================
|
|
|
|
Install Apache, FastCGI and RADOS GW
|
|
|
|
======================================
|
|
|
|
|
|
|
|
.. note: If you deploy Ceph with Chef cookbooks, you may skip this section.
|
|
|
|
|
|
|
|
To install RADOS Gateway, you must install Apache and FastCGI first. ::
|
|
|
|
|
2012-09-19 23:24:12 +00:00
|
|
|
sudo apt-get update && sudo apt-get install apache2 libapache2-mod-fastcgi
|
2012-06-26 15:21:05 +00:00
|
|
|
|
|
|
|
.. note:: The Ceph community provides a slightly optimized version of the
|
|
|
|
``apache2`` and ``fastcgi`` packages. The material difference is that
|
|
|
|
the Ceph packages are optimized for the ``100-continue`` HTTP response,
|
|
|
|
where the server determines if it will accept the request by first
|
|
|
|
evaluating the request header. See `RFC 2616, Section 8`_ for details
|
|
|
|
on ``100-continue``.
|
|
|
|
|
|
|
|
.. _RFC 2616, Section 8: http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html
|
|
|
|
|
|
|
|
Enable the URL rewrite modules for Apache and FastCGI. For example::
|
|
|
|
|
|
|
|
sudo a2enmod rewrite
|
|
|
|
sudo a2enmod fastcgi
|
|
|
|
|
|
|
|
By default, the ``/etc/apache2/httpd.conf`` file is blank. Add a line for the
|
|
|
|
``ServerName`` and provide the fully qualified domain name of the host where
|
|
|
|
you will install RADOS GW. For example::
|
|
|
|
|
|
|
|
ServerName {fqdn}
|
|
|
|
|
|
|
|
Restart Apache so that the foregoing changes take effect. ::
|
|
|
|
|
|
|
|
sudo service apache2 restart
|
|
|
|
|
|
|
|
Then, install RADOS Gateway. For example::
|
|
|
|
|
2012-09-19 23:24:12 +00:00
|
|
|
sudo apt-get install radosgw
|