------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apache Cassandra is a free and open source NoSQL database management system that is designed to provide scalability, high availability, and uncompromised performance.
Website - https://cassandra.apache.org/
ArangoDB is a distributed, free, and open-source database with a flexible data model for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions. -
Website - https://www.arangodb.com/
Redis is an open-source, in-memory key/value store, used as a database, cache, and message broker. It's a distributed in-memory key-value database with optional durability. It supports common data structures such as string, hashes, lists, sets, bitmaps, sorted sets, HyperlogLogs, stream, and geospatial indexes with radius queries.
Website -https://redis.io/
RethinkDB is an open source, document based NoSQL database that stores the information in JSON format.
Website - https://rethinkdb.com/
CouchDB is a database that completely embraces the web. Store your data with JSON documents.
Website - https://couchdb.apache.org/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment: Ubuntu 20.04 LTS Hostname - www.yourdomain.com - ip Address - 192.168.1.20
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
apt update ; apt install -y build-essential net-tools curl git software-properties-common
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
installing Cassandra -
echo "deb https://downloads.apache.org/cassandra/debian 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
curl https://downloads.apache.org/cassandra/KEYS | sudo apt-key add -
apt-get update ; apt-get install cassandra -y
systemctl daemon-reload ; systemctl start cassandra
cqlsh
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
installing ArangoDB -
echo 'deb https://download.arangodb.com/arangodb34/DEBIAN/ /' | sudo tee /etc/apt/sources.list.d/arangodb.list
wget -q https://download.arangodb.com/arangodb34/DEBIAN/Release.key -O- | sudo apt-key add -
apt update ; apt -y install apt-transport-https
apt -y install arangodb3
systemctl start arangodb3 ; systemctl enable arangodb3
arangosh
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
apt install redis-server php-redis -y
sudo gedit /etc/redis/redis.conf &>/dev/null
maxmemory 256mb
maxmemory-policy allkeys-lru
systemctl enable redis-server ; systemctl restart redis-server
redis-cli ping && redis-cli ping "Hello Redis"
redis-cli
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
installing couchdb -
apt-get install -y apt-transport-https gnupg ca-certificates
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys \
8756C4F765C9AC3CB6B85D62379CE192D401AB61
echo "deb https://apache.bintray.com/couchdb-deb focal main" \
| sudo tee -a /etc/apt/sources.list.d/couchdb.list
apt update ; apt install -y couchdb
http://127.0.0.1:5984/_utils/
admin / StrongPass
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
installing Rethinkdb -
source /etc/lsb-release && echo "deb https://download.rethinkdb.com/repository/ubuntu-$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo apt-key add -
apt-get update ; apt-get install rethinkdb -y
cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
nano /etc/rethinkdb/instances.d/instance1.conf
http-port=8080
systemctl restart rethinkdb ; systemctl enable rethinkdb
http://127.0.0.1:8080/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment