ceph/doc/radosgw/manual-install.rst
John Wilkins 18cf1b6d61 :doc: Usage consistent with Tyler's notes.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-09-17 16:01:36 -07:00

38 lines
1.3 KiB
ReStructuredText

======================================
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. ::
sudo apt-get update && sudo apt-get install -y apache2 libapache2-mod-fastcgi
.. 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::
sudo apt-get install -y --force-yes radosgw