

- LEANOTE TUTORIAL TRICKS MONGO HOW TO
- LEANOTE TUTORIAL TRICKS MONGO INSTALL
- LEANOTE TUTORIAL TRICKS MONGO UPDATE
- LEANOTE TUTORIAL TRICKS MONGO PASSWORD
You should see the Leanote default dashboard in the following page:īy default, Leanote runs on port 9000.
LEANOTE TUTORIAL TRICKS MONGO PASSWORD
Now, provide default username and password as admin / abc123 and click on the Sign in button. You will be redirected to the following page: Now, open your web browser and type the URL. Leanote server is now running and listening on port 9000. Now, start the Leanote server with the following command: bash leanote/bin/run.sh Save and close the file, when you are finished. Next, you will need to edit Leanote default configuration file and make some changes: nano leanote/conf/app.conf Then, restart MongoDB to apply the changes: systemctl restart mongod Configure Leanote Next, enable the MongoDB access control by editing /etc/nf file: nano /etc/nf > db.createUser()Īfter creating both accounts, confirm the user administrator account with the following command: > use adminĬonfirm the database administrator account with the following command: > use leanote Next, change the database to admin and cretae a user administrator account with the following command: > use admin To do so, you will need to create MongoDB user administrator account and database administrator account.įirst, log in to MongoDB shell with the following command: mongo -host 127.0.0.1:27017 Mongorestore -host localhost -d leanote -dir leanote/mongodb_backup/leanote_install_data/ Configure MongoDBįor security reasons, it is recommended to enable access control to MongoDB. You can do it with the following command: rm leanote/mongodb_backup/leanote_install_data/.DS_Store Next, you will need to import the Leanote data into MongoDB. Once the download is completed, extract the downloaded file with the following command: tar -zxvf leanote-linux-amd64-v2.6.1.

You can download it with the following command: wget
LEANOTE TUTORIAL TRICKS MONGO INSTALL
You should expect to see "Active: active (running)" Install Leanoteįirst, you will need to download the latest version of Leanote from SourceForge. Then, install MongoDB with the following command: yum install mongodb-orgĪfter installing MongoDB, check the status of MongoDB with the following command: systemctl status rvice

You can add the MongoDB repository by creating the following file: nano /etc//mongodb-org.repoĪdd the following lines: īaseurl=\$releasever/mongodb-org/4.0/x86_64/ So you will need to install the repository for that. By default, MongoDB is not available in the CentOS 7 default repository. Next, you will need to install MongoDB to your server. Then, restart your server to apply the changes. Make the following changes: SELINUX=disabled You can do this by editing /etc/selinux/config file: nano /etc/selinux/config
LEANOTE TUTORIAL TRICKS MONGO UPDATE
yum update -y Getting Startedīefore starting, you will need to disable Selinux on your server. Once you are logged into your CentOS 7 instance, run the following command to update your base system with the latest available packages.
LEANOTE TUTORIAL TRICKS MONGO HOW TO
In this tutorial, we will explain how to install Leanote server on CentOS-7 server with an Alibaba Cloud Elastic Compute Service (ECS) instance. Leanote provides very useful features such as, cross-platform support, writing in the MarkDown syntax, public or private blogging, knowledge gathering and sharing, and team collaboration. Leanote allows you to keep the notes on a self-hosted server and sync it with Android/iOS. It is simple, lightweight and has all the functionalities you have used on Evernote. Leanote is a free and open source alternative to Evernote written in Golang. By Hitesh Jethva, Alibaba Cloud Community Blog author.
