In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
ScyllaDB installation configuration 1. Description: scylladb supports centos7.2 64-bit and above related information: http://docs.scylladb.com/getting-started/centos_rpm/#2. Install sudo yum remove-y abrtsudo yum install epel-release wgetsudo wget-O / etc/yum.repos.d/scylla.repo http://downloads.scylladb.com/rpm/centos/scylla-1.6.reposudo yum install scyllasudo scylla_setupDo you want to run kernel version check? [YES/no] yesDo you verify ScyllaDB packages installed? [YES/no] yesDo you want to enable ScyllaDB services? [YES/no] no / / does the configuration service boot Do you want to disable SELinux? [YES/ No] yesDo you want to setup bootloader options? [YES/no] yesDo you want to setup NTP? [YES/no] noDo you want to setup RAID and XFS? [YES/no] yes / / whether to configure a separate XFS partition as RAID # when testing, you can choose no > / dev/sdb1 / dev/sda1 / dev/sdb type 'done' to finish selection. Selected: / dev/sdb > doneDo you want to setup coredump? [YES/no] yesDo you want to setup sysconfig? [YES/no] yes > eth2 / / this network port will be taken over by DPDK. Do you want to optimize NIC queue settings?Do you want to setup IO configuration? [YES/no] yes Do you want to install node exporter, that exports prometheus data from the node? [YES/no] yesScyllaDB setup finished. Startup service: sudo systemctl start scylla-server.service View: nodetool status enters database environment: cqlsh### operation: keyspace has two strategies: create KEYSPACE rootdata2 WITH replication = {'class':' SimpleStrategy', 'replication_factor': 2} # replication policy: SimpleStrategy, redundant 2 data: CREATE KEYSPACE rootdata2 WITH REPLICATION = {'class':' NetworkTopologyStrategy', 'dc1': 3}; # replication policy: NetworkTopologyStrategy, redundant 3 data (configuration available) View key:describe rootdata2; create table using rootdata2: use rootdata2;create table blog (id timeuuid, title text, content text, tags list, category text, primary key (id)) INSERT INTO blog (id, title, tags) VALUES (now (), 'cassandra table test', [' cassandra','table']); INSERT INTO blog (id, title, tags) VALUES (now (), 'cassandra table test', [' cassandra','table']) USING TTL 222; delete a single keyspace:drop keyspace rootdata # # #
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.