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

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
主站蜘蛛池模板: 织金县| 玛纳斯县| 永仁县| 策勒县| 正安县| 全椒县| 金秀| 喜德县| 伊通| 虎林市| 武隆县| 工布江达县| 罗平县| 金山区| 湖口县| 庄河市| 神农架林区| 桂林市| 建水县| 中宁县| 德保县| 许昌市| 东乌珠穆沁旗| 石台县| 肇源县| 通州市| 文水县| 五指山市| 巴马| 湘潭县| 汉寿县| 江阴市| 汕头市| 文成县| 明星| 南木林县| 出国| 鸡西市| 温宿县| 寿光市| 宜章县|