class5:搭建个人Leanote云笔记本

step1,MongoDB

yum -y install mongodb mongodb-server.x86_64 mariadb-devel.i686

systemctl start mongod

step2,Leanote

wget https://nchc.dl.sourceforge.net/project/leanote-bin/2.6.1/leanote-linux-amd64-v2.6.1.bin.tar.gz

tar -zxvf leanote-linux-amd64-v2.6.1.bin.tar.gz


vim leanote/conf/app.conf
# 修改app.secret=任意字符串


mongorestore -h localhost -d leanote --dir /root/leanote/mongodb_backup/leanote_install_data/

nohup bash /root/leanote/bin/run.sh > /root/leanote/run.log 2>&1 &


http://公网地址>:9000
Yes

上一篇:ECS7 - 搭建在线编程环境


下一篇:区块链Hyperledger Fabric 学习记录(一)开发环境搭建(ubuntu16.04/ubuntu18.04)