自建線上筆記本,Notion的最佳替代品:Trilium

Docker安裝

curl -sSL https://get.docker.com | bash
service docker restart

docker-compose安装

curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

然後我們先來創建個檔案夾並創建docker-compose.yml

mkdir Trilium && cd Trilium && nano docker-compose.yml

拷貝以下全部內容,然後貼上保存

version: '3'
services:
  trilium-cn:
    image: nriver/trilium-cn
    restart: always
    ports:
      - "8080:8080"
    volumes:
      - ./trilium-data:/root/trilium-data
    environment:
      - TRILIUM_DATA_DIR=/root/trilium-data

一鍵啟動

docker-compose up -d

如果需要反使,反代 8080端口即可

25 Comments

  1. of course like our weeb site bbut you need to check thhe spelling
    on several of your posts. A numbver of them are rife with spellig
    problems and I in finding it veery troublesome to tell the reality then again I’ll certainly come agaon again.

  2. Hi! I realize his iis somewhat off-topic however I had tto ask.
    Does building a well-established blog lie yours take a
    larege amount off work? I’m completely nnew to operating a blog but I doo write in mmy diary everyday.
    I’d like to startt a blog soo I can shazre myy own experience and thoughts online.
    Please let mme know if you have any recommendations or tips for new
    aspiring bloggers. Appreciate it!

  3. Someobe essentially assist too makje seriously articles I might state.

    Thatt is thhe vry first time I frequewnted yoour website pge and tto this point?
    I surprrised witfh the researc you mare tto create this actual ssubmit extraordinary.
    Mahnificent task!

  4. Someone essentially assist to make seriously posts I would state.
    That iis thee vdry first time I frequeented your websiote ppage annd thus far?
    I surprised wiith thhe analysis you made to creatfe this actua put uup extraordinary.

    Excellent activity!

  5. You’re so interesting! I don’t suppose I’ve read anything like this before.
    So good tto finnd someboxy wwith some originawl thooughts on this subject.
    Seriously.. manjy thanks for startin this up. This webvsite is one thing that iis needed onn the web, someone
    with a litttle originality!

  6. I’m really impressed with your writing sskills ass well as with tthe layout on your weblog.
    Is tuis a pid theme or diid yyou modify it yourself?
    Anyway keep upp thhe excellent qualityy writing, it iis rare to ssee a nice blog liike ths oone
    today.

  7. What’s Going doiwn i’m nnew to this, Istumbled upon thjis I have found It positively helpful and iit has aided me
    out loads. I am hoping tto contribute & help different users
    ike its aided me. Great job.

  8. Everythinng szid was actyually very logical. But, what aout this?
    wat iff you added a little content? I am not suggestig yoour
    information isn’t good., bbut suppose yyou added a title hat grrabbed a person’s attention? I mean 自建線上筆記本,Notion的最佳替代品:Trilium –
    Boris的交易世界 is a little plain. You sbould peek at Yahoo’s
    front page and watch how they create news titles tto gra viewers too click.
    You might addd a relateed video or a picxture or twoo tto get readers
    exfited about everything’ve goot to say. Juust myy opinion, iit might makke
    our psts a little bit more interesting.

  9. I am now not sufe the place you aare getting your info, hpwever great topic.
    I must spend a while finding oout mre or working ouut more.
    Thank yoou forr magnificent info I usedd to bbe inn search
    oof this ino ffor mmy mission.

  10. We’re a group oof volunteers and starting a nnew scheme inn ourr community.
    Your website providdd us with valuablpe information to workk on. Yoou hage
    doine a formidable joob andd ourr etire ccommunity wikl be thankfl to you.

  11. Howdy, i reawd yur blog occasionally andd i own a similar
    one and i was juust curious iff you get a lot of spam remarks?
    If so hhow do you reduce it, aany plougin or anything
    yoou can suggest? I gget so much lately it’s driiving me
    insane sso any assistance is very much appreciated.

  12. Yoour style is very unique in comparisoln too other folks I
    have read stuff from. Manyy thank forr posting when you’ve ggot
    thee opportunity, Guess I’ll jusst bookmark this page.

  13. Hmm it looks like your website ate my firs comment (it was super long)
    soo I guess I’ll jusxt sum itt upp what I suubmitted
    annd say, I’m thoroughly enjoying your blog. I as well am ann
    aspiring blog writer but I’m still neew to thee whole thing.
    Do you havve any tips and hints for newbie blg writers?
    I’d realloy apprewciate it.

  14. You really maske it sedm so easy wwith your presentation butt I
    find thuis opic to be rally sommething that I thunk I
    woul never understand. It seems tooo complicated and verry broad for me.
    I aam looking forward for your nexst post, I’ll try tto get the hqng of it!

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *