当前位置:网站首页>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]
边栏推荐
- Value sequence (subsequence contribution problem)
- Why should we understand the trend of spot gold?
- CentOS7下安装PostgreSQL11数据库
- [webrtc] M98 screen and window acquisition
- Flutter riverpod is comprehensively and deeply analyzed. Why is it officially recommended?
- buuctf misc USB
- 1140_ SiCp learning notes_ Use Newton's method to solve the square root
- pytest+allure+jenkins環境--填坑完畢
- 解决could not find or load the Qt platform plugin “xcb“in ““.
- 【webrtc】m98 screen和window采集
猜你喜欢
Leetcode-206. Reverse Linked List
I failed in the postgraduate entrance examination and couldn't get into the big factory. I feel like it's over
Bi she - college student part-time platform system based on SSM
今日现货白银操作建议
4、 High performance go language release optimization and landing practice youth training camp notes
【webrtc】m98 screen和window采集
Technology cloud report: from robot to Cobot, human-computer integration is creating an era
科技云报道:从Robot到Cobot,人机共融正在开创一个时代
Outsourcing for four years, abandoned
@component(““)
随机推荐
Iterable、Collection、List 的常见方法签名以及含义
Problem solving: unable to connect to redis
How can a 35 year old programmer build a technological moat?
【obs】win-capture需要winrt
Solve could not find or load the QT platform plugin "xcb" in "
A bit of knowledge - about Apple Certified MFI
pytorch 参数初始化
[UTCTF2020]file header
【经验分享】如何为visio扩展云服务图标
2022-07-06:以下go语言代码是否会panic?A:会;B:不会。 package main import “C“ func main() { var ch chan struct
Technology cloud report: from robot to Cobot, human-computer integration is creating an era
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?
buuctf misc USB
Pytest + allure + Jenkins Environment - - achèvement du remplissage de la fosse
1140_ SiCp learning notes_ Use Newton's method to solve the square root
Regular e-commerce problems part1
Kbu1510-asemi power supply special 15A rectifier bridge kbu1510
图解GPT3的工作原理
[Stanford Jiwang cs144 project] lab3: tcpsender
BGP experiment (1)