当前位置:网站首页>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]
边栏推荐
- Why is the row of SQL_ The ranking returned by number is 1
- Rxjs - observable doesn't complete when an error occurs - rxjs - observable doesn't complete when an error occurs
- Leetcode-206. Reverse Linked List
- What is the difference between TCP and UDP?
- Simple example of ros2 planning system plansys2
- 四、高性能 Go 语言发行版优化与落地实践 青训营笔记
- 为什么要了解现货黄金走势?
- ../ And/
- Leetcode-543. Diameter of Binary Tree
- Wx is used in wechat applet Showtoast() for interface interaction
猜你喜欢
记一个并发规则验证实现
Detailed explanation of neo4j installation process
[semantic segmentation] - multi-scale attention
English translation is too difficult? I wrote two translation scripts with crawler in a rage
L'externalisation a duré trois ans.
After 95, Alibaba P7 published the payroll: it's really fragrant to make up this
外包干了四年,废了...
idea添加类注释模板和方法模板
抽丝剥茧C语言(高阶)指针进阶练习
海思芯片(hi3516dv300)uboot镜像生成过程详解
随机推荐
How can a 35 year old programmer build a technological moat?
Idea add class annotation template and method template
Gslx680 touch screen driver source code analysis (gslx680. C)
按键精灵采集学习-矿药采集及跑图
UWB learning 1
Route jump in wechat applet
../ And/
Leetcode-543. Diameter of Binary Tree
1090: integer power (multi instance test)
A concurrent rule verification implementation
English translation is too difficult? I wrote two translation scripts with crawler in a rage
1、 Go knowledge check and remedy + practical course notes youth training camp notes
JS small exercise ---- time sharing reminder and greeting, form password display hidden effect, text box focus event, closing advertisement
ROS2规划系统plansys2简单的例子
【数学笔记】弧度
Blue Bridge Cup Birthday candles (violence)
IO流 file
Flutter riverpod is comprehensively and deeply analyzed. Why is it officially recommended?
解决:Could NOT find KF5 (missing: CoreAddons DBusAddons DocTools XmlGui)
Talk about seven ways to realize asynchronous programming