当前位置:网站首页>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]
边栏推荐
- 今日现货白银操作建议
- Leetcode sword finger offer brush questions - day 20
- Initial experience of teambiion network disk (Alibaba cloud network disk)
- 1089: highest order of factorial
- Idea add class annotation template and method template
- URP - shaders and materials - light shader lit
- buuctf misc USB
- 四、高性能 Go 语言发行版优化与落地实践 青训营笔记
- 【webrtc】m98 screen和window采集
- Write CPU yourself -- Chapter 9 -- learning notes
猜你喜欢

L'externalisation a duré trois ans.

二、并发、测试笔记 青训营笔记

IPv4 exercises

Implementing data dictionary with JSP custom tag

Music | cat and mouse -- classic not only plot

《动手学深度学习》(四) -- 卷积神经网络 CNN

外包幹了三年,廢了...

Flutter riverpod is comprehensively and deeply analyzed. Why is it officially recommended?

Sqlmap tutorial (IV) practical skills three: bypass the firewall

Wechat applet full stack development practice Chapter 3 Introduction and use of APIs commonly used in wechat applet development -- 3.10 tabbar component (I) how to open and use the default tabbar comp
随机推荐
Differences between H5 architecture and native architecture
【webrtc】m98 screen和window采集
Jenkins远程构建项目超时的问题
Wx is used in wechat applet Showtoast() for interface interaction
2、 Concurrent and test notes youth training camp notes
Docker compose start redis cluster
Wechat applet full stack development practice Chapter 3 Introduction and use of APIs commonly used in wechat applet development -- 3.9 introduction to network interface (IX) extending the request3 met
解决could not find or load the Qt platform plugin “xcb“in ““.
How can a 35 year old programmer build a technological moat?
Six methods of flattening arrays with JS
外包幹了三年,廢了...
MIPS uclibc cross compile ffmpeg, support g711a encoding and decoding
After the interview, the interviewer roast in the circle of friends
Redis data migration
Example of Pushlet using handle of Pushlet
Tencent's one-day life
记一个并发规则验证实现
After 95, Alibaba P7 published the payroll: it's really fragrant to make up this
四、高性能 Go 语言发行版优化与落地实践 青训营笔记
Idea add class annotation template and method template