Author: spod Date: Thu Apr 20 18:18:20 2017 New Revision: 1792104 URL: http://svn.apache.org/viewvc?rev=1792104&view=rev Log: Fix RPM download link
Modified: cassandra/site/publish/download/index.html cassandra/site/src/download.md Modified: cassandra/site/publish/download/index.html URL: http://svn.apache.org/viewvc/cassandra/site/publish/download/index.html?rev=1792104&r1=1792103&r2=1792104&view=diff ============================================================================== --- cassandra/site/publish/download/index.html (original) +++ cassandra/site/publish/download/index.html Thu Apr 20 18:18:20 2017 @@ -2,12 +2,6 @@ <html> - - - - - - <head> @@ -121,60 +115,66 @@ released against the most recent bug fix <h3 id="installation-from-debian-packages">Installation from Debian packages</h3> <ul> - <li>For tick-tock releases, the <code><release series></code> is the release number, without dot, and with an appended <code>x</code>, so <code>31x</code>, -<code>32x</code>, â¦</li> + <li>For tick-tock releases, the <code class="highlighter-rouge"><release series></code> is the release number, without dot, and with an appended <code class="highlighter-rouge">x</code>, so <code class="highlighter-rouge">31x</code>, +<code class="highlighter-rouge">32x</code>, â¦</li> <li> - <p>For older pre-tick-tock releases, the <code><release series></code> is the major version number, without dot, and with an -appended <code>x</code>. So currently it can one of <code>21x</code>, <code>22x</code> or <code>30x</code>.</p> + <p>For older pre-tick-tock releases, the <code class="highlighter-rouge"><release series></code> is the major version number, without dot, and with an +appended <code class="highlighter-rouge">x</code>. So currently it can one of <code class="highlighter-rouge">21x</code>, <code class="highlighter-rouge">22x</code> or <code class="highlighter-rouge">30x</code>.</p> </li> - <li>Add the Apache repository of Cassandra to <code>/etc/apt/sources.list.d/cassandra.sources.list</code>, for example for version 3.10:</li> + <li>Add the Apache repository of Cassandra to <code class="highlighter-rouge">/etc/apt/sources.list.d/cassandra.sources.list</code>, for example for version 3.10:</li> </ul> -<pre><code>echo "deb http://www.apache.org/dist/cassandra/debian 310x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list +<div class="highlighter-rouge"><pre class="highlight"><code>echo "deb http://www.apache.org/dist/cassandra/debian 310x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list </code></pre> +</div> <ul> <li>Add the Apache Cassandra repository keys:</li> </ul> -<pre><code>curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add - +<div class="highlighter-rouge"><pre class="highlight"><code>curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add - </code></pre> +</div> <ul> <li>Update the repositories:</li> </ul> -<pre><code>sudo apt-get update +<div class="highlighter-rouge"><pre class="highlight"><code>sudo apt-get update </code></pre> +</div> <ul> <li>If you encounter this error:</li> </ul> -<pre><code>GPG error: http://www.apache.org 310x InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A278B781FE4B2BDA +<div class="highlighter-rouge"><pre class="highlight"><code>GPG error: http://www.apache.org 310x InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A278B781FE4B2BDA </code></pre> +</div> <p>Then add the public key A278B781FE4B2BDA as follows:</p> -<pre><code>sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key A278B781FE4B2BDA +<div class="highlighter-rouge"><pre class="highlight"><code>sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key A278B781FE4B2BDA </code></pre> -<p>and repeat <code>sudo apt-get update</code>. The actual key may be different, you get it from the error message itself. For a +</div> +<p>and repeat <code class="highlighter-rouge">sudo apt-get update</code>. The actual key may be different, you get it from the error message itself. For a full list of Apache contributors public keys, you can refer to <a href="https://www.apache.org/dist/cassandra/KEYS">https://www.apache.org/dist/cassandra/KEYS</a>.</p> <ul> <li>Install Cassandra:</li> </ul> -<pre><code>sudo apt-get install cassandra +<div class="highlighter-rouge"><pre class="highlight"><code>sudo apt-get install cassandra </code></pre> +</div> <ul> - <li>You can start Cassandra with <code>sudo service cassandra start</code> and stop it with <code>sudo service cassandra stop</code>. + <li>You can start Cassandra with <code class="highlighter-rouge">sudo service cassandra start</code> and stop it with <code class="highlighter-rouge">sudo service cassandra stop</code>. However, normally the service will start automatically. For this reason be sure to stop it if you need to make any configuration changes.</li> - <li>Verify that Cassandra is running by invoking <code>nodetool status</code> from the command line.</li> - <li>The default location of configuration files is <code>/etc/cassandra</code>.</li> - <li>The default location of log and data directories is <code>/var/log/cassandra/</code> and <code>/var/lib/cassandra</code>.</li> - <li>Start-up options (heap size, etc) can be configured in <code>/etc/default/cassandra</code>.</li> + <li>Verify that Cassandra is running by invoking <code class="highlighter-rouge">nodetool status</code> from the command line.</li> + <li>The default location of configuration files is <code class="highlighter-rouge">/etc/cassandra</code>.</li> + <li>The default location of log and data directories is <code class="highlighter-rouge">/var/log/cassandra/</code> and <code class="highlighter-rouge">/var/lib/cassandra</code>.</li> + <li>Start-up options (heap size, etc) can be configured in <code class="highlighter-rouge">/etc/default/cassandra</code>.</li> </ul> <h3 id="installation-from-rpm-packages">Installation from RPM packages</h3> @@ -184,22 +184,24 @@ configuration changes.</li> <p>The following versions are currently available for download:</p> <ul> - <li>TODO: 3.0.13 (pgp, md5 and sha1)</li> + <li><a href="http://www.apache.org/dyn/closer.lua/cassandra/redhat/30x/cassandra-3.0.13-1.noarch.rpm">3.0.13</a> (md5: <code class="highlighter-rouge">7a100653112a8a79d09fbf18dbc3f7d8</code> sha1: <code class="highlighter-rouge">3b9e2dfa94614af7d7f7891eb95982719e1a8fb4</code>)</li> </ul> <p>Any instructions have been tested with CentOS 7 and should work for all Redhat based distributions. Please see note on end of this section on how to report any issues.</p> <p>Start Cassandra (will not start automatically):</p> -<pre><code>service cassandra start +<div class="highlighter-rouge"><pre class="highlight"><code>service cassandra start </code></pre> +</div> -<p>Systemd based distributions may require to run <code>systemctl daemon-reload</code> once to make Cassandra available as a systemd service. This should happen automatically by running the command above.</p> +<p>Systemd based distributions may require to run <code class="highlighter-rouge">systemctl daemon-reload</code> once to make Cassandra available as a systemd service. This should happen automatically by running the command above.</p> <p>Make Cassandra start automatically after reboot:</p> -<pre><code>chkconfig cassandra on +<div class="highlighter-rouge"><pre class="highlight"><code>chkconfig cassandra on </code></pre> +</div> <p>Please note that official RPMs for Apache Cassandra only have been available recently and are not tested thoroughly on all platforms yet. We appreciate your feedback and support and ask you to post details on any issues in the <a href="https://issues.apache.org/jira/browse/CASSANDRA-13433">corresponding Jira ticket</a>.</p> @@ -207,8 +209,9 @@ configuration changes.</li> <p>Development is done in the Apache Git repository. To check out a copy:</p> -<pre><code>git clone http://git-wip-us.apache.org/repos/asf/cassandra.git +<div class="highlighter-rouge"><pre class="highlight"><code>git clone http://git-wip-us.apache.org/repos/asf/cassandra.git </code></pre> +</div> </div> </div> Modified: cassandra/site/src/download.md URL: http://svn.apache.org/viewvc/cassandra/site/src/download.md?rev=1792104&r1=1792103&r2=1792104&view=diff ============================================================================== --- cassandra/site/src/download.md (original) +++ cassandra/site/src/download.md Thu Apr 20 18:18:20 2017 @@ -86,7 +86,7 @@ Cassandra can currently only be installe The following versions are currently available for download: -* TODO: 3.0.13 (pgp, md5 and sha1) +* [3.0.13](http://www.apache.org/dyn/closer.lua/cassandra/redhat/30x/cassandra-3.0.13-1.noarch.rpm) (md5: `7a100653112a8a79d09fbf18dbc3f7d8` sha1: `3b9e2dfa94614af7d7f7891eb95982719e1a8fb4`) Any instructions have been tested with CentOS 7 and should work for all Redhat based distributions. Please see note on end of this section on how to report any issues.