E杂苑
让知识各归其位
Toggle navigation
E杂苑
主页
E记忆
历史博文
标签
leanote迁移到arm服务器
2022-05-04 18:10:12
189
0
0
eric
- 安装MongoDB ``` wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list apt-get update apt-get install -y mongodb-org systemctl start mongod ``` - 备份还原数据库 - 备份 ``` mongodump --port 27017 --db leanote -o /data/leanoteBackUp/ ``` - 还原 ``` mongorestore -h 127.0.0.1:27017 -d leanote /developer/data/leanoteBackUp/leanote -u=root -p=xxxx ``` - 覆盖原src目录
Pre:
bootcss访问异常
Next:
rndc管理bind
0
likes
189
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Table of content