---
# System prepended metadata

title: 建置Compute Engine
tags: [CDP, GCP]

---

###### tags: `GCP` `CDP` 

建置Compute Engine
===

----
[TOC]

## 📚 cdp-web
:::info
python requires >=3.6.7, < 3.8
:::

1. 確認python版號
2. sudo apt update
3. sudo apt install python3-pip
4. pip3 install virtualenv
5. which python3 確認python3路徑
6. virtualenv -p {YOUR PYTHON PATH} {ENV NAME} 
7. 移植project到指定路徑
8. nginx 安裝
[nginx](https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-debian-10)



## 📚 cdp-db
[mongo init](https://linuxize.com/post/how-to-install-mongodb-on-debian-10/)
mongo
user: cdpmongo
password: DHLxL730dLQBdlcP

[redis](https://linuxize.com/post/how-to-install-and-configure-redis-on-debian-10/)
redis
requirepass cdp4569874123

