当前位置:网站首页>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]
边栏推荐
- Simple example of ros2 planning system plansys2
- How can a 35 year old programmer build a technological moat?
- 1、 Go knowledge check and remedy + practical course notes youth training camp notes
- 深度学习花书+机器学习西瓜书电子版我找到了
- BGP experiment (1)
- 毕设-基于SSM大学生兼职平台系统
- Differences between H5 architecture and native architecture
- 【数学笔记】弧度
- Interviewer: what development models do you know?
- 微信小程序中使用wx.showToast()进行界面交互
猜你喜欢

测试周期被压缩?教你9个方法去应对

MobaXterm

BGP experiment (1)

科技云报道:从Robot到Cobot,人机共融正在开创一个时代

外包干了四年,废了...

About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model
![[UTCTF2020]file header](/img/e3/818e2d531a06ab90de189055f634ad.png)
[UTCTF2020]file header

Robot technology innovation and practice old version outline

The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?

身边35岁程序员如何建立起技术护城河?
随机推荐
leetcode:105. Constructing binary trees from preorder and inorder traversal sequences
Route jump in wechat applet
Interviewer: what development models do you know?
Jenkins远程构建项目超时的问题
外包干了三年,废了...
基于Flask搭建个人网站
How to reduce inventory with high concurrency on the Internet
Example of Pushlet using handle of Pushlet
【斯坦福计网CS144项目】Lab4: TCPConnection
毕设-基于SSM大学生兼职平台系统
../ And/
【云原生】内存数据库如何发挥内存优势
Outlier detection technology of time series data
Why is the row of SQL_ The ranking returned by number is 1
通信设备商,到底有哪些岗位?
面试结束后,被面试官在朋友圈吐槽了......
Is the test cycle compressed? Teach you 9 ways to deal with it
Leetcode-543. Diameter of Binary Tree
外包干了四年,废了...
Tianqing sends instructions to bypass the secondary verification