update some content
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"articleSection" : "post",
|
||||
"name" : "[筆記] 幾種可以自建服務的 File Sharing 系統比較",
|
||||
"headline" : "[筆記] 幾種可以自建服務的 File Sharing 系統比較",
|
||||
"description" : "\x3cp\x3e感覺最近應該會用到類似這樣的功能,趁著最近比較閒一點\x3c\/p\x3e\n\x3cp\x3e就把系統弄起來玩玩看,順便建立ansible 的playbook\x3c\/p\x3e",
|
||||
"description" : "\u003cp\u003e感覺最近應該會用到類似這樣的功能,趁著最近比較閒一點\u003c\/p\u003e\n\u003cp\u003e就把系統弄起來玩玩看,順便建立ansible 的playbook\u003c\/p\u003e",
|
||||
"inLanguage" : "en",
|
||||
"author" : "Eric Chang",
|
||||
"creator" : "Eric Chang",
|
||||
@@ -21,8 +21,8 @@
|
||||
"accountablePerson" : "Eric Chang",
|
||||
"copyrightHolder" : "Eric Chang",
|
||||
"copyrightYear" : "2021",
|
||||
"datePublished": "2021-06-25 15:49:54 \x2b0800 CST",
|
||||
"dateModified" : "2021-06-25 15:49:54 \x2b0800 CST",
|
||||
"datePublished": "2021-06-25 15:49:54 \u002b0800 CST",
|
||||
"dateModified" : "2021-06-25 15:49:54 \u002b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/post\/various-self-hosted-file-sharing-system-test\/",
|
||||
"wordCount" : "170",
|
||||
"image" : "https://h.cowbay.org/images/post-default-18.jpg"",
|
||||
@@ -45,9 +45,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1632901489" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1634607506" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1632901489" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1634607506" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -320,7 +320,7 @@ if (!doNotTrack) {
|
||||
<h4 id="始終找不到怎麼建立api-key">始終找不到怎麼建立API KEY</h4>
|
||||
<p><img src="https://i.imgur.com/83WOenv.png" alt=""></p>
|
||||
<p>在console 下,可以直接上傳並取得超連結</p>
|
||||
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">chchang@hqdc039:~/docker/linx-server$ cat linx-server.conf
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">chchang@hqdc039:~/docker/linx-server$ cat linx-server.conf
|
||||
bind <span style="color:#f92672">=</span> 0.0.0.0:7779
|
||||
sitename <span style="color:#f92672">=</span> myLinx
|
||||
siteurl <span style="color:#f92672">=</span> https://share.com.tw
|
||||
@@ -364,7 +364,7 @@ chchang@hqdc039:~/docker/linx-server$
|
||||
<p>算是很不錯用的了</p>
|
||||
<p><img src="https://i.imgur.com/4ujMfRA.png" alt=""></p>
|
||||
<h4 id="upload-in-terminal">upload in terminal</h4>
|
||||
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">chchang@hqdc039:~/docker/pictshare$ pict ~/Downloads/images/IMG_20190717_092723.jpg
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">chchang@hqdc039:~/docker/pictshare$ pict ~/Downloads/images/IMG_20190717_092723.jpg
|
||||
https://share.com.tw/1dpobr.jpg
|
||||
chchang@hqdc039:~/docker/pictshare$
|
||||
|
||||
@@ -377,7 +377,7 @@ chchang@hqdc039:~/docker/pictshare$
|
||||
<p>那真的很推薦這個指令,不用安裝有的沒的一大堆,anypaste 本身就是一個script 整合了各家服務的上傳指令</p>
|
||||
<p>所以「理論上」 要修改也不是太難..</p>
|
||||
<p>跑起來大概像這樣</p>
|
||||
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">chchang@hqdc039:~/docker/pictshare$ anypaste ~/Downloads/images/IMG_20190717_092723.jpg
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">chchang@hqdc039:~/docker/pictshare$ anypaste ~/Downloads/images/IMG_20190717_092723.jpg
|
||||
Current file: /home/chchang/Downloads/images/IMG_20190717_092723.jpg
|
||||
Attempting to upload with plugin <span style="color:#e6db74">'imgur'</span>
|
||||
<span style="color:#75715e">################################################################################################################# 100.0%</span>
|
||||
@@ -676,7 +676,7 @@ title="pinterest icon"></i>
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1632901489"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1634607506"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user