官术网_书友最值得收藏!

Installing on Debian-based systems (Ubuntu)

To install Cassendra on Debian-based systems (Ubuntu), perform the following steps:

  1. Add the repository to the /etc/apt/sources.list.d/cassandra.sources.list:
        $ echo "deb http://debian.datastax.com/community stable main" |  
sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
  1. Add the DataStax repository key to your aptitude trusted keys:
        $ curl -L https://debian.datastax.com/debian/repo_key | sudo  
apt-key add -
  1. Install the latest package:
        $ sudo apt-get update
$ sudo apt-get install dsc30
  1. Start Cassandra:
        $ sudo service cassandra start
  1. Verify the Cassandra installation:
        $ nodetool status

Your result should look something like the preceding except for a different Host ID.

  1. Stop Cassandra:
        $ sudo service cassandra stop
主站蜘蛛池模板: 裕民县| 通道| 唐河县| 澄江县| 德州市| 庆云县| 大同市| 雅江县| 宾阳县| 兴国县| 韩城市| 漠河县| 砚山县| 凤阳县| 南阳市| 永年县| 利津县| 独山县| 江油市| 锡林郭勒盟| 虎林市| 简阳市| 新营市| 依安县| 新建县| 保山市| 伊宁市| 新平| 敦化市| 子洲县| 喀喇沁旗| 婺源县| 余姚市| 宁海县| 二手房| 河北省| 五家渠市| 凤冈县| 万山特区| 安化县| 山东省|