美文网首页
记一次安装leanote

记一次安装leanote

作者: 什么也未曾变过 | 来源:发表于2018-10-24 18:09 被阅读0次

官方地址:

https://github.com/leanote

安装二进制步骤

下载二进制包文件:

https://sourceforge.net/projects/leanote-bin/files/2.4/leanote-linux-amd64-v2.4.bin.tar.gz/download

安装mongodb数据库:

添加yum 源

[mongodb-org-3.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.4/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc

安装mongodb

sudo yum makecache
sudo yum install -y mongodb-org

启动mongodb

sudo service mongod start
sudo systemctl enable mongod

恢复数据到mongodb

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

配置Leanote(我没懂)

The configuration of Leanote is controlled by this file: PATH_TO_LEANOTE/conf/app.conf.

One setting that you are strongly suggested to modify is app.secret, please change arbitrary number of digits of the string to something different, but keeping the string length unchanged. This is to avoid potential security issues.

Other optional changes you can make includes db.username, db.password (more on these in the Trouble Shooting section) and etc..

安装golang

sudo yum install golang

运行 leanote

sudo bash run.sh

相关文章

  • 记一次安装leanote

    官方地址: 安装二进制步骤 下载二进制包文件: 安装mongodb数据库: 添加yum 源 安装mongodb 启...

  • docker 安装 leanote

    docker 安装 leanote 下载 leanote 安装包在 https://github.com/lean...

  • Leanote 安装

    Leanote 参考了一点文章就架设成功了,但是以后要重装、升级还需要重看,于是记录下。 参考 git hub w...

  • Leanote Ubuntu 源码安装

    Leanote Ubuntu 源码安装 1 安装golang 请参考这篇博文:ubuntu 环境 golang 安...

  • Centos7自建Leanote云笔记

    1、安装MongoDB Leanote 依赖 MongoDB 作为数据存储 运行依赖 yum install li...

  • 搭建个人Leanote云笔记

    1. 下载启动MongoDB Leanote依赖MongoDB作为数据存储,下面开始安装MongoDB 下载Mon...

  • 个人工作笔记 leanote 搭建

    基于阿里云环境搭建 Leanote 依赖 MongoDB 作为数据存储,下面开始安装MongoDB: 1. 下载启...

  • 搭建 蚂蚁工作笔记全过程

    基于阿里云环境搭建 Leanote 依赖 MongoDB 作为数据存储,下面开始安装MongoDB: 下载启动 M...

  • 无标题文章

    [TOC]# Welcome to Leanote! 欢迎来到Leanote! ## 1. 排版 **粗体** *...

  • 安装 golang 最简易教程

    1. 安装golang 到golang.org官网下载最新版的golang, Leanote至少需要golang ...

网友评论

      本文标题:记一次安装leanote

      本文链接:https://www.haomeiwen.com/subject/jlbxtqtx.html