---
# System prepended metadata

title: 巨量資料

---

# 巨量資料

sudo apt-get install net-tools
ifconfig

sudo apt install -y build-essential libssl-dev libffi-dev python3-dev python3-pip

---
mysql

cd /tmp
wget https://dev.mysql.com/get/mysql-apt-config_0.8.15-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.15-1_all.deb
sudo apt update
sudo apt install mysql-server mysql-client
sudo mysql –u root –p

---
mongodb

sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common

wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -

sudo add-apt-repository 'deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse'

sudo apt-get update

sudo apt-get install -y mongodb-org

sudo systemctl enable --now mongod

mongo --eval 'db.runCommand({ connectionStatus: 1 })'

---


sudo apt-get install jupyter
pip3 install obspy
pip3 install PyMySQL
pip3 install pymongo
pip3 install psutil
pip3 install matplotlib

jupyter notebook --ip=192.168.43.138