赞
踩
useradd leanote
su - 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
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/
# 安全起见leanote建议修改leanote/conf/app.conf app.secret
cd leanote/bin/
bash run.sh &
localhost:9000
# m默认用户名密码
admin:abc123
demo@leanote.com:demo@leanote.com
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。