Skip to content

JosepharDev/alx-backend-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📖 alx-backend-storage.

📃 Topics Covered.

  1. MySQL advanced.
  2. MongoDB NoSQL database.
  3. Redis basic.

💻 Projects

Install mysql 5.7

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

👉 Go to project

🔧 Project setup.

## 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

👉 Go to project

Chnage my mind

🔧 Project setup.

## 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

👉 Go to project

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages