- MySQL advanced.
- MongoDB NoSQL database.
- Redis basic.
sudo apt install -f mysql-client=5.7* mysql-community-server=5.7* mysql-server=5.7*
# Check if installed
mysql --version
# Create project directory and readme.
mkdir ./alx-backend-storage/
touch ./alx-backend-storage/README.md
# Create project directory and readme.
mkdir ./0x00-MySQL_Advanced/
touch ./0x00-MySQL_Advanced/README.md
cd 0x00-MySQL_Advanced
## Install MongoDB 4.2 in Ubuntu
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" > /etc/apt/sources.list.d/mongodb-org-4.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org
...
sudo service mongod status
mongod start/running, process 3627
mongo --version
MongoDB shell version v4.2.8
git version: 43d25964249164d76d5e04dd6cf38f6111e21f5f
OpenSSL version: OpenSSL 1.1.1 11 Sep 2018
allocator: tcmalloc
modules: none
build environment:
distmod: ubuntu1804
distarch: x86_64
target_arch: x86_64
pip3 install pymongo
python3
>>> import pymongo
>>> pymongo.__version__
'3.10.1'
# Create project directory and readme.
mkdir ./0x01-NoSQL/
touch ./0x01-NoSQL/README.md
cd 0x01-NoSQL
## Install Redis on Ubuntu 18.04
$ sudo apt-get -y install redis-server
$ pip3 install redis
$ sed -i "s/bind .*/bind 127.0.0.1/g" /etc/redis/redis.conf
# Create project directory and readme.
mkdir ./0x02-redis_basic/
touch ./0x02-redis_basic/README.md
cd 0x02-redis_basic