当前位置:网站首页>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]
边栏推荐
- IPv4 exercises
- 【webrtc】m98 screen和window采集
- @component(““)
- 95后CV工程师晒出工资单,狠补了这个,真香...
- Blue Bridge Cup Birthday candles (violence)
- Initial experience of teambiion network disk (Alibaba cloud network disk)
- 【经验分享】如何为visio扩展云服务图标
- L'externalisation a duré trois ans.
- How do I get the last part of a string- How to get the last part of a string?
- Example of Pushlet using handle of Pushlet
猜你喜欢

【斯坦福计网CS144项目】Lab4: TCPConnection

buuctf misc USB

抽絲剝繭C語言(高階)指針的進階

Iterable、Collection、List 的常见方法签名以及含义

Leetcode-226. Invert Binary Tree

Advanced practice of C language (high level) pointer

UWB learning 1

How can a 35 year old programmer build a technological moat?

2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct

通信设备商,到底有哪些岗位?
随机推荐
1141_ SiCp learning notes_ Functions abstracted as black boxes
【Liunx】进程控制和父子进程
智联+影音,AITO问界M7想干翻的不止理想One
聊聊异步编程的 7 种实现方式
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
按键精灵脚本学习-关于天猫抢红包
Solution: could not find kf5 (missing: coreaddons dbusaddons doctools xmlgui)
二、并发、测试笔记 青训营笔记
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
JS get all date or time stamps between two time stamps
外包幹了三年,廢了...
Tongda injection 0day
Simple example of ros2 planning system plansys2
Jenkins remote build project timeout problem
抽絲剝繭C語言(高階)數據的儲存+練習
Music | cat and mouse -- classic not only plot
Convolutional neural network -- understanding of pooling
[SUCTF 2019]Game
[cloud native] how to give full play to memory advantage of memory database
My ideal software tester development status