当前位置:网站首页>Leanote private cloud note building
Leanote private cloud note building
2022-07-07 07:48:00 【Chief prisoner】
leanote Private cloud note building
1、 Create user
useradd leanote
su - leanote
2、 download leanote Installation package
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、 Download and install 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 &
test
mongo
show dbs;
Import data
mongorestore -h localhost -d leanote --dir leanote/mongodb_backup/leanote_install_data/
4、 start-up leanote
# Be on the safe side leanote Suggest to modify leanote/conf/app.conf app.secret
cd leanote/bin/
bash run.sh &
5、 Log in to view
localhost:9000
# m Default username password
admin:abc123
[email protected]:[email protected]
边栏推荐
- Determining the full type of a variable
- MobaXterm
- 1140_ SiCp learning notes_ Use Newton's method to solve the square root
- 1141_ SiCp learning notes_ Functions abstracted as black boxes
- 面试结束后,被面试官在朋友圈吐槽了......
- Pytorch parameter initialization
- Technology cloud report: from robot to Cobot, human-computer integration is creating an era
- 为什么要了解现货黄金走势?
- buuctf misc USB
- 解决问题:Unable to connect to Redis
猜你喜欢

After the interview, the interviewer roast in the circle of friends

Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package

resource 创建包方式

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

idea添加类注释模板和方法模板

通信设备商,到底有哪些岗位?

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

1141_ SiCp learning notes_ Functions abstracted as black boxes

Operation suggestions for today's spot Silver

1140_ SiCp learning notes_ Use Newton's method to solve the square root
随机推荐
Determining the full type of a variable
I failed in the postgraduate entrance examination and couldn't get into the big factory. I feel like it's over
【性能压测】如何做好性能压测?
CentOS7下安装PostgreSQL11数据库
Redis data migration
JS get all date or time stamps between two time stamps
自定义类加载器加载网络Class
@component(““)
SQL优化的魅力!从 30248s 到 0.001s
Jenkins远程构建项目超时的问题
IPv4 exercises
A bit of knowledge - about Apple Certified MFI
按键精灵脚本学习-关于天猫抢红包
解决:Could NOT find KF5 (missing: CoreAddons DBusAddons DocTools XmlGui)
通信设备商,到底有哪些岗位?
知识点滴 - 关于苹果认证MFI
Tongda injection 0day
Common method signatures and meanings of Iterable, collection and list
My ideal software tester development status
Live broadcast platform source code, foldable menu bar