How to achieve free unlimited traffic cloud synchronization note-taking software Obsidian?

Table of contents

Preface

How to achieve free unlimited traffic cloud synchronization note-taking software Obsidian?

1. Introduction

Software feature demonstration:

2. Use free Synology virtual machines to build Synology Drive service to achieve LAN synchronization

1 Install and set up Synology Drive package

2 File synchronization test within LAN

3. The intranet penetrates Synology Drive to achieve remote multi-end synchronization.

Steps to install Cpolar on Windows:

4. Realize fixed TCP address synchronization


Preface

A few days ago, I discovered a giant artificial intelligence learning website. It is easy to understand and humorous. I couldn’t help but share it with everyone. Click to jump to the website

How to achieve free unlimited traffic cloud synchronization note-taking software Obsidian?

image-20231121094720916

1. Introduction

The previous  tutorial introduced how to synchronize Zotero scientific research literature management software with multiple terminals for free . In the article, I shared the Synology Nas virtual machine installation package and used Synology's WebDav function to achieve multi-terminal cloud synchronization. This issue will demonstrate the  implementation using  Synology Drive. Sync note files.

​ When we use  Zotero  to read literature and draw key points ( input ), we need a multi-functional note-taking software to organize what we have learned, and make a series of scientific research plans, Todolist, organize research ideas, etc. ( output ). And also supports Markdown syntax.

​ Here I recommend Obsidian , a powerful note-taking software . It is a purely offline note-taking software (you can use all functions without logging in. I will introduce how to cloud synchronize later ). Its biggest feature is that it can establish two-way links . You can freely create links to other notes, and this link can point directly to a certain title/block of text . In this way, when reviewing the study notes written before, if you forget a certain knowledge point, you can review it immediately without clicking on it. The cool knowledge network established can also be displayed dynamically and visually .

image-20231121113657911

Establish a complete knowledge network , and if you find something in the global search , it will affect the whole body, (@^0^@).

Software feature demonstration:

Use [[ ]] double brackets to enclose the place where you want to establish a link. We will demonstrate how to frame the four words file system. If we forget what a file system is when we review later,  click on the link to jump directly to the relevant notes we took before .

image-20231121141919852

After it is built, click on the symbol on the left to enter the network diagram:

image-20231121142048518

As shown in the figure, a link has been established with  the file system  text block. When reviewing the concept of file system, you can use the link to see how to apply it. On the contrary, when reviewing the file system application, you can use the link to view this concept.

image-20231121142013886

If we use this software to go through the entire learning process, we will build a large knowledge network to sort out the knowledge context.

​ There are many bloggers who introduce how to use Obsidian. This article will not list how to use this powerful software one by one. The focus of this article is how to synchronize Obsidian's note folder .

​ Although the Obsidian personal version is free to use, the price of cloud synchronization is relatively high and the capacity is limited, so establishing a personal cloud synchronization service and storing synchronized files locally  is a very cost-effective option.

image-20231121143205651

​ As mentioned earlier, this software is purely offline and you can use all functions without logging in. This means that we only need to set up a cloud synchronization server and synchronize the Obsidian warehouse folder to achieve multi-end synchronization. Next, we will continue to use the previous tutorial.  Use Synology Virtual Machine to build a private cloud synchronization service.

  • Previous tutorial:

No cloud disk required, unlimited traffic to achieve Zotero cross-platform synchronization: intranet penetration + private WebDAV server – cpolar Jiidian Cloud

2. Use free Synology virtual machines to build Synology Drive service to achieve LAN synchronization

1 Install and set up Synology Drive package

First install the Synology Drive package:

image-20231121150456843

Open the Synology Drive console:

image-20231121150600787

After clicking the "Enable" button, Synology Drive will guide us to enable the user home directory service. We click the "Yes" button according to the pop-up window guidance, and then install it by default according to the guidance.

image-20231121150922746

After completing the above steps, the system will automatically generate a folder named "homes". Synology will default this folder as the synchronization folder. Of course, you can also modify it yourself.

image-20231122145148611

2 File synchronization test within LAN

Open Synology Drive:

20230303102314

The browser automatically jumps to the Synology Drive web page. For convenience, we directly click on the lower right corner to install the Synology official synchronization software:

image-20231121151455179

Download the installer and enter the local address of Synology

image-20231121170433340

Select  a sync task

image-20231121170453222

Select the folder where the Obsidian warehouse is located:

image-20231122151203545

After clicking OK, the synchronization process begins. You can click on the lower right corner to view the synchronized folder.

image-20231121171224529

Back to Obsidian, switch to the sync folder we selected:

image-20231121172328476

My notes are stored in G:\Synology Drive\obsidian notes, so I directly use Obsidian to open the  Obsidian notes  folder in the folder synchronized by Synology Drive. After that, other computers can log in to Synology Drive to synchronize, and then they can use Obsidian. Open this notes folder.

image-20231122151123049

Open this note repository:

image-20231121175056355

Download and install Synology Drive on another computer in the LAN:

[Enterprise network disk | Synology Drive_Private cloud to access data at any time for multiple people to share and collaborate | Synology Inc.](https://www.synology.cn/zh-cn/dsm/feature/Synology Drive)

The operation is the same as above. Log in to your Synology Nas account and select a local folder as the synchronization folder:

image-20231121175556198

Synchronization completed:

image-20231121175756467

Open Obsidian and click this button in the lower left corner to switch the file warehouse.

image-20231121180620396

Open the notes folder we want to sync:

image-20231122151301008

Opened successfully, now we modify the document to test the synchronization function:

image-20231121180821789

After modification, a prompt to modify the file will pop up in the lower right corner (if not needed, you can cancel it in the settings)

image-20231122105039055

Wait a short while and the other end will sync:

image-20231122112657504

3. The intranet penetrates Synology Drive to achieve remote multi-end synchronization.

​ If you want to access a locally built synchronization server in a remote location, you need intranet penetration software. Here I use the free unlimited traffic Cpolar: https://www.cpolar.com

First, we need to install Cpolar in the server and map the local address to the public network so that it can be accessed anytime and anywhere.

hint:

Because I am using a Synology virtual machine in this tutorial, I installed cpolar on the Windows machine to map the ports in the virtual machine. If you are using a physical NAS, you need to install the Cpolar package in the NAS to map the ports in the NAS. Synchronization function port.

Install Cpolar on Synology: How to install cpolar on Synology system (Synology 7.X version) – cpolar Jidianyun

Steps to install Cpolar on Windows:

Visit the cpolar official website, register an account, and then download and install the client. For specific installation instructions, please refer to the official website documentation tutorial.

Cpolar official website: downloadDownload-cpolar pole cloud official website

  • Windows system: After downloading the installation package from the official website, double-click the installation package and install it by default.

image-20231113140709326

Note! After Cpolar is successfully installed, the default Cpolar web interface access port is also 9200.

Then enter it in the browser localhost:9200to access the Cpolar Web UI management interface. Enter the account registered on the official website to log in.

image-20230831171159175

Click - Create Tunnel:

image-20231122114045380

image-20231122115623776

  • Tunnel name: You can customize the name. Be careful not to duplicate the existing tunnel name.
  • Protocol: select tcp
  • Local address: Synology virtual machine/physical Synology LAN IP: 6690 (default port number of Synology Drive)
  • Domain name type: random port
  • Region: Select China

After the tunnel is successfully created, click Status on the left - Online Tunnel List to view the generated public network access address.

image-20231122115756867

Copy this TCP address:  tcp://1.tcp.cpolar.cn:22615

On the other end of the Synology Driver click  the edit link

image-20231122115907847

Modify  the original LAN NAS address to the public TCP address  mapped by Cpolar 

image-20231122133101314

Successfully linked, so that we can use this public network link in a remote location to synchronize notes with Synology Drive on the LAN.

image-20231122140028136

4. Realize fixed TCP address synchronization

In order to better demonstrate, we used the tunnel generated by Cpolar in the aforementioned process, and its public network address was randomly generated. For example, 3ad5da5.r10.Cpolar.top . If you log in from another device, you still need to check this address. Moreover, the random domain name still changes 24 hours a day. When you log in the next day, you need to check the newly generated address.

​ Therefore, I usually configure a fixed TCP address on the official website in advance. It is easier to remember. After the computer is turned on, you can log in and start synchronizing folders without having to reconfigure the address.

Official website control panel, retain TCP:

Cpolar – secure introspectable tunnels to localhost

image-20231122140934180

After clicking  Save  , the generated TCP address is fixed and permanent and does not need to be changed every day.

image-20231122141005373

Address: Select China VIP  /  China VIP Top , remember what you selected, and select the same one for the update tunnel.

Return to the WebUI interface and modify the configuration:

image-20231122141204291

  • Tunnel name: You can customize the name. Be careful not to duplicate the existing tunnel name.
  • Agreement: unchanged
  • Local address: unchanged
  • Domain name type: Fixed TCP
  • Reserved TCP address: Fill in the address just reserved on the Cpolar official website , so that we can use this address reserved in advance to map the Synology Drive port.

Click更新

After the tunnel is updated, click Status on the left - Online Tunnel List to view the generated fixed public network address.

image-20231122141417161

Duplicate parts of my frame, starting with the numbers:

6.tcp.vip.cpolar.cn:11126

The operation is the same as above, but change to a fixed TCP address:

image-20231122143835586

All operations are completed, and there is no need to bother with configuration in the future. When you need to synchronize, open the Synology Drive software and you can synchronize the note folder. Click  Pause - Resume to control the synchronization process.

image-20231122144029275

​ After the operation of this article, we use Synology Drive as the file synchronization server, and use Cpolar to map the port to the public network for remote synchronization. In this way, all our personal notes can be stored locally without uploading to the cloud disk , and there is no need to worry about rogue software. distressed.

Guess you like

Origin blog.csdn.net/m0_68662723/article/details/135140719