Hi

Hope it will help :


https://cassandra.apache.org/doc/trunk/cassandra/getting_started/installing.html#installing-the-rpm-packages


   1.

   Add the Apache repository of Cassandra to the file
   /etc/yum.repos.d/cassandra.repo (as the root user). The latest major
   version is 4.0 and the corresponding distribution name is 40x (with an
   "x" as the suffix). For older releases use 311x for C* 3.11 series, 30x for
   {30_version}, 22x for {22_version} and 21x for {21_version}. For
   example, to add the repository for version 4.0 (40x):

[cassandra]
name=Apache Cassandra
baseurl=https://downloads.apache.org/cassandra/redhat/40x/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.apache.org/cassandra/KEYS


   1.

   Update the package index from sources:

$ sudo yum update


   1.

   Install Cassandra with YUM:

$ sudo yum install cassandra

A new Linux user cassandra will get created as part of the installation.
The Cassandra service will also be run as this user.

   1.

   Start the Cassandra service:

$ sudo service cassandra start


Le mar. 9 août 2022, 14:17, Amit Patel via user <user@cassandra.apache.org>
a écrit :

> Hi All,
>
>
>
> We are facing the issue on RHEL7 as well , we have java8 installed on the
> system but when I tried to install yum install Cassandra or even
> localinstall(downloaded rpm) gives similar error as below .
>
>
>
> There are bug report  for this issue (CASSANDRA-17765
> <https://issues.apache.org/jira/browse/CASSANDRA-17765>) but not sure
> when it can resolve.
>
> #yum localinstall cassandra-4.0.5-1.noarch.rpm
> Loaded plugins: product-id, search-disabled-repos, subscription-manager
> Examining cassandra-4.0.5-1.noarch.rpm: cassandra-4.0.5-1.noarch
> Marking cassandra-4.0.5-1.noarch.rpm to be installed
> Resolving Dependencies
> --> Running transaction check
> ---> Package cassandra.noarch 0:4.0.5-1 will be installed
> *Error: Invalid version flag: or*
>
> Edit
> <https://issues.apache.org/jira/secure/EditComment!default.jspa?id=13472721&commentId=17576846>
> Delete
> <https://issues.apache.org/jira/secure/DeleteComment!default.jspa?id=13472721&commentId=17576846>
>
>
>
> We have used the below repo:
>
>
>
> [cassandra]
>
> name=Apache Cassandra
>
> baseurl=https://downloads.apache.org/cassandra/redhat/40x/
>
> gpgcheck=1 repo_gpgcheck=1
>
> gpgkey=https://downloads.apache.org/cassandra/KEYS
>
>
>
> I tried older version but no package available on  Index of
> /cassandra/redhat/40x (apache.org)
> <https://downloads.apache.org/cassandra/redhat/40x/>
>
> yum install cassandra-4.0.4*
>
> No package cassandra-4.0.4* available.
>
>
>
> And broken package
>
>
>
> yum install cassandra-4*
>
> Loaded plugins: product-id, search-disabled-repos, subscription-manager
>
> Resolving Dependencies
>
> --> Running transaction check
>
> ---> Package cassandra.noarch 0:4.0.5-1 will be installed
>
> Error: Invalid version flag: or
>
>
>
> How Can I install the stable version?  Can someone please guide, What is
> the best practice to install cassandra on production server rpm package or
> tarball?
>
>
>
>
>
> Thanks & Kind regards,
>
> Amit Patel
>
>
>
>
>
>
>
>
>
>
>
> This e-mail message, including any attachments transmitted with it, is
> CONFIDENTIAL and may contain legally privileged information. This message is
> intended solely for the use of the individual or entity to whom it is 
> addressed. If
> you have received this message in error, please notify us immediately and 
> delete
> it from your system. Please visit our website to read the full disclaimer 
> www.euroclear.com/disclaimer and for Euroclear Group company
> information www.euroclear.com/aboutus
>
>

Reply via email to