

Sudo bash -c "echo ' authorization: enabled' > /etc/nf" Setup the MongoDB 4.0 YUM repoĬreate the MongoDB 4.0 YUM repo as follows: cat > /etc/nf"
LEANOTE TUTORIAL INSTALL
Step 3: Install MongoDB Community Edition 4.0Īs required by Leanote, the MongoDB NoSQL DBMS has to be in place before you can successfully setup a Leanote server. Step 2: Obtain Leanote 2.6.1 binary filesĭownload and extract the latest stable release of Leanote for 64-bit Linux system: cd Note: If you are using a different server size, you may need to modify the size of the swap file. sudo dd if=/dev/zero of=/swapfile count=2048 bs=1MĮcho '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab For example, creating a 2048MB-sized swap file is fit for a machine with 2GB of memory. When firing up a new Vultr CentOS 7 server instance, it's always recommended to setup a swap file in order to ensure the system is running smoothly. See details here.Ī domain being pointed to the server instance mentioned above. Say its IPv4 address is 203.0.113.1.Īll of the software packages on the machine have been updated to the latest stable status using the EPEL YUM repo. PrerequisitesĪ newly deployed Vultr CentOS 7 server instance.

For security purposes, enabling HTTPS support using a Let's Encrypt SSL certificate and Nginx will also be covered. In this article, I will guide you through Setting up a Leanote server on a CentOS 7 server instance. With user experience in mind, Leanote provides users with plenty of practical features, including cross-platform support, writing in the MarkDown syntax, public or private blogging, knowledge gathering and sharing, and team collaboration.

Leanote is a free, lightweight, and open source alternative to Evernote, which is written in Golang.
