![]() |
|
How to Install Cassandra on Ubuntu 18.04, 20.04, and 22.04 - Printable Version +- My Board (https://ellohost.com/forum) +-- Forum: Tutoriel EN (https://ellohost.com/forum/forumdisplay.php?fid=8) +--- Forum: Others (https://ellohost.com/forum/forumdisplay.php?fid=20) +--- Thread: How to Install Cassandra on Ubuntu 18.04, 20.04, and 22.04 (/showthread.php?tid=159) |
How to Install Cassandra on Ubuntu 18.04, 20.04, and 22.04 - aaron - 08-13-2023 How to Install Cassandra on Ubuntu How to Install Cassandra on Ubuntu 18.04, 20.04, and 22.04Users can easily install Cassandra with the help of the APT packages manager. Keep in mind that in order to install the latest version of Cassandra you will still need to include its package repository first. Step 1. Download and Install JavaCLICK HERE Step 2. Add the GPG KeyTo avoid issues with the repository, add the GPG key and increase the security of the repository. First, install wget if it’s not present on the system:
Then, add the primary key with the following command:
Step 3. Add the Cassandra Repository FileAdd the Cassandra repository to the system’s repository file. To do that, type the following command in the command line:
Step 4. Install Cassandra on UbuntuRefresh the repositories and then proceed to install Cassandra on Ubuntu:
Step 5. Enable and Start CassandraAt the end of the installation, enable the Cassandra service to start automatically when the system boots. In addition, start it manually for the first time with the following commands:
Step 6. Verify the InstallationTo check if the installation has been successful, check the status of the service. To do this, run the following command:
If successful and the Cassandra service is up and running, the output should look similar to the example below: ![]() |