当前位置:网站首页>leanote私有云笔记搭建
leanote私有云笔记搭建
2022-07-07 04:16:00 【大囚长】
leanote私有云笔记搭建
1、创建用户
useradd leanote
su - leanote
2、下载leanote安装包
wget --no-check-certificate https://sourceforge.net/projects/leanote-bin/files/2.6.1/leanote-linux-amd64-v2.6.1.bin.tar.gz
tar -zxvf leanote-linux-amd64-v2.6.1.bin.tar.gz
3、下载和安装mongodb
wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.1.tgz
tar -xzvf mongodb-linux-x86_64-3.0.1.tgz
export PATH=$PATH:/home/leanote/mongodb-linux-x86_64-3.0.1/bin
mkdir /home/leanote/data
mongod --dbpath /home/leanote/data &
测试
mongo
show dbs;
导入数据
mongorestore -h localhost -d leanote --dir leanote/mongodb_backup/leanote_install_data/
4、启动leanote
# 安全起见leanote建议修改leanote/conf/app.conf app.secret
cd leanote/bin/
bash run.sh &
5、登录查看
localhost:9000
# m默认用户名密码
admin:abc123
[email protected]:[email protected]
边栏推荐
- Docker compose start redis cluster
- Dynamics CRM server deployment - restore database prompt: the database is in use
- leetcode:105. 从前序与中序遍历序列构造二叉树
- 外包干了四年,废了...
- KBU1510-ASEMI电源专用15A整流桥KBU1510
- 考研失败,卷不进大厂,感觉没戏了
- Determining the full type of a variable
- 外包幹了三年,廢了...
- [2022 CISCN]初赛 web题目复现
- Gslx680 touch screen driver source code analysis (gslx680. C)
猜你喜欢
Is the test cycle compressed? Teach you 9 ways to deal with it
About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model
resource 创建包方式
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
外包干了三年,废了...
Advanced practice of C language (high level) pointer
[ANSYS] learning experience of APDL finite element analysis
知识点滴 - 关于苹果认证MFI
面试官:你都了解哪些开发模型?
Initial experience of teambiion network disk (Alibaba cloud network disk)
随机推荐
After 95, the CV engineer posted the payroll and made up this. It's really fragrant
07_ Handout on the essence and practical skills of text measurement and geometric transformation
Tianqing sends instructions to bypass the secondary verification
Leetcode-226. Invert Binary Tree
UWB learning 1
Leetcode sword finger offer brush questions - day 20
Is the test cycle compressed? Teach you 9 ways to deal with it
../ And/
【云原生】内存数据库如何发挥内存优势
Flutter riverpod is comprehensively and deeply analyzed. Why is it officially recommended?
Tongda injection 0day
Deep learning Flower Book + machine learning watermelon book electronic version I found
Blue Bridge Cup Birthday candles (violence)
Differences between H5 architecture and native architecture
Jenkins远程构建项目超时的问题
The metauniverse of the platofarm farm continues to expand, with Dao governance as the core
[UTCTF2020]file header
242. Bipartite graph determination
A concurrent rule verification implementation
Dynamics CRM server deployment - restore database prompt: the database is in use