当前位置:网站首页>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]
边栏推荐
- 直播平台源码,可折叠式菜单栏
- Determining the full type of a variable
- 解决could not find or load the Qt platform plugin “xcb“in ““.
- UWB learning 1
- 1141_ SiCp learning notes_ Functions abstracted as black boxes
- About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model
- Music | cat and mouse -- classic not only plot
- 身边35岁程序员如何建立起技术护城河?
- Deep learning Flower Book + machine learning watermelon book electronic version I found
- How can a 35 year old programmer build a technological moat?
猜你喜欢
misc ez_usb
1090: integer power (multi instance test)
【webrtc】m98 screen和window采集
【斯坦福计网CS144项目】Lab4: TCPConnection
07_ Handout on the essence and practical skills of text measurement and geometric transformation
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
Simple example of ros2 planning system plansys2
Idea add class annotation template and method template
English translation is too difficult? I wrote two translation scripts with crawler in a rage
4、 High performance go language release optimization and landing practice youth training camp notes
随机推荐
Leetcode-543. Diameter of Binary Tree
Sqlmap tutorial (IV) practical skills three: bypass the firewall
A concurrent rule verification implementation
【leetcode】1020. Number of enclaves
身边35岁程序员如何建立起技术护城河?
[SUCTF 2019]Game
What is the difference between TCP and UDP?
Simple example of ros2 planning system plansys2
My ideal software tester development status
按键精灵脚本学习-关于天猫抢红包
在线直播系统源码,使用ValueAnimator实现view放大缩小动画效果
Tongda injection 0day
Interviewer: what development models do you know?
毕设-基于SSM大学生兼职平台系统
[GUET-CTF2019]虚假的压缩包
buuctf misc USB
Calculus key and difficult points record part integral + trigonometric function integral
我理想的软件测试人员发展状态
1090: integer power (multi instance test)
解决:Could NOT find KF5 (missing: CoreAddons DBusAddons DocTools XmlGui)