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

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
主站蜘蛛池模板: 江北区| 安义县| 新兴县| 太谷县| 高雄市| 石台县| 托里县| 靖安县| 大厂| 八宿县| 齐齐哈尔市| 通辽市| 沽源县| 新兴县| 土默特左旗| 清水河县| 锡林郭勒盟| 嵊州市| 五指山市| 务川| 临泉县| 宁远县| 崇信县| 左云县| 常熟市| 高要市| 定边县| 民乐县| 柳河县| 菏泽市| 峡江县| 辉县市| 靖江市| 常熟市| 灯塔市| 黄山市| 凤台县| 台安县| 饶阳县| 礼泉县| 佛冈县|