Fu-Yuan's Space
MemE 是一個強大且可高度定製的 GoHugo 部落格主題,專為個人部落格設計。
2026-02-26T15:23:37+08:00
https://becoder.org/
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
Hugo
在 EC2 以 Cloud Init 安裝 OpenAI Whisper 模型,支援多國語並以 GPU 加速 AI 模型自動辨識字幕,可直接嵌入字幕到影片中
https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/
2025-12-31T03:49:32+08:00
2025-12-31T02:51:58+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
以 OpenAI Whisper 配合 EC2 的 GPU 加速,高效地使用 Whisper AI 模型辨識高品質的影片、錄音高品質字幕辨識,並編譯支援 CUDA 加速的 ffmpeg 來節省後續轉檔、嵌入字幕的時間
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/" target="_blank" rel="noopener">https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前陣子因為一些需求需要幫某些影片上字幕,後來發現有 Whisper 這個好東西,幾分鐘內就可以產生正確度極高的字幕檔案;由於 Whisper 本身是免費的,唯一的費用來自 EC2 ,要節省費用可以直接在 EC2 開一台 g5.xlarge 的 Spot Instance 幾分鐘就跑完,非常方便划算省時,EC2 可以用完就丟直接砍掉。</p>
<h2 id="使用須知"><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#使用須知" class="anchor-link" aria-label="使用須知"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#contents:使用須知" class="headings">使用須知</a></h2>
<p>在此我以 g5.xlarge 主機進行測試,約 10 分鐘可以完全安裝完畢;不只 Whisper 支援 NVIDIA GPU 加速,連 ffmpeg 都編譯好 GPU 版本完全榨乾 GPU 的性能;<strong>在使用時需選擇帶有 <code>pytorch</code> 的 Amazon Linux 2023 的 AMI,可以省去安裝 NVIDIA 驅動、CUDA 等時間。</strong></p>
<p>想要最省錢的話,建議選 <code>us-east-1</code> 等大區域資源充足費用比起 <code>ap-northeast-1</code> 等區域便宜不少,並且啟動 EC2 時勾選 Spot Instance 可以節省更多費用但缺點可能隨時被終止,由於臨時性的上字幕不是什麼需要長久穩定執行的服務尚可接受,還請自行研究一下 Spot Instance 的機制。</p>
<h2 id="userdata"><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#userdata" class="anchor-link" aria-label="userdata"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#contents:userdata" class="headings">userdata</a></h2>
<pre tabindex="0"><code>#!/bin/bash -xe
dnf install wget git nasm libassuan-devel freetype-devel fribidi-devel fontconfig-devel python3 python3-pip -y
dnf install google-noto-sans-cjk-ttc-fonts -y
dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r) -y
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PATH="/opt/pytorch/bin:/opt/pytorch/cuda/bin:$PATH"
cd /root/
git clone https://github.com/libass/libass.git
cd libass
./autogen.sh
./configure --prefix=/usr/local
make -j$(nproc)
automake --add-missing
make install
ldconfig
pkg-config --modversion libass
cd /root/
git clone https://git.videolan.org/git/x264.git
cd x264
./configure --enable-shared --prefix=/usr/local
make -j$(nproc)
make install
ldconfig
cd /root/
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
cd nv-codec-headers
make install
cd /root/
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg/
cd ffmpeg
./configure \
--enable-nonfree \
--enable-gpl \
--enable-openssl \
--enable-cuda-nvcc \
--enable-nvenc \
--enable-libx264 \
--enable-libass \
--extra-cflags=-I/usr/local/cuda/include \
--extra-ldflags=-L/usr/local/cuda/lib64 \
--disable-static \
--enable-shared
make -j$(nproc)
make install
ldconfig
## Whisper
sudo -u ec2-user /opt/pytorch/bin/pip install --upgrade pip
sudo -u ec2-user /opt/pytorch/bin/pip install openai-whisper
sudo -u ec2-user /opt/pytorch/bin/pip uninstall pynvml -y
sudo -u ec2-user echo 'export PATH="/opt/pytorch/bin:/opt/pytorch/cuda/bin:$PATH"' >> ~ec2-user/.bashrc
</code></pre><p>在開機時請記得打開 <strong>Advanced details</strong> 選項直接在 <strong>User data</strong> 中貼入並啟動;Spot Instance 也是在這邊選取。
想看安裝進度的話,SSH 連入後執行以下指令即時輸出進度:</p>
<pre tabindex="0"><code>tail -f /var/log/cloud-init-output.log
</code></pre><h2 id="使用方式"><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#使用方式" class="anchor-link" aria-label="使用方式"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#contents:使用方式" class="headings">使用方式</a></h2>
<p>都已經使用 GPU 機型了,建議直接開到 <code>large-v2</code> 甚至 <code>large-v3</code> 可以獲得更佳的精準度:</p>
<pre tabindex="0"><code>whisper 影片名稱.mp4 --model large-v2
</code></pre><p>Whisper 還支援翻譯功能,指令參數請自行參考 <a href="https://github.com/openai/whisper?tab=readme-ov-file#command-line-usage" target="_blank" rel="noopener">Github 的說明</a>。</p>
<h2 id="使用-ffmpeg-嵌入字幕"><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#使用-ffmpeg-嵌入字幕" class="anchor-link" aria-label="使用-ffmpeg-嵌入字幕"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#contents:使用-ffmpeg-嵌入字幕" class="headings">使用 ffmpeg 嵌入字幕</a></h2>
<p>上面已經編譯了 GPU 版的 <code>ffmpeg</code> 並安裝字體了,可以直接使用以下指令把字幕嵌入影片中,這個 <code>FontSize=28</code> 適合 1080P 的影片,若更高畫質的影片請自行調整字體大小:</p>
<pre tabindex="0"><code>ffmpeg -hwaccel cuda -i 影片.mp4 -vf "subtitles=字幕.sbv:force_style='FontName=Noto Sans CJK TC,FontSize=28,Outline=2'" -c:v h264_nvenc -preset slow -c:a copy 影片字幕版.mp4
</code></pre><h2 id="本機-linux-使用"><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#本機-linux-使用" class="anchor-link" aria-label="本機-linux-使用"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/#contents:本機-linux-使用" class="headings">本機 Linux 使用</a></h2>
<p>當然如果不想用 EC2 的話,也是可以在本機 Linux 環境中使用的,過程大同小異,但需要手動安裝一下 <a href="https://developer.nvidia.com/cuda-downloads?target_os=Linux" target="_blank" rel="noopener">CUDA</a>,過程中應該會自己幫您安裝好 NVIDIA 驅動;建議可以選 Fedora、Rocky 支援 <code>dnf</code> 套件庫的發行版,這樣你就可以直接無痛使用上面的 userdata ,載下來手動安裝。</p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/" target="_blank" rel="noopener">https://becoder.org/userdata-openai-whisper-cuda-ffmpeg-amazon-linux-2023/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
猛健樂攜帶回台灣法規 - 入境限量規定與注意事項
https://becoder.org/bringing-mounjaro-to-taiwan/
2026-01-09T16:35:43+08:00
2025-12-21T05:31:46+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
完整解析猛健樂攜帶回台灣的法律規定,包含入境限量表、證明文件要求、空服員案例分析。提供最新法規資訊,避免違法風險。
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/bringing-mounjaro-to-taiwan/" target="_blank" rel="noopener">https://becoder.org/bringing-mounjaro-to-taiwan/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<p>最近看到新聞,有空服員帶猛健樂回來被逮,先說結論:</p>
<h2 id="旅客回國帶猛健樂注意事項"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#旅客回國帶猛健樂注意事項" class="anchor-link" aria-label="旅客回國帶猛健樂注意事項"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:旅客回國帶猛健樂注意事項" class="headings">旅客回國帶猛健樂注意事項</a></h2>
<strong>
<span style="color: red;">
※ 非推薦海外醫療,無法納入台灣健保紀錄,請務必自行評估風險、自行負責 ※ <br>
※ 杜絕違法代購、轉售處方藥,本文章僅針對旅遊回國自用等法規討論 ※ <br>
</span>
</strong>
<p><em><a href="https://www.facebook.com/mohw.gov.tw/posts/pfbid0MuUswd1GkZtCuDEDtYxzVPqjccL6dseADWmZfZj5e3NTscSFiCig7yv1JXjuaJFLl" target="_blank" rel="noopener">衛生福利部 FB</a> (<a href="https://archive.becoder.org/default/www.facebook.com/mohw.gov.tw/posts/pfbid0MuUswd1GkZtCuDEDtYxzVPqjccL6dseADWmZfZj5e3NTscSFiCig7yv1JXjuaJFLl" target="_blank" rel="noopener">pywb</a>)</em>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/mohw.webp" alt=""></p>
<ol>
<li>
<p><strong>是針劑一定要有證明文件<span style="color: red;">診斷書</span></strong> (<em>入境旅客攜帶自用藥物限量表 - 西藥規定 - 第三點</em>)</p>
<blockquote>
<p>針劑產品須攜帶醫師<strong>處方箋</strong>(或<strong>證明文件</strong>)</p></blockquote>
<p><strong>因「診療費請求書兼領收書」與「診療明細書」,這只能作為收據使用可能無法作為證明文件,只能得知你購買了哪些藥物,未註明用途、患者,過海關有機會被刁難</strong>,<strong><span style="color: red;">建議向診所自費購買「診斷書」(約 5000 日圓) 載明以下內容</span></strong>:</p>
<ul>
<li>護照姓名</li>
<li>規格與數量:0.5mg x 4 支、0.5mg x 20 支</li>
<li>註明清楚:1 週 1 支、每月 4 支,6 個月 24 支,半年份共 12 盒。</li>
<li><strong><span style="color: red;">蓋上醫師章與診所章</span></strong></li>
<li>「診療費請求書兼領收書」與「診療明細書」:<strong>可以的話也請診所蓋章</strong></li>
</ul>
<p><strong><span style="color: red;">上述三份文件(「診斷書」、「診療費請求書兼領收書」與「診療明細書」)入境時作為證明文件</span></strong>;因為沒有超過 6 個月不需要走申報通道(紅色櫃台)入境,但若被抽查請主動提出文件;求保險也可以主動走紅色櫃台提出證明。。</p>
<blockquote>
<p>目前詢問幾間比較有名的中文診所診斷書費用:<strong><a href="https://shibuyakimuraclinic.com/" target="_blank" rel="noopener">渋谷きむらクリニック</a> (<a href="https://www.threads.com/@shibuyakimura_clinic" target="_blank" rel="noopener">@shibuyakimura_clinic</a>) 免費<a href="https://www.threads.com/@shibuyakimura_clinic/post/DS9tfW-Af5H" target="_blank" rel="noopener">來源</a> <a href="https://archive.becoder.org/default/https://www.threads.com/@shibuyakimura_clinic/post/DS9tfW-Af5H" target="_blank" rel="noopener">備份</a></strong>、<strong><a href="https://tokyoevery.clinic/" target="_blank" rel="noopener">東京エブリークリニック</a> (<a href="https://www.threads.com/@tk.every" target="_blank" rel="noopener">@tk.every</a>) 4400 日圓</strong></p></blockquote>
</li>
<li>
<p><strong>未申報最多只能 6 個月份</strong> (<em>入境旅客攜帶自用藥物限量表 - 西藥規定 - 第二點</em>)</p>
<blockquote>
<p>處方藥攜帶醫師<strong>處方箋</strong>(或<strong>證明文件</strong>)者<strong>不得超過處方箋(或證明文件)開立之合理用量,且以六個月用量為限</strong>。</p></blockquote>
</li>
<li>
<p><strong>超過 6 個月請務必申報 (<a href="https://web.customs.gov.tw/taipei/singlehtml/3392?cntId=cus2_3392_3392_1347" target="_blank" rel="noopener">台北關 - 藥物及醫療器材</a> (<a href="https://archive.becoder.org/default/web.customs.gov.tw/taipei/singlehtml/3392?cntId=cus2_3392_3392_1347" target="_blank" rel="noopener">pywb</a>))</strong></p>
<blockquote>
<p>所攜西藥超逾左列限量規定時,應檢附衛生福利部食品藥物管理署(下稱食藥署)簽發之「個人自用藥品專案進口許可證」(請參考該署網頁/線上申辦平台/藥品),並於入境時向海關申報,始得攜帶入境。</p></blockquote>
</li>
<li>
<p><strong>回國前請勿拆盒,是以原包裝進行認定</strong></p>
<blockquote>
<p>※下表所定之產品種類:瓶(盒、罐、條、支、包、袋)等均<strong>以「原包裝」為限</strong>。</p></blockquote>
</li>
</ol>
<p><em><a href="https://www.fda.gov.tw/tc/includes/GetFile.ashx?id=f636694062583214871&type=3&iid=4027" target="_blank" rel="noopener">入境旅客攜帶自用藥物限量表</a></em>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/%E5%85%A5%E5%A2%83%E6%97%85%E5%AE%A2%E6%94%9C%E5%B8%B6%E8%87%AA%E7%94%A8%E8%97%A5%E7%89%A9%E9%99%90%E9%87%8F%E8%A1%A8-2.webp" alt="入境旅客攜帶自用藥物限量表">
<em><a href="https://web.customs.gov.tw/taipei/singlehtml/3392?cntId=cus2_3392_3392_1347" target="_blank" rel="noopener">臺北關 > 旅客通關 > 入境旅客 > 藥物及醫療器材</a> (<a href="https://archive.becoder.org/default/web.customs.gov.tw/taipei/singlehtml/3392?cntId=cus2_3392_3392_1347" target="_blank" rel="noopener">pywb</a>)</em>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/the-law-about-taking-mounjaro-to-taiwan-3.webp" alt=""></p>
<h3 id="診斷書範例"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#診斷書範例" class="anchor-link" aria-label="診斷書範例"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:診斷書範例" class="headings">診斷書範例</a></h3>
<p>診斷書範例由 <strong><a href="https://tokyoevery.clinic/" target="_blank" rel="noopener">東京エブリークリニック</a> (<a href="https://www.threads.com/@tk.every" target="_blank" rel="noopener">@tk.every</a>)</strong> 診所提供範本:
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/@tk.every-2.webp" alt=""></p>
<h3 id="診療費請求書兼領收書與診療明細書用印範例"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#診療費請求書兼領收書與診療明細書用印範例" class="anchor-link" aria-label="診療費請求書兼領收書與診療明細書用印範例"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:診療費請求書兼領收書與診療明細書用印範例" class="headings">「診療費請求書兼領收書」與「診療明細書」用印範例</a></h3>
<p><img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/%E8%A8%BA%E7%99%82%E6%98%8E%E7%B4%B0%E6%9B%B8%E8%A8%BA%E7%99%82%E8%B2%BB%E8%AB%8B%E6%B1%82%E6%9B%B8%E5%85%BC%E9%A0%98%E6%94%B6%E6%9B%B8.webp" alt="">
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/@tk.every-3.webp" alt=""></p>
<h2 id="實際案例走綠色通道被扣後續提供診斷書通關"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#實際案例走綠色通道被扣後續提供診斷書通關" class="anchor-link" aria-label="實際案例走綠色通道被扣後續提供診斷書通關"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:實際案例走綠色通道被扣後續提供診斷書通關" class="headings">實際案例:走綠色通道被扣,後續提供「診斷書」通關</a></h2>
<p><em><a href="https://www.threads.com/@zzzbenson/post/DSotejSkjSF" target="_blank" rel="noopener">@zzbenson</a> (<a href="https://archive.becoder.org/default/www.threads.com/@zzzbenson/post/DSotejSkjSF" target="_blank" rel="noopener">pywb</a>)</em>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/the-law-about-taking-mounjaro-to-taiwan-6.webp" alt=""></p>
<p><em><a href="https://www.threads.com/@ck12191219/post/DSpAMegkgC7" target="_blank" rel="noopener">@ck12191219</a> (<a href="https://archive.becoder.org/default/20251224191719060/https://www.threads.com/@ck12191219/post/DSpAMegkgC7" target="_blank" rel="noopener">pywb</a>)</em>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/ck12191219.webp" alt=""></p>
<p><a href="https://www.threads.com/@oscarchang925/post/DSkSyIsktV9" target="_blank" rel="noopener">有人打電話去 FDA 求證了</a>(<a href="https://archive.becoder.org/default/www.threads.com/@oscarchang925/post/DSkSyIsktV9" target="_blank" rel="noopener">pywb</a>) :
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/oscarchang925_fda.webp" alt=""></p>
<h2 id="新聞媒體"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#新聞媒體" class="anchor-link" aria-label="新聞媒體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:新聞媒體" class="headings">新聞媒體</a></h2>
<p><strong><a href="https://tw.news.yahoo.com/share/3c8ab327-cc40-46c8-87d3-ce5ba113b839" target="_blank" rel="noopener">國籍航空空服員攜大量瘦瘦針闖關被逮 海關沒收藥品送辦</a></strong>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/the-law-about-taking-mounjaro-to-taiwan.webp" alt=""></p>
<p><strong><a href="https://news.cnyes.com/news/id/6283193" target="_blank" rel="noopener">赴日掃貨瘦瘦針恐吃牢飯?海關提醒需符合2條件 否則「貨財」兩失還遭罰</a></strong>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/the-law-about-taking-mounjaro-to-taiwan-2.webp" alt=""></p>
<p><strong>[空服員帶12盒「猛健樂」已違法! 遭國籍航空開除 @newsebc]</strong>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/6m04hUxEnak?autoplay=0&controls=1&end=0&loop=0&mute=0&start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
</div>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/the-law-about-taking-mounjaro-to-taiwan-4.webp" alt=""></p>
<p><strong><a href="https://web.customs.gov.tw/taipei/singlehtml/83?cntId=df78a286c67d4505a030f410cbe834ca" target="_blank" rel="noopener">臺北關籲請旅客注意,未持有輸入許可,勿攜帶「瘦瘦針」、「瘦瘦筆」或「減肥筆」等產品入境</a> (<a href="https://archive.becoder.org/default/web.customs.gov.tw/taipei/singlehtml/83?cntId=df78a286c67d4505a030f410cbe834ca" target="_blank" rel="noopener">pywb</a>)</strong>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/the-law-about-taking-mounjaro-to-taiwan-5.webp" alt=""></p>
<h2 id="法規求證"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#法規求證" class="anchor-link" aria-label="法規求證"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:法規求證" class="headings">法規求證</a></h2>
<p>來翻一下 「藥事法第22條第1項第2款規定」</p>
<h3 id="藥事法第22條"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#藥事法第22條" class="anchor-link" aria-label="藥事法第22條"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:藥事法第22條" class="headings"><a href="https://law.moj.gov.tw/LawClass/LawSingle.aspx?pcode=L0030001&flno=22" target="_blank" rel="noopener">藥事法第22條</a></a></h3>
<pre tabindex="0"><code>1. 本法所稱禁藥,係指藥品有左列各款情形之一者:
一、經中央衛生主管機關明令公告禁止製造、調劑、輸入、輸出、販賣或陳列之毒害藥品。
二、未經核准擅自輸入之藥品。但旅客或隨交通工具服務人員攜帶自用藥品進口者,不在此限。
2. 前項第二款自用藥品之限量,由中央衛生主管機關會同財政部公告之。
</code></pre><p><strong>旅客或隨交通工具服務人員<span style="color: red;">攜帶自用藥品進口者,不在此限。</span></strong><br>
<strong>旅客或隨交通工具服務人員<span style="color: red;">攜帶自用藥品進口者,不在此限。</span></strong><br>
<strong>旅客或隨交通工具服務人員<span style="color: red;">攜帶自用藥品進口者,不在此限。</span></strong><br></p>
<p>數量的法規「<strong>自用藥品之限量,由中央衛生主管機關會同財政部公告</strong>」,這邊參考<strong>境旅客攜帶自用藥物限量表</strong> :</p>
<p><em><a href="https://www.fda.gov.tw/tc/includes/GetFile.ashx?id=f636694062583214871&type=3&iid=4027" target="_blank" rel="noopener">入境旅客攜帶自用藥物限量表</a></em>
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/%E5%85%A5%E5%A2%83%E6%97%85%E5%AE%A2%E6%94%9C%E5%B8%B6%E8%87%AA%E7%94%A8%E8%97%A5%E7%89%A9%E9%99%90%E9%87%8F%E8%A1%A8.webp" alt=""></p>
<pre tabindex="0"><code>### 入境旅客攜帶自用藥物限量表 - 西藥規定
1. 非處方藥每種至多十二瓶(盒、罐、條、支),合計以不超過三十六瓶(盒、罐、條、支)為限。
2. 處方藥未攜帶醫師處方箋(或證明文件)以二個月用量為限。處方藥攜帶醫師處方箋(或證明文件)者不得超過處方箋(或證明文件)開立之合理用量,且以六個月用量為限。
3. 針劑產品須攜帶醫師處方箋(或證明文件)。
### 入境旅客攜帶自用藥物限量表 - 備註
1. 旅客或隨交通工具服務人員攜帶自用之藥物,不得供非自用之用途。
2. 旅客或隨交通工具服務人員攜帶之管制藥品,須憑醫療院所之醫師處方箋(或證明文件),並以治療其本人疾病者為限,其攜帶量不得超過該醫師處方箋(或證明文件),且以六個月用量為限。
3. 藥品成分含保育類物種者,應先取得主管機關(農委會)同意始可攜帶入境。
4. 回航船員或航空器服務人員,其攜帶自用藥品進口,未攜帶醫師處方箋或證明文件,其攜帶數量不得超過表訂限量之二分之一。
5. 我國以處方藥管理之藥品,如國外係以非處方藥管理者適用非處方藥之限量規定。
6. 本表所定之產品種類:瓶(盒、罐、條、支、包、袋)等均以「原包裝」為限。
</code></pre><h2 id="空服員可能違反了哪條規定"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#空服員可能違反了哪條規定" class="anchor-link" aria-label="空服員可能違反了哪條規定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:空服員可能違反了哪條規定" class="headings">空服員可能違反了哪條規定?</a></h2>
<p>由於新聞並未明顯揭露實際的理由,就以截圖提到的「未攜帶處方簽」來說:</p>
<ol>
<li>
<p><strong>針劑無證明文件:針劑一定要有證明文件</strong> (入境旅客攜帶自用藥物限量表 - 西藥規定 - 第三點)</p>
<blockquote>
<p><strong>針劑產品須攜帶醫師處方箋(或證明文件)。</strong></p></blockquote>
</li>
<li>
<p><strong>無證明文件導致攜帶超量</strong>: <strong>空服員身分</strong>帶處方藥沒有文件依法只能二分之一,等於 1 個月份,6 個月已經超量違規;空服員被抓是因為他沒有文件,事前審批文件是用在海運、空運、包裹郵寄、取得案件號碼用在海關申報使用。(入境旅客攜帶自用藥物限量表 - 備註 - 第四點)</p>
<blockquote>
<p><strong>回航船員或航空器服務人員,其攜帶自用藥品進口,未攜帶醫師處方箋或證明文件,其攜帶數量不得超過表訂限量之二分之一</strong></p></blockquote>
</li>
<li>
<p><strong>超量未申報</strong>:空服員帶了 6 個月份,<strong>超量空服員規定的 1 個月份</strong>,所以中了未申報 (
<a href="https://web.customs.gov.tw/taipei/singlehtml/3392?cntId=cus2_3392_3392_1347" target="_blank" rel="noopener">台北關 - 藥物及醫療器材</a> (<a href="https://archive.becoder.org/default/web.customs.gov.tw/taipei/singlehtml/3392?cntId=cus2_3392_3392_1347" target="_blank" rel="noopener">pywb</a>))</p>
<blockquote>
<p>所攜西藥超逾左列限量規定時,應檢附衛生福利部食品藥物管理署(下稱食藥署)簽發之「個人自用藥品專案進口許可證」(請參考該署網頁/線上申辦平台/藥品),並於入境時向海關申報,始得攜帶入境。</p></blockquote>
<p><img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/the-law-about-taking-mounjaro-to-taiwan-3.webp" alt=""></p>
</li>
</ol>
<p>簡單來說,出去玩 <strong>自用</strong>、<strong>有證明文件(診斷書)</strong>、<strong>不超過 6 個月份</strong>,基本不用申報,沒有超過 6 個月的量就不需要走申報通道(紅色櫃台)入境,但若被抽查需要提出「診療費請求書兼領收書」、「診療明細書」、<strong><span style="color: red;">「診斷書」</span></strong>,通常診所會主動提供「診療費請求書兼領收書」、「診療明細書」,但可能無法作為證明文件,只能得知你購買了哪些藥物,未註明實際的藥量,<strong>過海關有機會被刁難</strong>:
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/%E8%A8%BA%E7%99%82%E6%98%8E%E7%B4%B0%E6%9B%B8%E8%A8%BA%E7%99%82%E8%B2%BB%E8%AB%8B%E6%B1%82%E6%9B%B8%E5%85%BC%E9%A0%98%E6%94%B6%E6%9B%B8.webp" alt=""></p>
<p>在日本,由於處方簽是院內用,且日本只有糖尿病病人會有處方簽,因此<strong><span style="color: red;">強烈建議向診所自費購買「診斷書」(約 5000 日圓) 載明以下內容</span></strong>:</p>
<ul>
<li>護照姓名</li>
<li>規格與數量:0.5mg x 4 支、0.5mg x 20 支</li>
<li>註明清楚:1 週 1 支、每月 4 支,6 個月 24 支,半年份共 12 盒。</li>
<li><strong><span style="color: red;">蓋上醫師章與診所章</span></strong></li>
<li>「診療費請求書兼領收書」與「診療明細書」:<strong>也請診所蓋章</strong></li>
</ul>
<p><strong><span style="color: red;">上述三份文件(「診斷書」、「診療費請求書兼領收書」與「診療明細書」)入境時作為證明文件</span></strong>,因<strong>未超過六個月</strong>不需要走申報通道(紅色櫃台)入境,但若被抽查請主動提出文件;求保險也可以主動走紅色櫃台提出證明。</p>
<blockquote>
<p>目前詢問幾間比較有名的中文診所診斷書費用:<strong><a href="https://shibuyakimuraclinic.com/" target="_blank" rel="noopener">渋谷きむらクリニック</a> (<a href="https://www.threads.com/@shibuyakimura_clinic" target="_blank" rel="noopener">@shibuyakimura_clinic</a>) 2026 起免費</strong>、<strong><a href="https://tokyoevery.clinic/" target="_blank" rel="noopener">東京エブリークリニック</a> (<a href="https://www.threads.com/@tk.every" target="_blank" rel="noopener">@tk.every</a>) 2026起免費</strong></p></blockquote>
<p>也可以給診所看一下中華民國海關的<a href="https://www.roc-taiwan.org/uploads/sites/44/2020/01/%E5%85%A5%E5%A2%83%E6%97%85%E5%AE%A2%E6%94%9C%E5%B8%B6%E8%87%AA%E7%94%A8%E8%97%A5%E7%89%A9%E9%99%90%E9%87%8F%E8%A1%A8%E6%97%A5%E6%96%87.pdf" target="_blank" rel="noopener">入境旅客攜帶自用藥物限量表日文</a> (<a href="https://archive.becoder.org/default/www.roc-taiwan.org/uploads/sites/44/2020/01/%E5%85%A5%E5%A2%83%E6%97%85%E5%AE%A2%E6%94%9C%E5%B8%B6%E8%87%AA%E7%94%A8%E8%97%A5%E7%89%A9%E9%99%90%E9%87%8F%E8%A1%A8%E6%97%A5%E6%96%87.pdf" target="_blank" rel="noopener">pywb</a>):
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/%E5%85%A5%E5%A2%83%E6%97%85%E5%AE%A2%E6%94%9C%E5%B8%B6%E8%87%AA%E7%94%A8%E8%97%A5%E7%89%A9%E9%99%90%E9%87%8F%E8%A1%A8%E6%97%A5%E6%96%87-1-compress.webp" alt="">
<img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/%E5%85%A5%E5%A2%83%E6%97%85%E5%AE%A2%E6%94%9C%E5%B8%B6%E8%87%AA%E7%94%A8%E8%97%A5%E7%89%A9%E9%99%90%E9%87%8F%E8%A1%A8%E6%97%A5%E6%96%87-2-compress.webp" alt=""></p>
<p>查了一下 「<a href="https://www.mohw.gov.tw/dl-93742-7b6a7a07-3e54-43e7-82f2-a9720e80cfd2.html" target="_blank" rel="noopener">全民健康保險爭議審議委員會審定書(稿)</a> <a href="https://archive.becoder.org/default/https:/www.mohw.gov.tw/dl-93742-7b6a7a07-3e54-43e7-82f2-a9720e80cfd2.html" target="_blank" rel="noopener">pywb</a>」,有人在日本拿「診療費請求書兼領收書」申請健保費,被拒絕不與給付,說明<strong><span style="color: red;">不足以作為證明文件</span></strong>:</p>
<p><img src="https://becoder.org/images/bringing-mounjaro-to-taiwan/%E5%85%A8%E6%B0%91%E5%81%A5%E5%BA%B7%E4%BF%9D%E9%9A%AA%E7%88%AD%E8%AD%B0%E5%AF%A9%E8%AD%B0%E5%A7%94%E5%93%A1%E6%9C%83%E5%AF%A9%E5%AE%9A%E6%9B%B8.webp" alt=""></p>
<h2 id="台灣其實有註冊日版的一次性針劑"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#台灣其實有註冊日版的一次性針劑" class="anchor-link" aria-label="台灣其實有註冊日版的一次性針劑"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:台灣其實有註冊日版的一次性針劑" class="headings">台灣其實有註冊日版的一次性針劑?</a></h2>
<p><strong>以下內容全為公開資訊</strong>,到衛福部食藥署的<a href="https://lmspiq.fda.gov.tw/web/DRPIQ/DRPIQLicSearch" target="_blank" rel="noopener">西藥許可證查詢</a>搜尋一下就有了,下面的 pdf 中有盒子的外觀,與日本版相同:</p>
<ul>
<li>
<p><a href="https://lmspiq.fda.gov.tw/web/DRPIQ/DRPIQ1000Result?licBaseId=2D84B2D3-D991-469D-9CE0-F14F4B4251B9" target="_blank" rel="noopener">衛部藥輸字第028463號 猛健樂注射劑2.5毫克/0.5毫升</a></p>
<ul>
<li><a href="https://mcp.fda.gov.tw/insert/lablefiles/1aeca810-26ba-4eb5-8731-75bcf2709ff0?c=2" target="_blank" rel="noopener">外盒仿單標籤粘貼表.pdf</a> (<a href="https://archive.becoder.org/default/https:/mcp.fda.gov.tw/insert/lablefiles/1aeca810-26ba-4eb5-8731-75bcf2709ff0?c=2" target="_blank" rel="noopener">pywb</a>)</li>
</ul>
</li>
<li>
<p><a href="https://lmspiq.fda.gov.tw/web/DRPIQ/DRPIQ1000Result?licBaseId=0906990F-DB19-4ED7-AD7F-B6A7BE6E56BB" target="_blank" rel="noopener">衛部藥輸字第028464號 猛健樂注射劑5毫克/0.5毫升</a></p>
<ul>
<li><a href="https://mcp.fda.gov.tw/insert/lablefiles/db9695fe-66a6-4b3d-84dd-4740357671af?c=2" target="_blank" rel="noopener">外盒仿單標籤粘貼表.pdf</a> (<a href="https://archive.becoder.org/default/https:/mcp.fda.gov.tw/insert/lablefiles/db9695fe-66a6-4b3d-84dd-4740357671af?c=2" target="_blank" rel="noopener">pywb</a>)</li>
</ul>
</li>
<li>
<p><a href="https://lmspiq.fda.gov.tw/web/DRPIQ/DRPIQ1000Result?licBaseId=8F3BDF28-C155-45A3-9E20-94B9EE698DB7" target="_blank" rel="noopener">衛部藥輸字第028465號猛健樂注射劑7.5毫克/0.5毫升</a></p>
<ul>
<li><a href="https://mcp.fda.gov.tw/insert/lablefiles/1d459b5f-9fc9-4f90-8349-d4e12377acf2?c=2" target="_blank" rel="noopener">外盒仿單標籤粘貼表.pdf</a> (<a href="https://archive.becoder.org/default/https:/mcp.fda.gov.tw/insert/lablefiles/1d459b5f-9fc9-4f90-8349-d4e12377acf2?c=2" target="_blank" rel="noopener">pywb</a>)</li>
</ul>
</li>
<li>
<p><a href="https://lmspiq.fda.gov.tw/web/DRPIQ/DRPIQ1000Result?licBaseId=FB5D4A10-CBD0-4F2C-8762-BF52B490DEDC" target="_blank" rel="noopener">衛部藥輸字第028466號 猛健樂注射劑10毫克/0.5毫升</a></p>
<ul>
<li><a href="https://mcp.fda.gov.tw/insert/lablefiles/9b43d495-3983-472d-bbcd-581214e3e8a5?c=2" target="_blank" rel="noopener">外盒仿單標籤粘貼表.pdf</a> (<a href="https://archive.becoder.org/default/https:/mcp.fda.gov.tw/insert/lablefiles/9b43d495-3983-472d-bbcd-581214e3e8a5?c=2" target="_blank" rel="noopener">pywb</a>)</li>
</ul>
</li>
<li>
<p><a href="https://lmspiq.fda.gov.tw/web/DRPIQ/DRPIQ1000Result?licBaseId=FB427B2D-A54E-4E66-8DFF-6542CB2850ED" target="_blank" rel="noopener">衛部藥輸字第028467號 猛健樂注射劑12.5毫克/0.5毫升</a></p>
<ul>
<li><a href="https://mcp.fda.gov.tw/insert/lablefiles/b2cd8395-d52b-45a3-904a-f3d1a5be577e?c=2" target="_blank" rel="noopener">外盒仿單標籤粘貼表.pdf</a> (<a href="https://archive.becoder.org/default/https:/mcp.fda.gov.tw/insert/lablefiles/b2cd8395-d52b-45a3-904a-f3d1a5be577e?c=2" target="_blank" rel="noopener">pywb</a>)</li>
</ul>
</li>
<li>
<p><a href="https://lmspiq.fda.gov.tw/web/DRPIQ/DRPIQ1000Result?licBaseId=26033DA8-7394-4FD6-A143-5A4ACDA0F258" target="_blank" rel="noopener">衛部藥輸字第028468號 猛健樂注射劑15毫克/0.5毫升</a></p>
<ul>
<li><a href="https://mcp.fda.gov.tw/insert/lablefiles/a33f9ce4-0625-4942-8716-6cd39e9115e1?c=2" target="_blank" rel="noopener">外盒仿單標籤粘貼表.pdf</a> (<a href="https://archive.becoder.org/default/https:/mcp.fda.gov.tw/insert/lablefiles/a33f9ce4-0625-4942-8716-6cd39e9115e1?c=2" target="_blank" rel="noopener">pywb</a>)</li>
</ul>
</li>
</ul>
<h3 id="中文仿單"><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#中文仿單" class="anchor-link" aria-label="中文仿單"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bringing-mounjaro-to-taiwan/#contents:中文仿單" class="headings">中文仿單</a></h3>
<p>公開資訊也有中文的仿單內容:<a href="https://mcp.fda.gov.tw/fileshow/7dbcd3f5-4db5-4436-a570-12d8a5710b18" target="_blank" rel="noopener">使用說明.pdf</a> (<a href="https://archive.becoder.org/default/https://mcp.fda.gov.tw/fileshow/7dbcd3f5-4db5-4436-a570-12d8a5710b18" target="_blank" rel="noopener">pywb</a>)</p>
<p>有誤煩請指正。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/bringing-mounjaro-to-taiwan/" target="_blank" rel="noopener">https://becoder.org/bringing-mounjaro-to-taiwan/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
DIY Meshtastic 裝置! 使用 Faketec v5 + Ra-01SH-P 模組
https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/
2026-02-06T02:11:49+08:00
2025-08-28T22:55:07+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>前陣子被朋友推坑使用 Heltec v3 進了 Meshtastic 的坑,後來發現可以自己洗 PCB 板子來 DIY,手癢就開始搞事了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/" target="_blank" rel="noopener">https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前陣子被朋友推坑使用 Heltec v3 進了 Meshtastic 的坑,後來發現可以自己洗 PCB 板子來 DIY,手癢就開始搞事了。</p>
<h2 id="faketec-v5-板子送洗"><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#faketec-v5-板子送洗" class="anchor-link" aria-label="faketec-v5-板子送洗"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#contents:faketec-v5-板子送洗" class="headings">Faketec v5 板子送洗?</a></h2>
<p>目前社群大多使用 JLCPCB 送洗,洗板子的細節可以參考社群內大佬寫的筆記:</p>
<ul>
<li><a href="https://hackmd.io/pl3BD8HUSDa_0tGeHo99KQ?view&" target="_blank" rel="noopener">FakeTec - DIY低成本的Meshtastic裝置</a></li>
<li><a href="https://hackmd.io/@YVJ_G5AxSgO4721tpy6iXw/r1fqR0fFll" target="_blank" rel="noopener">Faketec</a></li>
</ul>
<p>由於一次洗的量比較大,懶得洗的同學可以關注 FB 社群 <a href="https://www.facebook.com/groups/413628121046386" target="_blank" rel="noopener">Meshtastic Taiwan Community 臺灣鏈網</a> 時不時會有人開團洗板子。</p>
<h2 id="零件怎麼買"><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#零件怎麼買" class="anchor-link" aria-label="零件怎麼買"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#contents:零件怎麼買" class="headings">零件怎麼買?</a></h2>
<p>大多數的零件還是要從淘寶來,以下使我所購買的零件清單:</p>
<ul>
<li><a href="https://item.taobao.com/item.htm?id=760219799103" target="_blank" rel="noopener">Promicro NRF52840开发板 兼容nice!nano V2.0 带蓝牙 充电管理</a></li>
<li><a href="https://item.taobao.com/item.htm?id=953433670975" target="_blank" rel="noopener">XB8089D0</a></li>
<li><a href="https://detail.tmall.com/item.htm?id=529532295464" target="_blank" rel="noopener">1206 電阻</a>
<ul>
<li>1206 1%(100个)阻值:10M</li>
<li>1206 1%(100个)阻值:1K</li>
<li>1206 1%(100个)阻值:10K</li>
</ul>
</li>
<li><a href="https://item.taobao.com/item.htm?id=912427763683" target="_blank" rel="noopener">1206 電容</a>
<ul>
<li>100NF 0.1UF 104K 10%电压:10V封装规格:1206=50个</li>
</ul>
</li>
<li><a href="https://item.taobao.com/item.htm?id=542834738701" target="_blank" rel="noopener">SI2312选择货种:台产芯片</a></li>
<li><strong>LoRa 模組</strong>
<ul>
<li>初階:沒有經驗的同學直接買 HT-RA62 會比較省事,不需要改 PCB 板、也不需要刷特別版的韌體,可以直接使用<a href="https://flasher.meshtastic.org/" target="_blank" rel="noopener">官網</a> 的 DIY Promicro 韌體:<a href="https://item.taobao.com/item.htm?id=687692791680" target="_blank" rel="noopener">HT-RA62 - 863-928mhz</a>。</li>
<li>※ <strong>進階</strong>:如果想要功率放大器可以選擇 Ra-01SH-P,本篇就是用這片當範例,但 <strong>比較麻煩且需要刷客製化的韌體</strong>:<a href="https://item.taobao.com/item.htm?id=889451771342" target="_blank" rel="noopener">Ra-01SH-P</a>。</li>
</ul>
</li>
<li><a href="https://item.taobao.com/item.htm?id=548734046541" target="_blank" rel="noopener">JST1.25</a></li>
<li><a href="https://detail.tmall.com/item.htm?id=548400394108" target="_blank" rel="noopener">SMD 按鈕: 3x4x2.5</a>:其實 Faketec v5 的 BOM 清單中的 <a href="https://detail.tmall.com/item.htm?id=606154256861" target="_blank" rel="noopener">3x6x2.5</a> 是錯的因為我就照著買錯了,但其實一樣是可以焊上去的:
<img src="https://becoder.org/images/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/3x6x2.5.png" alt=""></li>
</ul>
<h3 id="天線轉接頭"><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#天線轉接頭" class="anchor-link" aria-label="天線轉接頭"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#contents:天線轉接頭" class="headings">天線、轉接頭</a></h3>
<ul>
<li><a href="https://item.taobao.com/item.htm?id=42766973471" target="_blank" rel="noopener">【胶棒天线】TX915-JKD-20 - 亿佰特915MHz胶棒电路板天线全向高增益SMA接口数传无线模块专用</a></li>
<li><a href="https://item.taobao.com/item.htm?_u=s2onfjlb7560&id=596908086391" target="_blank" rel="noopener">uf.l转sma跳线ipex ipxrg178网卡</a>
<ul>
<li>颜色分类:母头内孔接口:1代IPEX线长:10CM</li>
</ul>
</li>
</ul>
<h2 id="開始焊接之前"><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#開始焊接之前" class="anchor-link" aria-label="開始焊接之前"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#contents:開始焊接之前" class="headings">開始焊接之前</a></h2>
<p>使用模組 RA-01-SH-P 需要注意:</p>
<ol>
<li>
<p>ProMicro 先更新 Bootloader:新的板子直接接上PC,只需要拉 <a href="https://github.com/gargomoma/fakeTec_pcb?tab=readme-ov-file#bootloader" target="_blank" rel="noopener"><code>update-nice_nano_bootloader-0.9.2_nosd.uf2</code></a> 進去會瞬間退出再出現,打開 <code>INFO_UF2.txt</code> 確認版本為 0.9.2 即可。</p>
</li>
<li>
<p>安裝 Meshtastic 韌體: 我使用版友編譯的 <strong><a href="https://github.com/Bu1227/faketec-RA-01SH-P/releases/" target="_blank" rel="noopener">限制 3dbm 功率版本</a> 安裝參考<a href="https://hackmd.io/@YVJ_G5AxSgO4721tpy6iXw/r1fqR0fFll" target="_blank" rel="noopener">這篇</a></strong> 的刷機章節,也是直接拖 <code>firmware.uf2</code> 進去就會更新了。</p>
</li>
<li>
<p>ProMicro 先裸板不要焊接直接開機,掃社團內的 QR Code 設定頻道:
<img src="https://becoder.org/images/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/MFslot1.png" alt=""></p>
</li>
<li>
<p>藍芽連線密碼 123456 修改功率為 3dbm 避免把功率放大器燒壞 (如果是使用 <strong><a href="https://github.com/Bu1227/faketec-RA-01SH-P/releases" target="_blank" rel="noopener">板友編譯的版本</a> 就會鎖 3dbm</strong>)</p>
</li>
<li>
<p>將 v5 板子的 DIO2、RXEN 用綠油或耐高溫膠帶蓋起來
<img src="https://becoder.org/images/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/pcb.jpg" alt=""></p>
</li>
</ol>
<blockquote>
<p>v5 板子的線路 VCCPA 是與 DIO2 對接的,而預設 3.3v 29dbm 版本的 RA-01-SH-P 模組的 VCCPA 內是沒有接任何東西的,所以其實可以不用絕緣 DIO2;但如果買到 5v 版本就需要拉 5v 供電到 VCCPA,所以建議可以先絕緣 DIO2 或 VCCPA避免買到特殊 31dbm 版本 (模組內 VCCPA 未懸空) 的模組而造成異常。</p>
<p>RXEN 高電位才會啟動,放大器 (PA) 預設就是打開的,接了反而 PA 會因為 RXEN 低電位會被關掉放大器 (PA) 。</p></blockquote>
<p>經測試,長訊息會斷掉的問題目前未發現,最後附上 <a href="https://web.archive.org/web/20250828015915/https://aithinker-static.oss-cn-shenzhen.aliyuncs.com/docs/Specification/Ra-01SH-P_V1.0.3_Specification_cn_20250827.pdf" target="_blank" rel="noopener">RA-01SH-P 的最新的文件</a></p>
<p>焊接過程我有記錄下來:</p>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/OINfwTYuP40?autoplay=0&controls=1&end=0&loop=0&mute=0&start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
</div>
<h2 id="編譯韌體"><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#編譯韌體" class="anchor-link" aria-label="編譯韌體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#contents:編譯韌體" class="headings">編譯韌體</a></h2>
<p>可以使用以下指令在 Linux 環境進行編譯</p>
<pre tabindex="0"><code># Ubuntu 24.04:
# sudo apt update && sudo apt install python3.12-venv
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
echo "export PATH=$PATH:$HOME/.platformio/penv/bin/" >> ~/.bashrc
source ~/.bashrc
# git clone https://github.com/Bu1227/faketec-RA-01SH-P.git
# cd faketec-RA-01SH-P
git clone https://github.com/meshtastic/firmware.git
cd firmware && git submodule update --init
# 限制功率至 3dbm 避免燒壞功率放大器 (PA)
sed -i.bak 's/\(RDEF([^,]*, [^,]*, [^,]*, [^,]*, [^,]*,\) [0-9]\+\(,\)/\1 3\2/g' src/mesh/RadioInterface.cpp
sed -i.bak '/SX126X_MAX_POWER/a\
// RA-01SH-P 需要限制 SX1262 功率為3dbm,如果使用無 PA 功率放大器就不需要限制功率\
// Datasheet: https://web.archive.org/web/20250828015915/https://aithinker-static.oss-cn-shenzhen.aliyuncs.com/docs/Specification/Ra-01SH-P_V1.0.3_Specification_cn_20250827.pdf\
#define SX126X_MAX_POWER 3
' variants/nrf52840/diy/nrf52_promicro_diy_tcxo/variant.h
# 開始編譯,-j 指定 CPU 核心數可以加速
pio run -e nrf52_promicro_diy_tcxo -j 4
# 完成後東西會在 .pio/build/nrf52_promicro_diy_tcxo/
ls .pio/build/nrf52_promicro_diy_tcxo/firmware*
.pio/build/nrf52_promicro_diy_tcxo/firmware-nrf52_promicro_diy_tcxo-2.7.19.2361776.elf .pio/build/nrf52_promicro_diy_tcxo/firmware-nrf52_promicro_diy_tcxo-2.7.19.2361776.uf2
.pio/build/nrf52_promicro_diy_tcxo/firmware-nrf52_promicro_diy_tcxo-2.7.19.2361776.hex .pio/build/nrf52_promicro_diy_tcxo/firmware-nrf52_promicro_diy_tcxo-2.7.19.2361776.zip
.pio/build/nrf52_promicro_diy_tcxo/firmware-nrf52_promicro_diy_tcxo-2.7.19.2361776.mt.json
</code></pre><p>這邊我也提供 2026-02-06 編譯好的韌體給有需要的同學:</p>
<ul>
<li><strong><a href="https://becoder.org/images/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/firmware-nrf52_promicro_diy_tcxo-2.7.19.2361776.uf2">firmware-nrf52_promicro_diy_tcxo-2.7.19.2361776.uf2</a></strong>
<ul>
<li>md5sum: <code>e1e361d7806a4378b71d7949e17f17a4</code>)</li>
</ul>
</li>
</ul>
<h2 id="如何更新"><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#如何更新" class="anchor-link" aria-label="如何更新"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/#contents:如何更新" class="headings">如何更新?</a></h2>
<ol>
<li>將板子接上 PC 在 0.5 秒內按兩下 <code>RST</code> 鈕就可以進入 DFU 模式。</li>
<li>此時 PC 會跳一個新磁碟裝置出來。</li>
<li>直接將 <code>.uf2</code> 檔案拖進去即可。</li>
<li>完成後會磁碟消失並重新開機。</li>
<li>檢查一下 Meshtastic APP 有無成功連上。</li>
</ol>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/" target="_blank" rel="noopener">https://becoder.org/DIY-Meshtastic-Faketec-v5-and-Ra-01SH-P/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
How to Search RHEL AMI in AWS EC2
https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/
2024-12-12T11:53:36+08:00
2024-12-12T11:46:49+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/" target="_blank" rel="noopener">https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>According to <a href="https://access.redhat.com/solutions/15356" target="_blank" rel="noopener">Red Hat Enterprise Linux Images (AMI) Available on Amazon Web Services (AWS)</a>, all the AMIs provided by Redhat will under account <code>309956199498</code>, so we could search the AMIs we need like this:</p>
<h3 id="rhel7"><a href="https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/#rhel7" class="anchor-link" aria-label="rhel7"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/#contents:rhel7" class="headings">RHEL7</a></h3>
<pre tabindex="0"><code>$ aws ec2 describe-images --owners 309956199498 \
--filters "Name=name,Values=RHEL-7*" \
--query 'Images[*].{ID:ImageId,Name:Name,Created:CreationDate}' \
--output text \
--region eu-central-1 | sort -k1 --reverse
2024-10-11T13:32:27.000Z ami-0ad2778533baa4748 RHEL-7.9_HVM-20240930-x86_64-0-Hourly2-GP3
</code></pre><h3 id="rhel94"><a href="https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/#rhel94" class="anchor-link" aria-label="rhel94"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/#contents:rhel94" class="headings">RHEL9.4</a></h3>
<pre tabindex="0"><code>$ aws ec2 describe-images --owners 309956199498 \
--filters "Name=name,Values=RHEL-9.4*" \
--query 'Images[*].{ID:ImageId,Name:Name,Created:CreationDate}' \
--output text \
--region eu-central-1 | sort -k1 --reverse
2024-11-14T20:57:03.000Z ami-06ce7461a466fec39 RHEL-9.4.0_HVM-20241114-x86_64-0-Hourly2-GP3
2024-11-14T19:22:12.000Z ami-089b71495d6cacd26 RHEL-9.4.0_HVM-20241114-arm64-0-Hourly2-GP3
2024-08-30T18:31:05.000Z ami-0a8a854e8d54e15fd RHEL-9.4_HVM_GA-20240827-arm64-0-Hourly2-GP3
2024-08-29T18:49:27.000Z ami-0ad9d6257ef87c680 RHEL-9.4_HVM_GA-20240827-x86_64-0-Hourly2-GP3
2024-07-23T18:40:14.000Z ami-04d2cbd685964f8a8 RHEL-9.4.0_HVM-20240718-x86_64-2-Hourly2-GP3
2024-07-23T18:40:04.000Z ami-0089a9cfdbb13b585 RHEL-9.4.0_HVM-20240718-arm64-2-Hourly2-GP3
2024-06-07T00:19:58.000Z ami-007c3072df8eb6584 RHEL-9.4.0_HVM-20240605-x86_64-82-Hourly2-GP3
2024-06-07T00:16:42.000Z ami-02212921a6e889ed6 RHEL-9.4.0_HVM-20240605-arm64-82-Hourly2-GP3
2024-04-24T14:19:42.000Z ami-034b5b8ea21d61232 RHEL-9.4.0_HVM-20240423-x86_64-62-Hourly2-GP3
2024-04-24T14:16:32.000Z ami-095c0cb563b2bbdbb RHEL-9.4.0_HVM-20240423-arm64-62-Hourly2-GP3
2024-04-11T23:49:40.000Z ami-09740fc653b58c68f RHEL-9.4.0_HVM_BETA-20240411-x86_64-30-Hourly2-GP3
2024-04-11T23:47:54.000Z ami-02944a533ed208678 RHEL-9.4.0_HVM_BETA-20240411-arm64-30-Hourly2-GP3
</code></pre><!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/" target="_blank" rel="noopener">https://becoder.org/how-to-search-rhel-ami-in-aws-ec2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 Amazon Linux 2023 中以 Cloud Init 自動安裝最新版的 NextClud
https://becoder.org/userdata-nextclud-amazon-linux-2023/
2025-08-21T14:54:39+08:00
2024-08-15T11:48:28+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>前陣子為了使用 WebDav 功能來備份書籤 (<a href="https://floccus.org/download/">Floccus</a>),一開始想手動設定 HTTPD 的 WebDav 功能,無奈怎麼弄都怪怪的,而且還要安全認證,所以就打算用 NextCloud 所提供的 WebDav 功能。除此之外,NextCloud 本身提供的安全性也更高一些,可以啟動二階段認證、掛載外部儲存空間等,省掉很多自行維護的人力。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/userdata-nextclud-amazon-linux-2023/" target="_blank" rel="noopener">https://becoder.org/userdata-nextclud-amazon-linux-2023/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前陣子為了使用 WebDav 功能來備份書籤 (<a href="https://floccus.org/download/" target="_blank" rel="noopener">Floccus</a>),一開始想手動設定 HTTPD 的 WebDav 功能,無奈怎麼弄都怪怪的,而且還要安全認證,所以就打算用 NextCloud 所提供的 WebDav 功能。除此之外,NextCloud 本身提供的安全性也更高一些,可以啟動二階段認證、掛載外部儲存空間等,省掉很多自行維護的人力。</p>
<p>在開始之前,你的網域託管在 Route 53:如果你的網域是在 CloudFlare 之類的東西的話,只要把 <code>acme.sh</code> 內的 <code>--dns dns_aws</code> 改成 <code>--dns dns_cf</code> 就可以了,也請記得加上 CloudFlare 的相關 Key,在 <code>acme.sh</code> 的 Github 有所有支援的 DNS Provider 的設定:<a href="https://github.com/acmesh-official/acme.sh/wiki/dnsapi" target="_blank" rel="noopener">How to use DNS API</a>。</p>
<p>目前有以下功能:</p>
<ul>
<li>申請、自動 renew Let's Encrypt 憑證。</li>
<li>安裝所有 NextCloud 的必要 PHP 模組</li>
<li>建立資料庫、權限、密碼</li>
<li>執行 <code>mysql_secure_installation</code>、更改 DB <code>root</code> 密碼</li>
<li>依據官方文件調整 HTTPD 參數:
<ul>
<li>關閉檔案清單:<code>Options -Indexes</code>。</li>
<li>啟用 <code>rewrite</code>:<code>AllowOverride All</code>。</li>
<li>設定 <a href="https://docs.nextcloud.com/server/29/admin_manual/installation/harden_server.html#enable-http-strict-transport-security" target="_blank" rel="noopener"><code>Strict-Transport-Security</code></a>。</li>
<li>設定 NextCloud 的 Maintenance Window 時段。</li>
</ul>
</li>
</ul>
<p>在開始執行之前,有幾個參數需要手動調整:</p>
<ul>
<li><code>DOMAIN</code>:要申請 SSL 憑證的域名。</li>
<li><code>MAIL</code>:註冊 Let's Encrypt 的信箱。</li>
<li><code>AWS_ACCESS_KEY_ID</code>、<code>AWS_SECRET_ACCESS_KEY</code>:有 Route 53 的權限的 IAM User 的 AKSK,請參考:<a href="https://github.com/acmesh-official/acme.sh/wiki/How-to-use-Amazon-Route53-API" target="_blank" rel="noopener">How to use Amazon Route53 API</a>。</li>
<li><code>ROOT_DB_PASSWORD</code>:資料庫 <code>root</code> 密碼。</li>
<li><code>NC_DB_NAME</code>:NextCloud 的資料庫名稱。</li>
<li><code>NC_DB_USER</code>:資料庫使用者名稱。</li>
<li><code>NC_DB_PASSWORD</code>:資料庫使用者的密碼。</li>
<li><code>NC_MAINTENANCE_WINDOW=16</code>:NextCloud 的維護時段 (UTC+0)。</li>
<li><code>PHP_MEMORY_LIMIT</code>:PHP 記憶體大小。</li>
<li><code>PHP_POST_MAX_SIZE</code>:PHP 接受 POST 大小。</li>
<li><code>PHP_UPLOAD_MAX_FILESIZE</code>:PHP 接受的檔案大小。</li>
</ul>
<h2 id="userdata"><a href="https://becoder.org/userdata-nextclud-amazon-linux-2023/#userdata" class="anchor-link" aria-label="userdata"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/userdata-nextclud-amazon-linux-2023/#contents:userdata" class="headings">Userdata</a></h2>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt"> 10
</span><span class="lnt"> 11
</span><span class="lnt"> 12
</span><span class="lnt"> 13
</span><span class="lnt"> 14
</span><span class="lnt"> 15
</span><span class="lnt"> 16
</span><span class="lnt"> 17
</span><span class="lnt"> 18
</span><span class="lnt"> 19
</span><span class="lnt"> 20
</span><span class="lnt"> 21
</span><span class="lnt"> 22
</span><span class="lnt"> 23
</span><span class="lnt"> 24
</span><span class="lnt"> 25
</span><span class="lnt"> 26
</span><span class="lnt"> 27
</span><span class="lnt"> 28
</span><span class="lnt"> 29
</span><span class="lnt"> 30
</span><span class="lnt"> 31
</span><span class="lnt"> 32
</span><span class="lnt"> 33
</span><span class="lnt"> 34
</span><span class="lnt"> 35
</span><span class="lnt"> 36
</span><span class="lnt"> 37
</span><span class="lnt"> 38
</span><span class="lnt"> 39
</span><span class="lnt"> 40
</span><span class="lnt"> 41
</span><span class="lnt"> 42
</span><span class="lnt"> 43
</span><span class="lnt"> 44
</span><span class="lnt"> 45
</span><span class="lnt"> 46
</span><span class="lnt"> 47
</span><span class="lnt"> 48
</span><span class="lnt"> 49
</span><span class="lnt"> 50
</span><span class="lnt"> 51
</span><span class="lnt"> 52
</span><span class="lnt"> 53
</span><span class="lnt"> 54
</span><span class="lnt"> 55
</span><span class="lnt"> 56
</span><span class="lnt"> 57
</span><span class="lnt"> 58
</span><span class="lnt"> 59
</span><span class="lnt"> 60
</span><span class="lnt"> 61
</span><span class="lnt"> 62
</span><span class="lnt"> 63
</span><span class="lnt"> 64
</span><span class="lnt"> 65
</span><span class="lnt"> 66
</span><span class="lnt"> 67
</span><span class="lnt"> 68
</span><span class="lnt"> 69
</span><span class="lnt"> 70
</span><span class="lnt"> 71
</span><span class="lnt"> 72
</span><span class="lnt"> 73
</span><span class="lnt"> 74
</span><span class="lnt"> 75
</span><span class="lnt"> 76
</span><span class="lnt"> 77
</span><span class="lnt"> 78
</span><span class="lnt"> 79
</span><span class="lnt"> 80
</span><span class="lnt"> 81
</span><span class="lnt"> 82
</span><span class="lnt"> 83
</span><span class="lnt"> 84
</span><span class="lnt"> 85
</span><span class="lnt"> 86
</span><span class="lnt"> 87
</span><span class="lnt"> 88
</span><span class="lnt"> 89
</span><span class="lnt"> 90
</span><span class="lnt"> 91
</span><span class="lnt"> 92
</span><span class="lnt"> 93
</span><span class="lnt"> 94
</span><span class="lnt"> 95
</span><span class="lnt"> 96
</span><span class="lnt"> 97
</span><span class="lnt"> 98
</span><span class="lnt"> 99
</span><span class="lnt">100
</span><span class="lnt">101
</span><span class="lnt">102
</span><span class="lnt">103
</span><span class="lnt">104
</span><span class="lnt">105
</span><span class="lnt">106
</span><span class="lnt">107
</span><span class="lnt">108
</span><span class="lnt">109
</span><span class="lnt">110
</span><span class="lnt">111
</span><span class="lnt">112
</span><span class="lnt">113
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="cp">#!/bin/sh
</span></span></span><span class="line"><span class="cl"><span class="cp"></span><span class="nb">set</span> -x
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">DOMAIN</span><span class="o">=</span><span class="s2">""</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">MAIL</span><span class="o">=</span><span class="s2">""</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">AWS_ACCESS_KEY_ID</span><span class="o">=</span><span class="s2">""</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">AWS_SECRET_ACCESS_KEY</span><span class="o">=</span><span class="s2">""</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">ROOT_DB_PASSWORD</span><span class="o">=</span><span class="s2">""</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">NC_DB_NAME</span><span class="o">=</span><span class="s2">"nextcloud"</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">NC_DB_USER</span><span class="o">=</span><span class="s2">"nc_user"</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">NC_DB_PASSWORD</span><span class="o">=</span><span class="s2">""</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">NC_MAINTENANCE_WINDOW</span><span class="o">=</span><span class="m">16</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">PHP_MEMORY_LIMIT</span><span class="o">=</span><span class="s2">"1G"</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">PHP_POST_MAX_SIZE</span><span class="o">=</span><span class="s2">"10G"</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">PHP_UPLOAD_MAX_FILESIZE</span><span class="o">=</span><span class="s2">"10G"</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1">########</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">HOME</span><span class="o">=</span>/root
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nv">max_attempts</span><span class="o">=</span><span class="m">5</span>
</span></span><span class="line"><span class="cl"><span class="nv">attempt_num</span><span class="o">=</span><span class="m">1</span>
</span></span><span class="line"><span class="cl"><span class="nv">success</span><span class="o">=</span><span class="nb">false</span>
</span></span><span class="line"><span class="cl"><span class="k">while</span> <span class="o">[</span> <span class="nv">$success</span> <span class="o">=</span> <span class="nb">false</span> <span class="o">]</span> <span class="o">&&</span> <span class="o">[</span> <span class="nv">$attempt_num</span> -le <span class="nv">$max_attempts</span> <span class="o">]</span><span class="p">;</span> <span class="k">do</span>
</span></span><span class="line"><span class="cl"> <span class="nb">echo</span> <span class="s2">"Trying dnf install"</span>
</span></span><span class="line"><span class="cl"> dnf install cronie httpd mod_ssl socat mariadb1011-server unzip php8.3-fpm php8.3-pdo php8.3-mysqlnd php8.3-xml php8.3-mbstring php8.3-gd php8.3-zip php8.3-opcache php8.3-modphp php8.3-process php8.3-bcmath php8.3-gmp php8.3-intl php8.3-sodium php-devel php-pear ImageMagick ImageMagick-devel -y
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"> <span class="k">if</span> <span class="o">[</span> <span class="nv">$?</span> -eq <span class="m">0</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span>
</span></span><span class="line"><span class="cl"> <span class="nb">echo</span> <span class="s2">"dnf install succeeded"</span>
</span></span><span class="line"><span class="cl"> <span class="nv">success</span><span class="o">=</span><span class="nb">true</span>
</span></span><span class="line"><span class="cl"> <span class="k">else</span>
</span></span><span class="line"><span class="cl"> <span class="nb">echo</span> <span class="s2">"Attempt </span><span class="nv">$attempt_num</span><span class="s2"> failed. Sleeping for 30 seconds and trying again..."</span>
</span></span><span class="line"><span class="cl"> sleep <span class="m">30</span>
</span></span><span class="line"><span class="cl"> <span class="o">((</span>attempt_num++<span class="o">))</span>
</span></span><span class="line"><span class="cl"> <span class="k">fi</span>
</span></span><span class="line"><span class="cl"><span class="k">done</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nb">printf</span> <span class="s2">"\n"</span> <span class="p">|</span> pecl install imagick
</span></span><span class="line"><span class="cl"><span class="nb">echo</span> <span class="s2">"extension=imagick.so"</span> >> /etc/php.d/20-imagick.ini
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">systemctl start httpd
</span></span><span class="line"><span class="cl">systemctl <span class="nb">enable</span> httpd
</span></span><span class="line"><span class="cl">systemctl start mariadb
</span></span><span class="line"><span class="cl">systemctl <span class="nb">enable</span> mariadb
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">curl https://get.acme.sh <span class="p">|</span> sh -s <span class="nv">email</span><span class="o">=</span><span class="nv">$MAIL</span>
</span></span><span class="line"><span class="cl">/root/.acme.sh/acme.sh --issue --force<span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --dns dns_aws <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> -d <span class="nv">$DOMAIN</span> <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --cert-file /etc/pki/tls/certs/<span class="nv">$DOMAIN</span>.cert.pem <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --key-file /etc/pki/tls/private/<span class="nv">$DOMAIN</span>.key.pem <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --fullchain-file /etc/pki/tls/certs/<span class="nv">$DOMAIN</span>.fullchain.pem <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --reloadcmd <span class="s2">"systemctl reload httpd"</span> --apache
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1"># Replace the default SSL credential files.</span>
</span></span><span class="line"><span class="cl">sed -i <span class="s1">'s/SSLCertificateFile\ \/etc\/pki\/tls\/certs\/localhost.crt/SSLCertificateFile\ \/etc\/pki\/tls\/certs\/'</span><span class="nv">$DOMAIN</span><span class="s1">'.cert.pem/g'</span> /etc/httpd/conf.d/ssl.conf
</span></span><span class="line"><span class="cl">sed -i <span class="s1">'s/SSLCertificateKeyFile\ \/etc\/pki\/tls\/private\/localhost.key/SSLCertificateKeyFile\ \/etc\/pki\/tls\/private\/'</span><span class="nv">$DOMAIN</span><span class="s1">'.key.pem/g'</span> /etc/httpd/conf.d/ssl.conf
</span></span><span class="line"><span class="cl">sed -i <span class="s1">'s/#SSLCertificateChainFile\ \/etc\/pki\/tls\/certs\/server-chain.crt/SSLCertificateChainFile\ \/etc\/pki\/tls\/certs\/'</span><span class="nv">$DOMAIN</span><span class="s1">'.fullchain.pem/g'</span> /etc/httpd/conf.d/ssl.conf
</span></span><span class="line"><span class="cl">sed -i <span class="s1">'s/Options\ Indexes\ FollowSymLinks/Options\ -Indexes\ +FollowSymLinks/g'</span> /etc/httpd/conf/httpd.conf
</span></span><span class="line"><span class="cl">sed -i <span class="s1">'s/AllowOverride\ None/AllowOverride\ All/g'</span> /etc/httpd/conf/httpd.conf
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1"># Update the php limits.</span>
</span></span><span class="line"><span class="cl"><span class="nb">echo</span> <span class="s2">"php_value[memory_limit] = </span><span class="nv">$PHP_MEMORY_LIMIT</span><span class="s2">"</span> >> /etc/php-fpm.d/www.conf
</span></span><span class="line"><span class="cl"><span class="nb">echo</span> <span class="s2">"php_value[post_max_size] = </span><span class="nv">$PHP_POST_MAX_SIZE</span><span class="s2">"</span> >> /etc/php-fpm.d/www.conf
</span></span><span class="line"><span class="cl"><span class="nb">echo</span> <span class="s2">"php_value[upload_max_filesize] = </span><span class="nv">$PHP_UPLOAD_MAX_FILESIZE</span><span class="s2">"</span> >> /etc/php-fpm.d/www.conf
</span></span><span class="line"><span class="cl">sed -i <span class="s2">"s/^memory_limit = .*/memory_limit = </span><span class="si">${</span><span class="nv">PHP_MEMORY_LIMIT</span><span class="si">}</span><span class="s2">/"</span> /etc/php.ini
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1"># Set Strict-Transport-Security header</span>
</span></span><span class="line"><span class="cl">sed -i <span class="s1">'s/<\/VirtualHost>/\ \ \ \ \<IfModule\ mod_headers.c\>\n\ \ \ \ \ \ \ \ Header\ always\ set\ Strict-Transport-Security\ \"max-age\=15552000\;\ includeSubDomains\"\n\ \ \ \ \<\/IfModule\>\n<\/VirtualHost>/g'</span> /etc/httpd/conf.d/ssl.conf
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1"># Update the opcache configuation.</span>
</span></span><span class="line"><span class="cl">sed -i <span class="s2">"s/;opcache.interned_strings_buffer=8/opcache.interned_strings_buffer=64/g"</span> /etc/php.d/10-opcache.ini
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">systemctl reload httpd
</span></span><span class="line"><span class="cl">systemctl restart php-fpm
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">curl -O --output-dir /var/www/ https://download.nextcloud.com/server/releases/latest.zip
</span></span><span class="line"><span class="cl">unzip /var/www/latest.zip -d /var/www/
</span></span><span class="line"><span class="cl">rm -rf /var/www/html/
</span></span><span class="line"><span class="cl">mv /var/www/nextcloud /var/www/html
</span></span><span class="line"><span class="cl">tee /var/www/html/config/autoconfig.php <span class="s"><< EOF
</span></span></span><span class="line"><span class="cl"><span class="s"><?php
</span></span></span><span class="line"><span class="cl"><span class="s">\$AUTOCONFIG = array(
</span></span></span><span class="line"><span class="cl"><span class="s"> "dbtype" => "mysql",
</span></span></span><span class="line"><span class="cl"><span class="s"> "dbname" => "$NC_DB_NAME",
</span></span></span><span class="line"><span class="cl"><span class="s"> "dbuser" => "$NC_DB_USER",
</span></span></span><span class="line"><span class="cl"><span class="s"> "dbpass" => "$NC_DB_PASSWORD",
</span></span></span><span class="line"><span class="cl"><span class="s"> "dbhost" => "localhost",
</span></span></span><span class="line"><span class="cl"><span class="s"> "dbport" => "3306",
</span></span></span><span class="line"><span class="cl"><span class="s"> "dbtableprefix" => "oc_",
</span></span></span><span class="line"><span class="cl"><span class="s"> "maintenance_window_start" => "$NC_MAINTENANCE_WINDOW",
</span></span></span><span class="line"><span class="cl"><span class="s"> 'htaccess.RewriteBase' => '/',
</span></span></span><span class="line"><span class="cl"><span class="s">);
</span></span></span><span class="line"><span class="cl"><span class="s">?>
</span></span></span><span class="line"><span class="cl"><span class="s">EOF</span>
</span></span><span class="line"><span class="cl">chown -R apache:apache /var/www/html
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1">### mysql_secure_installation</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"UPDATE mysql.user SET Password=PASSWORD('</span><span class="nv">$ROOT_DB_PASSWORD</span><span class="s2">') WHERE User='root';"</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"DELETE FROM mysql.user WHERE User='';"</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');"</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"DROP DATABASE IF EXISTS test;"</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%';"</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"FLUSH PRIVILEGES;"</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1">### Create a database for NextCloud</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"CREATE USER '</span><span class="nv">$NC_DB_USER</span><span class="s2">'@'localhost' IDENTIFIED BY '</span><span class="nv">$NC_DB_PASSWORD</span><span class="s2">';"</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"CREATE DATABASE IF NOT EXISTS </span><span class="nv">$NC_DB_NAME</span><span class="s2"> CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;"</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"GRANT ALL PRIVILEGES on </span><span class="nv">$NC_DB_NAME</span><span class="s2">.* to '</span><span class="nv">$NC_DB_USER</span><span class="s2">'@'localhost';"</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1">### Set root password form empty.</span>
</span></span><span class="line"><span class="cl">mysql -e <span class="s2">"ALTER USER 'root'@'localhost' IDENTIFIED BY '</span><span class="nv">$ROOT_DB_PASSWORD</span><span class="s2">';"</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><h2 id="其他建議"><a href="https://becoder.org/userdata-nextclud-amazon-linux-2023/#其他建議" class="anchor-link" aria-label="其他建議"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/userdata-nextclud-amazon-linux-2023/#contents:其他建議" class="headings">其他建議</a></h2>
<ul>
<li>可依據需求連線 ElastiCache (Memcached、Reds) 快取(成本很高)。</li>
<li>使用 S3 作為外部儲存空間 (<a href="https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage/amazons3.html" target="_blank" rel="noopener">External Storages</a>),因為 S3 會依據檔案用量收費,但 EBS 會以硬碟的檔案大小來收費。使用 S3 還可以直接從 AWS Conosle 存取當案。</li>
</ul>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/userdata-nextclud-amazon-linux-2023/" target="_blank" rel="noopener">https://becoder.org/userdata-nextclud-amazon-linux-2023/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
如何在 CentOS 7 EOL 後繼續存取官方套件庫?
https://becoder.org/centos7-repo-after-eol/
2024-08-15T11:47:45+08:00
2024-07-10T16:32:52+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>許多人愛用的 CentOS 7 在今年 2024/06/30 正式 EOL 了,官方的套件庫也會移除;但如果有一些軟體仍需要存取套件庫,可以使用官方提供的 Archive 套件庫 <code>vault.centos.org</code> 繼續存取 <em>注意,已經 EOL 就不會有任何的軟體更新版本,任何漏洞也都不會再進行修復,還請盡早升級到其他更先進的作業系統。</em></p>
<p>使用以下的指令來替換現有的套件庫:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/centos7-repo-after-eol/" target="_blank" rel="noopener">https://becoder.org/centos7-repo-after-eol/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>許多人愛用的 CentOS 7 在今年 2024/06/30 正式 EOL 了,官方的套件庫也會移除;但如果有一些軟體仍需要存取套件庫,可以使用官方提供的 Archive 套件庫 <code>vault.centos.org</code> 繼續存取 <em>注意,已經 EOL 就不會有任何的軟體更新版本,任何漏洞也都不會再進行修復,還請盡早升級到其他更先進的作業系統。</em></p>
<p>使用以下的指令來替換現有的套件庫:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">sudo sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
</span></span><span class="line"><span class="cl">sudo sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
</span></span><span class="line"><span class="cl">sudo sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>這樣就可以下載套件囉。</p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/centos7-repo-after-eol/" target="_blank" rel="noopener">https://becoder.org/centos7-repo-after-eol/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
如何在 Windows 中恢復誤刪的檔案? 使用 D-Back for Windows
https://becoder.org/windows-data-recovery/
2024-05-07T19:10:37+08:00
2024-05-07T19:00:00+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在這個雲端的時代,我們已經很少使用 USB 隨身碟這些工具,但目前有一樣無法取代的就是:相機記憶卡。雖然有些機型有提供 WIFI 功能,但從讀卡機直接讀記憶卡還是最快、最簡單的方式。當你出國旅遊、帶了一堆記憶卡出門拍照回家在拉檔案是,有時候難免意外刪掉一些還沒備份的照片,或者甚至是不小心以為這張卡已經備份過就把記憶卡格式化了,造成無法挽回的遺憾。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows-data-recovery/" target="_blank" rel="noopener">https://becoder.org/windows-data-recovery/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在這個雲端的時代,我們已經很少使用 USB 隨身碟這些工具,但目前有一樣無法取代的就是:相機記憶卡。雖然有些機型有提供 WIFI 功能,但從讀卡機直接讀記憶卡還是最快、最簡單的方式。當你出國旅遊、帶了一堆記憶卡出門拍照回家在拉檔案是,有時候難免意外刪掉一些還沒備份的照片,或者甚至是不小心以為這張卡已經備份過就把記憶卡格式化了,造成無法挽回的遺憾。</p>
<p>不過現在這些問題已經可以被解決了,那就是透過檔案救援軟體,近期發現了一款「<a href="https://tw.imyfone.com/data-recovery/" target="_blank" rel="noopener">D-Back For Windows</a>」的檔案救援軟體,實際使用後有了不錯的體驗。</p>
<blockquote>
<ul>
<li>軟體名稱:D-Back For Windows</li>
<li>下載連結:<a href="https://tw.imyfone.com/data-recovery/" target="_blank" rel="noopener">https://tw.imyfone.com/data-recovery/</a></li>
</ul></blockquote>
<p>這套軟體在使用上,不論是誤刪記憶卡、<a href="https://tw.imyfone.com/windows-data-recovery/recover-deleted-files-from-usb/" target="_blank" rel="noopener">USB隨身碟檔案還原</a> 都可以支援,我也順便紀錄一下測試的成果。</p>
<h2 id="測試"><a href="https://becoder.org/windows-data-recovery/#測試" class="anchor-link" aria-label="測試"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/windows-data-recovery/#contents:測試" class="headings">測試</a></h2>
<p>首先我在 Windows 環境中安裝了 <a href="https://tw.imyfone.com/data-recovery/" target="_blank" rel="noopener">D-Back For Windows</a> 後,我以電腦上的照片進行測試刪除並嘗試還原:</p>
<p><img src="https://becoder.org/images/windows-data-recovery/01.webp" alt=""></p>
<p>再來,救援檔案有很重要的一點,在<strong>刪除檔案後請絕對不要再寫入新的檔案</strong>,這會導致被刪除的檔案真的被蓋掉,就好像被底片在陽光下曝光了,當初紀錄的東西就會真的被覆蓋掉了,這個基本概念一定要有。</p>
<p>打開 D-Back for Windows 後,選擇「電腦本機或外接硬碟資料救援」,這個選項包含了 各種 USB 裝置與記憶卡,這是最常用的一個選項:</p>
<p><img src="https://becoder.org/images/windows-data-recovery/02.webp" alt=""></p>
<p>為了從 <a href="https://tw.imyfone.com/windows-data-recovery/recover-deleted-files-from-recycle-bin-after-empty/" target="_blank" rel="noopener">資源回收桶救回</a>檔案,就必須選擇來源為<strong>資源回收桶</strong>:</p>
<p><img src="https://becoder.org/images/windows-data-recovery/03.webp" alt=""></p>
<p>跑完後會列出所有已經刪除的檔案,這包含了系統暫存檔,但這邊先不要全部恢復,我只要恢復我需要的檔案:</p>
<p><img src="https://becoder.org/images/windows-data-recovery/04.webp" alt=""></p>
<p>右上角簡單搜尋一下,就可以找到剛才刪除的檔案。由於這些檔案經過改名、丟入資源回收桶、刪除等步驟,因此會出現多個結果,可以選擇全部還原確保檔案是都正確的:</p>
<p><img src="https://becoder.org/images/windows-data-recovery/05.webp" alt="">
<img src="https://becoder.org/images/windows-data-recovery/06.webp" alt=""></p>
<p>在還原後會自動開啟目的地的資料夾,可以直接檢查照片有沒有問題,看起來很好,三隻可愛的小吉:</p>
<p><img src="https://becoder.org/images/windows-data-recovery/07.webp" alt=""></p>
<h2 id="結論"><a href="https://becoder.org/windows-data-recovery/#結論" class="anchor-link" aria-label="結論"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/windows-data-recovery/#contents:結論" class="headings">結論</a></h2>
<p>關於檔案救援,我綜合以下總結:</p>
<ul>
<li>經過誤刪的格式化的硬碟與隨身碟,請勿再寫入新的檔案。</li>
<li>在執行任何刪除動作前,請務必進行檔案備份,如果在現有電腦容量不足的情況下,系統會自動複寫已刪除的資料來釋放空間,到時也無法找為這些檔案。</li>
</ul>
<p>另外,D-Back for Windows 也提供了簡潔易懂的影片介紹,可以更容易的上手使用:</p>
<style>
.video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
<div class="video-container">
<iframe src="https://www.youtube.com/embed/vHJFluB7dOU" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows-data-recovery/" target="_blank" rel="noopener">https://becoder.org/windows-data-recovery/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 AWS EC2 上直接執行 Alpine Linux 虛擬機
https://becoder.org/running-alpine-linux-on-ec2/
2024-05-02T15:58:18+08:00
2024-05-02T14:32:57+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Alpine Linux 是一格極輕量化的 Linux 作業系統,大多用於 Docker 容器等地方,其實他也可以在 VM 中執行的,省資源而且還是滾動式更新(Rolling Update),減少了很多版更的成本,未來要轉移到其他平台也相當方便。</p>
<p>但由於目前 AWS Marketplace 上還沒看到 Alpine Linux 可供安裝,但其實自己匯入也不難,順便紀錄一下。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/running-alpine-linux-on-ec2/" target="_blank" rel="noopener">https://becoder.org/running-alpine-linux-on-ec2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Alpine Linux 是一格極輕量化的 Linux 作業系統,大多用於 Docker 容器等地方,其實他也可以在 VM 中執行的,省資源而且還是滾動式更新(Rolling Update),減少了很多版更的成本,未來要轉移到其他平台也相當方便。</p>
<p>但由於目前 AWS Marketplace 上還沒看到 Alpine Linux 可供安裝,但其實自己匯入也不難,順便紀錄一下。</p>
<h2 id="前置作業"><a href="https://becoder.org/running-alpine-linux-on-ec2/#前置作業" class="anchor-link" aria-label="前置作業"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/running-alpine-linux-on-ec2/#contents:前置作業" class="headings">前置作業</a></h2>
<h3 id="s3-bucket-儲存-vm-檔案"><a href="https://becoder.org/running-alpine-linux-on-ec2/#s3-bucket-儲存-vm-檔案" class="anchor-link" aria-label="s3-bucket-儲存-vm-檔案"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/running-alpine-linux-on-ec2/#contents:s3-bucket-儲存-vm-檔案" class="headings">S3 Bucket: 儲存 VM 檔案</a></h3>
<p>你需要先<a href="https://docs.aws.amazon.com/zh_tw/AmazonS3/latest/userguide//create-bucket-overview.html" target="_blank" rel="noopener">建立一個 S3 Bucket</a>,VM Import 只能從 S3 中把 VM 的映像檔匯入 EC2。<strong>※注意,只能從相同區域的 S3 匯入到同區域的 EC2</strong>。</p>
<h3 id="iam-role-允許-vm-import-服務代你執行後續操作"><a href="https://becoder.org/running-alpine-linux-on-ec2/#iam-role-允許-vm-import-服務代你執行後續操作" class="anchor-link" aria-label="iam-role-允許-vm-import-服務代你執行後續操作"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/running-alpine-linux-on-ec2/#contents:iam-role-允許-vm-import-服務代你執行後續操作" class="headings">IAM Role: 允許 VM Import 服務代你執行後續操作</a></h3>
<p>新增一個 IAM Role ,目的是 <strong>允許 VM Import 這個服務可以用你的身分來幫你做事情</strong>,先建立一個 <code>trust-policy.json</code> 檔案,內容如下:</p>
<pre tabindex="0"><code>{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": { "Service": "vmie.amazonaws.com" },
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals":{
"sts:Externalid": "vmimport"
}
}
}
]
}
</code></pre><p>建立 IAM Role <code>vmimport</code>:</p>
<pre tabindex="0"><code>aws iam create-role --role-name vmimport --assume-role-policy-document "file://trust-policy.json"
</code></pre><p>再來設定這個 IAM Role <code>vmimport</code> 可以存取什麼資源,如果你想設定細一點的規則,可以參考 AWS 的<a href="https://docs.aws.amazon.com/zh_tw/vm-import/latest/userguide/required-permissions.html#vmimport-role" target="_blank" rel="noopener">說明文件</a>,下述範例 <code>role-policy.json</code> 是允許這個 Role 可以讀取所有的 S3 Bucket,並且可以針對 EC2 快照、AMI 進行相關的操作:</p>
<pre tabindex="0"><code>{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation",
"s3:GetObject"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ec2:ModifySnapshotAttribute",
"ec2:CopySnapshot",
"ec2:RegisterImage",
"ec2:Describe*"
],
"Resource": "*"
}
]
}
</code></pre><p>把規則設定到 IAM Role 中:</p>
<pre tabindex="0"><code>aws iam put-role-policy --role-name vmimport --policy-name vmimport --policy-document file://role-policy.json
</code></pre><h3 id="上傳-alpine-linux-映像到-s3"><a href="https://becoder.org/running-alpine-linux-on-ec2/#上傳-alpine-linux-映像到-s3" class="anchor-link" aria-label="上傳-alpine-linux-映像到-s3"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/running-alpine-linux-on-ec2/#contents:上傳-alpine-linux-映像到-s3" class="headings">上傳 Alpine Linux 映像到 S3</a></h3>
<p>首先需要先到 Alpine Linux 的 <a href="https://alpinelinux.org/cloud/" target="_blank" rel="noopener">Cloud Image</a> 網站下載已經先包好的 VM 映像檔,請選擇 <strong>x86_64 • bios • cloudinit</strong> 下的 AWS 映像,因為 AWS 是透過 Cloud Init 設定網路的,直接匯入裝好的版本可以減少後續的麻煩。</p>
<p>下載好以後,想辦法把檔案上傳到 S3 Bucket 中,如果習慣用 AWS CLI 可以直接這樣下指令:</p>
<pre tabindex="0"><code>aws s3 cp aws_alpine-3.19.1-x86_64-bios-cloudinit-r0.vhd s3://your-s3-bucket/
upload: ./aws_alpine-3.19.1-x86_64-bios-cloudinit-r0.vhd to s3://your-s3-bucket/aws_alpine-3.19.1-x86_64-bios-cloudinit-r0.vhd
</code></pre><h2 id="開始匯入"><a href="https://becoder.org/running-alpine-linux-on-ec2/#開始匯入" class="anchor-link" aria-label="開始匯入"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/running-alpine-linux-on-ec2/#contents:開始匯入" class="headings">開始匯入</a></h2>
<p>在匯入前,還需要寫一個檔案 <code>containers.json</code> 來描述這個 VM 是什麼、以及他所在的 S3 Bucket 路徑:</p>
<pre tabindex="0"><code>{
"Description": "Alpine Linux 3.19.1",
"Format": "VHD",
"UserBucket": {
"S3Bucket": "your-bucket",
"S3Key": "aws_alpine-3.19.1-x86_64-bios-cloudinit-r0.vhd"
}
}
</code></pre><p>正式開始匯入快照(由於 Alpine Linux 不在 EC2 官方支援的系統中,而 VM Import 有個階段會檢查映像是否是支援的作業系統,所以這邊先匯入快照,後續再到 AWS Console 中手動建立 AMI):</p>
<pre tabindex="0"><code>aws ec2 import-snapshot --description "Alpine Linux 3.19.1" --disk-containers file://containers.json --region ap-northeast-1
</code></pre><p>查看執行進度,可以看到正在轉檔中:</p>
<pre tabindex="0"><code>aws ec2 describe-import-snapshot-tasks
{
"ImportSnapshotTasks": [
{
"Description": "Alpine Linux 3.19.1",
"ImportTaskId": "import-snap-xxxxxxx",
"SnapshotTaskDetail": {
"Description": "Alpine Linux 3.19.1",
"DiskImageSize": 180401664.0,
"Format": "VHD",
"Progress": "70",
"Status": "active",
"StatusMessage": "converted",
"UserBucket": {
"S3Bucket": "your-bucket",
"S3Key": "aws_alpine-3.19.1-x86_64-bios-cloudinit-r0.vhd"
}
},
"Tags": []
}
]
}
</code></pre><p>完成後即可在 EC2 快照看到這個快照,從右上角的 <code>Create image from snapshot</code> 來建立可開機的 AMI:
<img src="https://becoder.org/images/running-alpine-linux-on-ec2/01.webp" alt=""></p>
<p>設定可以參考下面的圖片:
<img src="https://becoder.org/images/running-alpine-linux-on-ec2/02.webp" alt=""></p>
<p><code>Block device mappings - optional</code> 就不用特別動了,你可以看到 Alpine Linux 實在太小了,1 GiB 就可以開機了,後續可以透過 EBS 再進行擴容:
<img src="https://becoder.org/images/running-alpine-linux-on-ec2/03.webp" alt=""></p>
<h2 id="連線"><a href="https://becoder.org/running-alpine-linux-on-ec2/#連線" class="anchor-link" aria-label="連線"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/running-alpine-linux-on-ec2/#contents:連線" class="headings">連線</a></h2>
<p>建立 AMI 完成後,後面用這個 AMI 直接啟動一台 EC2 即可,連線時使用者名稱為 <code>alpine</code>,配合 EC2 設定的金鑰即可登入:</p>
<pre tabindex="0"><code>$ ssh xx.xx.xx.xx -l alpine -i .ssh/myKey.pem
Welcome to Alpine!
The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <https://wiki.alpinelinux.org>.
Alpine release notes:
* <https://alpinelinux.org/posts/Alpine-3.19.1-released.html>
NOTE: 'sudo' is not installed by default, please use 'doas' instead.
You may change this message by editing /etc/motd.
ip-172-31-46-36:~$
</code></pre><p>第一次進來的時候連 <code>sudo</code> 都沒有、什麼都需要自己裝,這就是 Alpine 如此輕量的原因,不過還是有提供一個 <code>doas</code> 指令取代 <code>sudo</code>,後面就看各位怎麼運用了。</p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/running-alpine-linux-on-ec2/" target="_blank" rel="noopener">https://becoder.org/running-alpine-linux-on-ec2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
如何調校 macOS 上的 Wine 解決中日文亂碼?以 Whisky 為例
https://becoder.org/macos-wine-tuning/
2024-01-30T00:40:34+08:00
2024-01-29T17:12:29+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Wine(Wine Is Not an Emulator)是一套提供在 Linux/Unix-Like 系統上執行 Windows 軟體的解決方案,但在使用上最常遇到的問題就是字型跟語系了,最近花了一些時間研究後,終於可以完美顯示中文與日文。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/macos-wine-tuning/" target="_blank" rel="noopener">https://becoder.org/macos-wine-tuning/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Wine(Wine Is Not an Emulator)是一套提供在 Linux/Unix-Like 系統上執行 Windows 軟體的解決方案,但在使用上最常遇到的問題就是字型跟語系了,最近花了一些時間研究後,終於可以完美顯示中文與日文。</p>
<h2 id="簡介"><a href="https://becoder.org/macos-wine-tuning/#簡介" class="anchor-link" aria-label="簡介"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/macos-wine-tuning/#contents:簡介" class="headings">簡介</a></h2>
<p>為了快速的在 macOS 上使用 Wine,這邊我選用 <a href="https://getwhisky.app/zh-Hant/" target="_blank" rel="noopener">Whisky</a> 這套開源方案,你可以想像他是一個協助你在 macOS 上把 Windows 當成容器來用的工具,玩膩了隨時可以砍掉,絲毫不影響原本的系統。</p>
<p>安裝的部分就先略過了,這篇的重點主要是調整字體與區域,請參考下列的效果:
<img src="https://becoder.org/images/macos-wine-tuning/01.webp" alt=""></p>
<h2 id="字體"><a href="https://becoder.org/macos-wine-tuning/#字體" class="anchor-link" aria-label="字體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/macos-wine-tuning/#contents:字體" class="headings">字體</a></h2>
<p>字體的部分,我採用開源的方案,我發現網路上的解法很多都是來源不明的字型,請自行下載這三個字體:</p>
<ul>
<li>繁體中文/簡體中文:<a href="https://fonts.google.com/noto/specimen/Noto+Sans+SC" target="_blank" rel="noopener">Noto Sans SC</a></li>
<li>日文:<a href="https://fonts.google.com/noto/specimen/Noto+Sans+JP" target="_blank" rel="noopener">Noto Sans JP</a></li>
<li>韓文:<a href="https://fonts.google.com/specimen/Nanum+Gothic" target="_blank" rel="noopener">Nanum Gothic</a></li>
</ul>
<p>下載完畢後,將解出來的 <code>*-Regular.ttf</code> 放到你 Wine 容器中的 <code>windows/Fonts/</code> 目錄中,我總共放了三個檔案:</p>
<ul>
<li><code>NotoSansSC-Regular.ttf</code></li>
<li><code>NotoSansJP-Regular.ttf</code></li>
<li><code>NanumGothic-Regular.ttf</code></li>
</ul>
<h2 id="登錄檔"><a href="https://becoder.org/macos-wine-tuning/#登錄檔" class="anchor-link" aria-label="登錄檔"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/macos-wine-tuning/#contents:登錄檔" class="headings">登錄檔</a></h2>
<p>在放好檔案後,請在 Whisky 中叫出註冊檔編輯器,匯入這幾個檔案:
<img src="https://becoder.org/images/macos-wine-tuning/03.webp" alt="">
<img src="https://becoder.org/images/macos-wine-tuning/04.webp" alt="">
<img src="https://becoder.org/images/macos-wine-tuning/05.webp" alt=""></p>
<h3 id="fonereplacementsreg"><a href="https://becoder.org/macos-wine-tuning/#fonereplacementsreg" class="anchor-link" aria-label="fonereplacementsreg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/macos-wine-tuning/#contents:fonereplacementsreg" class="headings">FoneReplacements.reg</a></h3>
<pre tabindex="0"><code>REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
"@MingLiU"="@Noto Sans SC"
"@MS Gothic"="@Noto Sans JP"
"@MS PGothic"="@Noto Sans JP"
"@MS UI Gothic"="@Ume UI Gothic"
"@NSimSun"="@Noto Sans SC"
"@PMingLiU"="@Noto Sans SC"
"@SimSun"="@Noto Sans SC"
"@新細明體"="@Noto Sans SC"
"@細明體"="@Noto Sans SC"
"@MS ゴシック"="@Noto Sans JP"
"@MS 明朝"="@Noto Sans JP"
"@MS Pゴシック"="@Noto Sans JP"
"@MS P明朝"="@Noto Sans JP"
"Arial"="Bitstream Vera Sans"
"Euphemia"="Euphemia UCAS"
"Gulim"="NanumGothic"
"Lucida Console"="MS Sans Serif"
"Meiryo"="Microsoft YaHei"
"Microsoft Himalaya"="Kailasa"
"MingLiU"="Noto Sans SC"
"MS Gothic"="Noto Sans JP"
"MS PGothic"="Noto Sans JP"
"MS UI Gothic"="Ume UI Gothic"
"NSimSun"="Noto Sans SC"
"PMingLiU"="Noto Sans SC"
"SimSun"="Noto Sans SC"
"新細明體"="Noto Sans SC"
"細明體"="Noto Sans SC"
"MS ゴシック"="Noto Sans JP"
"MS 明朝"="Noto Sans JP"
"MS Pゴシック"="Noto Sans JP"
"MS P明朝"="Noto Sans JP"
</code></pre><h3 id="fontsmoothingreg"><a href="https://becoder.org/macos-wine-tuning/#fontsmoothingreg" class="anchor-link" aria-label="fontsmoothingreg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/macos-wine-tuning/#contents:fontsmoothingreg" class="headings">FontSmoothing.reg</a></h3>
<p>修正鋸齒化的字體,參考來源:<a href="https://askubuntu.com/a/271210" target="_blank" rel="noopener">How to improve GUI and font appearance of programs installed under CrossOver?</a></p>
<pre tabindex="0"><code>REGEDIT4
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"=2
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
</code></pre><h3 id="winelocalereg-選用"><a href="https://becoder.org/macos-wine-tuning/#winelocalereg-選用" class="anchor-link" aria-label="winelocalereg-選用"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/macos-wine-tuning/#contents:winelocalereg-選用" class="headings">WineLocale.reg (選用)</a></h3>
<p>再來是修改系統的語系,某些軟體可能會限制地區、甚至亂碼,安裝後就可以順利解決這個問題,但 Whisky 本身就提供修改地區的功能,不一定要把整個系統都改成中文,如果有需其他語系,請自行取代 <code>zh_TW.UTF8</code> 成您所需要的語系。</p>
<pre tabindex="0"><code>REGEDIT4
[HKEY_CURRENT_USER\Software\Wine]
"LC_ALL"="zh_TW.UTF8"
"LANG"="zh_TW.UTF8"
</code></pre><p>最後,我使用 Whisky 來跑 Steam 的 Palworld、NieR:Automata 也都是沒有問題的,只需要調整一下畫質就可以玩了,在 Wine 上執行一些日常小工具,基本已經不太需要打開 Windows 桌機了,就看您對畫質的要求到哪邊囉。</p>
<p><img src="https://becoder.org/images/macos-wine-tuning/02.webp" alt=""></p>
<h2 id="解析度"><a href="https://becoder.org/macos-wine-tuning/#解析度" class="anchor-link" aria-label="解析度"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/macos-wine-tuning/#contents:解析度" class="headings">解析度</a></h2>
<p>題外話,如果你覺得視窗太小的話,可以在 Wine 設定來修改 <code>dpi</code>,<code>120 dpi</code> 是個不錯的選擇:
<img src="https://becoder.org/images/macos-wine-tuning/06.webp" alt=""></p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/macos-wine-tuning/" target="_blank" rel="noopener">https://becoder.org/macos-wine-tuning/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在新版 macOS 中啟 SSH 的 ssh-rsa 加密算法
https://becoder.org/enable-ssh-rsa-in-macos/
2023-07-04T19:49:47+08:00
2023-07-04T19:32:07+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在 <a href="https://blog.gslin.org/archives/2020/10/03/9733/openssh-8-4-%E9%A0%90%E8%A8%AD%E5%81%9C%E7%94%A8-ssh-rsa/">OpenSSH 8.4 以後,預設停用了 <code>ssh-rsa</code></a> 的連線方式,但有一些工具卻僅能透過 <code>ssh-rsa</code> 來連線,幸好還可以透過設定 <code>sshd_config</code> 來重新支援 <code>ssh-rsa</code>。 由於這攸關安全性問題,還是不建議這樣做,還是盡量更新 Client 會比較安全一些。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/enable-ssh-rsa-in-macos/" target="_blank" rel="noopener">https://becoder.org/enable-ssh-rsa-in-macos/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在 <a href="https://blog.gslin.org/archives/2020/10/03/9733/openssh-8-4-%E9%A0%90%E8%A8%AD%E5%81%9C%E7%94%A8-ssh-rsa/" target="_blank" rel="noopener">OpenSSH 8.4 以後,預設停用了 <code>ssh-rsa</code></a> 的連線方式,但有一些工具卻僅能透過 <code>ssh-rsa</code> 來連線,幸好還可以透過設定 <code>sshd_config</code> 來重新支援 <code>ssh-rsa</code>。 由於這攸關安全性問題,還是不建議這樣做,還是盡量更新 Client 會比較安全一些。</p>
<h2 id="修改-macos-的-ssh-設定"><a href="https://becoder.org/enable-ssh-rsa-in-macos/#修改-macos-的-ssh-設定" class="anchor-link" aria-label="修改-macos-的-ssh-設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/enable-ssh-rsa-in-macos/#contents:修改-macos-的-ssh-設定" class="headings">修改 macOS 的 SSH 設定</a></h2>
<p>在 <code>/etc/ssh/sshd_config</code> 最後加上兩行設定來啟用 <code>ssh-rsa</code>:</p>
<pre tabindex="0"><code>HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
</code></pre><p>或是使用 one line command 來加入設定:</p>
<pre tabindex="0"><code>% echo -e "HostkeyAlgorithms +ssh-rsa\nPubkeyAcceptedAlgorithms +ssh-rsa" | sudo tee -a /etc/ssh/sshd_config
</code></pre><h2 id="重新啟動-macos-的-ssh-伺服器"><a href="https://becoder.org/enable-ssh-rsa-in-macos/#重新啟動-macos-的-ssh-伺服器" class="anchor-link" aria-label="重新啟動-macos-的-ssh-伺服器"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/enable-ssh-rsa-in-macos/#contents:重新啟動-macos-的-ssh-伺服器" class="headings">重新啟動 macOS 的 SSH 伺服器</a></h2>
<pre tabindex="0"><code>% sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
% sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
</code></pre><h2 id="使用-putty-068-嘗試連線"><a href="https://becoder.org/enable-ssh-rsa-in-macos/#使用-putty-068-嘗試連線" class="anchor-link" aria-label="使用-putty-068-嘗試連線"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/enable-ssh-rsa-in-macos/#contents:使用-putty-068-嘗試連線" class="headings">使用 Putty 0.68 嘗試連線</a></h2>
<p>在啟用 <code>ssh-rsa</code> 前,用 Putty 0.68 連會出現錯誤訊息:<code>No supported authentication methods available (server sent: publickey)</code>,在啟用後就可以正常連線了。
<img src="https://becoder.org/images/enable-ssh-rsa-in-macos/02.webp" alt=""></p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/enable-ssh-rsa-in-macos/" target="_blank" rel="noopener">https://becoder.org/enable-ssh-rsa-in-macos/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 macOS 中安裝 noVNC ,透過瀏覽器來遠端桌面連線
https://becoder.org/install-novnc-on-macos/
2023-07-05T11:56:10+08:00
2023-06-28T19:47:18+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>一般在 AWS 上使用 macOS EC2 實例時,通常會需要透過 VNC Client 來進行連線操作。在有些環境下,可能不是這麼適合來安裝 VNC Client,這時就可以透過 noVNC 來安裝基於 html5 的網頁 Console 囉。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/install-novnc-on-macos/" target="_blank" rel="noopener">https://becoder.org/install-novnc-on-macos/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>一般在 AWS 上使用 macOS EC2 實例時,通常會需要透過 VNC Client 來進行連線操作。在有些環境下,可能不是這麼適合來安裝 VNC Client,這時就可以透過 noVNC 來安裝基於 html5 的網頁 Console 囉。</p>
<h2 id="啟用-macos-的-screen-sharing-功能"><a href="https://becoder.org/install-novnc-on-macos/#啟用-macos-的-screen-sharing-功能" class="anchor-link" aria-label="啟用-macos-的-screen-sharing-功能"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/install-novnc-on-macos/#contents:啟用-macos-的-screen-sharing-功能" class="headings">啟用 macOS 的 Screen Sharing 功能</a></h2>
<p>AWS EC2 目前提供了幾個啟用 Screen Sharing 的官方文件,但其內容大同小異:</p>
<ul>
<li><a href="https://repost.aws/zh-Hant/knowledge-center/ec2-mac-instance-gui-access" target="_blank" rel="noopener">如何透過 GUI 存取 Amazon EC2 Mac 執行個體?</a></li>
<li><a href="https://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2-mac-instances.html#mac-instance-vnc" target="_blank" rel="noopener">Amazon EC2 Mac 執行個體 - 使用 Apple 遠端桌面連線至您的執行個體</a></li>
<li><a href="https://catalog.us-east-1.prod.workshops.aws/workshops/5ced3c00-8e8a-4c4d-82fa-ca1b7804ea4d/en-US/instance-setup/connect-to-ec2-mac/screen-sharing" target="_blank" rel="noopener">EC2 Mac Workshop - Screen Sharing</a></li>
</ul>
<p>參考其中一篇來透過 SSH 啟用 Screen Sharing:</p>
<ol>
<li>設定 <code>ec2-user</code> 密碼以提供 VNC 登入。</li>
</ol>
<pre tabindex="0"><code>sudo passwd ec2-user
</code></pre><pre tabindex="0"><code>Changing password for ec2-user.
New password:
Retype new password:
################################### WARNING ###################################
# This tool does not update the login keychain password. #
# To update it, run `security set-keychain-password` as the user in question, #
# or as root providing a path to such user's login keychain. #
###############################################################################
</code></pre><ol start="2">
<li>啟用 Screen Share 服務:</li>
</ol>
<pre tabindex="0"><code>sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
-activate -configure -access -on \
-restart -agent -privs -all
</code></pre><pre tabindex="0"><code>Starting...
Screen recording might be disabled. Screen Sharing or Remote Management must be enabled from System Settings or via MDM.
Screen control might be disabled. Screen Sharing or Remote Management must be enabled from System Settings or via MDM.
Activated Remote Management.
Stopped ARD Agent.
ec2-user: Set user remote control privileges.
ec2-user: Set user remote access.
Done.
</code></pre><ol start="5">
<li>安裝並啟用 noVNC
在 macOS 中,只需要幾行簡單的指令就可以安裝 noVNC 了:</li>
</ol>
<pre tabindex="0"><code>git clone https://github.com/novnc/noVNC.git
cd noVNC/
./utils/novnc_proxy &
</code></pre><ol start="4">
<li>建立 Client 與 macOS 之間的 SSH Tunnel
由於 noVNC 預設是沒有 SSL 的,如果直接透過 Security Group 允許 Client 直接存取 <code>6080</code>,noVNC 會因為安全性為由而連線失敗。所以這邊必須使用 SSH Tunnel 來轉發 noVNC 的 Port 到 <code>localhost</code>:</li>
</ol>
<pre tabindex="0"><code>ssh -L 6080:localhost:6080 ec2-user@<EC2 Instance IP> -i .ssh/key.pem
</code></pre><ol start="5">
<li>打開 <code>http://localhost:6080/vnc.html</code> 就可以直接使用 <code>ec2-user</code> 的身分來登入了,如果遇到游標消失,可從左側的設定中打開:<code>Settings => Advanced => Show Dot when No Cursor</code>,如果需要調整解析度的話,可以看這一篇官方文件:<a href="https://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2-mac-instances.html#mac-screen-resolution" target="_blank" rel="noopener">修改 Mac 執行個體上的 macOS 螢幕解析度</a>。</li>
</ol>
<p><img src="https://becoder.org/images/install-novnc-on-macos/01.webp" alt=""></p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/install-novnc-on-macos/" target="_blank" rel="noopener">https://becoder.org/install-novnc-on-macos/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
How to Calculate Amazon EBS Snapshot's Size?
https://becoder.org/calculate-aws-ebs-snapshot-size/
2023-03-12T02:24:18+08:00
2023-03-12T01:50:15+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Today I want to show you that how to calculate the sum size of a snapshot of Amazon EBS cost through EBS Direct API.</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/calculate-aws-ebs-snapshot-size/" target="_blank" rel="noopener">https://becoder.org/calculate-aws-ebs-snapshot-size/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Today I want to show you that how to calculate the sum size of a snapshot of Amazon EBS cost through EBS Direct API.</p>
<p>The price that you pay to use the EBS direct APIs depends on the requests you make <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#api-pricing" target="_blank" rel="noopener">[1]</a>.</p>
<p>We can use <code>list-snapshot-blocks</code> in AWS CLI of EBS to get how many block of this snapshot used, and the unit of this number is <code>sector</code>. A sector in Amazon EBS snapshot is 512KiB <a href="https://aws.amazon.com/ebs/faqs/#Snapshots" target="_blank" rel="noopener">[2]</a>, so we can get the number of sectors about a snapshot then multiplying it by 512 KiB.</p>
<p>But here is a point need to notice, the max value of <code>list-snapshot-blocks</code> is 10000 <a href="https://docs.aws.amazon.com/ebs/latest/APIReference/API_ListSnapshotBlocks.html" target="_blank" rel="noopener">[3]</a>, and you need to check if there is a <code>NextToken</code> of this snapshot. If it is, we need to use this token to run <code>list-snapshot-blocks</code> again for a loop until this token become a empty value.</p>
<p>To calculate it easier, I just wrote a script here to get the sum of an EBS snapshot with <code>while</code> loop, please refer to it:</p>
<pre tabindex="0"><code class="language-lang=sh" data-lang="lang=sh">#!/bin/sh
#set -x
SNAPSHOT_ID="<SNAPSHOT ID>"
REGION="<REGION>"
echo "===EBS Snapshot Calculator==="
echo "Getting Snapshot Blocks through EBS direct APIs..."
BLOCKS=`aws ebs list-snapshot-blocks --snapshot-id $SNAPSHOT_ID --region $REGION --output text | grep 'BLOCKS' | wc -l | awk '{print $1}'`
NEXT_TOKEN=`aws ebs list-snapshot-blocks --snapshot-id $SNAPSHOT_ID --region $REGION --query 'NextToken' --no-cli-pager | sed -e 's/"//g'`
while [ "$NEXT_TOKEN" != "null" ]
do
NEXT_BLOCKS=`aws ebs list-snapshot-blocks --snapshot-id $SNAPSHOT_ID --region $REGION --next-token $NEXT_TOKEN --output text | grep 'BLOCKS' | wc -l | awk '{print $1}'`
BLOCKS=$(($BLOCKS+$NEXT_BLOCKS));
NEXT_TOKEN=`aws ebs list-snapshot-blocks --snapshot-id $SNAPSHOT_ID --region $REGION --next-token $NEXT_TOKEN --query 'NextToken' --no-cli-pager | sed -e 's/"//g'`
done
KiB=$(($BLOCKS*512))
MiB=`echo "$KiB/1024" | bc`
GiB=`echo "$MiB/1024" | bc`
echo "The EBS Snapshot $SNAPSHOT_ID has $BLOCKS blocks, 1 block = 512 KiB.\nTotal cost: $(($BLOCKS*512)) KiB = $(($BLOCKS*512/1024)) MiB = $(($BLOCKS*512/1024/1024)) GiB $(($BLOCKS*512/1024%1024)) MiB"
</code></pre><p>Here is the output of this script:</p>
<pre tabindex="0"><code>$ sh snapshot_size.sh
===EBS Snapshot Calculator===
Getting Snapshot Blocks through EBS direct APIs...
The EBS Snapshot <SNAPSHOT ID> has 16384 blocks, 1 block = 512 KiB.
Total cost: 8388608 KiB = 8192 MiB = 8 GiB 0 MiB
</code></pre><p>Thanks for you reading.</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/calculate-aws-ebs-snapshot-size/" target="_blank" rel="noopener">https://becoder.org/calculate-aws-ebs-snapshot-size/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Updating AWS Security Group Source by DDNS
https://becoder.org/updating-aws-security-group-ddns/
2023-01-16T00:30:30+08:00
2023-01-16T00:00:55+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>有時候我們在外工作需要連回自己的 EC2 Instance 時,會需要重新設定一下 Security Group 來讓自己 SSH 回去。</p>
<p>於是自己寫了一個 AWS CLI 的腳本來自動更新自己的 Security Group,但還是建議透過 VPN 存取會更好就是了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/updating-aws-security-group-ddns/" target="_blank" rel="noopener">https://becoder.org/updating-aws-security-group-ddns/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>有時候我們在外工作需要連回自己的 EC2 Instance 時,會需要重新設定一下 Security Group 來讓自己 SSH 回去。</p>
<p>於是自己寫了一個 AWS CLI 的腳本來自動更新自己的 Security Group,但還是建議透過 VPN 存取會更好就是了。</p>
<p>很簡單的一個腳本,不過 AWS CLI 提供的 Document 好像有點問題,範例中的 JSON 格式是會錯誤的,有興趣的話可以參考一下官方文件:<a href="https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/modify-security-group-rules.html#examples" target="_blank" rel="noopener">modify-security-group-rules</a></p>
<p>在使用前請先隨便建一個 Rule ,取得 Security Group ID 跟 Rule ID 就可以使用這個 Script 了:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span><span class="lnt">24
</span><span class="lnt">25
</span><span class="lnt">26
</span><span class="lnt">27
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="cp">#!/bin/sh
</span></span></span><span class="line"><span class="cl"><span class="cp"></span>
</span></span><span class="line"><span class="cl"><span class="nv">SG_ID</span><span class="o">=</span><span class="s2">"SecurityGroupID"</span>
</span></span><span class="line"><span class="cl"><span class="nv">SG_RULE</span><span class="o">=</span><span class="s2">"SecurityGroupRuleID"</span>
</span></span><span class="line"><span class="cl"><span class="nv">REGION</span><span class="o">=</span><span class="s2">"YourRegion"</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nv">TZ</span><span class="o">=</span>UTC
</span></span><span class="line"><span class="cl"><span class="nv">TIME</span><span class="o">=</span><span class="sb">`</span>date +<span class="s2">"%Y-%m-%d %T UTC"</span><span class="sb">`</span>
</span></span><span class="line"><span class="cl"><span class="nv">HOSTNAME</span><span class="o">=</span><span class="sb">`</span>hostname<span class="sb">`</span>
</span></span><span class="line"><span class="cl"><span class="nv">PUB_IP</span><span class="o">=</span><span class="sb">`</span>curl -s -4 icanhazip.com<span class="sb">`</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nb">echo</span> <span class="s2">"Update Your Public IP in AWS Security Group: </span><span class="nv">$SG_ID</span><span class="s2">..."</span>
</span></span><span class="line"><span class="cl">aws ec2 modify-security-group-rules <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --no-cli-pager <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --group-id <span class="nv">$SG_ID</span><span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --region <span class="nv">$REGION</span> <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --security-group-rules <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> <span class="s1">'{
</span></span></span><span class="line"><span class="cl"><span class="s1"> "SecurityGroupRuleId": "'</span><span class="s2">"</span><span class="nv">$SG_RULE</span><span class="s2">"</span><span class="s1">'",
</span></span></span><span class="line"><span class="cl"><span class="s1"> "SecurityGroupRule": {
</span></span></span><span class="line"><span class="cl"><span class="s1"> "Description": "DDNS for SSH at '</span><span class="s2">"</span><span class="nv">$TIME</span><span class="s2">"</span><span class="s1">' from '</span><span class="s2">"</span><span class="nv">$HOSTNAME</span><span class="s2">"</span><span class="s1">'",
</span></span></span><span class="line"><span class="cl"><span class="s1"> "IpProtocol": "tcp",
</span></span></span><span class="line"><span class="cl"><span class="s1"> "FromPort": 22,
</span></span></span><span class="line"><span class="cl"><span class="s1"> "ToPort": 22,
</span></span></span><span class="line"><span class="cl"><span class="s1"> "CidrIpv4": "'</span><span class="s2">"</span><span class="nv">$PUB_IP</span><span class="s2">"</span><span class="s1">'/32"
</span></span></span><span class="line"><span class="cl"><span class="s1"> }
</span></span></span><span class="line"><span class="cl"><span class="s1"> }'</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>執行結果:</p>
<pre tabindex="0"><code># sh sg-ddns.sh
Update Your Public IP in AWS Security Group: sg-xxxxxxxxxxxx...
{
"Return": true
}
</code></pre><p>可以在 AWS Console 看到相關的 Rule,由於 Rule 是重複使用的,換個網路環境再跑一次就可以更新了,不用擔心會遺留先前的 IP 在自己的 Security Group 上面,也可以搭配 Crontab 使用就可以實現 DDNS 了。</p>
<p><img src="https://becoder.org/images/updating-aws-security-group-ddns/SecurityGroupDDNS.webp" alt=""></p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/updating-aws-security-group-ddns/" target="_blank" rel="noopener">https://becoder.org/updating-aws-security-group-ddns/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 Linux 中啟用 NFS Log
https://becoder.org/enable-nfs-logging-in-linux/
2023-01-21T21:42:51+08:00
2022-12-22T10:37:46+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在掛載 NFS 時,如果發生問題想要除錯,就比需依靠 Log 來找出答案,但是預設的 Linux 是沒有紀錄 NFS Logs 的,主要是因為開啟後 NFS 的反應時間會變長,所以只需要在 Debug 的時候打開就可以了:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/enable-nfs-logging-in-linux/" target="_blank" rel="noopener">https://becoder.org/enable-nfs-logging-in-linux/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在掛載 NFS 時,如果發生問題想要除錯,就比需依靠 Log 來找出答案,但是預設的 Linux 是沒有紀錄 NFS Logs 的,主要是因為開啟後 NFS 的反應時間會變長,所以只需要在 Debug 的時候打開就可以了:</p>
<h2 id="啟用-nfs-logs"><a href="https://becoder.org/enable-nfs-logging-in-linux/#啟用-nfs-logs" class="anchor-link" aria-label="啟用-nfs-logs"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/enable-nfs-logging-in-linux/#contents:啟用-nfs-logs" class="headings">啟用 NFS Logs</a></h2>
<pre tabindex="0"><code>sudo rpcdebug -m nfs -s all
</code></pre><p>啟用後,<code>/var/log/message</code> 會開始出現類似像下面的 Logs:</p>
<pre tabindex="0"><code>Dec 22 02:47:38 ip-10-0-0-203 kernel: NFS: nfs_weak_revalidate: inode 10976768290497925892 is valid
Dec 22 02:47:38 ip-10-0-0-203 kernel: NFS: revalidating (0:41/10976768290497925892)
Dec 22 02:47:38 ip-10-0-0-203 kernel: --> nfs41_call_sync_prepare data->seq_server 0000000049080d30
Dec 22 02:47:38 ip-10-0-0-203 kernel: --> nfs4_alloc_slot used_slots=0000 highest_used=4294967295 max_slots=64
Dec 22 02:47:38 ip-10-0-0-203 kernel: <-- nfs4_alloc_slot used_slots=0001 highest_used=0 slotid=0
Dec 22 02:47:38 ip-10-0-0-203 kernel: encode_sequence: sessionid=933608771:266546387:0:16777216 seqid=1321 slotid=0 max_slotid=0 cache_this=0
Dec 22 02:47:38 ip-10-0-0-203 kernel: decode_attr_type: type=040000
Dec 22 02:47:38 ip-10-0-0-203 kernel: decode_attr_change: change attribute=2
Dec 22 02:47:38 ip-10-0-0-203 kernel: decode_attr_size: file size=6144
Dec 22 02:47:38 ip-10-0-0-203 kernel: decode_attr_fsid: fsid=(0x0/0x0)
</code></pre><h2 id="關閉-nfs-log"><a href="https://becoder.org/enable-nfs-logging-in-linux/#關閉-nfs-log" class="anchor-link" aria-label="關閉-nfs-log"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/enable-nfs-logging-in-linux/#contents:關閉-nfs-log" class="headings">關閉 NFS Log</a></h2>
<p>但在操作 NFS 的 Mount Point 時反應會明顯變慢,所以在測試完、拿到 Logs 後記得關閉:</p>
<pre tabindex="0"><code>sudo rpcdebug -m nfs -c all
</code></pre><h4 id="reference"><a href="https://becoder.org/enable-nfs-logging-in-linux/#reference" class="anchor-link" aria-label="reference"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/enable-nfs-logging-in-linux/#contents:reference" class="headings">Reference</a></h4>
<p>How to log NFS related messages in "/var/log/messages"? - <a href="https://access.redhat.com/solutions/137313" target="_blank" rel="noopener">https://access.redhat.com/solutions/137313</a></p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/enable-nfs-logging-in-linux/" target="_blank" rel="noopener">https://becoder.org/enable-nfs-logging-in-linux/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Recording Network Traffic in Linux by atop
https://becoder.org/recording-network-traffic-in-linux-by-atop/
2022-12-15T17:50:34+08:00
2022-12-15T17:24:40+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>如果懶得裝一些有的沒的監控軟體來看自己的流量,可以用這個簡單好用的軟體 - atop</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/" target="_blank" rel="noopener">https://becoder.org/recording-network-traffic-in-linux-by-atop/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>如果懶得裝一些有的沒的監控軟體來看自己的流量,可以用這個簡單好用的軟體 - atop</p>
<h2 id="安裝-atop"><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#安裝-atop" class="anchor-link" aria-label="安裝-atop"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#contents:安裝-atop" class="headings">安裝 atop</a></h2>
<p>一般除了可以使用 <code>sudo iftop -P</code> 來看流量以外,還可以用 <code>atop</code> 來錄製系統一整天的流量細節,安裝非常簡單,可以直接參考 AWS 提供的公開文件:<a href="https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-configure-monitoring-tools/" target="_blank" rel="noopener">How do I configure the ATOP and SAR monitoring tools for my EC2 instance running Amazon Linux, RHEL, CentOS, or Ubuntu?</a>:</p>
<h2 id="安裝-netatop"><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#安裝-netatop" class="anchor-link" aria-label="安裝-netatop"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#contents:安裝-netatop" class="headings">安裝 netatop</a></h2>
<p>想要啟用網路流量的功能,必須額外安裝一個 Kernel Module — netatop,需要自行透過 Linux Headers 進行編譯,編譯後他會幫你安裝 Systemd 的 Service ,需要啟動他才能讓 atop 錄製流量,安裝步驟可以參考官方文件:<a href="https://www.atoptool.nl/downloadnetatop.php#install" target="_blank" rel="noopener">Installation netatop and netatopd</a> 、或是我的步驟:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">wget https://www.atoptool.nl/download/netatop-3.1.tar.gz
</span></span><span class="line"><span class="cl">tar -xvf netatop-3.1.tar.gz
</span></span><span class="line"><span class="cl"><span class="nb">cd</span> netatop-3.1
</span></span><span class="line"><span class="cl">sudo make <span class="o">&&</span> sudo make install
</span></span><span class="line"><span class="cl">sudo systemctl start netatop
</span></span><span class="line"><span class="cl">sudo systemctl <span class="nb">enable</span> netatop
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>使用起來也不難,只要用下面的指令就可以讀取之前的紀錄了:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo atop -n -r /var/log/atop/atop_YYYYMMDD
</span></span></code></pre></td></tr></table></div>
</div>
</div><h2 id="debug"><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#debug" class="anchor-link" aria-label="debug"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#contents:debug" class="headings">Debug</a></h2>
<h3 id="缺套件"><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#缺套件" class="anchor-link" aria-label="缺套件"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#contents:缺套件" class="headings">缺套件</a></h3>
<p>如果發生缺套件的話,依照下面的方式補齊,這邊以 CentOS 為範例:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo yum install kernel-devel zlib-devel kernel-headers
</span></span><span class="line"><span class="cl">sudo yum groupinstall <span class="s1">'Development Tools'</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><h3 id="linux-kernel-headers-版本錯誤"><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#linux-kernel-headers-版本錯誤" class="anchor-link" aria-label="linux-kernel-headers-版本錯誤"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/#contents:linux-kernel-headers-版本錯誤" class="headings">Linux Kernel Headers 版本錯誤</a></h3>
<p>如果出現 <code>/lib/modules/<version>/build/ not exist</code> 類似訊息的話,可以檢查你目前開機的 Kernel 版本是否和你已經安裝的 Kernel Headers 版本相同,可以使用 <code>uname -a</code> 確認現在開機的核心是否符合目前安裝的 Headers 版本,原因通常是 Kernel 更新後還沒重新開機載入新的 Kernel 所造成和 Headers 版本不符。</p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/recording-network-traffic-in-linux-by-atop/" target="_blank" rel="noopener">https://becoder.org/recording-network-traffic-in-linux-by-atop/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
EaseUS Data Recovery Wizard - 簡單易用的資料救援軟體
https://becoder.org/easeus-data-recovery-wizard/
2023-01-21T21:49:28+08:00
2022-12-14T22:37:41+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> 在後疫情時代,在家工作、遠距上班已經是勢不可檔的趨勢,數位化後的資料保存,已經和紙本文件一樣的重要;除了平時要做好備份以外,難免會有儲存裝備發生異常的情況發生;這時候,方便易用的<a href="https://bit.ly/3BnPlYs">資料救援軟體</a>就是我們的資料救星 — EaseUS Data Recovery Wizard。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/easeus-data-recovery-wizard/" target="_blank" rel="noopener">https://becoder.org/easeus-data-recovery-wizard/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> 在後疫情時代,在家工作、遠距上班已經是勢不可檔的趨勢,數位化後的資料保存,已經和紙本文件一樣的重要;除了平時要做好備份以外,難免會有儲存裝備發生異常的情況發生;這時候,方便易用的<a href="https://bit.ly/3BnPlYs" target="_blank" rel="noopener">資料救援軟體</a>就是我們的資料救星 — EaseUS Data Recovery Wizard。</p>
<p>一般電腦的使用者是不會去瞭解任何的資料救援軟體的,因此易用的資料救援軟體才是適合非本科系的人使用,只要會一般的電腦操作即可在 <a href="https://bit.ly/3UQA9Kr" target="_blank" rel="noopener">Win 10 救回刪除檔案</a> 、不小心清空資源回收統的檔案,也可以將<a href="https://bit.ly/3UNOY0f" target="_blank" rel="noopener">永久刪除檔案還原</a>,只要當下不要再進行其他寫入操作,一樣可以救回。</p>
<p> 這邊我使用 Windows 10 的環境來進行簡單的實驗:</p>
<h2 id="下載安裝"><a href="https://becoder.org/easeus-data-recovery-wizard/#下載安裝" class="anchor-link" aria-label="下載安裝"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-data-recovery-wizard/#contents:下載安裝" class="headings">下載安裝</a></h2>
<p> 首先進入 <a href="https://bit.ly/3iK1Gja" target="_blank" rel="noopener">EaseUS Data Recovery Wizard</a> 的官方網站下載安裝檔並安裝,啟動後輸入購買的序號,在還原檔案時即可不受數量限制:</p>
<p><img src="https://becoder.org/images/easeus-data-recovery-wizard/01.webp" alt="">
<img src="https://becoder.org/images/easeus-data-recovery-wizard/02.webp" alt="">
<img src="https://becoder.org/images/easeus-data-recovery-wizard/03.webp" alt=""></p>
<h2 id="實驗"><a href="https://becoder.org/easeus-data-recovery-wizard/#實驗" class="anchor-link" aria-label="實驗"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-data-recovery-wizard/#contents:實驗" class="headings">實驗</a></h2>
<p> 這邊以大家最常發生意外的資源回收統為例,模擬個真人真事的情境情境:</p>
<p> 幾年前我還是一個大學生的時候,為了和室友一起打 GTA5,我把累積已久的資源回收桶清空了,發現佔了幾十 GB 的硬碟空間,那時 GTA5 大概 60 GB 左右,清了好久才有足夠的空間可以安裝新遊戲:</p>
<p><img src="https://becoder.org/images/easeus-data-recovery-wizard/04.webp" alt="">
<img src="https://becoder.org/images/easeus-data-recovery-wizard/05.webp" alt=""></p>
<p> 刪完以後才發現,在拖進回收桶時不小心選到下週專題要用的簡報,我的資源回收桶就像下面這樣,清的一乾二淨,欲哭無淚,我相信一定不只有我遇過這種事情,也有同學是做完以後,隨身碟就壞掉的:</p>
<p><img src="https://becoder.org/images/easeus-data-recovery-wizard/06.webp" alt=""></p>
<p> 如果當時我有一套好用的<a href="https://bit.ly/3BnPlYs" target="_blank" rel="noopener">資料救援軟體</a>,是不是就可以不用重做一次簡報了?既然時間已經無法重來,就把握當下所擁有的資源,讓自己未來遇到類似狀況時可以解決問題、甚至是幫助朋友。</p>
<p> 扯太遠了,回到軟體介面,其中有個「資源回收桶」的功能,可以找回永久刪除的檔案,測試下來我掃了 200 GB 的檔案,只花了一分鐘左右。資料救援有個很大的前提,就是在操作失誤當下後,就不要再去寫入資料了,如果沒有把握,就請你馬上移除那個儲存裝置、或是直接關機,因為亂安裝檔案是非常可能把遺失的資料覆蓋掉的,其實已經刪除的檔案本身來留存在硬碟中,就只是告訴電腦說:「我現在這個磁區開放使用囉,裡面的東西我都不要了」,一旦寫入資料,就有很大的機率真要和資料說再見了。</p>
<p><img src="https://becoder.org/images/easeus-data-recovery-wizard/07.webp" alt="">
<img src="https://becoder.org/images/easeus-data-recovery-wizard/08.webp" alt="">
<img src="https://becoder.org/images/easeus-data-recovery-wizard/09.webp" alt=""></p>
<p> 在列出的檔案中,因為檔案名稱可能已經變成亂碼了,請耐心的翻閱你的資料,EaseUS Data Recovery 可以直接預覽檔案,我以這個還認的出名字的申請書為例,我可以直接看到檔案內容來確認他是不是我要的:</p>
<p><img src="https://becoder.org/images/easeus-data-recovery-wizard/10.webp" alt="">
<img src="https://becoder.org/images/easeus-data-recovery-wizard/11.webp" alt=""></p>
<p> 點擊「恢復全部」並選擇儲存救回的檔案要儲存的位置以後,檔案回來啦!</p>
<p><img src="https://becoder.org/images/easeus-data-recovery-wizard/12.webp" alt=""></p>
<h2 id="心得"><a href="https://becoder.org/easeus-data-recovery-wizard/#心得" class="anchor-link" aria-label="心得"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-data-recovery-wizard/#contents:心得" class="headings">心得</a></h2>
<p> EaseUS Data Recovery Wizard 除了可以恢復資源回收桶內的資料,還可以針對硬碟、隨身碟、記憶卡,甚至是 NAS 來進行資料救援,因為我身邊沒有 NAS 設備,這個部分我就沒有實測了,未來如果有機會使用到,我一定上來跟大家分享。</p>
<p><img src="https://becoder.org/images/easeus-data-recovery-wizard/13.webp" alt=""></p>
<p> 除此之外,他還可以幫你從 USB 隨身碟建立一個救援系統,來檢查無法開機的電腦是否有遺失檔案造成無法開機的問題,我覺得真的是個很厲害的功能;小時候家裡電腦遇到這種狀況通常都是委託外面的電腦公司處理(俗稱重灌),收費也不便宜,直到自己長大有能力來學這些東西以後才知道其實不難。也多虧現在有這麼多軟體公司開發這麼好用的軟體,讓大家可以順利找回自己的檔案。</p>
<p><img src="https://becoder.org/images/easeus-data-recovery-wizard/14.webp" alt=""></p>
<p> 感謝您的耐心收看,自從碩班畢業開始工作以後,真的是好久沒上來更新文章了,有時間我還是會盡量找東西來寫的XD。</p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/easeus-data-recovery-wizard/" target="_blank" rel="noopener">https://becoder.org/easeus-data-recovery-wizard/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
備份 macOS 中的家目錄到 AWS S3 中
https://becoder.org/backup-home-directory-using-aws-s3-on-macos/
2022-09-12T17:39:19+08:00
2022-09-12T16:33:20+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>由於一些特殊的需求,必須把資料備份到 AWS S3,又踩了一些 awscli 的雷,再來紀錄一下XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/backup-home-directory-using-aws-s3-on-macos/" target="_blank" rel="noopener">https://becoder.org/backup-home-directory-using-aws-s3-on-macos/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>由於一些特殊的需求,必須把資料備份到 AWS S3,又踩了一些 awscli 的雷,再來紀錄一下XD</p>
<p>一開始我直接用 <code>aws s3 sync ~/ s3://xxx --delete</code>,配合 <code>--exclude</code> 來排除一些軟體的資料夾,例如 <code>~/Library</code>、<code>~/Application</code>這些不重要的資料,但發現 awscli 的 <code>--exclude</code> 有一點問題,他仍然會讀取到已經排除的資料夾,花了非常多的時間在掃這些用不到的資料:</p>
<pre tabindex="0"><code>warning: Skipping file "xxx" File does not exist.
</code></pre><p>爬到相關文章「<a href="https://github.com/aws/aws-cli/issues/1082" target="_blank" rel="noopener">aws s3 sync warning: Skipping file "." File does not exist. #1082</a>」,測了一下還是一樣沒有用,後來決定捨棄他的排除,用我們的老牌 Rsync 啦!</p>
<h2 id="使用-rsync-輔助-aws-cli"><a href="https://becoder.org/backup-home-directory-using-aws-s3-on-macos/#使用-rsync-輔助-aws-cli" class="anchor-link" aria-label="使用-rsync-輔助-aws-cli"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/backup-home-directory-using-aws-s3-on-macos/#contents:使用-rsync-輔助-aws-cli" class="headings">使用 Rsync 輔助 AWS CLI</a></h2>
<p>非常簡單,把要排除的檔案、資料夾先寫在 Rsync 的 <code>--excloude</code> 來處理,awscli 只需要推備份的資料夾到 S3 就可以了,下面的 Script 還有加了一些基本的網路狀況判斷與 Log 的部分:</p>
<pre tabindex="0"><code>#!/bin/sh
RSYNC=/usr/bin/rsync
AWS=/usr/local/bin/aws
NC=/usr/bin/nc
MKDIR=/bin/mkdir
TEE=/usr/bin/tee
# brew install moreutils
TS=/opt/homebrew/bin/ts
SOURCE=~/
S3_BUCKET="mybackup-s3"
RSYNC_TEMP=".s3"
function upload(){
$MKDIR -p ~/$RSYNC_TEMP
$RSYNC -avh \
--exclude '.Trash' \
--exclude '.DS_Store' \
--exclude '.cache' \
--exclude '.socket' \
--exclude 'Applications' \
--exclude 'OneDrive' \
--exclude 'Library' \
--exclude $RSYNC_TEMP \
$SOURCE ~/$RSYNC_TEMP/ \
--delete
$AWS s3 sync ~/$RSYNC_TEMP/ s3://$S3_BUCKET --delete
}
function main(){
echo "Checking Network Connection.."
if $NC -zw1 google.com 443; then
upload
fi
}
main 2>&1 | $TS '[%Y-%m-%d %H:%M:%S]' | $TEE -a ~/backup.log
</code></pre><p>S3 的其他指令可以參考更詳細的官方文件,其實滿簡單的:<a href="https://docs.aws.amazon.com/zh_tw/cli/latest/userguide/cli-services-s3-commands.html#using-s3-commands-managing-objects-sync" target="_blank" rel="noopener">透過 AWS CLI 使用高階 (s3) 命令 - 同步物件</a></p>
<h2 id="加入-crontab"><a href="https://becoder.org/backup-home-directory-using-aws-s3-on-macos/#加入-crontab" class="anchor-link" aria-label="加入-crontab"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/backup-home-directory-using-aws-s3-on-macos/#contents:加入-crontab" class="headings">加入 Crontab</a></h2>
<p>因為 macOS 的權限限制,必須把這些軟體允許存取硬碟:</p>
<ul>
<li>/usr/sbin/cron</li>
<li>/usr/bin/crontab</li>
<li>/usr/bin/rsync</li>
</ul>
<p>到系統設定 Settings -> Security & Privacy -> Privacy -> Full Disk Access,左下角解除鎖頭後,點一下「+」,按下 「Command+Shift+G 」,再依序輸入上述的路徑允許以允許「Full Disk Access」,這樣子就可以順利自動備份了了</p>
<p><img src="https://becoder.org/images/backup-home-directory-using-aws-s3-on-macos/01.webp" alt="">
<img src="https://becoder.org/images/backup-home-directory-using-aws-s3-on-macos/02.webp" alt=""></p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/backup-home-directory-using-aws-s3-on-macos/" target="_blank" rel="noopener">https://becoder.org/backup-home-directory-using-aws-s3-on-macos/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 macOS 中設定 Chrome 的預設語言
https://becoder.org/set-chrome-default-language-in-macos/
2022-08-29T12:53:53+08:00
2022-08-29T10:18:03+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>為了工作方便,公司配的 Mac 環境是英文環境,但總是有些軟體以繁體中文顯示會比較方便一些,已經習慣的軟體改成英文反而需要時間適應。
特別是在英文版本的 Chrome 內打開 Google Map 的時候,地名都會變成羅馬拼音,如果直接去 Google Map 修改語言,似乎過個幾天就又會變回英文,對於台灣人來說,看羅馬拼音的地名特別花時間。</p>
<p>在 Chrome 上面雖然可以修改語言,但是顯示的語言似乎綁定系統的環境變數,後來查到可以使用這個指令來讓在英文環境 macOS 中的 Chrome 顯示成繁體中文:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/set-chrome-default-language-in-macos/" target="_blank" rel="noopener">https://becoder.org/set-chrome-default-language-in-macos/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>為了工作方便,公司配的 Mac 環境是英文環境,但總是有些軟體以繁體中文顯示會比較方便一些,已經習慣的軟體改成英文反而需要時間適應。
特別是在英文版本的 Chrome 內打開 Google Map 的時候,地名都會變成羅馬拼音,如果直接去 Google Map 修改語言,似乎過個幾天就又會變回英文,對於台灣人來說,看羅馬拼音的地名特別花時間。</p>
<p>在 Chrome 上面雖然可以修改語言,但是顯示的語言似乎綁定系統的環境變數,後來查到可以使用這個指令來讓在英文環境 macOS 中的 Chrome 顯示成繁體中文:</p>
<h2 id="chrome"><a href="https://becoder.org/set-chrome-default-language-in-macos/#chrome" class="anchor-link" aria-label="chrome"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/set-chrome-default-language-in-macos/#contents:chrome" class="headings">Chrome</a></h2>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">defaults write com.google.Chrome AppleLanguages <span class="s1">'(zh-TW)'</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><h2 id="chromium"><a href="https://becoder.org/set-chrome-default-language-in-macos/#chromium" class="anchor-link" aria-label="chromium"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/set-chrome-default-language-in-macos/#contents:chromium" class="headings">Chromium</a></h2>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">defaults write org.chromium.Chromium AppleLanguages <span class="s1">'(zh-TW)'</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>重啟 Chrome/Chromium 就可以看到成果了。</p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/set-chrome-default-language-in-macos/" target="_blank" rel="noopener">https://becoder.org/set-chrome-default-language-in-macos/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 AWS Route 53 中設定 DKIM 的注意事項
https://becoder.org/dkim-in-aws-route-53/
2022-08-25T10:16:16+08:00
2022-08-25T09:37:52+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>昨天在 AWS Route 53 中設定 Proxmox Mail Gateway 的 DKIM Record 時踩到兩個小問題:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/dkim-in-aws-route-53/" target="_blank" rel="noopener">https://becoder.org/dkim-in-aws-route-53/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>昨天在 AWS Route 53 中設定 Proxmox Mail Gateway 的 DKIM Record 時踩到兩個小問題:</p>
<h2 id="字數過長"><a href="https://becoder.org/dkim-in-aws-route-53/#字數過長" class="anchor-link" aria-label="字數過長"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/dkim-in-aws-route-53/#contents:字數過長" class="headings">字數過長</a></h2>
<p>在 Route 53 的 TXT Recoed 最長只支援 255 字元,超出去的話必須要使用「"」來分割字串,其實 PMG 已經預設有幫你切好了,但如果直接複製貼上又會遇到一個問題..
<img src="https://becoder.org/images/dkim-in-aws-route-53/PMG.webp" alt=""></p>
<h2 id="dkim-public-key-被截斷"><a href="https://becoder.org/dkim-in-aws-route-53/#dkim-public-key-被截斷" class="anchor-link" aria-label="dkim-public-key-被截斷"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/dkim-in-aws-route-53/#contents:dkim-public-key-被截斷" class="headings">DKIM Public Key 被截斷</a></h2>
<p>直接貼上後,用 <a href="https://mxtoolbox.com/dkim.aspx" target="_blank" rel="noopener">MXToolBox</a> 怎麼測都不會過,後來發現是 Public Key 被截斷了,仔細看了官方文件 <a href="https://aws.amazon.com/tw/premiumsupport/knowledge-center/route53-resolve-dkim-text-record-error/" target="_blank" rel="noopener">How do I resolve the "CharacterStringTooLong (Value is too long) encountered with {Value}" error that I received when I tried to create a TXT record using DKIM syntax?</a>:</p>
<pre tabindex="0"><code>Split the DKIM key value into two parts, and enclose each part in double quotation marks. For example, the value for "long_string" is split into "long_""string".
</code></pre><p>在雙引號之間「"」是不可以有空格、換行的,PMG 提供的直接貼上會導致換行、空格後的資訊被忽略,所以需要把空格及換行拿掉即可:
<img src="https://becoder.org/images/dkim-in-aws-route-53/route53.webp" alt=""></p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/dkim-in-aws-route-53/" target="_blank" rel="noopener">https://becoder.org/dkim-in-aws-route-53/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 AWS EC2 內安裝 Proxmox Mail Gateway
https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/
2023-01-19T18:09:24+08:00
2022-08-19T01:28:24+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>紀錄一下在 AWS 環境安裝 Proxmox Mail Gateway 的過程,有滿多小細節需要注意的,踩過才會知道XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/" target="_blank" rel="noopener">https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>紀錄一下在 AWS 環境安裝 Proxmox Mail Gateway 的過程,有滿多小細節需要注意的,踩過才會知道XD</p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<h2 id="新建-instance"><a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/#新建-instance" class="anchor-link" aria-label="新建-instance"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/#contents:新建-instance" class="headings">新建 Instance</a></h2>
<p>在建 Instance 時必須要選擇 Debian 11 來安裝,因為 PMG 是基於 Debian 所開發的。
<img src="https://becoder.org/images/install-proxmox-mail-gateway-on-aws-ec2/Launch_an_instance___EC2_Management_Console.png.webp" alt=""></p>
<p>Instance Type 建議選擇 c5 系列的機器,才有辦法在 EC2 網頁上看到機器的 Console (Nitro 才有支援 Serial Port 操作,請見 AWS 官方文件:<a href="https://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/instance-types.html?icmpid=docs_ec2_console#ec2-nitro-instances" target="_blank" rel="noopener">執行個體類型</a>)
<img src="https://becoder.org/images/install-proxmox-mail-gateway-on-aws-ec2/Launch_an_instance___EC2_Management_Console-2.png.webp" alt=""></p>
<p>設定 SSH Key
<img src="https://becoder.org/images/install-proxmox-mail-gateway-on-aws-ec2/Launch_an_instance___EC2_Management_Console-3.png.webp" alt=""></p>
<p>記得幫機器 Assign 一個 Public IP 方便 SSH 連線,之後可以綁定 Elastic IP 來提供服務
<img src="https://becoder.org/images/install-proxmox-mail-gateway-on-aws-ec2/Launch_an_instance___EC2_Management_Console-4.png.webp" alt=""></p>
<p>硬碟先給個 20 GB
<img src="https://becoder.org/images/install-proxmox-mail-gateway-on-aws-ec2/Launch_an_instance___EC2_Management_Console-5.png.webp" alt=""></p>
<p>啟動 Instance
<img src="https://becoder.org/images/install-proxmox-mail-gateway-on-aws-ec2/Launch_an_instance___EC2_Management_Console-7.png.webp" alt=""></p>
<h2 id="安裝-proxmox-mail-gateway"><a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/#安裝-proxmox-mail-gateway" class="anchor-link" aria-label="安裝-proxmox-mail-gateway"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/#contents:安裝-proxmox-mail-gateway" class="headings">安裝 Proxmox Mail Gateway</a></h2>
<p>使用 SSH Key 以 User <code>admin</code> 連線進入 Debian 後,切換到 <code>root</code>:</p>
<pre tabindex="0"><code>sudo su -
</code></pre><p>新增 Proxmox Mail Gateway 的 APT Repo:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">echo</span> <span class="s2">"deb http://download.proxmox.com/debian/pmg bullseye pmg-no-subscription"</span> > /etc/apt/sources.list.d/pmg.list
</span></span><span class="line"><span class="cl">wget wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>移除 <code>apparmor</code>,AWS 預設提供的是包含 <code>apparmor</code>,但是 PMG 系統如果安裝 <code>apparmor</code> 會無法正常執行:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">apt remove apparmor
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>更新套件庫並安裝套件,在 PMG 安裝過程中會移除 ifupdown,因此<strong>必須安裝 <code>ifupdown</code> 避免被移除導致 cloud-init 出問題,進而影響 EC2 網路連線</strong></p>
<pre tabindex="0"><code>apt update
apt install -y proxmox-mailgateway ifupdown
</code></pre><p>最後再幫 <code>root</code> 改一下密碼以便登入 PMG 的後台,再把 PMG Enterprise 的 Repo 移除(如果有買訂閱就可以留著)</p>
<pre tabindex="0"><code>sudo passwd
sudo rm /etc/apt/sources.list.d/pmg-enterprise.list
</code></pre><p>重開機</p>
<pre tabindex="0"><code>sudo reboot
</code></pre><p>如此一來 Proxmox Mail Gateway 就安裝完成了。</p>
<p>可以用下面這個 <code>user-data</code> 在啟動 Instance 時直接安裝,<code>root</code> 的密碼為 <code>awspmgawspmg</code>:</p>
<pre tabindex="0"><code>#!/bin/bash -xe
export DEBIAN_FRONTEND=noninteractive
exec > >(tee /var/log/cloud-init-output.log|logger -t user-data -s 2>/dev/console) 2>&1
echo "deb http://download.proxmox.com/debian/pmg bullseye pmg-no-subscription" > /etc/apt/sources.list.d/pmg.list
wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
apt-get remove apparmor -yq
apt-get update
apt-get install proxmox-mailgateway ifupdown -yq
rm -rf /etc/apt/sources.list.d/pmg-enterprise.list
echo -e "awspmgawspmg\nawspmgawspmg" | passwd root
reboot
</code></pre><h2 id="透過-ssh-port-forwarding-存取-proxmox-mail-gateway-console"><a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/#透過-ssh-port-forwarding-存取-proxmox-mail-gateway-console" class="anchor-link" aria-label="透過-ssh-port-forwarding-存取-proxmox-mail-gateway-console"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/#contents:透過-ssh-port-forwarding-存取-proxmox-mail-gateway-console" class="headings">透過 SSH Port forwarding 存取 Proxmox Mail Gateway Console</a></h2>
<p>以 macOS 環境為例,輸入下方指令就可以將 <code>8006</code> forwarding 到 <code>localhost</code>:</p>
<pre tabindex="0"><code>ssh -L 8006:localhost:8006 -i .ssh/<PRIVKEY>.pem admin@<Instance's Public IP>
</code></pre><p>然後瀏覽器打開 <code>https://localhost:8006/</code>,發現會出現 <code>NET::ERR_CERT_INVALID</code> 錯誤,這時候你只需要停在這個頁面,直接輸入:</p>
<pre tabindex="0"><code>thisisunsafe
</code></pre><p>按下 <code>Enter</code> , 就可以 Bypass 這個頁面了。</p>
<h2 id="申請-25tcp-白名單"><a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/#申請-25tcp-白名單" class="anchor-link" aria-label="申請-25tcp-白名單"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/#contents:申請-25tcp-白名單" class="headings">申請 25/tcp 白名單</a></h2>
<p>預設的所有 EC2 Instance 的 25/tcp 是會被阻擋的,需要去申請白名單,詳情請看官方文件:<a href="https://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS" target="_blank" rel="noopener">針對電子郵件應用程式使用反向 DNS</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/" target="_blank" rel="noopener">https://becoder.org/install-proxmox-mail-gateway-on-aws-ec2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
開啟 Kitty(Putty 分支)的透明度功能
https://becoder.org/enable-transparency-in-kitty/
2022-07-15T00:23:37+08:00
2022-07-14T23:57:09+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在以前我自己是都使用 PuttyTray 作為主要的 SSH 工具,但是在昨天裝了 Ubuntu 22.04 版本後發現他已經不支援新版的加密算法了,Github 也有人提了 <a href="https://github.com/FauxFaux/PuTTYTray/issues/291">Issue</a>,但是看了他最新的 Commit 是四年前,我想我還是換一個軟體會比較快。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/enable-transparency-in-kitty/" target="_blank" rel="noopener">https://becoder.org/enable-transparency-in-kitty/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在以前我自己是都使用 PuttyTray 作為主要的 SSH 工具,但是在昨天裝了 Ubuntu 22.04 版本後發現他已經不支援新版的加密算法了,Github 也有人提了 <a href="https://github.com/FauxFaux/PuTTYTray/issues/291" target="_blank" rel="noopener">Issue</a>,但是看了他最新的 Commit 是四年前,我想我還是換一個軟體會比較快。</p>
<p><img src="https://becoder.org/images/enable-transparency-in-kitty/puttytray-outdate.webp" alt=""></p>
<h2 id="kitty"><a href="https://becoder.org/enable-transparency-in-kitty/#kitty" class="anchor-link" aria-label="kitty"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/enable-transparency-in-kitty/#contents:kitty" class="headings">Kitty</a></h2>
<p>其實 Putty 的分支還滿多的,就挑一個大學時上課用過的 <a href="http://www.9bis.net/kitty/#!index.md" target="_blank" rel="noopener">Kitty</a>,也剛很剛好的他支援透明度的功能,但是需要額外寫設定檔來打開。</p>
<p><img src="https://becoder.org/images/enable-transparency-in-kitty/kitty.webp" alt="Kitty"></p>
<h2 id="新增設定檔"><a href="https://becoder.org/enable-transparency-in-kitty/#新增設定檔" class="anchor-link" aria-label="新增設定檔"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/enable-transparency-in-kitty/#contents:新增設定檔" class="headings">新增設定檔</a></h2>
<p>在 <code>kitty.exe</code> 同一層資料夾新增一個 <code>kitty.ini</code> 的存文字檔,在其中寫上:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-ini" data-lang="ini"><span class="line"><span class="cl"><span class="k">[KiTTY]</span>
</span></span><span class="line"><span class="cl"><span class="na">transparency</span><span class="o">=</span><span class="s">yes</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>就可以看到選項中多了 <code>Transoarency</code> 可以設定透明度 <code>Transparency</code> 了:
<img src="https://becoder.org/images/enable-transparency-in-kitty/kitty-transparency.webp" alt=""></p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/enable-transparency-in-kitty/" target="_blank" rel="noopener">https://becoder.org/enable-transparency-in-kitty/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
第一次反編譯 Android APK
https://becoder.org/repack-android-apk/
2022-07-13T04:22:03+08:00
2022-07-13T03:25:15+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> 最近某個常用的 APP 突然就從 Google Play、App Store 下架了,但是後面的伺服器一就是正常服務的狀態(個人猜測是商業考量)。為了使用 Charles 配合 Android 模擬器分析封包,最終目的是跳過 APP 直接向後端伺服器打 API 拿到我想要的資料,於是就有了這次的紀錄。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/repack-android-apk/" target="_blank" rel="noopener">https://becoder.org/repack-android-apk/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> 最近某個常用的 APP 突然就從 Google Play、App Store 下架了,但是後面的伺服器一就是正常服務的狀態(個人猜測是商業考量)。為了使用 Charles 配合 Android 模擬器分析封包,最終目的是跳過 APP 直接向後端伺服器打 API 拿到我想要的資料,於是就有了這次的紀錄。</p>
<h2 id="為什麼需要反編譯-apk"><a href="https://becoder.org/repack-android-apk/#為什麼需要反編譯-apk" class="anchor-link" aria-label="為什麼需要反編譯-apk"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/repack-android-apk/#contents:為什麼需要反編譯-apk" class="headings">為什麼需要反編譯 APK?</a></h2>
<p> 在大學時曾經在某個課程中用過 Charles 這套軟體,有點類似 Wireshark 的功能,但是 Charles 是針對 HTTP 協定的抓包工具,且它支援 SSL Proxy,可以透過它來擷取 HTTPS METHODS 的內容。然而在 Android 7 以後,必須在 APP 中寫入需要自訂憑證的 Domain Name 才可以透過 Charles 抓包(安全性考量,請參考<a href="https://developer.android.google.cn/training/articles/security-config.html" target="_blank" rel="noopener">官方文件</a>)。</p>
<h2 id="解開-apk"><a href="https://becoder.org/repack-android-apk/#解開-apk" class="anchor-link" aria-label="解開-apk"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/repack-android-apk/#contents:解開-apk" class="headings">解開 APK</a></h2>
<p> 我使用的是知名的反編譯工具:<a href="https://ibotpeaches.github.io/Apktool/" target="_blank" rel="noopener">Apktool</a>,參考<a href="https://ibotpeaches.github.io/Apktool/install/" target="_blank" rel="noopener">安裝說明</a>安裝好即可開始作業。</p>
<pre tabindex="0"><code>apktool d name.apk
</code></pre><pre tabindex="0"><code>I: Using Apktool 2.6.1 on name.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\xxxx\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
</code></pre><h2 id="修改-app-內容"><a href="https://becoder.org/repack-android-apk/#修改-app-內容" class="anchor-link" aria-label="修改-app-內容"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/repack-android-apk/#contents:修改-app-內容" class="headings">修改 APP 內容</a></h2>
<p> 編輯解開的 APP 後產生的資料夾內的 <code>AndroidManifest.xml</code> ,找到 <code><application </code> 開頭的片段,在修改成為 <code><application android:networkSecurityConfig="@xml/network_security_config"</code>。</p>
<p> 在 <code>res/xml/</code> 中新增空白檔案 <code>network_security_config.xml</code>,加入下列內容:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-xml" data-lang="xml"><span class="line"><span class="cl"><span class="cp"><?xml version="1.0" encoding="utf-8"?></span>
</span></span><span class="line"><span class="cl"><span class="nt"><network-security-config></span>
</span></span><span class="line"><span class="cl"> <span class="nt"><domain-config></span>
</span></span><span class="line"><span class="cl"> <span class="c"><!-- 有幾個 Domain Name 要抓包,就寫幾行 --></span>
</span></span><span class="line"><span class="cl"> <span class="nt"><domain</span> <span class="na">includeSubdomains=</span><span class="s">"true"</span><span class="nt">></span>example.com<span class="nt"></domain></span>
</span></span><span class="line"><span class="cl"> <span class="nt"><domain</span> <span class="na">includeSubdomains=</span><span class="s">"true"</span><span class="nt">></span>example2.com<span class="nt"></domain></span>
</span></span><span class="line"><span class="cl"> <span class="nt"><trust-anchors></span>
</span></span><span class="line"><span class="cl"> <span class="nt"><certificates</span> <span class="na">src=</span><span class="s">"user"</span><span class="nt">/></span>
</span></span><span class="line"><span class="cl"> <span class="nt"></trust-anchors></span>
</span></span><span class="line"><span class="cl"> <span class="nt"></domain-config></span>
</span></span><span class="line"><span class="cl"><span class="nt"></network-security-config></span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><h2 id="打包-apk"><a href="https://becoder.org/repack-android-apk/#打包-apk" class="anchor-link" aria-label="打包-apk"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/repack-android-apk/#contents:打包-apk" class="headings">打包 APK</a></h2>
<p> 回到 APK 資料夾的上一層,再次使用 <code>apktool</code> 打包,完成的檔案會存在 <code>dist/</code> 資料夾中。</p>
<pre tabindex="0"><code>apktool b name
</code></pre><p>執行結果:</p>
<pre tabindex="0"><code>I: Using Apktool 2.6.1
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
</code></pre><p> 進入 <code>dist/</code> 資料夾簽署 APK,一開始沒做這個步驟,結果 APK 沒辦法安裝在 Android 虛擬機中XD。</p>
<p><strong>Tips</strong>: 如果找不到指令的話,請安裝 <code>jre</code>、<code>jdk</code> 並加入 PATH 中喔。</p>
<pre tabindex="0"><code>jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore [Your Key Store] [Address/YourApk.apk] alias_name -storepass [Your Password]
</code></pre><p>執行結果:</p>
<pre tabindex="0"><code> adding: META-INF/MANIFEST.MF
adding: META-INF/ALIAS_NA.SF
adding: META-INF/ALIAS_NA.RSA
signing: AndroidManifest.xml
signing: classes.dex
signing: classes2.dex
.....
signing: org/eclipse/paho/client/mqttv3/internal/nls/messages_ru.properties
signing: org/eclipse/paho/client/mqttv3/internal/nls/messages_zh_CN.properties
signing: org/eclipse/paho/client/mqttv3/internal/nls/messages_zh_TW.properties
signing: org/eclipse/paho/client/mqttv3/logging/jsr47min.properties
>>> Signer
X.509, CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
Signature algorithm: SHA256withRSA, 2048-bit key
[trusted certificate]
jar signed.
Warning:
The signer's certificate is self-signed.
The SHA1 algorithm specified for the -digestalg option is considered a security risk and is disabled.
The SHA1withRSA algorithm specified for the -sigalg option is considered a security risk and is disabled.
</code></pre><p>這樣 APK 就可以安裝來抓包,依據 HTTP Methods 的內容來寫 Scripts 直接操作 API 囉。
<img src="https://becoder.org/images/repack-android-apk.webp" alt=""></p>
<p><em><strong>Reference:</strong></em>:</p>
<ul>
<li><a href="https://stackoverflow.com/questions/35099474/cant-install-apk-after-decoding-and-rebuild-apktool-apkstudio" target="_blank" rel="noopener">Can't install .apk after decoding and rebuild (Apktool, Apkstudio)</a></li>
<li><a href="https://developer.android.google.cn/training/articles/security-config.html" target="_blank" rel="noopener">网络安全配置 | Android 开发者 | Android Developers</a></li>
</ul>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/repack-android-apk/" target="_blank" rel="noopener">https://becoder.org/repack-android-apk/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
自行更換初代 iPhone SE 電池
https://becoder.org/replace-iphone-se-battery-diy/
2022-07-12T04:35:44+08:00
2022-07-12T03:56:56+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> 家裡有一隻機況還不錯的初代 IPhone SE,但缺點就是容量只有 16GB,電池健康度也只剩 77% 稱不過一天。為了讓他成為一隻堪用的備用機,至少續航力是必須提昇的,所以就有了這次 DIY 更換電池的紀錄。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/replace-iphone-se-battery-diy/" target="_blank" rel="noopener">https://becoder.org/replace-iphone-se-battery-diy/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> 家裡有一隻機況還不錯的初代 IPhone SE,但缺點就是容量只有 16GB,電池健康度也只剩 77% 稱不過一天。為了讓他成為一隻堪用的備用機,至少續航力是必須提昇的,所以就有了這次 DIY 更換電池的紀錄。</p>
<h2 id="購買電池"><a href="https://becoder.org/replace-iphone-se-battery-diy/#購買電池" class="anchor-link" aria-label="購買電池"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/replace-iphone-se-battery-diy/#contents:購買電池" class="headings">購買電池</a></h2>
<p> 在開始之前是參考了一些 Youtube 影片,但還是有點抖,我是抱著弄壞就算了的心態來執行這次 DIY 的 XD,由於這隻手機殘值已經接近 0 元了,就去蝦皮買最多人買的電池來換了,我是買<a href="https://shopee.tw/product/68444710/1134376708" target="_blank" rel="noopener">這家的電池</a>。</p>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-1.webp" alt=""></p>
<h2 id="教學影片"><a href="https://becoder.org/replace-iphone-se-battery-diy/#教學影片" class="anchor-link" aria-label="教學影片"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/replace-iphone-se-battery-diy/#contents:教學影片" class="headings">教學影片</a></h2>
<p> 在拿到電池以後,我參考這篇 Youtube 的教學影片,照著做其實滿簡單的,千萬不要把螺絲弄丟了,因為電池包沒有附新的螺絲QQ。</p>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/x9JRqocmm24?autoplay=0&controls=1&end=0&loop=0&mute=0&start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
</div>
<h2 id="開始操作"><a href="https://becoder.org/replace-iphone-se-battery-diy/#開始操作" class="anchor-link" aria-label="開始操作"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/replace-iphone-se-battery-diy/#contents:開始操作" class="headings">開始操作</a></h2>
<p> 由於沒有拍得很詳細,還是請參考影片為主~拆壞了不要找我啊~XDD。</p>
<h3 id="分解手機"><a href="https://becoder.org/replace-iphone-se-battery-diy/#分解手機" class="anchor-link" aria-label="分解手機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/replace-iphone-se-battery-diy/#contents:分解手機" class="headings">分解手機</a></h3>
<ol>
<li>拆開下面兩顆螺絲</li>
</ol>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-2.webp" alt=""></p>
<ol start="2">
<li>用吸盤吸起螢幕</li>
</ol>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-3.webp" alt=""></p>
<ol start="4">
<li>依照影片說明撬開卡扣</li>
</ol>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-4.webp" alt=""></p>
<ol start="5">
<li>完成分解</li>
</ol>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-5.webp" alt=""></p>
<h3 id="取出電池"><a href="https://becoder.org/replace-iphone-se-battery-diy/#取出電池" class="anchor-link" aria-label="取出電池"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/replace-iphone-se-battery-diy/#contents:取出電池" class="headings">取出電池</a></h3>
<ol>
<li>在多年前曾經在原廠換過電池,但是我找不到電池膠的施力點,只好慢慢撬開了,小心不要弄破電池了</li>
</ol>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-6.webp" alt=""></p>
<ol start="2">
<li>拆除電池。不過電池還是被我戳破了,趕緊丟進鹽水放電XD</li>
</ol>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-7.webp" alt="">
<img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-8.webp" alt=""></p>
<h3 id="安裝電池"><a href="https://becoder.org/replace-iphone-se-battery-diy/#安裝電池" class="anchor-link" aria-label="安裝電池"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/replace-iphone-se-battery-diy/#contents:安裝電池" class="headings">安裝電池</a></h3>
<ol>
<li>測試開機看看</li>
</ol>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-9.webp" alt=""></p>
<ol start="2">
<li>健康度 100%!!!</li>
</ol>
<p><img src="https://becoder.org/images/replace-iphone-se-battery-diy/se-10.webp" alt=""></p>
<h2 id="感想"><a href="https://becoder.org/replace-iphone-se-battery-diy/#感想" class="anchor-link" aria-label="感想"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/replace-iphone-se-battery-diy/#contents:感想" class="headings">感想</a></h2>
<p> 因為初代 SE 電池是沒有鎖的,所以可以正常顯示健康度。但是後續的機種都有鎖電池了,除非移植電芯,否則只能回原廠更換電池後配對電池,不然是無法顯示健康度的。除了這種老舊機種以外,我還是建議可以回原廠、授權維修中心更換蘋果原廠的電池,不然每次開機都會跳出非原廠配件來煩死你,而且去外面換過以後就再也不能回原廠換電池了,千萬要謹慎選擇。</p>
<!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/replace-iphone-se-battery-diy/" target="_blank" rel="noopener">https://becoder.org/replace-iphone-se-battery-diy/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 Alpine Linux 中轉檔圖片格式成 Webp 加速網站讀取 (ImageMagick)
https://becoder.org/convert-pictures-to-webp-in-alpine-linux/
2022-07-11T02:33:57+08:00
2022-07-10T03:33:41+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>雖然靜態的部落格速度已經不錯了,但還是有進步空間的,那就是圖片了。以往都會使用 JPGE、PNG 提供網站的圖片,現在有更好的選擇,那就是 <a href="https://zh.m.wikipedia.org/zh-tw/WebP">Webp</a> 囉。</p>
<p>將現有的圖片轉檔成為 Webp 格式,可以節省掉不少空間,還可以加快網站讀取速度。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/" target="_blank" rel="noopener">https://becoder.org/convert-pictures-to-webp-in-alpine-linux/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>雖然靜態的部落格速度已經不錯了,但還是有進步空間的,那就是圖片了。以往都會使用 JPGE、PNG 提供網站的圖片,現在有更好的選擇,那就是 <a href="https://zh.m.wikipedia.org/zh-tw/WebP" target="_blank" rel="noopener">Webp</a> 囉。</p>
<p>將現有的圖片轉檔成為 Webp 格式,可以節省掉不少空間,還可以加快網站讀取速度。</p>
<h2 id="安裝"><a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/#安裝" class="anchor-link" aria-label="安裝"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/#contents:安裝" class="headings">安裝</a></h2>
<p>由於我的網站環境是安裝在 Alpine Linux 的 VPN 主機中,所以這邊以 Alpine 作為範例:</p>
<h3 id="imagemagick"><a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/#imagemagick" class="anchor-link" aria-label="imagemagick"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/#contents:imagemagick" class="headings">ImageMagick</a></h3>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apk add imagemagick
</span></span></code></pre></td></tr></table></div>
</div>
</div><pre tabindex="0"><code>(1/33) Installing fontconfig (2.14.0-r0)
(2/33) Installing lcms2 (2.13.1-r0)
(3/33) Installing libltdl (2.4.7-r0)
(4/33) Installing imagemagick-libs (7.1.0.41-r0)
(5/33) Installing libxrender (0.9.10-r3)
(6/33) Installing pixman (0.40.0-r3)
(7/33) Installing cairo (1.17.6-r2)
(8/33) Installing libintl (0.21-r3)
(9/33) Installing libmount (2.38-r2)
(10/33) Installing glib (2.72.2-r0)
(11/33) Installing dbus-libs (1.14.0-r1)
(12/33) Installing avahi-libs (0.8-r6)
(13/33) Installing cups-libs (2.4.2-r0)
(14/33) Installing jbig2dec (0.19-r0)
(15/33) Installing tiff (4.4.0-r0)
(16/33) Installing ghostscript (9.56.1-r0)
(17/33) Installing aom-libs (3.4.0-r0)
(18/33) Installing libde265 (1.0.8-r2)
(19/33) Installing numactl (2.0.14-r0)
(20/33) Installing x265-libs (3.5-r3)
(21/33) Installing libheif (1.12.0-r2)
(22/33) Installing libjxl (0.6.1_git20220605-r0)
(23/33) Installing cairo-gobject (1.17.6-r2)
(24/33) Installing pkgconf (1.8.0-r0)
(25/33) Installing shared-mime-info (2.2-r0)
(26/33) Installing gdk-pixbuf (2.42.8-r0)
(27/33) Installing libxft (2.3.4-r0)
(28/33) Installing fribidi (1.0.12-r0)
(29/33) Installing graphite2 (1.3.14-r1)
(30/33) Installing harfbuzz (4.4.1-r0)
(31/33) Installing pango (1.50.7-r0)
(32/33) Installing librsvg (2.54.4-r0)
(33/33) Installing imagemagick (7.1.0.41-r0)
Executing busybox-1.35.0-r17.trigger
Executing fontconfig-2.14.0-r0.trigger
Executing shared-mime-info-2.2-r0.trigger
Executing gdk-pixbuf-2.42.8-r0.trigger
OK: 554 MiB in 195 packages
</code></pre><h3 id="webplib"><a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/#webplib" class="anchor-link" aria-label="webplib"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/#contents:webplib" class="headings">webplib</a></h3>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apk add libwebp libwebp-tools
</span></span></code></pre></td></tr></table></div>
</div>
</div><pre tabindex="0"><code>(1/2) Installing giflib (5.2.1-r0)
(2/2) Installing libwebp-tools (1.2.2-r0)
Executing busybox-1.35.0-r17.trigger
OK: 418 MiB in 164 packages
</code></pre><h3 id="使用"><a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/#使用" class="anchor-link" aria-label="使用"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/#contents:使用" class="headings">使用</a></h3>
<p>使用上非常簡單,只需要 <code>convert A.jpg A.webp</code> 就可以了,什麼參數都不用設定,也幫圖片瘦身非常多。</p>
<pre tabindex="0"><code>40.1K Jul 10 03:48 install-webp-converter-in-alpine-linux.png
12.0K Jul 10 03:48 install-webp-converter-in-alpine-linux.webp
</code></pre><!--
```bash {lineon=table}
echo "Hello World"
```
-->
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/convert-pictures-to-webp-in-alpine-linux/" target="_blank" rel="noopener">https://becoder.org/convert-pictures-to-webp-in-alpine-linux/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
終於把網站轉換至 Hugo 靜態系統了
https://becoder.org/convert-blog-from-wordpress-to-hugo/
2022-07-10T03:04:14+08:00
2022-07-08T01:36:57+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> 在部落格式微的年代,還存在的部落格似乎已經變歷史遺跡了XDD,就找個長久的又簡單的方式來保存網站吧!
畢竟也不需要用到 WordPress 那麼多的外掛,放在 Vultr 主機上面 DB 還常常掛掉(1 core 512 mb 的窮酸規格XD)。為了實現這件事情,我也已經在交大資工的個人網頁: <a href="https://people.cs.nctu.edu.tw/~fyli/">fyli's Note</a> 裡面實驗過了一段時間,最近終於碩班畢業有空來轉換了!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/" target="_blank" rel="noopener">https://becoder.org/convert-blog-from-wordpress-to-hugo/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> 在部落格式微的年代,還存在的部落格似乎已經變歷史遺跡了XDD,就找個長久的又簡單的方式來保存網站吧!
畢竟也不需要用到 WordPress 那麼多的外掛,放在 Vultr 主機上面 DB 還常常掛掉(1 core 512 mb 的窮酸規格XD)。為了實現這件事情,我也已經在交大資工的個人網頁: <a href="https://people.cs.nctu.edu.tw/~fyli/" target="_blank" rel="noopener">fyli's Note</a> 裡面實驗過了一段時間,最近終於碩班畢業有空來轉換了!</p>
<p><img src="https://becoder.org/images/TvZVQ7J.png" alt="">
靜態化的好處非常多,其中一個最大的好處是不需要自己管理伺服器等,省了時間也更安全一些,以前總是喜歡玩一些酷東西炫技,當事情越來越多以後,才發現化繁為簡是一個夢想。就算之後不租 VPS,直接把網站丟到 Github Page 也是可行的,而且還可以版控呢!身邊的 Vultr 日本主機閒著也是閒著,就拿他來放囉!透過 SSH 發表文章也非常的快速,只要寫寫 Markdown 就可以把整個網站產出來了,不需要每次有人瀏覽就要虐待這台 VPS 猶如風中殘燭的硬體資源XD。</p>
<h2 id="調整"><a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/#調整" class="anchor-link" aria-label="調整"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/#contents:調整" class="headings">調整</a></h2>
<p> 轉換的過程我是參考這篇文章: <a href="https://blog.wu-boy.com/2021/05/migrate-wordpress-to-hugo/" target="_blank" rel="noopener">將部落格從 Wordpress 轉換到 Hugo - 小惡魔 - AppleBOY</a>,然後再將 GA、Adsense 等轉移過來,再 F12 慢慢調整 CSS 的樣式。</p>
<h3 id="htaccess"><a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/#htaccess" class="anchor-link" aria-label="htaccess"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/#contents:htaccess" class="headings">.htaccess</a></h3>
<p> 需要額外調整標籤、分類的 301 Redirect,我使用 Apache2 的 <code>.htaccess</code> 來完成:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span><span class="lnt">7
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-.htaccess" data-lang=".htaccess"><span class="line"><span class="cl"><span class="nb">ErrorDocument</span> <span class="m">404</span> <span class="sx">/404.html</span>
</span></span><span class="line"><span class="cl"><span class="nb">RewriteEngine</span> <span class="k">on</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nb">Redirect</span> <span class="m">301</span> <span class="sx">/category</span> <span class="sx">/categories</span>
</span></span><span class="line"><span class="cl"><span class="nb">Redirect</span> <span class="m">301</span> <span class="sx">/tag</span> <span class="sx">/tags</span>
</span></span><span class="line"><span class="cl"><span class="nb">RewriteRule</span> ^category/(.*)$ <span class="sx">/categories/</span>$1 [R=301,NC,L]
</span></span><span class="line"><span class="cl"><span class="nb">RewriteRule</span> ^tag/(.*)$ <span class="sx">/tags/</span>$1 [R=301,NC,L]
</span></span></code></pre></td></tr></table></div>
</div>
</div><h3 id="預覽圖片"><a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/#預覽圖片" class="anchor-link" aria-label="預覽圖片"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/#contents:預覽圖片" class="headings">預覽圖片</a></h3>
<p> WordPress 轉換外掛匯出的預覽圖是放在 <code>featured_image</code> 中,我使用的這個佈景 <code>Beautifulhugo</code> 則是讀取 <code>image</code> 而已,使用 <code>sed</code> 快速取代就可以了:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">$ <span class="nb">cd</span> content/posts
</span></span><span class="line"><span class="cl">$ sed -i <span class="s1">'s/featured_image:/image:/g'</span> *
</span></span></code></pre></td></tr></table></div>
</div>
</div><h3 id="cloudflare-快取"><a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/#cloudflare-快取" class="anchor-link" aria-label="cloudflare-快取"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/#contents:cloudflare-快取" class="headings">Cloudflare 快取</a></h3>
<p> 我的網站一直都有採用 Cloudflare 作為快取,由於 Hugo 是全靜態網站,所以在發文的時候需要手動清理 Cloudflare 上面的 Cache。我則是直接寫一個簡單的 Shell Script ,在 Rebuild 網站的時候順便清除 Cache :</p>
<pre tabindex="0"><code class="language-bash=" data-lang="bash=">#!/bin/bash
BLOG_PATH="~/blog"
ZONE="abcd12345"
API_TOKEN="abcd12345"
echo ========== Rebuild Blog ==========
(pushd $BLOG_PATH && hugo; popd)
echo ===== Clear Cloudflare Cache =====
curl -4 -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE/purge_cache" \
-H "Authorization: Bearer $API_TOKEN" \
-H "Content-Type:application/json" \
--data '{"purge_everything":true}'
</code></pre><p>執行成果</p>
<pre tabindex="0"><code>========== Rebuild Blog ==========
~/becoder.org ~/bin
Start building sites …
hugo v0.000.0-XXXXXXXX+extended linux/amd64 BuildDate=2000-00-00T00:00:00Z
| EN
-------------------+-------
Pages | 781
Paginator pages | 36
Non-page files | 2924
Static files | 184
Processed images | 0
Aliases | 313
Sitemaps | 1
Cleaned | 0
Total in 6172 ms
~/bin
===== Clear Cloudflare Cache =====
{
"result": {
"id": "xxxxxxxxxxxx"
},
"success": true,
"errors": [],
"messages": []
}
</code></pre><p> 這樣就可以在每次更新的時候一併清除 Cache 囉!寄可以省掉流量也省掉了手動去清 Cache 的麻煩了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/convert-blog-from-wordpress-to-hugo/" target="_blank" rel="noopener">https://becoder.org/convert-blog-from-wordpress-to-hugo/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 Linux 中建立可開機 Windows 隨身碟
https://becoder.org/create-a-windows-bootable-usb-in-linux/
2022-07-10T03:09:43+08:00
2022-07-05T02:10:58+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近畢業後回家裡,發現家裡的公用桌機竟然掛了</p>
<p>本來想拿多年前的 Windows 10 光碟來安裝,但是似乎光碟壞掉了,安裝失敗。</p>
<p>唯一可以使用的電腦也只有家中的 Proxmox VE 伺服器(拿套裝桌機來跑 pfSense、架部落格XD)</p>
<p>一開始是爬到文章說可以用 <code>dd</code> 來做 Windows 開機光碟,試了一下跟我所想像一樣不能用,後來發現了一套 WoeUSB,看起來還滿不錯的。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/create-a-windows-bootable-usb-in-linux/" target="_blank" rel="noopener">https://becoder.org/create-a-windows-bootable-usb-in-linux/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近畢業後回家裡,發現家裡的公用桌機竟然掛了</p>
<p>本來想拿多年前的 Windows 10 光碟來安裝,但是似乎光碟壞掉了,安裝失敗。</p>
<p>唯一可以使用的電腦也只有家中的 Proxmox VE 伺服器(拿套裝桌機來跑 pfSense、架部落格XD)</p>
<p>一開始是爬到文章說可以用 <code>dd</code> 來做 Windows 開機光碟,試了一下跟我所想像一樣不能用,後來發現了一套 WoeUSB,看起來還滿不錯的。</p>
<h2 id="安裝"><a href="https://becoder.org/create-a-windows-bootable-usb-in-linux/#安裝" class="anchor-link" aria-label="安裝"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/create-a-windows-bootable-usb-in-linux/#contents:安裝" class="headings">安裝</a></h2>
<ol>
<li>先安裝一些必要的套件</li>
</ol>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin
</span></span></code></pre></td></tr></table></div>
</div>
</div><ol start="2">
<li>再使用 pip 安裝 WoeUSB,只要有 Python3 就可以跑啦!非常方便!</li>
</ol>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo pip3 install WoeUSB-ng
</span></span></code></pre></td></tr></table></div>
</div>
</div><h2 id="使用"><a href="https://becoder.org/create-a-windows-bootable-usb-in-linux/#使用" class="anchor-link" aria-label="使用"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/create-a-windows-bootable-usb-in-linux/#contents:使用" class="headings">使用</a></h2>
<p>裝完以後就可以再 X Window 中看到了,也可以直接再 Command Line 中使用</p>
<p><img src="https://becoder.org/images/create-a-windows-bootable-usb-in-linux/WoeUSB.png" alt=""></p>
<p>就依照上面的說明使用即可了</p>
<p><img src="https://becoder.org/images/create-a-windows-bootable-usb-in-linux/uMA9MiN.webp" alt="">
<img src="https://becoder.org/images/create-a-windows-bootable-usb-in-linux/qvjNFGE.webp" alt=""></p>
<p>很貼心的支援 UEFI 呢,可以說是 Linux 上的 Rufus? XD</p>
<p><img src="https://becoder.org/images/create-a-windows-bootable-usb-in-linux/VCoISNl.webp" alt=""></p>
<p>更詳細的細節請參考 GitHub 上的專案 <a href="https://github.com/WoeUSB/WoeUSB-ng" target="_blank" rel="noopener">WoeUSB-ng</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/create-a-windows-bootable-usb-in-linux/" target="_blank" rel="noopener">https://becoder.org/create-a-windows-bootable-usb-in-linux/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
快速清空交大資工信箱的 MailBox
https://becoder.org/clear-mailbox/
2022-07-08T22:27:25+08:00
2022-06-25T16:59:49+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近剛跑完離校程序,身為系計中老 TA,收了各種 Root Mail、Help Mail,信件量超級多,且離職後會縮減家目錄、Mailbox,為了能夠收到新的信,勢必要清空整個信箱。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/clear-mailbox/" target="_blank" rel="noopener">https://becoder.org/clear-mailbox/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近剛跑完離校程序,身為系計中老 TA,收了各種 Root Mail、Help Mail,信件量超級多,且離職後會縮減家目錄、Mailbox,為了能夠收到新的信,勢必要清空整個信箱。</p>
<p>好在平時是直接把 Mail 給 forward 到 GSuite 內,基本上是可以直接清乾淨整個的 Mailbox 的,所以就不用備份了。</p>
<p>簡單一行指令即可:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">> /var/mail/fyli
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>這樣就可以把整個 Mailbox 清空囉!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/clear-mailbox/" target="_blank" rel="noopener">https://becoder.org/clear-mailbox/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
安裝 WireGuard DKMS 請記得關閉 Secure Boot
https://becoder.org/wireguard-dkms-need-disable-secure-boot/
2022-07-10T03:16:02+08:00
2021-12-03T19:59:57+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>今天花了幾個小時解決 WireGuard 連不上的問題,解決後只想說…請還我 3 個小時。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wireguard-dkms-need-disable-secure-boot/" target="_blank" rel="noopener">https://becoder.org/wireguard-dkms-need-disable-secure-boot/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>今天花了幾個小時解決 WireGuard 連不上的問題,解決後只想說…請還我 3 個小時。</p>
<p>機器是開在 VMware vSphere 6.7 上面的 CentOS Stream ,把 WireGuard 官方所有的安裝方法都裝了一次,不管怎樣都連不上。</p>
<p>後來看到了這篇文章 <a href="https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS" target="_blank" rel="noopener" target="_blank" rel="noopener">UEFI/SecureBoot/DKMS</a>,如果<strong>使用 UEFI 安裝 Linux 且有開啟 Secure Boot 的話( vSphere 好像預****設都會開)</strong>,就算你的 Kernel headers 的版本是對的,DKMS build 也過,不管怎麼 modprobe 就是沒辦法把這個 Kernel Module 載入。</p>
<p>把「安全開機」關掉就後開機可以使用了。(請還我 3 個小時)</p>
<p id="ewQmHKS">
<img loading="lazy" width="869" height="603" class="alignnone size-full wp-image-3802 " src="https://becoder.org/wp-content/uploads/2021/12/img_61aa75fc40a14.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/12/img_61aa75fc40a14.png 869w, https://becoder.org/wp-content/uploads/2021/12/img_61aa75fc40a14-300x208.png 300w" sizes="(max-width: 869px) 100vw, 869px" />
</p>
<p> </p>
<p>Ref:</p>
<ul>
<li><a href="https://forums.veeam.com/veeam-tools-for-microsoft-azure-f36/veeam-pn-error-t59627.html" target="_blank" rel="noopener">https://forums.veeam.com/veeam-tools-for-microsoft-azure-f36/veeam-pn-error-t59627.html</a></li>
<li><a href="https://www.dell.com/support/kbdoc/zh-tw/000118152/how-to-disable-secure-boot-dkms-signature-verification-on-dell-oem-ubuntu-16-04" target="_blank" rel="noopener">https://www.dell.com/support/kbdoc/zh-tw/000118152/how-to-disable-secure-boot-dkms-signature-verification-on-dell-oem-ubuntu-16-04</a></li>
<li><a href="https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS" target="_blank" rel="noopener">https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS</a></li>
</ul>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wireguard-dkms-need-disable-secure-boot/" target="_blank" rel="noopener">https://becoder.org/wireguard-dkms-need-disable-secure-boot/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 Proxmox VE 中直接備份至 Google Drive (vzdump + rclone)
https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/
2022-07-10T03:18:43+08:00
2021-10-07T19:40:12+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近在幫自己的網站從 Vultr 搬到自己家裡的主機,因為家裡的主機是拿老桌機當 Server 用,怕隨時硬碟會炸掉XD,於是就有了這個備份需求,直接丟到學校提供的Google Drive 教育板,就不用太擔心了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/" target="_blank" rel="noopener">https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近在幫自己的網站從 Vultr 搬到自己家裡的主機,因為家裡的主機是拿老桌機當 Server 用,怕隨時硬碟會炸掉XD,於是就有了這個備份需求,直接丟到學校提供的Google Drive 教育板,就不用太擔心了。</p>
<p>目前這個需求已經有人開發了工具,可以直接結合 Proxmox VE 內部的備份工具,可以在 Backup Log 中看到 Rclone 的相關 Log,搭配 Proxmoe VE 內建 CRON 自動備份到各種網路空間,非常方便:</p>
<p id="PAXeEWj">
<img loading="lazy" width="1013" height="715" class="alignnone size-full wp-image-3765 " src="https://becoder.org/wp-content/uploads/2021/10/img_615f42dc5c8e7.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615f42dc5c8e7.png 1013w, https://becoder.org/wp-content/uploads/2021/10/img_615f42dc5c8e7-300x212.png 300w" sizes="(max-width: 1013px) 100vw, 1013px" />
</p>
<p> </p>
<h1 id="安裝-rclone"><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#安裝-rclone" class="anchor-link" aria-label="安裝-rclone"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#contents:安裝-rclone" class="headings">安裝 Rclone</a></h1>
<p>在 Proxmox VE 中以 root 身份登入,直接使用指令安裝 rclone</p>
<pre># apt update
# apt install rclone -y
</pre>
<p>亦或到 Rclone 的<a href="https://rclone.org/downloads/" target="_blank" rel="noopener" target="_blank" rel="noopener">官網下載</a>安裝:</p>
<p id="joxTaHs">
<img loading="lazy" width="1088" height="515" class="alignnone size-full wp-image-3768 " src="https://becoder.org/wp-content/uploads/2021/10/img_615f44170c7ca.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615f44170c7ca.png 1088w, https://becoder.org/wp-content/uploads/2021/10/img_615f44170c7ca-300x142.png 300w, https://becoder.org/wp-content/uploads/2021/10/img_615f44170c7ca-1024x485.png 1024w" sizes="(max-width: 1088px) 100vw, 1088px" />
</p>
<h1 id="初始化-rclone"><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#初始化-rclone" class="anchor-link" aria-label="初始化-rclone"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#contents:初始化-rclone" class="headings">初始化 Rclone</a></h1>
<p>請務必仔細跟著設定,或是你自己去研究 rclone 的 config</p>
<pre># rclone config
2021/10/08 02:03:49 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> gd-backup_crypt # 務必使用這個名字,或是之後改腳本
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
~~
15 / Google Drive
\ "drive"
~~
Storage> 15
Google Application Client Id
Setting your own is recommended.
See https://rclone.org/drive/#making-your-own-client-id for how to create your own.
If you leave this blank, it will use an internal key which is low performance.
Enter a string value. Press Enter for the default ("").
client_id> 123456789-xxxxxxxxxxxxxx.apps.googleusercontent.com
OAuth Client Secret
Leave blank normally.
Enter a string value. Press Enter for the default ("").
client_secret> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Scope that rclone should use when requesting access from drive.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / Full access all files, excluding Application Data Folder.
\ "drive"
~~
scope> 1
ID of the root folder
Leave blank normally.
Fill in to access "Computers" folders (see docs), or for rclone to use
a non root folder as its starting point.
Enter a string value. Press Enter for the default ("").
root_folder_id> xxxx_123456789
# 在 Google Drive 建一個資料夾,網址最後一串就是 root_folder_id
# https://drive.google.com/drive/u/1/folders/xxxx_123456789
Service Account Credentials JSON file path
Leave blank normally.
Needed only if you want use SA instead of interactive login.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
Enter a string value. Press Enter for the default ("").
service_account_file> [Enter]
Edit advanced config?
y) Yes
n) No (default)
y/n> [Enter]
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes (default)
n) No
y/n> n
Verification code
Go to this URL, authenticate then paste the code here.
https://accounts.google.com/o/oauth2/auth?xxxxxxxxxx
# 複製上面網址到瀏覽器登入帳號,取得驗證碼填入下方
Enter a string value. Press Enter for the default ("").
config_verification_code> 123454321
2021/10/08 02:16:42 NOTICE: Make sure your Redirect URL is set to "urn:ietf:wg:oauth:2.0:oob" in your custom config.
Configure this as a Shared Drive (Team Drive)?
y) Yes
n) No (default)
y/n> [Enter]
--------------------
[gd-backup_crypt]
type = drive
client_id = 123456789-xxxxxxxxxxxxxx.apps.googleusercontent.com
client_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
scope = drive
root_folder_id = xxxx_123456789
token = {"access_token":"123454321","token_type":"Bearer","refresh_token":"123454321","expiry":"2021-10-08T03:16:42.034218011+08:00"}
team_drive =
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d>
Current remotes:
Name Type
==== ====
gd-backup_crypt drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q</pre>
<p> </p>
<h1 id="安裝-proxmox-vzbackup-rclone"><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#安裝-proxmox-vzbackup-rclone" class="anchor-link" aria-label="安裝-proxmox-vzbackup-rclone"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#contents:安裝-proxmox-vzbackup-rclone" class="headings">安裝 proxmox-vzbackup-rclone</a></h1>
<h2 id="下載"><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#下載" class="anchor-link" aria-label="下載"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#contents:下載" class="headings">下載</a></h2>
<p>以 root 身分執行,這是我修改過的版本:</p>
<pre># apt-get install git
# cd /root
# git clone https://github.com/fuyuanli/proxmox-vzbackup-rclone.git
# git checkout pve7
# chmod +x /root/proxmox-vzbackup-rclone/vzbackup-rclone.sh
</pre>
<h2 id="修改-vzbackup-rclonesh"><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#修改-vzbackup-rclonesh" class="anchor-link" aria-label="修改-vzbackup-rclonesh"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#contents:修改-vzbackup-rclonesh" class="headings">修改 vzbackup-rclone.sh</a></h2>
<p>修改第 5 行至你的備份儲存路徑</p>
<pre>1 #!/bin/bash
2 # ./vzbackup-rclone.sh rehydrate YYYY/MM/DD file_name_encrypted.bin
3
4 ############ /START CONFIG
5 dumpdir="<span style="color: #ff0000;">/data/pve/dump</span>" # Set this to where your vzdump files are stored
</pre>
<p>備份保留的份數會依據你在 Proxmox VE 的 Backup 選項那邊來刪除,這個腳本只負責上傳檔案到雲端空間</p>
<p id="RMkstvs">
<img loading="lazy" width="1017" height="500" class="alignnone size-full wp-image-3792 " src="https://becoder.org/wp-content/uploads/2021/10/img_61617b9a6feaf.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/10/img_61617b9a6feaf.png 1017w, https://becoder.org/wp-content/uploads/2021/10/img_61617b9a6feaf-300x147.png 300w" sizes="(max-width: 1017px) 100vw, 1017px" />
</p>
<h3 id="proxmox-ve-7-修正"><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#proxmox-ve-7-修正" class="anchor-link" aria-label="proxmox-ve-7-修正"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#contents:proxmox-ve-7-修正" class="headings">Proxmox VE 7 修正</a></h3>
<p>參考 <a href="https://github.com/TheRealAlexV/proxmox-vzbackup-rclone/issues/7" target="_blank" rel="noopener" target="_blank" rel="noopener">Issue#7</a> 中提到的方法修正,否則會上傳失敗,我 Fork 後修改的版本已經修正了:</p>
<p>修改第 18 行 <code>tarfile=${TARFILE}</code> 改成 <code>tarfile=${TARGET}</code></p>
<pre>15 if [ ! -z "${3}" ];then
16 CMDARCHIVE=$(echo "/${3}" | sed -e 's/\(.bin\)*$//g')
17 fi
<span style="color: #ff0000;">18 tarfile=${TARGET}
</span>19 exten=${tarfile#*.}
20 filename=${tarfile%.*.*}</pre>
<h1 id="設定-vzdumpconf"><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#設定-vzdumpconf" class="anchor-link" aria-label="設定-vzdumpconf"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#contents:設定-vzdumpconf" class="headings">設定 vzdump.conf</a></h1>
<p>編輯 <code>/etc/vzdump.conf</code> 第 14 行後加入</p>
<pre>script:/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh</pre>
<p>後存檔</p>
<pre>1 # vzdump default settings
2
3 #tmpdir: DIR
4 #dumpdir: DIR
5 #storage: STORAGE_ID
6 #mode: snapshot|suspend|stop
7 #bwlimit: KBPS
8 #ionice: PRI
9 #lockwait: MINUTES
10 #stopwait: MINUTES
11 #stdexcludes: BOOLEAN
12 #mailto: ADDRESSLIST
13 #prune-backups: keep-INTERVAL=N[,...]
14 #script: FILENAME
<span style="color: #ff0000;">15 script:/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh
</span>16 #exclude-path: PATHLIST
17 #pigz: N
</pre>
<p>設定完畢後就可以在 Proxmox VE 的界面備份了,每次備份都會觸發 <code>vzbackup-rclone.sh</code> ,再透過 <code>rclone</code> 上傳,執行 log 如下:</p>
<pre>INFO: starting new backup job: vzdump 110 --storage local --node home --compress zstd --remove 0 --mode snapshot
INFO: Deleting backups older than 3 days.
INFO: filesystem type on dumpdir is 'zfs' -using /var/tmp/vzdumptmp2067793_110 for temporary files
INFO: Starting Backup of VM 110 (lxc)
INFO: Backup started at 2021-10-08 18:42:05
INFO: status = running
INFO: CT Name: pykms
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-110-2021_10_08-18_42_05.tar.zst'
INFO: Total bytes written: 962498560 (918MiB, 65MiB/s)
INFO: archive file size: 274MB
INFO: Backing up /var/lib/vz/dump/vzdump-lxc-110-2021_10_08-18_42_05.tar.zst to remote storage
INFO: rcloning /var/lib/vz/dump/rclone/2021/10
INFO: 2021/10/08 18:43:21 INFO :
INFO: Transferred: 44.496Mi / 274.777 MiByte, 16%, 763.432 KiByte/s, ETA 5m8s
INFO: Transferred: 0 / 1, 0%
INFO: Elapsed time: 1m1.3s
INFO: Transferring:
INFO: * vzdump-lxc-110-2021_10_08-18_42_05.tar.zst: 16% /274.777Mi, 763.432Ki/s, 5m8s
INFO: 2021/10/08 18:44:21 INFO :
INFO: Transferred: 88.684Mi / 274.777 MiByte, 32%, 750.874 KiByte/s, ETA 4m13s
INFO: Transferred: 0 / 1, 0%
INFO: Elapsed time: 2m1.3s
INFO: Transferring:
INFO: * vzdump-lxc-110-2021_10_08-18_42_05.tar.zst: 32% /274.777Mi, 750.874Ki/s, 4m13s
INFO: 2021/10/08 18:45:21 INFO :
INFO: Transferred: 132.840Mi / 274.777 MiByte, 48%, 769.235 KiByte/s, ETA 3m8s
INFO: Transferred: 0 / 1, 0%
INFO: Elapsed time: 3m1.3s
INFO: Transferring:
INFO: * vzdump-lxc-110-2021_10_08-18_42_05.tar.zst: 48% /274.777Mi, 769.235Ki/s, 3m8s
INFO: 2021/10/08 18:46:21 INFO :
INFO: Transferred: 177.402Mi / 274.777 MiByte, 65%, 768.902 KiByte/s, ETA 2m9s
INFO: Transferred: 0 / 1, 0%
INFO: Elapsed time: 4m1.3s
INFO: Transferring:
INFO: * vzdump-lxc-110-2021_10_08-18_42_05.tar.zst: 64% /274.777Mi, 768.902Ki/s, 2m9s
INFO: 2021/10/08 18:47:21 INFO :
INFO: Transferred: 218.777Mi / 274.777 MiByte, 80%, 645.420 KiByte/s, ETA 1m28s
INFO: Transferred: 0 / 1, 0%
INFO: Elapsed time: 5m1.3s
INFO: Transferring:
INFO: * vzdump-lxc-110-2021_10_08-18_42_05.tar.zst: 79% /274.777Mi, 645.420Ki/s, 1m28s
INFO: 2021/10/08 18:48:21 INFO :
INFO: Transferred: 262.652Mi / 274.777 MiByte, 96%, 742.687 KiByte/s, ETA 16s
INFO: Transferred: 0 / 1, 0%
INFO: Elapsed time: 6m1.3s
INFO: Transferring:
INFO: * vzdump-lxc-110-2021_10_08-18_42_05.tar.zst: 95% /274.777Mi, 742.687Ki/s, 16s
INFO: 2021/10/08 18:48:40 INFO : vzdump-lxc-110-2021_10_08-18_42_05.tar.zst: Copied (new)
INFO: 2021/10/08 18:48:40 INFO :
INFO: Transferred: 274.777Mi / 274.777 MiByte, 100%, 668.665 KiByte/s, ETA 0s
INFO: Transferred: 1 / 1, 100%
INFO: Elapsed time: 6m20.2s
INFO: cleanup temporary 'vzdump' snapshot
INFO: Finished Backup of VM 110 (00:06:35)
INFO: Backup finished at 2021-10-08 18:48:40
INFO: Backing up main PVE configs
INFO: Tar files
INFO: rcloning /var/tmp/proxmox-cC0xj8WC/pveConfig.2021-10-08.18.48.40.tgz
INFO: 2021/10/08 18:48:43 INFO : pveConfig.2021-10-08.18.48.40.tgz: Copied (new)
INFO: 2021/10/08 18:48:43 INFO : pveConfig.2021-10-08.18.48.40.tgz: Deleted
INFO: 2021/10/08 18:48:43 INFO :
INFO: Transferred: 34.916Ki / 34.916 KiByte, 100%, 34.910 KiByte/s, ETA 0s
INFO: Checks: 2 / 2, 100%
INFO: Deleted: 1 (files), 0 (dirs)
INFO: Renamed: 1
INFO: Transferred: 1 / 1, 100%
INFO: Elapsed time: 3.0s
INFO: Cleaning up
INFO: Backup job finished successfully
TASK OK
</pre>
<p> </p>
<p id="JwspHAZ">
跑完的檔案會在這兩個位置
</p>
<p><code>GoogleDrive/Year/Month/vzdump</code>:VM/LXC 備份</p>
<p><code>GoogleDrive/Year/Month/pveconfig</code>:<code>/etc/pve/</code> 備份</p>
<p id="HzUJEHT">
<img loading="lazy" width="658" height="220" class="alignnone size-full wp-image-3788 " src="https://becoder.org/wp-content/uploads/2021/10/img_616177fa0a720.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/10/img_616177fa0a720.png 658w, https://becoder.org/wp-content/uploads/2021/10/img_616177fa0a720-300x100.png 300w" sizes="(max-width: 658px) 100vw, 658px" />
</p>
<h1 id="檔案還原"><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#檔案還原" class="anchor-link" aria-label="檔案還原"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/#contents:檔案還原" class="headings">檔案還原</a></h1>
<p>使用指令</p>
<pre>~/proxmox-vzbackup-rclone/vzbackup-rclone.sh rehydrate
</pre>
<p>會把上面的備份都下載下來,建議未來有需要時再手動下載就好,我覺得沒有很好用</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/" target="_blank" rel="noopener">https://becoder.org/proxmox-ve-backup-vm-and-container-to-google-drive-using-rclone/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
2021 New Maxsym 400 後土除安裝流程
https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/
2022-07-10T03:19:00+08:00
2021-10-07T12:33:22+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>為了讓其他車友可以順利安裝,在這邊紀錄一下修改板後土除的安裝流程。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/" target="_blank" rel="noopener">https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>為了讓其他車友可以順利安裝,在這邊紀錄一下修改板後土除的安裝流程。</p>
<p>這是廠商開發專用支架版本,可以直接無痛安裝(<a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/?swcfpc=1" target="_blank" rel="noopener">安裝流程</a>),有興趣請透過 FB 聯絡他:<a href="https://www.facebook.com/sheng.shih.33" target="_blank" rel="noopener" target="_blank" rel="noopener">林毅豪</a></p>
<h1 id="開箱"><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#開箱" class="anchor-link" aria-label="開箱"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#contents:開箱" class="headings">開箱</a></h1>
<img loading="lazy" class="aligncenter wp-image-3756 size-full" src="https://becoder.org/wp-content/uploads/2021/10/IMG_6726-scaled.jpg" alt="" width="2560" height="1920" srcset="https://becoder.org/wp-content/uploads/2021/10/IMG_6726-scaled.jpg 2560w, https://becoder.org/wp-content/uploads/2021/10/IMG_6726-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/IMG_6726-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/10/IMG_6726-1536x1152.jpg 1536w, https://becoder.org/wp-content/uploads/2021/10/IMG_6726-2048x1536.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
<img loading="lazy" class="aligncenter wp-image-3757 size-full" src="https://becoder.org/wp-content/uploads/2021/10/IMG_6725-scaled.jpg" alt="" width="2560" height="1920" srcset="https://becoder.org/wp-content/uploads/2021/10/IMG_6725-scaled.jpg 2560w, https://becoder.org/wp-content/uploads/2021/10/IMG_6725-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/IMG_6725-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/10/IMG_6725-1536x1152.jpg 1536w, https://becoder.org/wp-content/uploads/2021/10/IMG_6725-2048x1536.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
<h1 id="安裝流程"><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#安裝流程" class="anchor-link" aria-label="安裝流程"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#contents:安裝流程" class="headings">安裝流程</a></h1>
<h2 id="拆除排氣管"><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#拆除排氣管" class="anchor-link" aria-label="拆除排氣管"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#contents:拆除排氣管" class="headings">拆除排氣管</a></h2>
<img loading="lazy" class="aligncenter wp-image-3758 size-full" src="https://becoder.org/wp-content/uploads/2021/10/IMG_6745-scaled.jpg" alt="" width="2560" height="1920" srcset="https://becoder.org/wp-content/uploads/2021/10/IMG_6745-scaled.jpg 2560w, https://becoder.org/wp-content/uploads/2021/10/IMG_6745-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/IMG_6745-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/10/IMG_6745-1536x1152.jpg 1536w, https://becoder.org/wp-content/uploads/2021/10/IMG_6745-2048x1536.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
<p>排骨、輪胎可拆可不拆</p>
<img loading="lazy" class="aligncenter wp-image-3735 size-full" src="https://becoder.org/wp-content/uploads/2021/10/IMG_6747-scaled.jpg" alt="" width="2560" height="1920" srcset="https://becoder.org/wp-content/uploads/2021/10/IMG_6747-scaled.jpg 2560w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747-1536x1152.jpg 1536w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747-2048x1536.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
<h2 id="右側鎖點-1"><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#右側鎖點-1" class="anchor-link" aria-label="右側鎖點-1"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#contents:右側鎖點-1" class="headings">右側鎖點 1</a></h2>
<p>以土除支架、空濾盒、排骨鎖點固定的鎖點固定</p>
<img loading="lazy" class="aligncenter wp-image-3739 size-full" src="https://becoder.org/wp-content/uploads/2021/10/235867280_975852572957465_563603983154603712_n-e1633608646627.jpg" alt="" width="693" height="693" srcset="https://becoder.org/wp-content/uploads/2021/10/235867280_975852572957465_563603983154603712_n-e1633608646627.jpg 693w, https://becoder.org/wp-content/uploads/2021/10/235867280_975852572957465_563603983154603712_n-e1633608646627-300x300.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/235867280_975852572957465_563603983154603712_n-e1633608646627-150x150.jpg 150w" sizes="(max-width: 693px) 100vw, 693px" />
<img loading="lazy" class="aligncenter size-full wp-image-3740" src="https://becoder.org/wp-content/uploads/2021/10/235690961_154261093504101_1789267403913826005_n.jpg" alt="" width="924" height="693" srcset="https://becoder.org/wp-content/uploads/2021/10/235690961_154261093504101_1789267403913826005_n.jpg 924w, https://becoder.org/wp-content/uploads/2021/10/235690961_154261093504101_1789267403913826005_n-300x225.jpg 300w" sizes="(max-width: 924px) 100vw, 924px" />
<img loading="lazy" class="aligncenter wp-image-3742 size-full" src="https://becoder.org/wp-content/uploads/2021/10/217873826_284952530058601_8436489276823821029_n-e1633610622370.jpg" alt="" width="720" height="720" srcset="https://becoder.org/wp-content/uploads/2021/10/217873826_284952530058601_8436489276823821029_n-e1633610622370.jpg 720w, https://becoder.org/wp-content/uploads/2021/10/217873826_284952530058601_8436489276823821029_n-e1633610622370-300x300.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/217873826_284952530058601_8436489276823821029_n-e1633610622370-150x150.jpg 150w" sizes="(max-width: 720px) 100vw, 720px" />
<img loading="lazy" class="aligncenter wp-image-3741 size-full" src="https://becoder.org/wp-content/uploads/2021/10/228159187_195195455969675_8369857420593704109_n-e1633610643340.jpg" alt="" width="720" height="720" srcset="https://becoder.org/wp-content/uploads/2021/10/228159187_195195455969675_8369857420593704109_n-e1633610643340.jpg 720w, https://becoder.org/wp-content/uploads/2021/10/228159187_195195455969675_8369857420593704109_n-e1633610643340-300x300.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/228159187_195195455969675_8369857420593704109_n-e1633610643340-150x150.jpg 150w" sizes="(max-width: 720px) 100vw, 720px" />
<p><ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-9858718841968823" data-ad-slot="8055101997" data-ad-format="auto" data-full-width-responsive="true"></ins></p>
<h2 id="右側鎖點-2"><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#右側鎖點-2" class="anchor-link" aria-label="右側鎖點-2"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#contents:右側鎖點-2" class="headings">右側鎖點 2</a></h2>
<p>支架和排骨上的「<strong>剎車油管</strong>」鎖點,用土除內附的螺絲固定</p>
<img loading="lazy" class="aligncenter wp-image-3743 size-full" src="https://becoder.org/wp-content/uploads/2021/10/232000731_319204849949775_791150639854254941_n-e1633609054820.jpg" alt="" width="693" height="693" srcset="https://becoder.org/wp-content/uploads/2021/10/232000731_319204849949775_791150639854254941_n-e1633609054820.jpg 693w, https://becoder.org/wp-content/uploads/2021/10/232000731_319204849949775_791150639854254941_n-e1633609054820-300x300.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/232000731_319204849949775_791150639854254941_n-e1633609054820-150x150.jpg 150w" sizes="(max-width: 693px) 100vw, 693px" />
<img loading="lazy" class="aligncenter wp-image-3745 size-full" src="https://becoder.org/wp-content/uploads/2021/10/IMG_6747_2-scaled.jpg" alt="" width="2560" height="1920" srcset="https://becoder.org/wp-content/uploads/2021/10/IMG_6747_2-scaled.jpg 2560w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747_2-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747_2-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747_2-1536x1152.jpg 1536w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747_2-2048x1536.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
<p><ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-9858718841968823" data-ad-slot="8055101997" data-ad-format="auto" data-full-width-responsive="true"></ins></p>
<h2 id="左側鎖點"><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#左側鎖點" class="anchor-link" aria-label="左側鎖點"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/#contents:左側鎖點" class="headings">左側鎖點</a></h2>
<p>空濾盒左側,可以不拆輪胎作業</p>
<img loading="lazy" class="aligncenter size-full wp-image-3746" src="https://becoder.org/wp-content/uploads/2021/10/224850260_595351388294866_2470249492352517275_n.jpg" alt="" width="924" height="693" srcset="https://becoder.org/wp-content/uploads/2021/10/224850260_595351388294866_2470249492352517275_n.jpg 924w, https://becoder.org/wp-content/uploads/2021/10/224850260_595351388294866_2470249492352517275_n-300x225.jpg 300w" sizes="(max-width: 924px) 100vw, 924px" />
<p><img loading="lazy" class="aligncenter size-full wp-image-3747" src="https://becoder.org/wp-content/uploads/2021/10/224017280_2101635046676544_843926294183930731_n.jpg" alt="" width="924" height="693" srcset="https://becoder.org/wp-content/uploads/2021/10/224017280_2101635046676544_843926294183930731_n.jpg 924w, https://becoder.org/wp-content/uploads/2021/10/224017280_2101635046676544_843926294183930731_n-300x225.jpg 300w" sizes="(max-width: 924px) 100vw, 924px" /><img loading="lazy" class="aligncenter wp-image-3748 size-full" src="https://becoder.org/wp-content/uploads/2021/10/227532236_537367631015603_4832961902439903218_n-e1633611089608.jpg" alt="" width="693" height="693" srcset="https://becoder.org/wp-content/uploads/2021/10/227532236_537367631015603_4832961902439903218_n-e1633611089608.jpg 693w, https://becoder.org/wp-content/uploads/2021/10/227532236_537367631015603_4832961902439903218_n-e1633611089608-300x300.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/227532236_537367631015603_4832961902439903218_n-e1633611089608-150x150.jpg 150w" sizes="(max-width: 693px) 100vw, 693px" /></p>
<p>左側請注意平衡,可以用螺母墊高調整</p>
<img loading="lazy" class="aligncenter size-full wp-image-3784" src="https://becoder.org/wp-content/uploads/2021/10/DE4408C7-018A-4AF1-83D8-76C751963A39-scaled.jpeg" alt="" width="1920" height="2560" srcset="https://becoder.org/wp-content/uploads/2021/10/DE4408C7-018A-4AF1-83D8-76C751963A39-scaled.jpeg 1920w, https://becoder.org/wp-content/uploads/2021/10/DE4408C7-018A-4AF1-83D8-76C751963A39-225x300.jpeg 225w, https://becoder.org/wp-content/uploads/2021/10/DE4408C7-018A-4AF1-83D8-76C751963A39-768x1024.jpeg 768w, https://becoder.org/wp-content/uploads/2021/10/DE4408C7-018A-4AF1-83D8-76C751963A39-1152x1536.jpeg 1152w, https://becoder.org/wp-content/uploads/2021/10/DE4408C7-018A-4AF1-83D8-76C751963A39-1536x2048.jpeg 1536w" sizes="(max-width: 1920px) 100vw, 1920px" />
<p>依序裝回輪胎、排氣管即可</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/" target="_blank" rel="noopener">https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
2021 New Maxsym 400 原廠料號整理 (機油濾芯、空氣濾網、皮帶),省錢技巧大公開!
https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/
2024-12-01T02:20:03+08:00
2021-10-04T20:53:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>國產車的好處,就是零件耗材取得容易,為了方便 DIY 的車友使用,或是自備零件讓車行協助代工,也可以省下一筆不少費用(如果要請車行代工請先事先詢問喔!有的車行不接受自備零件的),在這邊整理了一下常用的料號,還有一些省錢的技巧喔!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/" target="_blank" rel="noopener">https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>國產車的好處,就是零件耗材取得容易,為了方便 DIY 的車友使用,或是自備零件讓車行協助代工,也可以省下一筆不少費用(如果要請車行代工請先事先詢問喔!有的車行不接受自備零件的),在這邊整理了一下常用的料號,還有一些省錢的技巧喔!</p>
<h1 id="常用耗材"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#常用耗材" class="anchor-link" aria-label="常用耗材"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:常用耗材" class="headings">常用耗材</a></h1>
<p>下面的料號都可以在 SYM 的零件網站查到,如果擔心買錯的話可以自行查詢喔!<br>
相關網站:<a href="https://www.bike-parts-sym.com/" target="_blank" rel="noopener" target="_blank" rel="noopener"><a href="https://www.bike-parts-sym.com/" target="_blank" rel="noopener">https://www.bike-parts-sym.com/</a></a></p>
<h2 id="空氣濾網"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#空氣濾網" class="anchor-link" aria-label="空氣濾網"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:空氣濾網" class="headings">空氣濾網</a></h2>
<img class="aligncenter" src="https://cf.shopee.tw/file/508422ed2b78063fae4f7431314f0f67" />
<p>料號:17211-L5B-000<br>
備註:<span style="color: #ff0000;"><strong>不可</strong></span>和舊 Maxsym 400 共用<br>
更換里程:每 6000KM 檢查一次,自行決定是否更換</p>
<iframe
style="aspect-ratio: 16 / 9;"
width="100%"
src="https://www.youtube.com/embed/o9AFlejLiH8"
allow="accelerometer;
autoplay;
clipboard-write;
encrypted-media;
gyroscope;
picture-in-picture;
web-share fullscreen"
allowFullScreen
>
</iframe>
<h2 id="機油濾心"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#機油濾心" class="anchor-link" aria-label="機油濾心"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:機油濾心" class="headings">機油濾心</a></h2>
<p id="qVpeJWJ">
<img loading="lazy" class="aligncenter size-full wp-image-3709" src="https://becoder.org/wp-content/uploads/2021/10/img_615b5a19ab719-e1633376862557.png" alt="" width="473" height="501" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615b5a19ab719-e1633376862557.png 473w, https://becoder.org/wp-content/uploads/2021/10/img_615b5a19ab719-e1633376862557-283x300.png 283w" sizes="(max-width: 473px) 100vw, 473px" />
</p>
<p>料號:<span data-sheets-value="{"1":2,"2":"15400-L4A-000"}" data-sheets-userformat="{"2":513,"3":{"1":0},"12":0}">15400-L4A-000</span>、16510-25C00 (Suzuki AN250)、<a href="https://www.knfilters.com/cross-reference/suzuki/1651025c00-oil-filter" target="_blank" rel="noopener">KN-132</a>、ALH-132 (H: 54mm* 44mm) <br>
備註:<span style="color: #ff0000;"><strong>可</strong></span>和舊 Maxsym 400 共用<br>
更換里程:約 3000~6000KM 更換一次(也可和機油一起更換)</p>
<h2 id="大-o-ring-機油紙濾"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#大-o-ring-機油紙濾" class="anchor-link" aria-label="大-o-ring-機油紙濾"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:大-o-ring-機油紙濾" class="headings">大 O-Ring (機油紙濾)</a></h2>
<p>料號:<span data-sheets-value="{"1":2,"2":"91303-L4A-000"}" data-sheets-userformat="{"2":513,"3":{"1":0},"12":0}">91303-L4A-000</span><br>
備註:<span style="color: #ff0000;"><strong>可</strong></span>和舊 Maxsym 400 共用<br>
更換里程:約 6000KM 檢查一次,自行決定是否更換</p>
<h2 id="小-o-ring-機油紙濾"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#小-o-ring-機油紙濾" class="anchor-link" aria-label="小-o-ring-機油紙濾"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:小-o-ring-機油紙濾" class="headings">小 O-Ring (機油紙濾)</a></h2>
<p>料號:<span data-sheets-value="{"1":2,"2":"91310-REA-000"}" data-sheets-userformat="{"2":513,"3":{"1":0},"12":0}">91310-REA-000</span><br>
備註:<span style="color: #ff0000;"><strong>可</strong></span>和舊 Maxsym 400/600 共用<br>
更換里程:約 6000KM 檢查一次,自行決定是否更換</p>
<h2 id="o-ring-機油金屬濾網"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#o-ring-機油金屬濾網" class="anchor-link" aria-label="o-ring-機油金屬濾網"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:o-ring-機油金屬濾網" class="headings"> O-Ring (機油金屬濾網)</a></h2>
<p>料號:91303-B08-000<br>
備註:可和多車種 共用<br>
更換里程:每次清潔皆需更換(國際板車主手冊 P.36)</p>
<p id="PXObMSn">
<img loading="lazy" width="828" height="378" class="size-full wp-image-3726 aligncenter" src="https://becoder.org/wp-content/uploads/2021/10/img_615cc28c070f2.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615cc28c070f2.png 828w, https://becoder.org/wp-content/uploads/2021/10/img_615cc28c070f2-300x137.png 300w" sizes="(max-width: 828px) 100vw, 828px" />
</p>
<h2 id="左曲軸箱蓋海綿"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#左曲軸箱蓋海綿" class="anchor-link" aria-label="左曲軸箱蓋海綿"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:左曲軸箱蓋海綿" class="headings">左曲軸箱蓋海綿</a></h2>
<p>料號:<span data-sheets-value="{"1":2,"2":"11344-L4A-000"}" data-sheets-userformat="{"2":513,"3":{"1":0},"12":0}">11344-L4A-000</span><br>
備註:**<span style="color: #ff0000;">不確定可否</span>**和舊 Maxsym 400/600 共用<br>
更換里程:約 3000KM 檢查一次,自行決定是否更換</p>
<h2 id="皮帶"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#皮帶" class="anchor-link" aria-label="皮帶"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:皮帶" class="headings">皮帶</a></h2>
<p>料號:1B01L4A01 / 23100-L4A-0001<br>
備註:<span style="color: #ff0000;"><strong>可</strong></span>和舊 Maxsym 400 共用<br>
更換里程:約 15000KM~25000KM 檢查更換</p>
<h2 id="普利珠"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#普利珠" class="anchor-link" aria-label="普利珠"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:普利珠" class="headings">普利珠</a></h2>
<p>備註:上一代 400 為 15G(22121-L4A-000-A),此代為 11G ,是否共用自行決定,普利珠重量會影響起步、尾速。
料號:22121-L5B-000-A</p>
<h2 id="滑件"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#滑件" class="anchor-link" aria-label="滑件"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:滑件" class="headings">滑件</a></h2>
<p>料號:22132-L4A-000-A</p>
<h2 id="齒輪油注油卸油螺絲墊片"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#齒輪油注油卸油螺絲墊片" class="anchor-link" aria-label="齒輪油注油卸油螺絲墊片"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:齒輪油注油卸油螺絲墊片" class="headings">齒輪油注油、卸油螺絲墊片</a></h2>
<img loading="lazy" class="aligncenter size-full wp-image-3724" src="https://becoder.org/wp-content/uploads/2021/10/img_615cc02d67447.png" alt="" width="800" height="600" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615cc02d67447.png 800w, https://becoder.org/wp-content/uploads/2021/10/img_615cc02d67447-300x225.png 300w" sizes="(max-width: 800px) 100vw, 800px" />
<p>料號:90481-M9Q-00 / 90495-F91-000<br>
備註:<span style="color: #ff0000;"><strong>可</strong></span>和舊 Maxsym 400/600 共用 (10mm)<br>
更換里程:每次換油皆需更換(國際板車主手冊 P.37)</p>
<p id="nsnAnWK">
<img loading="lazy" width="715" height="648" class="size-full wp-image-3725 aligncenter" src="https://becoder.org/wp-content/uploads/2021/10/img_615cc26d48a4b.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615cc26d48a4b.png 715w, https://becoder.org/wp-content/uploads/2021/10/img_615cc26d48a4b-300x272.png 300w" sizes="(max-width: 715px) 100vw, 715px" />
</p>
<h2 id="機油卸油螺絲墊片"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#機油卸油螺絲墊片" class="anchor-link" aria-label="機油卸油螺絲墊片"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:機油卸油螺絲墊片" class="headings">機油卸油螺絲墊片</a></h2>
<p id="bORrzTl">
<img loading="lazy" width="800" height="600" class="size-full wp-image-3731 aligncenter" src="https://becoder.org/wp-content/uploads/2021/10/img_615da7aaaeeff.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615da7aaaeeff.png 800w, https://becoder.org/wp-content/uploads/2021/10/img_615da7aaaeeff-300x225.png 300w" sizes="(max-width: 800px) 100vw, 800px" />
</p>
<p>料號:94109-12000<br>
備註:<span style="color: #ff0000;"><strong>可</strong></span>和多種品牌車款共用 (12mm)<br>
更換里程:換油時可一同更換</p>
<h1 id="改裝移植"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#改裝移植" class="anchor-link" aria-label="改裝移植"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:改裝移植" class="headings">改裝移植</a></h1>
<h2 id="舊-maxsym-400-右手開關"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#舊-maxsym-400-右手開關" class="anchor-link" aria-label="舊-maxsym-400-右手開關"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:舊-maxsym-400-右手開關" class="headings">舊 Maxsym 400 右手開關</a></h2>
<img loading="lazy" class="aligncenter size-full wp-image-3722" src="https://becoder.org/wp-content/uploads/2021/10/img_615c78e7704ab.png" alt="" width="800" height="600" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615c78e7704ab.png 800w, https://becoder.org/wp-content/uploads/2021/10/img_615c78e7704ab-300x225.png 300w" sizes="(max-width: 800px) 100vw, 800px" />
<p>料號:35150-L4C-000<br>
備註:New Maxsym 400 的右手開關其實是沒有大燈開關的,安裝舊款開關可以整合霧燈開關在原廠的把手上。蝦皮上已經有車友開發出<a href="https://bit.ly/2YjVpkF" target="_blank" rel="noopener" target="_blank" rel="noopener">轉接線組</a>。</p>
<p> </p>
<h2 id="後土除專用支架版本"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#後土除專用支架版本" class="anchor-link" aria-label="後土除專用支架版本"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:後土除專用支架版本" class="headings">後土除(專用支架版本)</a></h2>
<img loading="lazy" class="aligncenter wp-image-3735 size-full" src="https://becoder.org/wp-content/uploads/2021/10/IMG_6747-scaled.jpg" alt="" width="2560" height="1920" srcset="https://becoder.org/wp-content/uploads/2021/10/IMG_6747-scaled.jpg 2560w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747-1536x1152.jpg 1536w, https://becoder.org/wp-content/uploads/2021/10/IMG_6747-2048x1536.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
<p>料號:80100-KKE5-E00-N1R(光陽)<br>
備註:因為這個後土除是光陽 MyRoad 700 的來修改,並<span style="color: #ff0000;"><strong>無法直上</strong></span>。目前有廠商開發專用支架版本,可以直接無痛安裝(<a href="https://becoder.org/2021-new-maxsym-400-rear-fender-installation-step-by-step/" target="_blank" rel="noopener">安裝流程</a>),有興趣請透過 FB 聯絡他:<a href="https://www.facebook.com/sheng.shih.33" target="_blank" rel="noopener" target="_blank" rel="noopener">林毅豪</a></p>
<h1 id="省錢秘招"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#省錢秘招" class="anchor-link" aria-label="省錢秘招"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:省錢秘招" class="headings">省錢秘招</a></h1>
<h2 id="維修紀錄"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#維修紀錄" class="anchor-link" aria-label="維修紀錄"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:維修紀錄" class="headings">維修紀錄?</a></h2>
<p>目前國產車的保固,大多數都是依據「原廠維修紀錄」確保車子不是被修壞的,所以要記得定時回去 SYM 原廠保養,才會在 SYM 資料庫中有維修紀錄,(車主可以使用「SYM MotorLove」APP 確保車行有幫自己愛車登錄維修紀錄)</p>
<div id="attachment_3710" style="width: 600px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3710" loading="lazy" class="wp-image-3710 size-large" src="https://becoder.org/wp-content/uploads/2021/10/2021-10-05-6703-590x1024.jpg" alt="" width="590" height="1024" srcset="https://becoder.org/wp-content/uploads/2021/10/2021-10-05-6703-590x1024.jpg 590w, https://becoder.org/wp-content/uploads/2021/10/2021-10-05-6703-173x300.jpg 173w, https://becoder.org/wp-content/uploads/2021/10/2021-10-05-6703.jpg 750w" sizes="(max-width: 590px) 100vw, 590px" />
<p id="caption-attachment-3710" class="wp-caption-text">
MotoLove APP 可查到維修保養紀錄
</p>
</div>
<h2 id="方法一自備零件請車行代換"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#方法一自備零件請車行代換" class="anchor-link" aria-label="方法一自備零件請車行代換"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:方法一自備零件請車行代換" class="headings">方法一:自備零件請車行代換</a></h2>
<p>車友們可以先詢問車行,是否接受自備零件代工保養,因為有的車行因為定價策略所以不接受代工,如果可以代工,一定要事先詢問代工的工資喔!</p>
<p>通常我會自備這些項目請車行代工:</p>
<ul>
<li>機油:我們的車子機油交換量是 1.8L (若有清潔「不鏽鋼機油濾網」為 1.9L),所以我會自備 2 瓶 1L 的機油請車行協助代工</li>
<li>機油濾心:機油濾心為紙製濾芯,所以我是每次更換機油都會一起更換</li>
</ul>
<p>其他耗材本身價格就便宜的話就可以不用自備囉,像是齒輪油不然可能會發生工資 + 自備油的價格比較貴的情況喔!</p>
<h2 id="方法二diy-保養--原廠保養-有-diy-經驗佳"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#方法二diy-保養--原廠保養-有-diy-經驗佳" class="anchor-link" aria-label="方法二diy-保養--原廠保養-有-diy-經驗佳"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:方法二diy-保養--原廠保養-有-diy-經驗佳" class="headings">方法二:DIY 保養 + 原廠保養 (有 DIY 經驗佳)</a></h2>
<p>這個方法可以省更多,但需要有 DIY 的能力,簡單說就是隔次保養:</p>
<ol>
<li>第一次:回原廠</li>
<li>第二次: DIY</li>
<li>第三次:回原廠</li>
</ol>
<p>如此一來可以有保養紀錄並達到省錢的目的囉!但選擇這個方法的車友建議先請教有 DIY 經驗的朋友,避免把自己的車子弄壞喔!或是可以參考國外車主手冊(<a href="https://download.becoder.org/2021-new-maxsym-400-global-user-manual/" target="_blank" rel="noopener">點我下載</a>),裡面有非常詳細的 DIY 保養教學,相較之下台灣的車主手冊就沒寫那麼細</p>
<p id="JdDfInI">
<img loading="lazy" width="1009" height="676" class="alignnone size-full wp-image-3712 " src="https://becoder.org/wp-content/uploads/2021/10/img_615b61eb78c16.png" alt="" srcset="https://becoder.org/wp-content/uploads/2021/10/img_615b61eb78c16.png 1009w, https://becoder.org/wp-content/uploads/2021/10/img_615b61eb78c16-300x201.png 300w" sizes="(max-width: 1009px) 100vw, 1009px" />
</p>
<p> </p>
<h2 id="方法三過保後diy-保養-自行記錄保養過程"><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#方法三過保後diy-保養-自行記錄保養過程" class="anchor-link" aria-label="方法三過保後diy-保養-自行記錄保養過程"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/#contents:方法三過保後diy-保養-自行記錄保養過程" class="headings">方法三:過保後DIY 保養 (自行記錄保養過程)</a></h2>
<p>其實最省錢的方法,還是靠自己的雙手來保養了,不過還是建議在保固後再自行 DIY 保養,以免影響保固的內容。在施工時建議可以自行記錄保養過程、拍照片,紀錄在 Google 試算表上面,未來如果真的有狀況也方便提供給車行做為參考、甚至是二手賣出時提供給下任車主參考。</p>
<p>車友們如果有其他問題也可以一起討論,大家一起開心騎車~!</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/" target="_blank" rel="noopener">https://becoder.org/2021-new-maxsym-400-part-number-and-save-money-tips/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
使用 Ami Firmware Update Utility 備份 Bios Rom
https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/
2022-07-10T03:19:36+08:00
2021-09-26T12:30:40+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>前陣子拿到了新玩具,為了保險起見先備份一下板子的 BIOS</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/" target="_blank" rel="noopener">https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前陣子拿到了新玩具,為了保險起見先備份一下板子的 BIOS</p>
<h1 id="下載-aptio-v-ami-firmware-update-utility"><a href="https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/#下載-aptio-v-ami-firmware-update-utility" class="anchor-link" aria-label="下載-aptio-v-ami-firmware-update-utility"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/#contents:下載-aptio-v-ami-firmware-update-utility" class="headings">下載 Aptio V AMI Firmware Update Utility</a></h1>
<p>AMI 官網有提供下載連結: <a href="https://www.ami.com/download/aptio-v-ami-firmware-update-utility/" target="_blank" rel="noopener">Aptio V AMI Firmware Update Utility</a></p>
<p>下載後會得到一個檔案: <code>Aptio_V_AMI_Firmware_Update_Utility.zip</code>,</p>
<p>解壓縮這個路徑即可: <code>Aptio_V_AMI_Firmware_Update_Utility.zip\afu\afuwin\64\AfuWin64.zip\</code></p>
<h1 id="備份"><a href="https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/#備份" class="anchor-link" aria-label="備份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/#contents:備份" class="headings">備份</a></h1>
<br>
執行 `AFUWINGUIx64.exe` 點擊處存:
<p><img src="https://becoder.org/images/using-ami-firmware-update-utility-to-backup-bios-rom/AFUWINGUIx64-1.png" alt=""></p>
<p>會開始讀取 BIOS ROM</p>
<p><img src="https://becoder.org/images/using-ami-firmware-update-utility-to-backup-bios-rom/AFUWINGUIx64-2.png" alt=""></p>
<p>點「讀取」選擇剛剛匯出的 ROM ,檢查一下 GUID 跟 ROM ID 有沒有相同</p>
<p><img src="https://becoder.org/images/using-ami-firmware-update-utility-to-backup-bios-rom/AFUWINGUIx64-3.png" alt=""></p>
<h1 id="還原"><a href="https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/#還原" class="anchor-link" aria-label="還原"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/#contents:還原" class="headings">還原</a></h1>
<p>選完檔案後,點「刷新」:
<br>
(目前正常我就不動他了)</p>
<p><img src="https://becoder.org/images/using-ami-firmware-update-utility-to-backup-bios-rom/AFUWINGUIx64-4.png" alt=""></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/" target="_blank" rel="noopener">https://becoder.org/using-ami-firmware-update-utility-to-backup-bios-rom/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 Windows 中讓 Chrome 信任自簽憑證
https://becoder.org/self-signed-certficate-in-chrome-windows/
2022-07-08T22:36:04+08:00
2021-09-24T00:28:53+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>近期有需求,讓 Chrome 信任 httpd 中的使用自簽憑證,Google 找到最順利的解決方法:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/self-signed-certficate-in-chrome-windows/" target="_blank" rel="noopener">https://becoder.org/self-signed-certficate-in-chrome-windows/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>近期有需求,讓 Chrome 信任 httpd 中的使用自簽憑證,Google 找到最順利的解決方法:</p>
<p><a href="https://stackoverflow.com/a/60516812" target="_blank" rel="noopener">ssl - Getting Chrome to accept self-signed localhost certificate</a></p>
<p>步驟如下:</p>
<h1 id="openssl"><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#openssl" class="anchor-link" aria-label="openssl"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#contents:openssl" class="headings">OpenSSL</a></h1>
<br>
<h2 id="自建-ca"><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#自建-ca" class="anchor-link" aria-label="自建-ca"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#contents:自建-ca" class="headings">自建 CA</a></h2>
<p>建立 Private Key (如果不想設密碼就把 <code>-des3</code> 拿掉)</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">openssl genrsa -des3 -out myCA.key <span class="m">2048</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>以剛剛建立的 <code>myCA.key</code> 建立 Root Certficate</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">openssl req -x509 -new -nodes -key myCA.key -sha256 -days <span class="m">825</span> -out myCA.pem
</span></span></code></pre></td></tr></table></div>
</div>
</div><h2 id="以-root-certficate-簽署憑證"><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#以-root-certficate-簽署憑證" class="anchor-link" aria-label="以-root-certficate-簽署憑證"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#contents:以-root-certficate-簽署憑證" class="headings">以 Root Certficate 簽署憑證</a></h2>
<p>先設個環境變數儲存 Domain Name 方便之後使用</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nv">NAME</span><span class="o">=</span>localhost
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>建立 Private Key</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">openssl genrsa -out <span class="nv">$NAME</span>.key <span class="m">2048</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>建立 CSR (Certficate-Signing Request)</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">openssl req -new -key <span class="nv">$NAME</span>.key -out <span class="nv">$NAME</span>.csr
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>設定 OpenSSL config (把建立憑證要填的設定寫成檔案比較快)</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">><span class="nv">$NAME</span>.ext cat <span class="s"><<-EOF
</span></span></span><span class="line"><span class="cl"><span class="s">authorityKeyIdentifier=keyid,issuer
</span></span></span><span class="line"><span class="cl"><span class="s">basicConstraints=CA:FALSE
</span></span></span><span class="line"><span class="cl"><span class="s">keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
</span></span></span><span class="line"><span class="cl"><span class="s">subjectAltName = @alt_names
</span></span></span><span class="line"><span class="cl"><span class="s">[alt_names]
</span></span></span><span class="line"><span class="cl"><span class="s">DNS.1 = $NAME # Be sure to include the domain name here because Common Name is not so commonly honoured by itself
</span></span></span><span class="line"><span class="cl"><span class="s">DNS.2 = bar.$NAME # Optionally, add additional domains (I've added a subdomain here)
</span></span></span><span class="line"><span class="cl"><span class="s">IP.1 = 192.168.0.13 # Optionally, add an IP address (if the connection which you have planned requires it)
</span></span></span><span class="line"><span class="cl"><span class="s">EOF</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>產生憑證</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">openssl x509 -req -in <span class="nv">$NAME</span>.csr -CA myCA.pem -CAkey myCA.key -CAcreateserial <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span>-out <span class="nv">$NAME</span>.crt -days <span class="m">825</span> -sha256 -extfile <span class="nv">$NAME</span>.ext
</span></span></code></pre></td></tr></table></div>
</div>
</div><h1 id="web-server"><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#web-server" class="anchor-link" aria-label="web-server"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#contents:web-server" class="headings">Web Server</a></h1>
<br>
<p>把剛剛建好的 <code>$NAME.crt</code>、<code>$NAME.key</code> 裝到你的 Web Server 後重啟即可</p>
<pre tabindex="0"><code><VirtualHost *:80>
ServerName localhost.com
DocumentRoot /var/www/html
CustomLog /var/log/httpd/access.log common
ErrorLog /var/log/httpd/error.log
</VirtualHost>
<VirtualHost *:443>
ServerName localhost.com
DocumentRoot /var/www/html
SSLEngine on
# ========== 安裝自簽憑證 ==========
SSLCertificateFile /root/self-sign/localhost.com.crt
SSLCertificateKeyFile /root/self-sign/localhost.com.key
# ==================================
CustomLog /var/log/httpd/ssl.access.log common
ErrorLog /var/log/httpd/ssl.error.log
Header always set Strict-Transport-Security "max-age=15768000"
</VirtualHost>
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY130
5:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA
384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256
SSLHonorCipherOrder on
SSLCompression off
SSLSessionTickets off
# OCSP Stapling, only in httpd 2.3.3 and later
SSLUseStapling on
SSLStaplingResponderTimeout 5
SSLStaplingReturnResponderErrors off
SSLStaplingCache shmcb:/var/run/ocsp(128000)
</code></pre><p>重新啟動 <code>httpd</code></p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">systemctl restart httpd
</span></span></code></pre></td></tr></table></div>
</div>
</div><h1 id="windows"><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#windows" class="anchor-link" aria-label="windows"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/self-signed-certficate-in-chrome-windows/#contents:windows" class="headings">Windows</a></h1>
<br>
## 安裝 CA
1. 把 OpenSSL 章節產生的 `myCA.pem` 裝到 Windows 中
2. 重新啟動 Chrome 就完成了
<p><img src="https://becoder.org/images/self-signed-certficate-in-chrome-windows/self-signed-certificate-1.png" alt="">
<img src="https://becoder.org/images/self-signed-certficate-in-chrome-windows/self-signed-certificate-2.png" alt=""></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/self-signed-certficate-in-chrome-windows/" target="_blank" rel="noopener">https://becoder.org/self-signed-certficate-in-chrome-windows/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
一行指令下載最新版本 RockyLinux 8 的 Lxc Images
https://becoder.org/proxmox-get-latest-rockylinux8-oneline/
2022-07-09T02:07:15+08:00
2021-09-18T03:35:35+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>使用 curl 搭配 awk 實現</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/proxmox-get-latest-rockylinux8-oneline/" target="_blank" rel="noopener">https://becoder.org/proxmox-get-latest-rockylinux8-oneline/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>使用 curl 搭配 awk 實現</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nv">URL</span><span class="o">=</span><span class="s2">"https://uk.lxd.images.canonical.com/images/rockylinux/8/amd64/default/"</span> <span class="o">&&</span> curl -s <span class="nv">$URL</span> <span class="p">|</span> grep folder <span class="p">|</span> awk -v <span class="nv">url</span><span class="o">=</span><span class="s2">"</span><span class="nv">$URL</span><span class="s2">"</span> <span class="s1">'{split($5,a,">"); split(a[2],b,"/")} END{system("curl "url b[1] "/rootfs.tar.xz -o /var/lib/vz/template/cache/RockyLinux8-"b[1]".tar.xz")}'</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><h1 id="使用方法"><a href="https://becoder.org/proxmox-get-latest-rockylinux8-oneline/#使用方法" class="anchor-link" aria-label="使用方法"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-get-latest-rockylinux8-oneline/#contents:使用方法" class="headings">使用方法</a></h1>
<ol>
<li>登入 PVE 後直接貼上去:</li>
</ol>
<p><img src="https://becoder.org/images/proxmox-get-latest-rockylinux8-oneline/pve1.png" alt=""></p>
<ol start="2">
<li>開一個 LXC 試試看,可以成功解壓縮:</li>
</ol>
<p><img src="https://becoder.org/images/proxmox-get-latest-rockylinux8-oneline/pve2.png" alt=""></p>
<ol start="3">
<li>登入正常:</li>
</ol>
<p><img src="https://becoder.org/images/proxmox-get-latest-rockylinux8-oneline/pve3.png" alt=""></p>
<ol start="4">
<li>系統更新 OK,因為是很新的 Image 所以沒東西可以更新:</li>
</ol>
<p><img src="https://becoder.org/images/proxmox-get-latest-rockylinux8-oneline/pve4.png" alt=""></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/proxmox-get-latest-rockylinux8-oneline/" target="_blank" rel="noopener">https://becoder.org/proxmox-get-latest-rockylinux8-oneline/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
New Maxsym 400 之 500KM 保養 – 新竹盛嘉車業
https://becoder.org/new-maxsym-400-500km-maintenance/
2022-07-08T21:38:16+08:00
2021-06-02T19:30:37+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>三月初在盛嘉訂了新款的 Maxsym 400 ,也在 5/24 交車啦~</p>
<p>今天 (6/2) 騎了 500KM,剛好回去換油保養,順便把出保靠墊銘牌裝回來。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/new-maxsym-400-500km-maintenance/" target="_blank" rel="noopener">https://becoder.org/new-maxsym-400-500km-maintenance/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>三月初在盛嘉訂了新款的 Maxsym 400 ,也在 5/24 交車啦~</p>
<p>今天 (6/2) 騎了 500KM,剛好回去換油保養,順便把出保靠墊銘牌裝回來。</p>
<div id="attachment_3655" style="width: 614px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3655" loading="lazy" class="wp-image-3655 size-large" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5227-768x1024.jpeg" alt="" width="604" height="805" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5227-768x1024.jpeg 768w, https://becoder.org/wp-content/uploads/2021/06/IMG_5227-225x300.jpeg 225w, https://becoder.org/wp-content/uploads/2021/06/IMG_5227-1152x1536.jpeg 1152w, https://becoder.org/wp-content/uploads/2021/06/IMG_5227.jpeg 1536w" sizes="(max-width: 604px) 100vw, 604px" />
<p id="caption-attachment-3655" class="wp-caption-text">
500KM~ 這車真他媽好騎~
</p>
</div>
<h2></h2>
<h2 id="盛嘉車業"><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#盛嘉車業" class="anchor-link" aria-label="盛嘉車業"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#contents:盛嘉車業" class="headings">盛嘉車業</a></h2>
<p>今天去剛好看到最新的七期 DRG ,有了 TCS 跟新顏色真是帥阿:</p>
<p>##<img loading="lazy" class="aligncenter size-large wp-image-3666" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5237-768x1024.jpeg" alt="" width="604" height="805" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5237-768x1024.jpeg 768w, https://becoder.org/wp-content/uploads/2021/06/IMG_5237-225x300.jpeg 225w, https://becoder.org/wp-content/uploads/2021/06/IMG_5237-1152x1536.jpeg 1152w, https://becoder.org/wp-content/uploads/2021/06/IMG_5237.jpeg 1536w" sizes="(max-width: 604px) 100vw, 604px" /></p>
<p> </p>
<p> </p>
<h2 id="銘牌出保"><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#銘牌出保" class="anchor-link" aria-label="銘牌出保"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#contents:銘牌出保" class="headings">銘牌出保</a></h2>
<div id="attachment_3669" style="width: 614px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3669" loading="lazy" class="wp-image-3669 size-large" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5084-768x1024.jpeg" alt="" width="604" height="805" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5084-768x1024.jpeg 768w, https://becoder.org/wp-content/uploads/2021/06/IMG_5084-225x300.jpeg 225w, https://becoder.org/wp-content/uploads/2021/06/IMG_5084-1152x1536.jpeg 1152w, https://becoder.org/wp-content/uploads/2021/06/IMG_5084.jpeg 1536w" sizes="(max-width: 604px) 100vw, 604px" />
<p id="caption-attachment-3669" class="wp-caption-text">
出保前的凹痕
</p>
</div>
<p> </p>
<p>交車時發現靠墊的銘牌凹了進去, 跟老闆告之後就直接向原廠出保了,找了時間把靠墊拆回去,今天保養後就裝回來啦~原因是<strong>在組裝時鎖太緊,把銘牌的鎖點拉太進去導致變形</strong>。</p>
<p> </p>
<h2 id="保養項目"><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#保養項目" class="anchor-link" aria-label="保養項目"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#contents:保養項目" class="headings">保養項目</a></h2>
<p>因為這次是新車第一次磨合期,所以要早一點來換油,把引擎內的鐵屑清掉,才不會傷到引擎。其實老闆跟我說 300KM 就要回去了,但因為行程的關係跑到 500 才回來換XD。</p>
<p>這次總共做了這些項目:</p>
<ul>
<li>更換機油</li>
<li>清潔機油濾網</li>
<li>更換機油濾心</li>
<li>更換齒輪油</li>
</ul>
<img loading="lazy" class="aligncenter wp-image-3674 size-large" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5242-576x1024.jpg" alt="" width="576" height="1024" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5242-576x1024.jpg 576w, https://becoder.org/wp-content/uploads/2021/06/IMG_5242-169x300.jpg 169w, https://becoder.org/wp-content/uploads/2021/06/IMG_5242-864x1536.jpg 864w, https://becoder.org/wp-content/uploads/2021/06/IMG_5242-1152x2048.jpg 1152w, https://becoder.org/wp-content/uploads/2021/06/IMG_5242-scaled.jpg 1440w" sizes="(max-width: 576px) 100vw, 576px" />
<h3 id="更換機油"><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#更換機油" class="anchor-link" aria-label="更換機油"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#contents:更換機油" class="headings">更換機油</a></h3>
<p>卸下來的油看起來不髒,但其實有一些引擎內磨合的東西:</p>
<div id="attachment_3660" style="width: 614px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3660" loading="lazy" class="wp-image-3660 size-large" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5240-768x1024.jpeg" alt="" width="604" height="805" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5240-768x1024.jpeg 768w, https://becoder.org/wp-content/uploads/2021/06/IMG_5240-225x300.jpeg 225w, https://becoder.org/wp-content/uploads/2021/06/IMG_5240-1152x1536.jpeg 1152w, https://becoder.org/wp-content/uploads/2021/06/IMG_5240.jpeg 1536w" sizes="(max-width: 604px) 100vw, 604px" />
<p id="caption-attachment-3660" class="wp-caption-text">
洩下機油~其實沒有很髒
</p>
</div>
<p> </p>
<p>第一次換油先選擇原廠的油:<a href="https://tw.sym-global.com/parts/product.php?id=1" target="_blank" rel="noopener" target="_blank" rel="noopener">B9600(1.9L)</a>,前幾次先讓它吃好一點的油,之後再看看要換哪一種油XD。</p>
<p> </p>
<div id="attachment_3662" style="width: 614px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3662" loading="lazy" class="wp-image-3662 size-large" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5243-768x1024.jpeg" alt="" width="604" height="805" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5243-768x1024.jpeg 768w, https://becoder.org/wp-content/uploads/2021/06/IMG_5243-225x300.jpeg 225w, https://becoder.org/wp-content/uploads/2021/06/IMG_5243-1152x1536.jpeg 1152w, https://becoder.org/wp-content/uploads/2021/06/IMG_5243.jpeg 1536w" sizes="(max-width: 604px) 100vw, 604px" />
<p id="caption-attachment-3662" class="wp-caption-text">
店內的油品可以自己選擇
</p>
</div>
<h3 id="清潔機油濾網更換機油濾心"><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#清潔機油濾網更換機油濾心" class="anchor-link" aria-label="清潔機油濾網更換機油濾心"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#contents:清潔機油濾網更換機油濾心" class="headings">清潔機油濾網、更換機油濾心</a></h3>
<p>機油濾網就是不鏽鋼網,用來攔截機油中的大雜質;而機油濾心則是紙質的濾網,用來過濾更細的雜質,跟濾水器的概念相同。</p>
<p>這次保養老闆幫我拆下機油濾網進行清潔,未來如果要 DIY 的話可以自己使用 23號的板手來拆;更換機油濾心前要先拆下傳動飾蓋,如果自己 DIY 要小心,油可能會滴在中柱上,不好清潔。</p>
<p>機油濾網真的會濾到東西,這個就是新車磨合的鐵屑:</p>
<img loading="lazy" class="aligncenter wp-image-3661 size-large" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5245-768x1024.jpeg" alt="" width="604" height="805" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5245-768x1024.jpeg 768w, https://becoder.org/wp-content/uploads/2021/06/IMG_5245-225x300.jpeg 225w, https://becoder.org/wp-content/uploads/2021/06/IMG_5245-1152x1536.jpeg 1152w, https://becoder.org/wp-content/uploads/2021/06/IMG_5245.jpeg 1536w" sizes="(max-width: 604px) 100vw, 604px" />
<h3></h3>
<h3 id="更換齒輪油"><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#更換齒輪油" class="anchor-link" aria-label="更換齒輪油"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#contents:更換齒輪油" class="headings">更換齒輪油</a></h3>
<p>齒輪油也是新車磨合時必須更換的,未來大概 6000 再換就可以了,因為 400cc 的車齒輪箱較大,所以要吃兩條齒輪油 ~使用的是 <a href="https://tw.sym-global.com/parts/product.php?id=10" target="_blank" rel="noopener" target="_blank" rel="noopener">SYM 170cc 齒輪油</a>兩條,黏度是 85W-140。</p>
<p> </p>
<h2 id="登錄-sym-motolove頭家好幫手"><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#登錄-sym-motolove頭家好幫手" class="anchor-link" aria-label="登錄-sym-motolove頭家好幫手"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#contents:登錄-sym-motolove頭家好幫手" class="headings">登錄 SYM MotoLove:頭家好幫手</a></h2>
<p>有請老闆記得幫我登錄「頭家好幫手」,現場登錄完就可以直接在手機上查到維修保養紀錄:</p>
<img loading="lazy" class="aligncenter wp-image-3665 size-large" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5247-576x1024.png" alt="" width="576" height="1024" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5247-576x1024.png 576w, https://becoder.org/wp-content/uploads/2021/06/IMG_5247-169x300.png 169w, https://becoder.org/wp-content/uploads/2021/06/IMG_5247.png 750w" sizes="(max-width: 576px) 100vw, 576px" />
<p> </p>
<h2 id="後續心得"><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#後續心得" class="anchor-link" aria-label="後續心得"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/new-maxsym-400-500km-maintenance/#contents:後續心得" class="headings">後續心得</a></h2>
<p>保養時和老闆閒聊很多,像是自己貼馬桶隔熱、每 1000KM 或出遠門時記得檢查副水箱水位、自己改蝸牛喇叭的線路等,這次保養是個很不錯的體驗,下次保養又是 3000 KM 後的事情了,目前疫情如此也沒什麼地方能跑了,就慢慢騎吧~</p>
<p>有路權就是爽啊~</p>
<div id="attachment_3670" style="width: 2058px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3670" loading="lazy" class="wp-image-3670 size-full" src="https://becoder.org/wp-content/uploads/2021/06/IMG_5163.jpeg" alt="" width="2048" height="1536" srcset="https://becoder.org/wp-content/uploads/2021/06/IMG_5163.jpeg 2048w, https://becoder.org/wp-content/uploads/2021/06/IMG_5163-300x225.jpeg 300w, https://becoder.org/wp-content/uploads/2021/06/IMG_5163-1024x768.jpeg 1024w, https://becoder.org/wp-content/uploads/2021/06/IMG_5163-1536x1152.jpeg 1536w" sizes="(max-width: 2048px) 100vw, 2048px" />
<p id="caption-attachment-3670" class="wp-caption-text">
放上一張停在汽車格的突兀照結束這篇文章XD
</p>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/new-maxsym-400-500km-maintenance/" target="_blank" rel="noopener">https://becoder.org/new-maxsym-400-500km-maintenance/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
遇到職場性騷擾怎麼辦?來聽聽立達徵信的專家怎麼說~
https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/
2022-07-08T21:38:16+08:00
2020-12-31T16:00:52+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>不管怎麼說,都一定要保護自己並維護自身權益,當然,因為現如今社會多元發展,每一個環境與崗位都存在不同的人,環境可簡單也可複雜,所以職場性騷擾並不是只有女生會發生,男生也會,再次呼籲大家:碰上性騷擾狀況是不要對此默不作聲,也不要忍到受不了才反抗或離開,一定要勇敢的站出來保護自己,對性騷擾說「NO!」</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/" target="_blank" rel="noopener">https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>不管怎麼說,都一定要保護自己並維護自身權益,當然,因為現如今社會多元發展,每一個環境與崗位都存在不同的人,環境可簡單也可複雜,所以職場性騷擾並不是只有女生會發生,男生也會,再次呼籲大家:碰上性騷擾狀況是不要對此默不作聲,也不要忍到受不了才反抗或離開,一定要勇敢的站出來保護自己,對性騷擾說「NO!」</p>
<img loading="lazy" class="aligncenter size-large wp-image-3686" src="https://becoder.org/wp-content/uploads/2021/08/070-1024x768.jpg" alt="" width="604" height="453" srcset="https://becoder.org/wp-content/uploads/2021/08/070-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/08/070-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/08/070.jpg 1280w" sizes="(max-width: 604px) 100vw, 604px" />
<p> </p>
<h2 id="關於職場性騷擾你我知多少"><a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/#關於職場性騷擾你我知多少" class="anchor-link" aria-label="關於職場性騷擾你我知多少"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/#contents:關於職場性騷擾你我知多少" class="headings">關於職場性騷擾,你我知多少?</a></h2>
<p>作為一名粉領族,或許對許多人來說,無論是在社會或是職場上,女性都屬於弱勢的一方。</p>
<p>可能不論在職場還是社會上,我們都是弱者。</p>
<p>相信關於職場性騷擾的議題很多人都聽說過甚至有人親身經歷過,而騷擾你的也不一定是獐頭鼠目、肥頭大耳,一看就不正經的人,有時所謂的風度翩翩、文質彬彬是隱藏禍心的利器,這也就是為什麼社會上會有所謂的斯文敗類。</p>
<p>而現如今碰上職場性騷擾的人大多數都會選擇沉默,或許是擔心輿論或擔心自己失去這份工作甚至是因沒有證據舉發而迫於無奈忍讓。</p>
<p>曾聽一位朋友說,有次經理出差,跟隨的秘書因病無法參與,便請她偕同,因為經理平時人很好,家庭也很圓滿幸福,而且同行的還有其他部門的人,所以她也沒有多想。</p>
<p>卻沒想到出差後的第二天就只剩她與經理,而經理更是在晚上時堂而皇之的要闖入她的房間,當下她便嚇得搭車回家。</p>
<p>從此之後,她便感到很迷茫,甚至萌生辭職的念頭,是否舉發經理成了她腦中唯一的想法。</p>
<p>可她如果想舉發經理,手頭上又沒有任何證據,她清楚知道如果想讓性騷擾施害者受到懲罰,最直接也最關鍵的便是證據,否則憑她空口白牙反而還會落得汙衊上司的罪名。</p>
<p>由此可見,無論是職場性騷擾或是一般性騷擾,該如何取證這個環節至關重要,下面就讓立達徵信社與大家來討論關於職場性騷擾與如何取證吧!</p>
<img loading="lazy" class="aligncenter size-large wp-image-3687" src="https://becoder.org/wp-content/uploads/2021/08/071-1024x768.jpg" alt="" width="604" height="453" srcset="https://becoder.org/wp-content/uploads/2021/08/071-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/08/071-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/08/071.jpg 1280w" sizes="(max-width: 604px) 100vw, 604px" />
<p> </p>
<h2 id="什麼是性騷擾性騷擾的定義是"><a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/#什麼是性騷擾性騷擾的定義是" class="anchor-link" aria-label="什麼是性騷擾性騷擾的定義是"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/#contents:什麼是性騷擾性騷擾的定義是" class="headings">什麼是性騷擾?性騷擾的定義是?</a></h2>
<p><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">指得是任何不受歡迎,且與性或性別相關,會讓人感覺不舒服、不自在、被冒犯、被污辱的言行舉止,都可能構成</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">。</span></p>
<p><span style="font-weight: 400;">但仍要注意:雖然</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">之認定主要考量被害人的主觀感受,但仍要以被害人是否為「合理被害人」加以判斷,即按照被害人的年齡、性別、心智、身分,及行為時國人之普遍價值觀等,被害人對行為人</span><span style="font-weight: 400;">騷擾</span><span style="font-weight: 400;">行為所產生的負面感受,是一般大眾所能理解且同情的。</span></p>
<p> </p>
<p><span style="font-weight: 400;">而</span><span style="font-weight: 400;">職場性騷擾</span><span style="font-weight: 400;">又分為兩種:</span></p>
<p><span style="font-weight: 400;">敵意環境之</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">:受僱者於執行職務時,任何人以性要求、具有性意味或性別歧視之言詞或行為,對其造成敵意性、脅迫性或冒犯性之工作環境,致侵犯或干擾其人格尊嚴、人身自由或影響其工作表現。</span></p>
<p><span style="font-weight: 400;">交換式</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">:雇主對受僱者或求職者為明示或暗示之性要求、具有性意味或性別歧視之言詞或行為,作為勞務契約之成立、存續、變更或分發、配置、報酬、考績、升遷、降調、獎懲等之交換條件。</span></p>
<p><span style="font-weight: 400;">其實</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">並沒有一種明確規範的定義,但有一點可以確定,你對於對方施予你的任何言行舉止感到十分的排斥與不舒服。</span></p>
<p><span style="font-weight: 400;">此時你就該意識到這可能是</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">,而</span><span style="font-weight: 400;">騷擾</span><span style="font-weight: 400;">就是一種欺凌,出現早期跡象的時候絕對不要消極迴避,要積極扼殺出現的種種跡象。</span></p>
<p><span style="font-weight: 400;">當事件發生的時候也千萬別心軟了,否則對方會覺得你是顆軟柿子,日後便任他揉捏。</span></p>
<img loading="lazy" class="aligncenter size-large wp-image-3688" src="https://becoder.org/wp-content/uploads/2021/08/072-1024x768.jpg" alt="" width="604" height="453" srcset="https://becoder.org/wp-content/uploads/2021/08/072-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/08/072-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/08/072.jpg 1280w" sizes="(max-width: 604px) 100vw, 604px" />
<p> </p>
<p><span style="font-weight: 400;">而</span><span style="font-weight: 400;">立達徵信社</span><span style="font-weight: 400;">的專家也提醒大家,若碰上疑似</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">事件時,千萬別自我懷疑,在眾多案例可以發現一開始受害者被</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">時都會感到疑惑。</span></p>
<p><span style="font-weight: 400;">對方的行為是不是自己想太多了?還是自己太敏感了?或是誤會對方了?說不定他只是開玩笑等等。</span></p>
<p><span style="font-weight: 400;">如果自己反抗了是不是顯得不解風情?會不會打壞現在的氣氛?會不會太矯情?</span></p>
<p><span style="font-weight: 400;">在我們的概念中,</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">是一個模糊的詞,沒有明確的邊界,我們很難判斷,到底什麼行為算是</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">?</span></p>
<p><span style="font-weight: 400;">事實上,只要你覺得不舒服,被冒犯了,那就是</span><span style="font-weight: 400;">性騷擾</span><span style="font-weight: 400;">。</span></p>
<img loading="lazy" class="aligncenter size-large wp-image-3690" src="https://becoder.org/wp-content/uploads/2021/08/073-1024x768.jpg" alt="" width="604" height="453" srcset="https://becoder.org/wp-content/uploads/2021/08/073-1024x768.jpg 1024w, https://becoder.org/wp-content/uploads/2021/08/073-300x225.jpg 300w, https://becoder.org/wp-content/uploads/2021/08/073.jpg 1280w" sizes="(max-width: 604px) 100vw, 604px" />
<p> </p>
<h2 id="面對職場性騷擾勇敢說不"><a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/#面對職場性騷擾勇敢說不" class="anchor-link" aria-label="面對職場性騷擾勇敢說不"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/#contents:面對職場性騷擾勇敢說不" class="headings">面對職場性騷擾,勇敢說「不」!</a></h2>
<p>再來則是要學會堅決說「不」與反抗,絕不要模糊不清的迴避衝突。</p>
<p>很多時候我們會因為種種因素害怕發生衝突,甚至想要迴避。</p>
<p>因為一但拒絕可能就會使雙方撕破臉,造成後續無盡的麻煩,但這也不是你默默忍受惡行的原因,所以態度一定要堅決!</p>
<p> </p>
<h2 id="碰到職場性騷擾該如何取證"><a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/#碰到職場性騷擾該如何取證" class="anchor-link" aria-label="碰到職場性騷擾該如何取證"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/#contents:碰到職場性騷擾該如何取證" class="headings">碰到職場性騷擾該如何取證</a></h2>
<p>首先,若有人證,可找到目擊者為自己發生的案件作證,不過人都不願淌渾水,也因此大多數人都不願意出面作證,尤其是在職場這個環境,總會有人怕失去工作或多管閒事遭受池魚之災。</p>
<p>所以,若有收到騷擾訊息、郵件或任何造成騷擾有關的事物都要盡量留下以做為證據,若狀況允許,更可錄音甚至錄影將整個過程記錄下來。</p>
<p>不管怎麼說,都一定要保護自己並維護自身權益,當然,因為現如今社會多元發展,每一個環境與崗位都存在不同的人,環境可簡單也可複雜,所以職場性騷擾並不是只有女生會發生,男生也會。</p>
<p>再次呼籲大家:碰上性騷擾狀況是不要對此默不作聲,也不要忍到受不了才反抗或離開,一定要勇敢的站出來保護自己,對性騷擾說「NO!」</p>
<p>而立達徵信社也提供全天候24小時免費諮詢服務,無論你對狀況有所疑惑或是想要蒐集證據,都歡迎立即致電或私訊立達徵信,別害怕,現在就讓立達徵信保護你!</p>
<p> </p>
<img loading="lazy" class="aligncenter size-large wp-image-3691" src="https://becoder.org/wp-content/uploads/2021/08/074-1024x379.jpg" alt="" width="604" height="224" srcset="https://becoder.org/wp-content/uploads/2021/08/074-1024x379.jpg 1024w, https://becoder.org/wp-content/uploads/2021/08/074-300x111.jpg 300w, https://becoder.org/wp-content/uploads/2021/08/074-1536x568.jpg 1536w, https://becoder.org/wp-content/uploads/2021/08/074.jpg 1773w" sizes="(max-width: 604px) 100vw, 604px" />
<p><strong>【立達徵信社 相關資訊】</strong></p>
<p>徵信社阿宅: <a href="https://putavirgo1.pixnet.net/blog" target="_blank" rel="noopener">https://putavirgo1.pixnet.net/blog</a><br>
官方網站: <a href="https://www.liidda.com.tw/" target="_blank" rel="noopener">https://www.liidda.com.tw/</a><br>
FB粉絲團: <a href="https://www.facebook.com/lidazhengxin" target="_blank" rel="noopener">https://www.facebook.com/lidazhengxin</a><br>
YT頻道: <a href="https://www.youtube.com/c/%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%A4%BE%E6%A1%83%E5%9C%92%E5%B8%82/videos?view_as=subscriber" target="_blank" rel="noopener">https://www.youtube.com/c/%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%A4%BE%E6%A1%83%E5%9C%92%E5%B8%82/videos?view_as=subscriber</a><br>
LINE: @liidda<br>
E-mail: <a href="mailto:[email protected]">[email protected]</a><br>
24小時免費諮詢專線:0800-250-555</p>
<p><strong>全國服務據點:</strong></p>
<p>桃園:桃園市桃園區中平路102號2樓<br>
台北:台北市大同區重慶北路三段278號9樓之二<br>
新竹:新竹市香山區東華路6號<br>
台中:台中市西區台灣大道一段726號三樓之一<br>
南投:南投縣埔里鎮忠孝路189號<br>
高雄:高雄市苓雅區成功一路232號4樓之一</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/" target="_blank" rel="noopener">https://becoder.org/%E9%81%87%E5%88%B0%E8%81%B7%E5%A0%B4%E6%80%A7%E9%A8%B7%E6%93%BE%E6%80%8E%E9%BA%BC%E8%BE%A6%EF%BC%9F%E4%BE%86%E8%81%BD%E8%81%BD%E7%AB%8B%E9%81%94%E5%BE%B5%E4%BF%A1%E7%9A%84%E5%B0%88%E5%AE%B6%E6%80%8E/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[交通] 機車罰單申訴成功紀錄
https://becoder.org/funny-traffic-ticket-motorcycle/
2025-10-16T17:29:09+08:00
2020-12-04T20:55:18+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>約莫在今年 8 月時,誤上了禁行機車,被警察開了一張 600 元的罰單,紀錄一下我是如何誤上並成功申訴撤銷的,還好有帶行車記錄器(SJ8Pro)XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/funny-traffic-ticket-motorcycle/" target="_blank" rel="noopener">https://becoder.org/funny-traffic-ticket-motorcycle/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>約莫在今年 8 月時,誤上了禁行機車,被警察開了一張 600 元的罰單,紀錄一下我是如何誤上並成功申訴撤銷的,還好有帶行車記錄器(SJ8Pro)XD</p>
<h2 id="事發經過"><a href="https://becoder.org/funny-traffic-ticket-motorcycle/#事發經過" class="anchor-link" aria-label="事發經過"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/funny-traffic-ticket-motorcycle/#contents:事發經過" class="headings">事發經過</a></h2>
<p>在八月的某天,我騎雷霆 150 從竹北準備回交大,「縣政二路」往「光明六路」左轉待轉,第一次走這條路XD <a href="https://www.google.com.tw/maps/@24.8246024,121.0147174,3a,75y,121.04h,82.18t/data=!3m6!1e1!3m4!1sV0lmX7E0YesM2ghm38GMvw!2e0!7i16384!8i8192?hl=zh-TW&authuser=0" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">街景連結</a></p>
<p><span style="color: #141412;">當天下著大雨,以下是我的行車記錄器的畫面:<img loading="lazy" class="size-full wp-image-3638" src="https://becoder.org/wp-content/uploads/2020/12/zhubei1.jpg" alt="" width="2048" height="1152" srcset="https://becoder.org/wp-content/uploads/2020/12/zhubei1.jpg 2048w, https://becoder.org/wp-content/uploads/2020/12/zhubei1-300x169.jpg 300w, https://becoder.org/wp-content/uploads/2020/12/zhubei1-1024x576.jpg 1024w, https://becoder.org/wp-content/uploads/2020/12/zhubei1-1536x864.jpg 1536w" sizes="(max-width: 2048px) 100vw, 2048px" /></span>
<img src="https://becoder.org/wp-content/uploads/2020/12/zhubei1.jpg" alt="">
<img loading="lazy" class="size-full wp-image-3639" src="https://becoder.org/wp-content/uploads/2020/12/zhubei2-scaled.jpg" alt="" width="2560" height="1440" srcset="https://becoder.org/wp-content/uploads/2020/12/zhubei2-scaled.jpg 2560w, https://becoder.org/wp-content/uploads/2020/12/zhubei2-300x169.jpg 300w, https://becoder.org/wp-content/uploads/2020/12/zhubei2-1024x576.jpg 1024w, https://becoder.org/wp-content/uploads/2020/12/zhubei2-1536x864.jpg 1536w, https://becoder.org/wp-content/uploads/2020/12/zhubei2-2048x1152.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
<p>在待<span style="color: #cccccc;"><del>撞</del></span>區待轉時,沒看到任何的禁行機車標誌嘛~<img loading="lazy" class="wp-image-3607 alignnone" src="https://becoder.org/wp-content/uploads/2020/12/img_5fca9444a88e8.png" alt="" width="30" height="29" srcset="https://becoder.org/wp-content/uploads/2020/12/img_5fca9444a88e8.png 390w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9444a88e8-300x292.png 300w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9444a88e8-150x150.png 150w" sizes="(max-width: 30px) 100vw, 30px" />~紅綠燈上面也確實沒有這個牌子,因為下雨,我也看不到車道上的**<span style="color: #ffff00; background-color: #000000;">禁行機車</span>**(只有禁止左轉的標誌<img loading="lazy" class="" src="https://becoder.org/wp-content/uploads/2020/12/No-left-turn1.png" width="30" height="30" /> )</p>
<p><img loading="lazy" class="size-full wp-image-3640" src="https://becoder.org/wp-content/uploads/2020/12/zhubei3-google.jpg" alt="" width="1309" height="786" srcset="https://becoder.org/wp-content/uploads/2020/12/zhubei3-google.jpg 1309w, https://becoder.org/wp-content/uploads/2020/12/zhubei3-google-300x180.jpg 300w, https://becoder.org/wp-content/uploads/2020/12/zhubei3-google-1024x615.jpg 1024w" sizes="(max-width: 1309px) 100vw, 1309px" /> 想當然我就跟著待撞格所繪製的位置直直騎啦~結果沒想到~哭阿,四條都是禁行機車:</p>
<p id="wmTLIAu">
<img loading="lazy" class="size-full wp-image-3612" src="https://becoder.org/wp-content/uploads/2020/12/123.png" alt="" width="960" height="540" srcset="https://becoder.org/wp-content/uploads/2020/12/123.png 960w, https://becoder.org/wp-content/uploads/2020/12/123-300x169.png 300w" sizes="(max-width: 960px) 100vw, 960px" />
</p>
<p> </p>
<p>都騎到這裡了,也不可能切去<strong>慢車道</strong>了(雙白線 + 棒棒糖),只好繼續騎下去囉~有汽車駕照、開過國道走這種路根本輕輕鬆鬆(我騎著表速最快<strong>可達 110KM/h 的慢車</strong>)</p>
<p>結果條伯在國道一號下面躲雨等我阿幹~</p>
<img loading="lazy" class="size-full wp-image-3641" src="https://becoder.org/wp-content/uploads/2020/12/zhubei4-scaled.jpg" alt="" width="2560" height="1440" srcset="https://becoder.org/wp-content/uploads/2020/12/zhubei4-scaled.jpg 2560w, https://becoder.org/wp-content/uploads/2020/12/zhubei4-300x169.jpg 300w, https://becoder.org/wp-content/uploads/2020/12/zhubei4-1024x576.jpg 1024w, https://becoder.org/wp-content/uploads/2020/12/zhubei4-1536x864.jpg 1536w, https://becoder.org/wp-content/uploads/2020/12/zhubei4-2048x1152.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
<p> </p>
<p>下雨天車這麼多為什麼不去指揮交通阿,(可能橋下可以躲雨還可以攔機車吧XD)</p>
<p id="AdZbaHw">
<img loading="lazy" width="960" height="540" class="alignnone size-full wp-image-3615 " src="https://becoder.org/wp-content/uploads/2020/12/img_5fca98e2bd121.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/12/img_5fca98e2bd121.png 960w, https://becoder.org/wp-content/uploads/2020/12/img_5fca98e2bd121-300x169.png 300w" sizes="(max-width: 960px) 100vw, 960px" />
</p>
<p> </p>
<p>後來我就被開單了:</p>
<p>我:「我沒看到禁行機車」(下雨天真的看不到)<br>
條伯:「有啦那邊有」<br>
我:「<strong>大型重機可以走這邊嗎?</strong>」<br>
條伯:「可以喔」<br>
我:「那這樣跟我有什麼差別?」<br>
條伯:「<strong>我也不知道,你去問設計的人啦(遞上紅單)</strong>」<br>
條伯:「以前這裡沒有禁行機車,是在民國 9X 年變成不行的」<br>
我:「我要怎麼離開這裡」<br>
條伯:「直直騎,然後前面紅綠燈的地方切去慢車道,如果這個路口沒切過去,你在下個路口遇到警察可能還會被開一次喔」<br>
內心OS:「(???那你攔我幹麻,我也知道直直騎阿,被你攔下來代表你覺得我騎在上面很危險吧,那你怎麼沒有護送我過去呢?)」</p>
<p>後來我也懶的跟他爭論了,就直接回家去了,反正我有行車記錄器,現在一台沒多少錢,遇到的時候真的很有用。</p>
<h2 id="申訴"><a href="https://becoder.org/funny-traffic-ticket-motorcycle/#申訴" class="anchor-link" aria-label="申訴"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/funny-traffic-ticket-motorcycle/#contents:申訴" class="headings">申訴</a></h2>
<p>後來我就去監理站網站申訴啦(<a href="https://www.mvdis.gov.tw/m3-emv-cht/public/appeal?method=start" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer"><a href="https://www.mvdis.gov.tw/m3-emv-cht/public/appeal?method=start" target="_blank" rel="noopener">https://www.mvdis.gov.tw/m3-emv-cht/public/appeal?method=start</a></a>),監理站申訴只能輸入純文字,於是我把行車記錄器的截圖放在 Imgur 上,再條列式得將疑點列出來後送出:</p>
<blockquote>
<p>本人於 109年 8 月 11 日由新竹縣竹北市縣政二路往光明六路左轉待轉,停留待轉格並直行,因「雨天」無法看清標示而發現誤入禁行機車道,下圖為當天行車紀錄器之畫面,並有下列疑問:</p>
<p>一、雨天標線不清,無法判斷是否禁行機車:<br>
當天雨勢龐大,路面反光,無法判斷是否為禁行機車路段,且紅綠燈無禁行機車標誌、道路專行車輛標誌</p>
<blockquote class="imgur-embed-pub" lang="en" data-id="tjf8fjX">
<p>
<a href="https://imgur.com/tjf8fjX" target="_blank" rel="noopener">View post on imgur.com</a>
</p>
</blockquote>
<p>二、紅綠燈無禁行機車標誌、道路專行車輛標誌:<br>
因紅綠燈為最明顯之交通號誌,卻無任何標誌提及「禁行機車」,雨天於待轉格根本無法看見地面上「禁行機車」之標誌</p>
<blockquote class="imgur-embed-pub" lang="en" data-id="tjf8fjX">
<p>
<a href="https://imgur.com/tjf8fjX" target="_blank" rel="noopener">View post on imgur.com</a>
</p>
</blockquote>
<p>三、待轉格設置刻意誤導機車違規:<br>
待轉格設置在禁行機車道上,因相信待轉格設置位置為機車可以行駛的道路,從待轉格直行即違規,且地面無引導至慢車道之引導虛線,刻意引導騎士違規<br>
圖為待轉格之位置 (Google 街景):</p>
<blockquote class="imgur-embed-pub" lang="en" data-id="06NvGco">
<p>
<a href="https://imgur.com/06NvGco" target="_blank" rel="noopener">View post on imgur.com</a>
</p>
</blockquote>
<p>下圖為停等於待轉格之證據:</p>
<blockquote class="imgur-embed-pub" lang="en" data-id="yNASIO9">
<p>
<a href="https://imgur.com/yNASIO9" target="_blank" rel="noopener">View post on imgur.com</a>
</p>
</blockquote>
<p>四、分隔桿讓誤入機慢車無法切回機慢車道<br>
因待轉格位置直行後即誤入禁行機車道,慢車道之分隔桿讓誤入之機慢車無法即時切回機慢車道,迫使違規,如強行硬切更為危險。<br>
分隔桿讓機慢車無法即時切回機慢車道:</p>
<blockquote class="imgur-embed-pub" lang="en" data-id="06NvGco">
<p>
<a href="https://imgur.com/06NvGco" target="_blank" rel="noopener">View post on imgur.com</a>
</p>
</blockquote>
<p>五、警察橋下等待違規民眾、卻沒在路口引導機慢車<br>
警察刻意在橋下等待違規者,卻不在路口引導機車駛入正確車道,如該路口常發生機車誤闖事件,應在路口引導機車,而非等待民眾誤闖後開單<br>
警察在橋下躲雨等誤闖的民眾,卻不去引導車流:</p>
<blockquote class="imgur-embed-pub" lang="en" data-id="APg7nKh">
<p>
<a href="https://imgur.com/APg7nKh" target="_blank" rel="noopener">View post on imgur.com</a>
</p>
</blockquote>
<p>六、警察攔檢後未引導機車離開禁行機車道<br>
警察沒有護送誤闖的機車離開禁行機車道,而請我繼續往前走,是否刻意要求民眾違規? 如果途中被車子撞到、遇到警察被攔開單的話是警察要負責的嗎?因為警察請我繼續直行,沒有在機車後方引導誤闖之機慢車離開禁行機車道</p>
<p>因待轉格設置問題引導民眾違規,因道路設計不良而導致民眾違規,是否撤銷罰單?</p>
<p>謝謝。</p></blockquote>
<p> </p>
<p>送出後會收到一封確認信:</p>
<div id="attachment_3621" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3621" loading="lazy" class="wp-image-3621 size-full" src="https://becoder.org/wp-content/uploads/2020/12/img_5fca9d440eb47.png" alt="" width="991" height="519" srcset="https://becoder.org/wp-content/uploads/2020/12/img_5fca9d440eb47.png 991w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9d440eb47-300x157.png 300w" sizes="(max-width: 991px) 100vw, 991px" />
<p id="caption-attachment-3621" class="wp-caption-text">
確認信
</p>
</div>
<p> </p>
<p>過了 3 天收到一封電子公文:</p>
<div id="attachment_3622" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3622" loading="lazy" class="wp-image-3622 size-full" src="https://becoder.org/wp-content/uploads/2020/12/img_5fca9dc7d3903.png" alt="" width="725" height="606" srcset="https://becoder.org/wp-content/uploads/2020/12/img_5fca9dc7d3903.png 725w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9dc7d3903-300x251.png 300w" sizes="(max-width: 725px) 100vw, 725px" />
<p id="caption-attachment-3622" class="wp-caption-text">
電子公文
</p>
</div>
<div id="attachment_3623" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3623" loading="lazy" class="wp-image-3623 size-full" src="https://becoder.org/wp-content/uploads/2020/12/img_5fca9e530f1db.png" alt="" width="852" height="1205" srcset="https://becoder.org/wp-content/uploads/2020/12/img_5fca9e530f1db.png 852w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9e530f1db-212x300.png 212w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9e530f1db-724x1024.png 724w" sizes="(max-width: 852px) 100vw, 852px" />
<p id="caption-attachment-3623" class="wp-caption-text">
原來申訴罰單要給車籍所在地的監理所判定
</p>
</div>
<p> </p>
<h2 id="申訴成功"><a href="https://becoder.org/funny-traffic-ticket-motorcycle/#申訴成功" class="anchor-link" aria-label="申訴成功"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/funny-traffic-ticket-motorcycle/#contents:申訴成功" class="headings">申訴成功</a></h2>
<p>過了兩個月,收到了一封電子郵件:</p>
<div id="attachment_3624" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3624" loading="lazy" class="wp-image-3624 size-full" src="https://becoder.org/wp-content/uploads/2020/12/img_5fca9eef33815.png" alt="" width="732" height="704" srcset="https://becoder.org/wp-content/uploads/2020/12/img_5fca9eef33815.png 732w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9eef33815-300x289.png 300w" sizes="(max-width: 732px) 100vw, 732px" />
<p id="caption-attachment-3624" class="wp-caption-text">
申訴結果通知信
</p>
</div>
<p> </p>
<div id="attachment_3625" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3625" loading="lazy" class="wp-image-3625 size-full" src="https://becoder.org/wp-content/uploads/2020/12/img_5fca9fc7b83d0.png" alt="" width="852" height="1205" srcset="https://becoder.org/wp-content/uploads/2020/12/img_5fca9fc7b83d0.png 852w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9fc7b83d0-212x300.png 212w, https://becoder.org/wp-content/uploads/2020/12/img_5fca9fc7b83d0-724x1024.png 724w" sizes="(max-width: 852px) 100vw, 852px" />
<p id="caption-attachment-3625" class="wp-caption-text">
申訴成功之公文
</p>
</div>
<p><strong>爽啦,申訴成功。</strong></p>
<p><strong>把<span style="color: #ff0000;">待轉格設在禁行機車道上</span>、<span style="color: #ff0000;">紅綠燈顯眼處沒有禁行機車標示</span>,我想嘉義監理站看了這道路設計也搖頭吧。</strong></p>
<p>這年頭騎機車行車記錄器真的必備,在路上不只會遇到三寶,還會**<span style="color: #ff0000;">被混亂的交通設計惡搞</span>**,有人跟我說 600 元是小錢,不必特地申訴,<strong>但我就是不爽</strong>。</p>
<p>從申訴到結果,需要等兩個月左右,並且需要先把罰單繳清,<strong><span style="color: #ff0000;">繳罰單時扣的手續費不會退給你</span>、<span style="color: #ff0000;">回寄的掛號郵資政府也不會補償你</span></strong>。</p>
<p>近年騎機車有<strong>兩大必備元素</strong>:</p>
<ul>
<li>全罩式安全帽</li>
<li>行車記錄器</li>
</ul>
<p>護具等東西可以作為選配,唯獨這兩樣不可少,看過太多新聞找不到肇事者了,為了保護自己,投資下去吧。</p>
<p>==<br>
2020/03/25 更新</p>
<p>意外獲得改變地貌的能力,待轉格直接外移了XDD</p>
<img loading="lazy" class="size-full wp-image-3646" src="https://becoder.org/wp-content/uploads/2020/12/vlcsnap-2021-03-05-16h04m15s477.png" alt="" width="1280" height="720" srcset="https://becoder.org/wp-content/uploads/2020/12/vlcsnap-2021-03-05-16h04m15s477.png 1280w, https://becoder.org/wp-content/uploads/2020/12/vlcsnap-2021-03-05-16h04m15s477-300x169.png 300w, https://becoder.org/wp-content/uploads/2020/12/vlcsnap-2021-03-05-16h04m15s477-1024x576.png 1024w" sizes="(max-width: 1280px) 100vw, 1280px" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/funny-traffic-ticket-motorcycle/" target="_blank" rel="noopener">https://becoder.org/funny-traffic-ticket-motorcycle/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
客製化 FreeBSD 安裝 ISO
https://becoder.org/custom-freebsd-install-iso/
2022-07-08T22:40:16+08:00
2020-11-06T17:28:52+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近有個需求需要自訂 FreeBSD 的映像檔,主要是可以讓 ISO 在開機後可以自動執行一些動作,不需要每次手工重下指令。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/custom-freebsd-install-iso/" target="_blank" rel="noopener">https://becoder.org/custom-freebsd-install-iso/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近有個需求需要自訂 FreeBSD 的映像檔,主要是可以讓 ISO 在開機後可以自動執行一些動作,不需要每次手工重下指令。</p>
<p>在網路上找到了幾種解決方法,一般都是直接把 ISO 掛載到 Ramdisk 後,再使用 rsync 將東西複製出來: <a href="https://bsdwatch.net/articles/custom-freebsd-iso" target="_blank" rel="noopener">Setup, and create a custom FreeBSD ISO CD/DVD :: BSD watch</a></p>
<p>我一開始也是想使用這種方法,但因我們環境是用 GitLab CI/CD 來呼叫一個 Jail 來作業,掛載 ISO 時需要用到 Ramdisk,但在 Jail 中要使用 Ramdisk 需要做一些設定: <a href="https://forums.freebsd.org/threads/memory-disk-in-a-jail.66363/" target="_blank" rel="noopener">Memory Disk In A Jail</a></p>
<p>為了不想因為一個 Project 而動到整個 Jail Runner 的設定,就改用解壓縮的方式,很剛好的 <a href="https://www.freebsd.org/cgi/man.cgi?tar(1)" target="_blank" rel="noopener">bsdtar</a> 支援了 ISO9660 的解壓縮,在 FreeBSD 環境中可以用這個指令來解壓,參數和一般的 <code>tar</code> 好像不太一樣:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">tar xfp FreeBSD-12.2-RELEASE-amd64-disc1.iso -C /custom-iso/
</span></span></code></pre></td></tr></table></div>
</div>
</div><h2 id="fstab"><a href="https://becoder.org/custom-freebsd-install-iso/#fstab" class="anchor-link" aria-label="fstab"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/custom-freebsd-install-iso/#contents:fstab" class="headings">Fstab</a></h2>
<p>在客製化 ISO 的時候,首先需要修改的是 <code>/etc/fstab</code> 的內容,否則重包後會開機失敗、在開機時 ISO 會掛載失敗:</p>
<p>原本的 fstab:</p>
<pre tabindex="0"><code>/dev/iso9660/12_2_RELEASE_AMD64_CD / cd9660 ro 0 0
</code></pre><p>需修改成:</p>
<pre tabindex="0"><code>/dev/iso9660/FreeBSD_myISO / cd9660 ro 0 0
</code></pre><p>再來其他就是自己想要客製的一些內容了。</p>
<h1 id="包回-iso"><a href="https://becoder.org/custom-freebsd-install-iso/#包回-iso" class="anchor-link" aria-label="包回-iso"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/custom-freebsd-install-iso/#contents:包回-iso" class="headings">包回 ISO</a></h1>
<p>做完客製化後,再來的工作就是包回 ISO 檔,需要先安裝 <code>cdrtools</code> 這個套件才有辦法完成:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">pkg install -y cdrtools
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>然後使用 <code>cdrtools</code> 內的 <code>mkisofs</code> 來做打包:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">cd</span> / <span class="o">&&</span> mkisofs -D -R -b boot/cdboot -V <span class="s2">"FreeBSD_myISO"</span> -allow-leading-dots -no-emul-boot -o ~/12.2-custom.iso /custom-iso
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>等跑完後就可以開機測試了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/custom-freebsd-install-iso/" target="_blank" rel="noopener">https://becoder.org/custom-freebsd-install-iso/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
使用 Serial Port Console 存取 FreeBSD
https://becoder.org/freebsd-serial-port-console/
2022-07-08T22:44:50+08:00
2020-11-05T00:33:46+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>使用編輯器編輯/新增 <code>/boot/loader.conf</code>,加入下列內容:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/freebsd-serial-port-console/" target="_blank" rel="noopener">https://becoder.org/freebsd-serial-port-console/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>使用編輯器編輯/新增 <code>/boot/loader.conf</code>,加入下列內容:</p>
<pre tabindex="0"><code>boot_multicons="YES"
boot_serial="YES"
comconsole_speed="115200"
console="comconsole,vidconsole"
</code></pre><p>重開機即可,如此一來即可使用 Serial Port 控制 FreeBSD 主機,在 Proxmox VE 的環境中也可以用 <code>qm terminal [VMID]</code> 存取 console:</p>
<p><img src="https://becoder.org/images/freebsd-serial-port-console/bsd-serial-port.png" alt=""></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/freebsd-serial-port-console/" target="_blank" rel="noopener">https://becoder.org/freebsd-serial-port-console/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
限制 FreeBSD 之 Jail 資源
https://becoder.org/freebsd-rctl-jail-iocage/
2022-07-08T22:53:09+08:00
2020-10-09T23:43:05+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這陣子因為 NASA 課程需求需要用到 Jail 來限制資源,</p>
<p>本來想說用 <code>rctl</code> 來限制 Jail 的使用量,但卻發現沒有效果:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/freebsd-rctl-jail-iocage/" target="_blank" rel="noopener">https://becoder.org/freebsd-rctl-jail-iocage/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這陣子因為 NASA 課程需求需要用到 Jail 來限制資源,</p>
<p>本來想說用 <code>rctl</code> 來限制 Jail 的使用量,但卻發現沒有效果:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">root@BSD:~ <span class="c1"># rctl -a jail:myJail:maxproc:deny=10/jail </span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>研究了好一陣子,才發現 <code>iocage</code> 建立的 Jail Name 竟然和 Hostname 不同,要使用 <code>jls -v</code> 來查出這個 Jail 的真正名字:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span><span class="lnt">7
</span><span class="lnt">8
</span><span class="lnt">9
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">root@BSD:~ <span class="c1"># jls -v</span>
</span></span><span class="line"><span class="cl"> JID Hostname Path
</span></span><span class="line"><span class="cl"> Name State
</span></span><span class="line"><span class="cl"> CPUSetID
</span></span><span class="line"><span class="cl"> IP Address<span class="o">(</span>es<span class="o">)</span>
</span></span><span class="line"><span class="cl"> <span class="m">1</span> myJail /zroot/iocage/jails/myJail/root
</span></span><span class="line"><span class="cl"> ioc-muJail ACTIVE
</span></span><span class="line"><span class="cl"> <span class="m">2</span>
</span></span><span class="line"><span class="cl"> 192.168.1.10
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>所以這個 Jail 的真正名字是 <code>ioc-myJail</code>,rctl 要這樣下才有用:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">root@BSD:~ <span class="c1"># rctl -a jail:ioc-myJail:maxproc:deny=10/jail</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>可以用 <code>rctl -hu jail:ioc-myJail</code> 來看所有的資源使用率,搭配 <code>watch</code> 指令可以很方便的監控(不過 Linux 的 <code>watch</code> 在 FreeBSD 叫做 <code>cmdwatch</code> 就是了,要另外裝):</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">root@BSD:~ <span class="c1"># pkg install -y cmdwatch</span>
</span></span><span class="line"><span class="cl">root@BSD:~ <span class="c1"># cmdwatch rctl -hu jail:ioc-myJail</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>監控結果(每 2 秒更新一次):</p>
<pre tabindex="0"><code>Every 2s: rctl -hu jail:ioc-myJail Fri Oct 9 23:52:45 2020
cputime=2
datasize=628K
stacksize=0
coredumpsize=0
memoryuse=37M
memorylocked=0
maxproc=10
openfiles=1696
vmemoryuse=124M
pseudoterminals=0
swapuse=48M
nthr=10
msgqqueued=0
msgqsize=0
nmsgq=0
nsem=0
nsemop=0
nshm=0
shmsize=0
wallclock=14K
pcpu=0
readbps=0
writebps=0
readiops=0
writeiops=0
</code></pre><p>測試戳看看 10 個 process 的上限:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span><span class="lnt">7
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="o">[</span>root@BSD-Judge ~<span class="o">]</span><span class="c1"># bash</span>
</span></span><span class="line"><span class="cl">bash: fork: retry: Resource temporarily unavailable
</span></span><span class="line"><span class="cl">bash: fork: retry: Resource temporarily unavailable
</span></span><span class="line"><span class="cl">bash: fork: retry: Resource temporarily unavailable
</span></span><span class="line"><span class="cl">^Cbash: fork: Interrupted system call
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="o">[</span>root@BSD-Judge ~<span class="o">]</span><span class="c1">#</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>問題解決了,
但現在也幾乎沒有人在使用 FreeBSD 了 XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/freebsd-rctl-jail-iocage/" target="_blank" rel="noopener">https://becoder.org/freebsd-rctl-jail-iocage/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Esxi 6.7 不支援 x58 CPU 解決方法
https://becoder.org/esxi-6.7-support-x58-cpu-hack/
2022-07-08T22:54:43+08:00
2020-07-27T14:49:28+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<h1 id="預先準備">預先準備</h1>
<p>開始前先下載 HxD 16進位編輯軟體:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/" target="_blank" rel="noopener">https://becoder.org/esxi-6.7-support-x58-cpu-hack/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<h1 id="預先準備"><a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/#預先準備" class="anchor-link" aria-label="預先準備"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/#contents:預先準備" class="headings">預先準備</a></h1>
<p>開始前先下載 HxD 16進位編輯軟體:</p>
<p><a href="https://www.azofreeware.com/2014/04/hxd-1770-hex.html" target="_blank" rel="noopener">https://www.azofreeware.com/2014/04/hxd-1770-hex.html</a></p>
<h1 id="修改-bb00"><a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/#修改-bb00" class="anchor-link" aria-label="修改-bb00"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/#contents:修改-bb00" class="headings">修改 b.b00</a></h1>
<ol>
<li>使用 7-zip 解壓縮 b.b00 檔案後得到 vmkBoot.ELF32-psigned</li>
<li>使用 HxD 編輯 <code>vmkBoot.ELF32-psigned</code> 搜尋 16 進位字串 <code>83 F9 36</code> ,修改為 <code>83 F9 01</code></li>
<li>存檔後使用 7-zip 選擇 gzip 壓縮,存為 <code>b.b00</code></li>
</ol>
<h1 id="修改-weaselint00"><a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/#修改-weaselint00" class="anchor-link" aria-label="修改-weaselint00"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/#contents:修改-weaselint00" class="headings">修改 weaselin.t00</a></h1>
<ol>
<li>使用 7-zip 解壓縮 <code>weaselin.t00</code> 檔案後得到 <code>weaselin-weasel.vtar</code></li>
<li>使用 HxD 編輯 <code>weaselin-weasel.vtar</code> 搜尋字串 <code>family == 0x06 and model <= 0x36</code>,修改為 <code>family == 0x06 and model <= 0x01</code></li>
<li>存檔後使用 7-zip 選擇 gzip 壓縮,存為 <code>weaselin.t00</code></li>
</ol>
<h1 id="覆蓋檔案"><a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/#覆蓋檔案" class="anchor-link" aria-label="覆蓋檔案"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/#contents:覆蓋檔案" class="headings">覆蓋檔案</a></h1>
<p>把修改完畢的 <code>b.b00</code>、<code>weaselin.t00</code> 存回安裝 USB 後即可開機安裝使用</p>
<p><em>參考: <a href="https://commander614.wixsite.com/website/single-post/2018/07/08/Allowing-Unsupported-CPU%E2%80%99s-on-ESXI-67" target="_blank" rel="noopener">https://commander614.wixsite.com/website/single-post/2018/07/08/Allowing-Unsupported-CPU%E2%80%99s-on-ESXI-67</a></em></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/esxi-6.7-support-x58-cpu-hack/" target="_blank" rel="noopener">https://becoder.org/esxi-6.7-support-x58-cpu-hack/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[軟體] FonePaw Data Recovery:界面清新、簡單易用的資料救援軟體
https://becoder.org/fonepaw-data-recovery/
2022-07-08T21:38:16+08:00
2020-06-03T09:07:50+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>FonePaw 這家公司大家比較常見到的應該是<a href="https://www.fonepaw.hk/screen-recorder/" rel="noopener noreferrer">FonePaw 螢幕錄影大師</a>了,但是他們其實出了一系列的軟體,其中是我最近玩的一套:<a href="https://www.fonepaw.hk/data-recovery/" rel="noopener noreferrer">FonePaw 資料恢復</a>。</p>
<p>記得小時候,智慧型手機尚未發達的時候,長輩以為手機中的選項「格式化」是整理文件的功能,於是他手機的記憶卡內的資料就通通不見了…,當時我年紀還小,也不知道怎麼修理,也還好裡面放的只是一些他常聽的歌曲,而不是什麼重要的資料,頂多通訊錄要重新加入吧XD!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/fonepaw-data-recovery/" target="_blank" rel="noopener">https://becoder.org/fonepaw-data-recovery/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>FonePaw 這家公司大家比較常見到的應該是<a href="https://www.fonepaw.hk/screen-recorder/" target="_blank" rel="noopener" rel="noopener noreferrer">FonePaw 螢幕錄影大師</a>了,但是他們其實出了一系列的軟體,其中是我最近玩的一套:<a href="https://www.fonepaw.hk/data-recovery/" target="_blank" rel="noopener" rel="noopener noreferrer">FonePaw 資料恢復</a>。</p>
<p>記得小時候,智慧型手機尚未發達的時候,長輩以為手機中的選項「格式化」是整理文件的功能,於是他手機的記憶卡內的資料就通通不見了…,當時我年紀還小,也不知道怎麼修理,也還好裡面放的只是一些他常聽的歌曲,而不是什麼重要的資料,頂多通訊錄要重新加入吧XD!</p>
<p> </p>
<h2 id="軟體安裝"><a href="https://becoder.org/fonepaw-data-recovery/#軟體安裝" class="anchor-link" aria-label="軟體安裝"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/fonepaw-data-recovery/#contents:軟體安裝" class="headings">軟體安裝</a></h2>
<p>首先到 <a href="https://www.fonepaw.hk/data-recovery/" target="_blank" rel="noopener" rel="noopener noreferrer"><a href="https://www.fonepaw.hk/data-recovery/" target="_blank" rel="noopener">https://www.fonepaw.hk/data-recovery/</a> </a>下載對應你系統版本的安裝檔,目前有 Windows、macOS 版本可以使用,由於我身邊沒有 Mac 的主機,所以這邊使用 Windows 版本作為示範:</p>
<p> </p>
<div id="attachment_3558" style="width: 962px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3558" loading="lazy" class="wp-image-3558 size-full" src="https://becoder.org/wp-content/uploads/2020/05/img_5ecff102d1de2.png" alt="" width="952" height="409" srcset="https://becoder.org/wp-content/uploads/2020/05/img_5ecff102d1de2.png 952w, https://becoder.org/wp-content/uploads/2020/05/img_5ecff102d1de2-300x129.png 300w" sizes="(max-width: 952px) 100vw, 952px" />
<p id="caption-attachment-3558" class="wp-caption-text">
這邊我選擇 Windows 版本
</p>
</div>
<p>檔案下載後點擊打開安裝,過程中會要求管理員權限用以安裝軟體到系統:</p>
<div id="attachment_3560" style="width: 487px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3560" loading="lazy" class="wp-image-3560 size-full" src="https://becoder.org/wp-content/uploads/2020/05/img_5ecff198a129a.png" alt="" width="477" height="335" srcset="https://becoder.org/wp-content/uploads/2020/05/img_5ecff198a129a.png 477w, https://becoder.org/wp-content/uploads/2020/05/img_5ecff198a129a-300x211.png 300w" sizes="(max-width: 477px) 100vw, 477px" />
<p id="caption-attachment-3560" class="wp-caption-text">
選擇「是」來安裝軟體
</p>
</div>
<p> </p>
<p>在安裝畫面可以選擇「自訂安裝」來決定軟體的路徑,作好設定後就可以安裝了:</p>
<div id="attachment_3561" style="width: 788px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3561" loading="lazy" class="wp-image-3561 size-full" src="https://becoder.org/wp-content/uploads/2020/05/img_5ecff20727981.png" alt="" width="778" height="628" srcset="https://becoder.org/wp-content/uploads/2020/05/img_5ecff20727981.png 778w, https://becoder.org/wp-content/uploads/2020/05/img_5ecff20727981-300x242.png 300w" sizes="(max-width: 778px) 100vw, 778px" />
<p id="caption-attachment-3561" class="wp-caption-text">
自訂安裝選項
</p>
</div>
<p> </p>
<div id="attachment_3562" style="width: 772px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3562" loading="lazy" class="wp-image-3562 size-full" src="https://becoder.org/wp-content/uploads/2020/05/img_5ecff2214cc87.png" alt="" width="762" height="407" srcset="https://becoder.org/wp-content/uploads/2020/05/img_5ecff2214cc87.png 762w, https://becoder.org/wp-content/uploads/2020/05/img_5ecff2214cc87-300x160.png 300w" sizes="(max-width: 762px) 100vw, 762px" />
<p id="caption-attachment-3562" class="wp-caption-text">
安裝中
</p>
</div>
<div id="attachment_3563" style="width: 762px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3563" loading="lazy" class="wp-image-3563 size-full" src="https://becoder.org/wp-content/uploads/2020/05/img_5ecff25ba82af.png" alt="" width="752" height="398" srcset="https://becoder.org/wp-content/uploads/2020/05/img_5ecff25ba82af.png 752w, https://becoder.org/wp-content/uploads/2020/05/img_5ecff25ba82af-300x159.png 300w" sizes="(max-width: 752px) 100vw, 752px" />
<p id="caption-attachment-3563" class="wp-caption-text">
安裝完畢
</p>
</div>
<p> </p>
<h2 id="軟體註冊"><a href="https://becoder.org/fonepaw-data-recovery/#軟體註冊" class="anchor-link" aria-label="軟體註冊"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/fonepaw-data-recovery/#contents:軟體註冊" class="headings">軟體註冊</a></h2>
<p>在安裝完畢後,可以選擇是否要購買這套軟體,一次買斷 990 元台幣個人認為還算不錯,現在很多軟體都採訂閱制了,想要買斷可能還買不到XD,至於值不值得就請大家自行評估了</p>
<p id="fkEVvPu">
<img loading="lazy" width="948" height="309" class="alignnone size-full wp-image-3564 " src="https://becoder.org/wp-content/uploads/2020/05/img_5ecff360ee4ba.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/05/img_5ecff360ee4ba.png 948w, https://becoder.org/wp-content/uploads/2020/05/img_5ecff360ee4ba-300x98.png 300w" sizes="(max-width: 948px) 100vw, 948px" />
</p>
<p> </p>
<p>如果你沒有買的話可以先選「稍後註冊」,先試用再決定是否要購買:</p>
<p id="gaWxBMu">
<img loading="lazy" width="679" height="373" class="alignnone size-full wp-image-3565 " src="https://becoder.org/wp-content/uploads/2020/05/img_5ecff3c4d366d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/05/img_5ecff3c4d366d.png 679w, https://becoder.org/wp-content/uploads/2020/05/img_5ecff3c4d366d-300x165.png 300w" sizes="(max-width: 679px) 100vw, 679px" />
</p>
<p> </p>
<p>在輸入序號後很貼心的告訴你還有 E-mail 的技術支援、30天退款保證:</p>
<p id="JAbagmS">
<img loading="lazy" width="951" height="357" class="alignnone size-full wp-image-3566 " src="https://becoder.org/wp-content/uploads/2020/05/img_5ecff42fe0b01.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/05/img_5ecff42fe0b01.png 951w, https://becoder.org/wp-content/uploads/2020/05/img_5ecff42fe0b01-300x113.png 300w" sizes="(max-width: 951px) 100vw, 951px" />
</p>
<p> </p>
<h2 id="資料救援測試"><a href="https://becoder.org/fonepaw-data-recovery/#資料救援測試" class="anchor-link" aria-label="資料救援測試"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/fonepaw-data-recovery/#contents:資料救援測試" class="headings">資料救援測試</a></h2>
<p>FonePaw Data Recovery 支援這些設備的資料救援:</p>
<ul>
<li>硬碟</li>
<li>隨身碟</li>
<li>記憶卡</li>
<li>資源回收桶</li>
</ul>
<p>個人認為最常用的應該是記憶卡了,以前買記憶卡總有個傳說:「珍惜資料、遠離XX」,我自己也遇過幾次,從那時候起我也不買那家的記憶卡了,這年頭他們出了 SSD 我也不敢買XD(個人經歷僅供參考..不過我自己是都買美光啦)</p>
<p>資料救援有個很重要的原則,<span style="color: #ff0000;">在你誤砍檔案的當下,請停止對該儲存裝置做任何寫入</span>。</p>
<p>簡單來說,硬碟中有個表格是用來紀錄「某檔案」是存在於硬碟「某個位置」,你可以想成 Google Map 可以用「交通大學」找到交大的地址;在刪除檔案的當下,系統只是把這個對應的關係從表格內移除,但是那個檔案其實還存在你的硬碟之中,處於一種可以被蓋掉的狀態,假設某天「交通大學」被 Google Map 內移除,但是在拆掉建築物之前,你還是可以走路進去亂逛的。</p>
<p>小小科普結束,現在來測試一下這套軟體的能力</p>
<h3 id="檔案刪除測試"><a href="https://becoder.org/fonepaw-data-recovery/#檔案刪除測試" class="anchor-link" aria-label="檔案刪除測試"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/fonepaw-data-recovery/#contents:檔案刪除測試" class="headings">檔案刪除測試</a></h3>
<p>實驗環境我使用虛擬機新增了一顆硬碟,並在裡面新增一個文字檔後, Shift+Del 刪除(不經過資源回收桶)</p>
<div id="attachment_3569" style="width: 491px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3569" loading="lazy" class="wp-image-3569 size-full" style="font-weight: bold; background-color: transparent;" src="https://becoder.org/wp-content/uploads/2020/06/img_5ed4fea8d02f2.png" alt="" width="481" height="323" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed4fea8d02f2.png 481w, https://becoder.org/wp-content/uploads/2020/06/img_5ed4fea8d02f2-300x201.png 300w" sizes="(max-width: 481px) 100vw, 481px" />
<p id="caption-attachment-3569" class="wp-caption-text">
新增文字檔
</p>
</div>
<p> </p>
<div id="attachment_3571" style="width: 492px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3571" loading="lazy" class="wp-image-3571 size-full" src="https://becoder.org/wp-content/uploads/2020/06/img_5ed4feebb6f51.png" alt="" width="482" height="242" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed4feebb6f51.png 482w, https://becoder.org/wp-content/uploads/2020/06/img_5ed4feebb6f51-300x151.png 300w" sizes="(max-width: 482px) 100vw, 482px" />
<p id="caption-attachment-3571" class="wp-caption-text">
Shift + Del
</p>
</div>
<p> </p>
<p>再來直接打開 FonePaw Data Recovery ,選擇目標硬碟後「掃描」</p>
<div id="attachment_3573" style="width: 1138px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3573" loading="lazy" class="wp-image-3573 size-full" src="https://becoder.org/wp-content/uploads/2020/06/img_5ed4ff97c8e13.png" alt="" width="1128" height="700" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed4ff97c8e13.png 1128w, https://becoder.org/wp-content/uploads/2020/06/img_5ed4ff97c8e13-300x186.png 300w, https://becoder.org/wp-content/uploads/2020/06/img_5ed4ff97c8e13-1024x635.png 1024w" sizes="(max-width: 1128px) 100vw, 1128px" />
<p id="caption-attachment-3573" class="wp-caption-text">
檔案在 E 磁碟
</p>
</div>
<p> </p>
<p>因為檔案數量少,所以一下子就掃到了!選取後還原到你想要放的地方,我這邊還原到「桌面」</p>
<p id="kOLmxCi">
<img loading="lazy" width="573" height="421" class="alignnone size-full wp-image-3575 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed50054adc3e.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed50054adc3e.png 573w, https://becoder.org/wp-content/uploads/2020/06/img_5ed50054adc3e-300x220.png 300w" sizes="(max-width: 573px) 100vw, 573px" />
</p>
<p id="zgWBhDs">
<img loading="lazy" width="1119" height="692" class="alignnone size-full wp-image-3576 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed500b0564c4.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed500b0564c4.png 1119w, https://becoder.org/wp-content/uploads/2020/06/img_5ed500b0564c4-300x186.png 300w, https://becoder.org/wp-content/uploads/2020/06/img_5ed500b0564c4-1024x633.png 1024w" sizes="(max-width: 1119px) 100vw, 1119px" />
</p>
<p> </p>
<p>如果真的找不到可以使用「深度掃描」,但是比較花時間:</p>
<p id="nfagOST">
<img loading="lazy" width="1117" height="696" class="alignnone size-full wp-image-3577 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed501299ad81.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed501299ad81.png 1117w, https://becoder.org/wp-content/uploads/2020/06/img_5ed501299ad81-300x187.png 300w, https://becoder.org/wp-content/uploads/2020/06/img_5ed501299ad81-1024x638.png 1024w" sizes="(max-width: 1117px) 100vw, 1117px" />
</p>
<p> </p>
<h3 id="檔案還原"><a href="https://becoder.org/fonepaw-data-recovery/#檔案還原" class="anchor-link" aria-label="檔案還原"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/fonepaw-data-recovery/#contents:檔案還原" class="headings">檔案還原</a></h3>
<p>我這邊選擇桌面來存放還原的檔案</p>
<p id="JRlNSJY">
<img loading="lazy" width="1115" height="688" class="alignnone size-full wp-image-3578 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed501fb3c400.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed501fb3c400.png 1115w, https://becoder.org/wp-content/uploads/2020/06/img_5ed501fb3c400-300x185.png 300w, https://becoder.org/wp-content/uploads/2020/06/img_5ed501fb3c400-1024x632.png 1024w" sizes="(max-width: 1115px) 100vw, 1115px" />
</p>
<div id="attachment_3579" style="width: 623px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3579" loading="lazy" class="wp-image-3579 size-full" src="https://becoder.org/wp-content/uploads/2020/06/img_5ed5022e7ea24.png" alt="" width="613" height="395" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed5022e7ea24.png 613w, https://becoder.org/wp-content/uploads/2020/06/img_5ed5022e7ea24-300x193.png 300w" sizes="(max-width: 613px) 100vw, 613px" />
<p id="caption-attachment-3579" class="wp-caption-text">
還原成功
</p>
</div>
<p> </p>
<p>成功後會在目的地依照檔案種類建立分類,非常好找檔案</p>
<p id="PSvMSln">
<img loading="lazy" width="253" height="250" class="alignnone size-full wp-image-3580 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed50293c7ea5.png" alt="" />
</p>
<p> </p>
<h2 id="格式化測試"><a href="https://becoder.org/fonepaw-data-recovery/#格式化測試" class="anchor-link" aria-label="格式化測試"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/fonepaw-data-recovery/#contents:格式化測試" class="headings">格式化測試</a></h2>
<p>這次測試狠一點,一次把所有種類的檔案都存進磁碟 E,並且對整個磁碟進行格式化,我總共放了這些檔案在 E 磁碟、桌面(用來比對是否正確還原):</p>
<p id="eqLOsnM">
<img loading="lazy" width="772" height="533" class="alignnone size-full wp-image-3581 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed505616c399.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed505616c399.png 772w, https://becoder.org/wp-content/uploads/2020/06/img_5ed505616c399-300x207.png 300w" sizes="(max-width: 772px) 100vw, 772px" />
</p>
<p> </p>
<p>再來直接格式化整個硬碟:</p>
<p id="YXsehrZ">
<img loading="lazy" width="367" height="577" class="alignnone size-full wp-image-3582 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed505d4dece0.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed505d4dece0.png 367w, https://becoder.org/wp-content/uploads/2020/06/img_5ed505d4dece0-191x300.png 191w" sizes="(max-width: 367px) 100vw, 367px" />
</p>
<p> </p>
<p>開始掃描,不過因為「快速掃描」找不到東西,會自動執行「深度掃描」:</p>
<div id="attachment_3583" style="width: 1140px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3583" loading="lazy" class="wp-image-3583 size-full" src="https://becoder.org/wp-content/uploads/2020/06/img_5ed5063423dc7.png" alt="" width="1130" height="695" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed5063423dc7.png 1130w, https://becoder.org/wp-content/uploads/2020/06/img_5ed5063423dc7-300x185.png 300w, https://becoder.org/wp-content/uploads/2020/06/img_5ed5063423dc7-1024x630.png 1024w" sizes="(max-width: 1130px) 100vw, 1130px" />
<p id="caption-attachment-3583" class="wp-caption-text">
選擇硬碟後按下「掃描」
</p>
</div>
<p> </p>
<div id="attachment_3584" style="width: 1141px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3584" loading="lazy" class="wp-image-3584 size-full" src="https://becoder.org/wp-content/uploads/2020/06/img_5ed5065c4c146.png" alt="" width="1131" height="700" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed5065c4c146.png 1131w, https://becoder.org/wp-content/uploads/2020/06/img_5ed5065c4c146-300x186.png 300w, https://becoder.org/wp-content/uploads/2020/06/img_5ed5065c4c146-1024x634.png 1024w" sizes="(max-width: 1131px) 100vw, 1131px" />
<p id="caption-attachment-3584" class="wp-caption-text">
快速掃描找不到被格式化的資料,會自動執行深度掃描
</p>
</div>
<p> </p>
<p>掃描完畢,這次我就全部還原一個一個找看看檔案是不是都有正確還原</p>
<p id="iYHrmJe">
<img loading="lazy" width="1123" height="817" class="alignnone size-full wp-image-3585 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed509723114b.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/06/img_5ed509723114b.png 1123w, https://becoder.org/wp-content/uploads/2020/06/img_5ed509723114b-300x218.png 300w, https://becoder.org/wp-content/uploads/2020/06/img_5ed509723114b-1024x745.png 1024w" sizes="(max-width: 1123px) 100vw, 1123px" />
</p>
<p> </p>
<h3 id="測試結果"><a href="https://becoder.org/fonepaw-data-recovery/#測試結果" class="anchor-link" aria-label="測試結果"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/fonepaw-data-recovery/#contents:測試結果" class="headings">測試結果</a></h3>
<p>格式化後的檔案最難救!一點也不意外,測試後成功還原的檔案如下:</p>
<ul>
<li>MP3:測試播放正常</li>
<li>PNG:圖片透明正常</li>
<li>ZIP:檔案從 14MB 變成 8MB,但用 7-zip 可以正常開啟(還原應該就會出問題了)</li>
</ul>
<p id="daezcOL">
<img loading="lazy" width="227" height="287" class="alignnone size-full wp-image-3586 " src="https://becoder.org/wp-content/uploads/2020/06/img_5ed50aec319ea.png" alt="" />
</p>
<h2 id="總結"><a href="https://becoder.org/fonepaw-data-recovery/#總結" class="anchor-link" aria-label="總結"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/fonepaw-data-recovery/#contents:總結" class="headings">總結</a></h2>
<p>FonePaw Data Recovery 這套軟體個人認為比起以前那些<strong>老牌的免費救援軟體</strong>好用不少(哪套我就不說了,還會幫你裝一些奇怪的軟體)。而且界面很好看,不需要任何技術成份就可以輕易上手,很適合一般的使用者。但是資料救援仍然只是最後防線,最重要的還是要勤作備份,自建 NAS、購買市售 NAS、購買雲端空間等,都算是幫自己買一份保險,祝福大家多多備份珍惜自己的資料,等到哪天真需要用到資料救援軟體的時候,可以考慮試試 FonePaw Data Recovery ! XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/fonepaw-data-recovery/" target="_blank" rel="noopener">https://becoder.org/fonepaw-data-recovery/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
把 Gmail 當 Mail Server 用,綁定自有網域收發信(不需架設 Mail Server)
https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/
2022-07-08T21:38:16+08:00
2020-04-18T14:21:11+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>今天發現了一個神奇的方法,不需要架設郵件伺服器就可以使用自己的網域進行收發信件,這真的太神了XD,但是這個怪招有個前提,你的網域需要是 Gandi.net 或 Google Domain 的網域。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/" target="_blank" rel="noopener">https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>今天發現了一個神奇的方法,不需要架設郵件伺服器就可以使用自己的網域進行收發信件,這真的太神了XD,但是這個怪招有個前提,你的網域需要是 Gandi.net 或 Google Domain 的網域。</p>
<p>我使用的是 Gandi.net 所買的網址,會有這兩個前提是因為他們都贈送免費的轉信服務,直接省掉自建 Server 最重要的收信部份。</p>
<h2 id="gandi設定轉信"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#gandi設定轉信" class="anchor-link" aria-label="gandi設定轉信"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:gandi設定轉信" class="headings">Gandi:設定轉信</a></h2>
<p>首先來到 Gandi 的後台設定轉信,我設定 <code>[email protected]</code> 會轉到 <code>[email protected]</code>:</p>
<p id="gKOLFbc">
<img loading="lazy" width="977" height="606" class="alignnone size-full wp-image-3514 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b014a4154d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b014a4154d.png 977w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b014a4154d-300x186.png 300w" sizes="(max-width: 977px) 100vw, 977px" />
</p>
<p>我使用 CloudFlare 代管我的網域,但是 Gandi 提供的 MX Record 記得也要設定,不然轉信會失敗。</p>
<div id="attachment_3515" style="width: 952px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3515" loading="lazy" class="wp-image-3515 size-full" src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b01be9cfa3.png" alt="" width="942" height="101" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b01be9cfa3.png 942w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b01be9cfa3-300x32.png 300w" sizes="(max-width: 942px) 100vw, 942px" />
<p id="caption-attachment-3515" class="wp-caption-text">
Gandi.net 的 MX 設定
</p>
</div>
<p>如果的網域給其他家代管,而且不知道 MX 要怎麼設定的話,請到 Gandi 的「電子郵件」那邊尋找,但是不需要設定最後一行 TXT 紀錄(如果要用 Gandi 提供的 Mail Server 就需要加入)</p>
<p id="lAUDGnB">
<img loading="lazy" width="1315" height="354" class="alignnone size-full wp-image-3527 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b19eed2285.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b19eed2285.png 1315w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b19eed2285-300x81.png 300w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b19eed2285-1024x276.png 1024w" sizes="(max-width: 1315px) 100vw, 1315px" />
</p>
<p> </p>
<h2 id="google-domain設定轉信"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#google-domain設定轉信" class="anchor-link" aria-label="google-domain設定轉信"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:google-domain設定轉信" class="headings">Google Domain:設定轉信</a></h2>
<p>進入你的網域後台,可以看到「電子郵件」選項:</p>
<p id="fwXxMkK">
<img loading="lazy" width="309" height="473" class="size-full wp-image-3537 aligncenter" src="https://becoder.org/wp-content/uploads/2020/04/img_5e9f050a3bdaf.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9f050a3bdaf.png 309w, https://becoder.org/wp-content/uploads/2020/04/img_5e9f050a3bdaf-196x300.png 196w" sizes="(max-width: 309px) 100vw, 309px" />
</p>
<p> </p>
<p>新增「電子郵件轉寄」:</p>
<p id="AWJIWnL">
<img loading="lazy" width="906" height="412" class="alignnone size-full wp-image-3538 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9f05a57dcdc.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9f05a57dcdc.png 906w, https://becoder.org/wp-content/uploads/2020/04/img_5e9f05a57dcdc-300x136.png 300w" sizes="(max-width: 906px) 100vw, 906px" />
</p>
<p> </p>
<p>你可能會發現上面提示你說你已經自訂 Name Server(我給 CloudFlare 管) 了,但請不要緊張:</p>
<p id="IkxyDgL">
<img loading="lazy" width="1217" height="295" class="alignnone size-full wp-image-3539 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9f0630cbcd3.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9f0630cbcd3.png 1217w, https://becoder.org/wp-content/uploads/2020/04/img_5e9f0630cbcd3-300x73.png 300w, https://becoder.org/wp-content/uploads/2020/04/img_5e9f0630cbcd3-1024x248.png 1024w" sizes="(max-width: 1217px) 100vw, 1217px" />
</p>
<p> </p>
<p>只要到你的後台新增 Google 所提供的 MX Record 就可以了:</p>
<p><span style="color: #ff0000;">※千萬不要設定成 G suite 的 MX,絕對不會通</span>(<a href="https://jackkuo.org/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">苦主</a> )</p>
<div id="attachment_3540" style="width: 906px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3540" loading="lazy" class="wp-image-3540 size-full" src="https://becoder.org/wp-content/uploads/2020/04/img_5e9f0691e3315.png" alt="" width="896" height="584" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9f0691e3315.png 896w, https://becoder.org/wp-content/uploads/2020/04/img_5e9f0691e3315-300x196.png 300w" sizes="(max-width: 896px) 100vw, 896px" />
<p id="caption-attachment-3540" class="wp-caption-text">
https://support.google.com/domains/answer/9428703?hl=zh-Hant
</p>
</div>
<p> </p>
<div id="attachment_3541" style="width: 1099px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3541" loading="lazy" class="wp-image-3541 size-full" src="https://becoder.org/wp-content/uploads/2020/04/img_5e9f0702999f0.png" alt="" width="1089" height="294" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9f0702999f0.png 1089w, https://becoder.org/wp-content/uploads/2020/04/img_5e9f0702999f0-300x81.png 300w, https://becoder.org/wp-content/uploads/2020/04/img_5e9f0702999f0-1024x276.png 1024w" sizes="(max-width: 1089px) 100vw, 1089px" />
<p id="caption-attachment-3541" class="wp-caption-text">
CloudFlare 新增 MX Record
</p>
</div>
<p> </p>
<h2 id="設定-spf-紀錄"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#設定-spf-紀錄" class="anchor-link" aria-label="設定-spf-紀錄"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:設定-spf-紀錄" class="headings">設定 SPF 紀錄</a></h2>
<p>SPF 紀錄是 Mail Server 收到你的信的時候,會去查詢這個 Domain 的 DNS,SPF 紀錄會寫「允許使用這個 Domain 寄信的主機」,為了要讓 Gmail 可以使用我們的 Domain 寄出信件,在 DNS 中新增 TXT 紀錄:</p>
<p><code>v=spf1 include:_spf.google.com ~all</code></p>
<div id="attachment_3513" style="width: 652px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3513" loading="lazy" class="wp-image-3513 size-full" style="font-weight: bold; background-color: transparent;" src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b0024f4140.png" alt="" width="642" height="205" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b0024f4140.png 642w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b0024f4140-300x96.png 300w" sizes="(max-width: 642px) 100vw, 642px" />
<p id="caption-attachment-3513" class="wp-caption-text">
新增 SPF 紀錄,直接引用 Google 的設定
</p>
</div>
<p> </p>
<h2 id="修改-gmail-的-sender-欄位"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#修改-gmail-的-sender-欄位" class="anchor-link" aria-label="修改-gmail-的-sender-欄位"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:修改-gmail-的-sender-欄位" class="headings">修改 Gmail 的 Sender 欄位</a></h2>
<p>最重要的部份來了,修改了 Sender 欄位,其他人收到信時,寄件者會是你想要的網域名稱,在我剛剛的範例中,我需要把 Sender 改成 <code>[email protected]</code>。</p>
<p> </p>
<h3 id="產生應用程式密碼"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#產生應用程式密碼" class="anchor-link" aria-label="產生應用程式密碼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:產生應用程式密碼" class="headings">產生應用程式密碼</a></h3>
<p>在開始之前請先打開你的 「Google 兩步驟驗證」才會有「應用程式密碼」功能:<a href="https://myaccount.google.com/signinoptions/two-step-verification/enroll-welcome" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer"><a href="https://myaccount.google.com/signinoptions/two-step-verification/enroll-welcome" target="_blank" rel="noopener">https://myaccount.google.com/signinoptions/two-step-verification/enroll-welcome</a></a></p>
<p>確認有打開後,申請一組 Gmail 的應用程式密碼:<a href="https://myaccount.google.com/apppasswords" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer"><a href="https://myaccount.google.com/apppasswords" target="_blank" rel="noopener">https://myaccount.google.com/apppasswords</a></a></p>
<p> </p>
<p id="ASAlMKG">
<img loading="lazy" width="785" height="623" class="size-full wp-image-3516 aligncenter" src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b06546ecb0.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b06546ecb0.png 785w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b06546ecb0-300x238.png 300w" sizes="(max-width: 785px) 100vw, 785px" />
</p>
<p> </p>
<p id="nkUqkEm">
<img loading="lazy" width="742" height="509" class="alignnone size-full wp-image-3517 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b069a97649.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b069a97649.png 742w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b069a97649-300x206.png 300w" sizes="(max-width: 742px) 100vw, 742px" />
</p>
<p> </p>
<h3 id="gmail-新增另一個電子郵件地址"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#gmail-新增另一個電子郵件地址" class="anchor-link" aria-label="gmail-新增另一個電子郵件地址"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:gmail-新增另一個電子郵件地址" class="headings">Gmail 新增另一個電子郵件地址</a></h3>
<p>這個動作是為了修改 Sender 欄位,Gmail 的界面是不讓你修改的,只能透過這個方法修改 Sender ,雖然他界面沒有做出修改 Sender 的部份,但這件事情 Gmail 是允許的。</p>
<p>在取得應用程式密碼後,到 Gmail 的「設定」→「帳戶與匯入」→「選擇寄件地址」→「新增另一個電子郵件地址」,輸入剛剛在 Gandi.net/Google Domain 設定的轉信地址後下一部,我使用 <code>[email protected]</code>:</p>
<p id="CGZYYcw">
<img loading="lazy" width="477" height="266" class="alignnone size-full wp-image-3518 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b076fa2bc7.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b076fa2bc7.png 477w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b076fa2bc7-300x167.png 300w" sizes="(max-width: 477px) 100vw, 477px" />
</p>
<p> </p>
<ul>
<li>SMTP伺服器請設為 smtp.gmail.com:587</li>
<li>使用者名稱為 Gmail 帳號(不含 @gmail.com)</li>
<li>密碼貼上剛剛產生的應用程式密碼</li>
<li>選擇 TLS 加密連線</li>
</ul>
<p id="nqOzTWU">
<img loading="lazy" width="541" height="304" class="alignnone size-full wp-image-3519 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b085939e32.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b085939e32.png 541w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b085939e32-300x169.png 300w" sizes="(max-width: 541px) 100vw, 541px" />
</p>
<p> </p>
<p>按下「新增帳戶」後,因為剛剛有設定轉信了,所以會直接收到驗證信,照信中說明進行驗證:</p>
<p id="KjEkCVc">
<img loading="lazy" width="708" height="355" class="alignnone size-full wp-image-3520 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b08dd20e0d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b08dd20e0d.png 708w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b08dd20e0d-300x150.png 300w" sizes="(max-width: 708px) 100vw, 708px" />
</p>
<p> </p>
<p>再回到 Gmail 的「設定」→「帳戶與匯入」→「選擇寄件地址」,可以選擇把剛剛新增的 <code>[email protected]</code> 設為預設寄件者,以及「回覆郵件時,來自和郵件傳送地址相同位置的回覆」</p>
<img loading="lazy" width="736" height="239" class="alignnone size-full wp-image-3521 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b09622f5aa.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b09622f5aa.png 736w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b09622f5aa-300x97.png 300w" sizes="(max-width: 736px) 100vw, 736px" />
<p> </p>
<h2 id="測試寄信"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#測試寄信" class="anchor-link" aria-label="測試寄信"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:測試寄信" class="headings">測試寄信</a></h2>
<p>如此一來就可透過 <code>[email protected]</code> 進行寄信了:</p>
<p id="iOcMDwC">
<img loading="lazy" width="408" height="226" class="alignnone size-full wp-image-3522 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b0a4c8366c.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b0a4c8366c.png 408w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b0a4c8366c-300x166.png 300w" sizes="(max-width: 408px) 100vw, 408px" />
</p>
<h2 id="測試收信"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#測試收信" class="anchor-link" aria-label="測試收信"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:測試收信" class="headings">測試收信</a></h2>
<p id="hZFgrox">
<img loading="lazy" width="578" height="291" class="alignnone size-full wp-image-3523 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e9b0aec912a2.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9b0aec912a2.png 578w, https://becoder.org/wp-content/uploads/2020/04/img_5e9b0aec912a2-300x151.png 300w" sizes="(max-width: 578px) 100vw, 578px" />
</p>
<p> </p>
<h2 id="結論"><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#結論" class="anchor-link" aria-label="結論"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/#contents:結論" class="headings">結論</a></h2>
<p>透過這個方法就可以使用自己的 Domain 收發信件了,並且不需要架設 Mail Server,但卻是許多 soho 族、小公司的福音,可以用最低成本(只需要購買網域)達成自訂網域寄信的需求。(其實是偷吃步阿)</p>
<p>這個作法也是有小小風險的,不過不用太擔心,有下面幾點:</p>
<ol>
<li>Gandi、Google Domain 停止提供轉信服務:直接再見了,不過應該不可能XD</li>
<li>Gmail 修改政策,不允許修改 Sender 寄信:這也不用太擔心,只要你的轉信功能還活著,信就不會掉,頂多不能使用自訂的網域寄信而已(改用原本的 Gmail 帳號寄信)</li>
</ol>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/" target="_blank" rel="noopener">https://becoder.org/using-gmail-as-a-mail-server-with-own-domain-name/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
解決 Gmail 管理 Postfix 出現「TLS Negotiation failed, the certificate doesn’t match the host.」問題
https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/
2022-07-08T21:38:16+08:00
2020-04-13T14:03:33+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>昨天下午太無聊就 Vultr 架了一台 Postfix + Dovecot + spf + DKIM + DMARC 的 Mail Server 來完,後來想說直接用 Gmail 當 SMTP Client ,結果寄信的時候卻遇到這個問題:TLS Negotiation failed, the certificate doesn’t match the host.</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/" target="_blank" rel="noopener">https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>昨天下午太無聊就 Vultr 架了一台 Postfix + Dovecot + spf + DKIM + DMARC 的 Mail Server 來完,後來想說直接用 Gmail 當 SMTP Client ,結果寄信的時候卻遇到這個問題:TLS Negotiation failed, the certificate doesn’t match the host.</p>
<p id="QYnHFZw">
<img loading="lazy" width="664" height="400" class="size-full wp-image-3502 aligncenter" src="https://becoder.org/wp-content/uploads/2020/04/img_5e9469381502b.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9469381502b.png 664w, https://becoder.org/wp-content/uploads/2020/04/img_5e9469381502b-300x181.png 300w" sizes="(max-width: 664px) 100vw, 664px" />
</p>
<p> </p>
<p>查了一下,這問題最近一大票人遇到,感覺其中一定有鬼:</p>
<div id="attachment_3503" style="width: 880px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3503" loading="lazy" class="wp-image-3503 size-full" src="https://becoder.org/wp-content/uploads/2020/04/img_5e9469b899b04.png" alt="" width="870" height="551" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e9469b899b04.png 870w, https://becoder.org/wp-content/uploads/2020/04/img_5e9469b899b04-300x190.png 300w" sizes="(max-width: 870px) 100vw, 870px" />
<p id="caption-attachment-3503" class="wp-caption-text">
https://support.google.com/mail/thread/38789651
</p>
</div>
<p> </p>
<p>果不其然是 Google 修改政策,提高 Gmail 的安全層級,必須要使用正確的 TLS 憑證才能連線,讓很多使用 Gmail 作為 Client 的人沒辦法寄信.XD</p>
<p>詳情可以參考 Google 官方部落格:<a href="https://gsuiteupdates.googleblog.com/2020/04/improve-email-security-in-gmail-with-TLS.html" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">Improve email security in Gmail with TLS by default and other new features</a></p>
<p> </p>
<h2 id="檢查憑證"><a href="https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/#檢查憑證" class="anchor-link" aria-label="檢查憑證"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/#contents:檢查憑證" class="headings">檢查憑證</a></h2>
<p>請使用這個指令檢查你的 Postfix 的憑證是否正確:</p>
<p><code>openssl s_client -connect smtp.example.com:587 -starttls smtp</code></p>
<p> </p>
<p>其中這兩個框的 Domain Name 必須相同,我是使用 <a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/" target="_blank" rel="noopener">acme.sh</a> 幫我自動更新憑證。</p>
<p id="mKeqrSc">
<img loading="lazy" width="768" height="288" class="alignnone size-full wp-image-3505 " src="https://becoder.org/wp-content/uploads/2020/04/img_5e946bbfa2d92.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/04/img_5e946bbfa2d92.png 768w, https://becoder.org/wp-content/uploads/2020/04/img_5e946bbfa2d92-300x113.png 300w" sizes="(max-width: 768px) 100vw, 768px" />
</p>
<p> </p>
<h2 id="檢查-postfix-憑證"><a href="https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/#檢查-postfix-憑證" class="anchor-link" aria-label="檢查-postfix-憑證"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/#contents:檢查-postfix-憑證" class="headings">檢查 Postfix 憑證</a></h2>
<p> </p>
<p>以 Let’s Encrypt 來說,憑證必須設定正確,我在這邊卡了一天QQ,必須使用 <code>mail.example.com-fullchain.crt</code> ,不可使用 <code>mail.example.com.crt</code> ,不然會跟我一樣浪費時間 QQ</p>
<p><code>smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com-fullchain.crt<br /> smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key</code></p>
<p> </p>
<p>大概就這樣子了,最近在研究 Proxmox Mail Gateway,找時間再把一些實驗的過程寫上來好了~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/" target="_blank" rel="noopener">https://becoder.org/gmail-smtp-postfix-tls-negotiation-failed-resolution/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
簡單使用 Proxmox VE 內建的 NAT 功能
https://becoder.org/proxmox-ve-nat-easy/
2022-07-08T21:38:16+08:00
2020-03-31T11:04:29+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>不需要安裝任何軟體,只要小小改一下 vmid.conf 就可以做到了:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/proxmox-ve-nat-easy/" target="_blank" rel="noopener">https://becoder.org/proxmox-ve-nat-easy/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>不需要安裝任何軟體,只要小小改一下 vmid.conf 就可以做到了:</p>
<p>編輯 <code>/etc/pve/qemu/VMID.conf</code>,移除 ,bridge=vmbrX 後存檔:</p>
<p id="OsSFHaR">
<img loading="lazy" width="405" height="130" class="alignnone size-full wp-image-3497 " src="https://becoder.org/wp-content/uploads/2020/03/img_5e83162bdab10.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/03/img_5e83162bdab10.png 405w, https://becoder.org/wp-content/uploads/2020/03/img_5e83162bdab10-300x96.png 300w" sizes="(max-width: 405px) 100vw, 405px" />
</p>
<p> </p>
<p>開機即可使用:</p>
<p id="rerLsHu">
<img loading="lazy" width="797" height="495" class="alignnone size-full wp-image-3498 " src="https://becoder.org/wp-content/uploads/2020/03/img_5e83237be5bf4.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/03/img_5e83237be5bf4.png 797w, https://becoder.org/wp-content/uploads/2020/03/img_5e83237be5bf4-300x186.png 300w" sizes="(max-width: 797px) 100vw, 797px" />
</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/proxmox-ve-nat-easy/" target="_blank" rel="noopener">https://becoder.org/proxmox-ve-nat-easy/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Proxmox VE 自建 NAS 使用心得
https://becoder.org/proxmox-ve-diy-nas-experience/
2022-07-08T21:38:16+08:00
2020-03-25T15:37:47+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這篇來寫一下自建 NAS 用了約 7 個月的心得,提供給想 DIY 的人參考</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/proxmox-ve-diy-nas-experience/" target="_blank" rel="noopener">https://becoder.org/proxmox-ve-diy-nas-experience/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這篇來寫一下自建 NAS 用了約 7 個月的心得,提供給想 DIY 的人參考</p>
<h2 id="優點"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#優點" class="anchor-link" aria-label="優點"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:優點" class="headings">優點</a></h2>
<h3 id="優點一省錢"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#優點一省錢" class="anchor-link" aria-label="優點一省錢"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:優點一省錢" class="headings">優點一:省錢</a></h3>
<p>會想自建的 NAS 的人多半是想省錢,而我使用的硬體是 J1900 + 4GB 記憶體,其實就是大家唾棄的<strong>蝸牛星際</strong>主機啦,那時候加運費成本只要 2000 元台幣,而且還是朋友送的實驗機,個人只花了硬碟的錢,也是大家唾棄的<strong>淘寶 HGST 3TB</strong> 企業碟,一顆1500 台幣,我買了 4 顆做 RAID10(zfs) ,不用白不用阿!</p>
<p>基本上我的 NAS 其實只花了 5000 元台幣,3 顆 3TB 新硬碟 + 1 顆桌機拆下來的 3TB 硬碟,再花 400 元買了台達的二手 PSU(我不想被 PSU 炸硬碟 XD) 。</p>
<h3 id="優點二內網存取openmediavault"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#優點二內網存取openmediavault" class="anchor-link" aria-label="優點二內網存取openmediavault"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:優點二內網存取openmediavault" class="headings">優點二:內網存取:OpenMediaVault</a></h3>
<p>基本上用 NAS 就是要吃滿他的網路孔,我的蝸牛星際是雙 Port 的版本,可以一條接 Switch、另外一條 PC 對接,或是對接到其他伺服器作為 NFS 空間。</p>
<div id="attachment_3478" style="width: 756px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3478" loading="lazy" class="wp-image-3478 size-full" src="https://becoder.org/wp-content/uploads/2020/03/img_5e7b7386e6e51.png" alt="" width="746" height="901" srcset="https://becoder.org/wp-content/uploads/2020/03/img_5e7b7386e6e51.png 746w, https://becoder.org/wp-content/uploads/2020/03/img_5e7b7386e6e51-248x300.png 248w" sizes="(max-width: 746px) 100vw, 746px" />
<p id="caption-attachment-3478" class="wp-caption-text">
可以透過 CIFS 讀寫 NextCloud 中的檔案
</p>
</div>
<p> </p>
<h3 id="優點三外網分享手機照片備份nextcloud"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#優點三外網分享手機照片備份nextcloud" class="anchor-link" aria-label="優點三外網分享手機照片備份nextcloud"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:優點三外網分享手機照片備份nextcloud" class="headings">優點三:外網分享、手機照片備份:NextCloud</a></h3>
<p>NextCloud 的便利就不再特別說明了,有很多套件可以慢慢玩,裡面的功能保證用不完XD;臨時要分享檔案給朋友只要拉到 Windows 掛載的 CIFS 空間,再到 NextCloud 的頁面產生連結就可以了。</p>
<p>手機照片備份方面,我是用 NextCloud + Google Photos 作為異地備援,再也不用擔心照片消失,因為我是 iPhone,所以也不用再特別買 iCloud 了。</p>
<div id="attachment_3477" style="width: 760px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3477" loading="lazy" class="wp-image-3477 size-full" src="https://becoder.org/wp-content/uploads/2020/03/2020-03-25-5877.png" alt="" width="750" height="1624" srcset="https://becoder.org/wp-content/uploads/2020/03/2020-03-25-5877.png 750w, https://becoder.org/wp-content/uploads/2020/03/2020-03-25-5877-139x300.png 139w, https://becoder.org/wp-content/uploads/2020/03/2020-03-25-5877-473x1024.png 473w, https://becoder.org/wp-content/uploads/2020/03/2020-03-25-5877-709x1536.png 709w" sizes="(max-width: 750px) 100vw, 750px" />
<p id="caption-attachment-3477" class="wp-caption-text">
NextCloud 的 APP 可以自動備份手機相片
</p>
</div>
<p> </p>
<p>NextCloud 提供的 Client 也非常好用,人在外面時一樣可以備份電腦的資料到 NAS 裡面,NAS 再幫我丟到 Google Drive:</p>
<p id="XSWUUhm">
<img loading="lazy" width="459" height="515" class="alignnone size-full wp-image-3482 " src="https://becoder.org/wp-content/uploads/2020/03/img_5e7b756e92d7d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/03/img_5e7b756e92d7d.png 459w, https://becoder.org/wp-content/uploads/2020/03/img_5e7b756e92d7d-267x300.png 267w" sizes="(max-width: 459px) 100vw, 459px" />
</p>
<p> </p>
<h3 id="優點四自動快照zfs"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#優點四自動快照zfs" class="anchor-link" aria-label="優點四自動快照zfs"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:優點四自動快照zfs" class="headings">優點四:自動快照:ZFS</a></h3>
<p>因為底層是 Proxmox VE,理所當然要多多利用 ZFS 的快照功能,市面上的 NAS 進幾年因為勒索病毒,大部分都有推「快照」的功能,我不需要花錢(花的是時間,時間=金錢,請自行判斷值不值得)就可以做到一樣的功能了。</p>
<p id="ShYOWlR">
<img loading="lazy" width="647" height="250" class="alignnone size-full wp-image-3490 " src="https://becoder.org/wp-content/uploads/2020/03/img_5e7b7eb78aeaa.png" alt="" srcset="https://becoder.org/wp-content/uploads/2020/03/img_5e7b7eb78aeaa.png 647w, https://becoder.org/wp-content/uploads/2020/03/img_5e7b7eb78aeaa-300x116.png 300w" sizes="(max-width: 647px) 100vw, 647px" />
</p>
<p> </p>
<h3 id="優點五自動備份至-gsuite-無限容量空間duplicati"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#優點五自動備份至-gsuite-無限容量空間duplicati" class="anchor-link" aria-label="優點五自動備份至-gsuite-無限容量空間duplicati"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:優點五自動備份至-gsuite-無限容量空間duplicati" class="headings">優點五:自動備份至 Gsuite 無限容量空間:Duplicati</a></h3>
<p>因為 J1900 不強,需要搭配好備份時間(半夜 2 點開始備份),避開日常使用的時間,以免效能不足。</p>
<div id="attachment_3479" style="width: 1180px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3479" loading="lazy" class="wp-image-3479 size-full" src="https://becoder.org/wp-content/uploads/2020/03/img_5e7b74011f4f6.png" alt="" width="1170" height="764" srcset="https://becoder.org/wp-content/uploads/2020/03/img_5e7b74011f4f6.png 1170w, https://becoder.org/wp-content/uploads/2020/03/img_5e7b74011f4f6-300x196.png 300w, https://becoder.org/wp-content/uploads/2020/03/img_5e7b74011f4f6-1024x669.png 1024w" sizes="(max-width: 1170px) 100vw, 1170px" />
<p id="caption-attachment-3479" class="wp-caption-text">
整台 NAS 的資料全部加密後丟上 Google Drive
</p>
</div>
<div id="attachment_3492" style="width: 664px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3492" loading="lazy" class="wp-image-3492 size-full" src="https://becoder.org/wp-content/uploads/2020/03/img_5e7b7f0dcd1ed.png" alt="" width="654" height="567" srcset="https://becoder.org/wp-content/uploads/2020/03/img_5e7b7f0dcd1ed.png 654w, https://becoder.org/wp-content/uploads/2020/03/img_5e7b7f0dcd1ed-300x260.png 300w" sizes="(max-width: 654px) 100vw, 654px" />
<p id="caption-attachment-3492" class="wp-caption-text">
增量備份,只用了 756 GB
</p>
</div>
<p> </p>
<h3 id="優點六nfs-提供其他機器存取檔案"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#優點六nfs-提供其他機器存取檔案" class="anchor-link" aria-label="優點六nfs-提供其他機器存取檔案"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:優點六nfs-提供其他機器存取檔案" class="headings">優點六:NFS 提供其他機器存取檔案</a></h3>
<p>我是設定成 NFS 會 Share 我 NextCloud 中的 ISO 資料夾給其他 PVE 主機使用,在使用其他 Proxmox VE 的時候可以直接存取到我 NextCloud 中的 ISO,不需要透過 PVE webui 上傳檔案</p>
<p> </p>
<h2 id="缺點"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#缺點" class="anchor-link" aria-label="缺點"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:缺點" class="headings">缺點</a></h2>
<h3 id="缺點一需要花時間調校"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#缺點一需要花時間調校" class="anchor-link" aria-label="缺點一需要花時間調校"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:缺點一需要花時間調校" class="headings">缺點一:需要花時間調校</a></h3>
<p>沒有任何基礎的人想學可能要付出更多的時間來學習,但我自己認為這是自我提昇的一部分,可以學到一些比較特別的用法,比較建議預算不足時間充裕的人來玩。</p>
<p> </p>
<h3 id="缺點二使用-nextcloud-需要-public-ip"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#缺點二使用-nextcloud-需要-public-ip" class="anchor-link" aria-label="缺點二使用-nextcloud-需要-public-ip"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:缺點二使用-nextcloud-需要-public-ip" class="headings">缺點二:使用 NextCloud 需要 Public IP</a></h3>
<p>這部份是任何 NAS 都會遇到的問題了,不過品牌 NAS 會提供一些服務讓沒有外網 IP 的人也可以在外面連回家,但速度如何我就不清楚了。</p>
<p> </p>
<h3 id="缺點三硬體效能不足"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#缺點三硬體效能不足" class="anchor-link" aria-label="缺點三硬體效能不足"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:缺點三硬體效能不足" class="headings">缺點三:硬體效能不足</a></h3>
<p>J1900 在讀取 NextCloud 上面大量照片的時候,跑縮圖常常會吃滿 CPU,這就是硬體瓶頸了,但是每次只要想到他不用錢,就會繼續開心使用了XD,也不會有換板子的念頭,等到那天到來肯定是直接再組一台新的了。</p>
<p> </p>
<h2 id="總結"><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#總結" class="anchor-link" aria-label="總結"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/proxmox-ve-diy-nas-experience/#contents:總結" class="headings">總結</a></h2>
<p>用簡單一個表格來總結一下:</p>
<div class="table-container"><table width="298">
<tr>
<td style="text-align: center;" width="72">
</td>
<pre><code><td style="text-align: center;" width="124">
有時間
</td>
<td style="text-align: center;" width="102">
沒時間
</td>
</code></pre>
</tr>
<tr>
<td style="text-align: center;">
有錢
</td>
<pre><code><td style="text-align: center;">
自組+硬體效能
</td>
<td style="text-align: center;">
買現成
</td>
</code></pre>
</tr>
<tr>
<td style="text-align: center;">
沒錢
</td>
<pre><code><td style="text-align: center;">
自組+便宜好用
</td>
<td style="text-align: center;">
Google Drive 教育板
</td>
</code></pre>
</tr>
</table></div>
<p> </p>
<p>有興趣的人再自己評估囉,祝大家身體健康~順利度過疫情~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/proxmox-ve-diy-nas-experience/" target="_blank" rel="noopener">https://becoder.org/proxmox-ve-diy-nas-experience/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
FreeBSD 解決 Single User Mode 修改檔案時 Readonly
https://becoder.org/freebsd-resolve-single-user-mode-readonly/
2022-07-08T22:41:57+08:00
2020-01-06T03:05:17+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在進入 Single User Mode 之後,在 Console 輸入:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/freebsd-resolve-single-user-mode-readonly/" target="_blank" rel="noopener">https://becoder.org/freebsd-resolve-single-user-mode-readonly/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在進入 Single User Mode 之後,在 Console 輸入:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">mount -u -w /
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>這樣就可以使用 <code>vim</code> 去修改 <code>/etc/rc.conf</code> 了</p>
<p>Ref: <a href="https://forums.freebsd.org/threads/read-only-file-not-written-use-to-override.12540/" target="_blank" rel="noopener">https://forums.freebsd.org/threads/read-only-file-not-written-use-to-override.12540/</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/freebsd-resolve-single-user-mode-readonly/" target="_blank" rel="noopener">https://becoder.org/freebsd-resolve-single-user-mode-readonly/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
快速修正檔案權限、資料夾權限
https://becoder.org/repair-files-dirs-permission/
2022-07-08T22:56:35+08:00
2019-12-23T23:30:22+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>將所有資料夾設為 775:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">find . -type d -exec chmod <span class="m">775</span> <span class="o">{}</span> <span class="se">\;</span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>將所有檔案設為 664:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">find . -type f -exec chmod <span class="m">664</span> <span class="o">{}</span> <span class="se">\;</span>
</span></span></code></pre></td></tr></table>
</div>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/repair-files-dirs-permission/" target="_blank" rel="noopener">https://becoder.org/repair-files-dirs-permission/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>將所有資料夾設為 775:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">find . -type d -exec chmod <span class="m">775</span> <span class="o">{}</span> <span class="se">\;</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>將所有檔案設為 664:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">find . -type f -exec chmod <span class="m">664</span> <span class="o">{}</span> <span class="se">\;</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/repair-files-dirs-permission/" target="_blank" rel="noopener">https://becoder.org/repair-files-dirs-permission/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Nextcloud 重建 oc_filecache
https://becoder.org/nextcloud-oc-filecache-rebuild/
2022-07-09T02:07:51+08:00
2019-12-11T20:23:53+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>首先先備份原來的 Table:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextcloud-oc-filecache-rebuild/" target="_blank" rel="noopener">https://becoder.org/nextcloud-oc-filecache-rebuild/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>首先先備份原來的 Table:</p>
<pre tabindex="0"><code>use nextcloud;
RENAME TABLE oc_filecache TO oc_filecache_bak;
CREATE TABLE oc_filecache SELECT * FROM oc_filecache_bak LIMIT 0
</code></pre><br>
<p>再使用 occ 指令重建 oc_filecache:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo -u www-data ./occ files:scan --all
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>這時候可能會遇到 mysql 超時:</p>
<pre tabindex="0"><code>Exception during scan: An exception occurred while executing 'DELETE FROM `oc_filecache` WHERE `fileid` = ?' with params [null]:
SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress
</code></pre><p><img src="../../images/nextcloud-oc-filecache-rebuild/timeout.png" alt="timeout"></p>
<p>去修改 <code>/etc/my.cnf.d/server.cnf</code> ,在 <code>[mysqld]</code> 下面新增:</p>
<pre tabindex="0"><code>[mysqld]
innodb_lock_wait_timeout=360
...
</code></pre><p>重啟 MariaDB:</p>
<pre tabindex="0"><code>systemctl restart mariadb
</code></pre><p>再重建一次,檔案越多,需要更長的 timeout 時間,不然的話會跑不完阿(J1900 QQ)</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextcloud-oc-filecache-rebuild/" target="_blank" rel="noopener">https://becoder.org/nextcloud-oc-filecache-rebuild/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
建立自己的 Proxmox VE 鏡像站
https://becoder.org/build-a-proxmox-mirror-site/
2022-07-08T22:59:40+08:00
2019-11-07T01:14:49+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Proxmox VE 的 apt repo 目前好像只有一台,假設如果台灣國外寬頻不足、海纜斷裂,很容易導致無法更新。</p>
<p>查了一陣子是有找到幾個非官方鏡像站,但來源是中國 (mirrors.ustc.edu.cn/proxmox),主機在台灣的話好像也沒比較快XD。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/build-a-proxmox-mirror-site/" target="_blank" rel="noopener">https://becoder.org/build-a-proxmox-mirror-site/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Proxmox VE 的 apt repo 目前好像只有一台,假設如果台灣國外寬頻不足、海纜斷裂,很容易導致無法更新。</p>
<p>查了一陣子是有找到幾個非官方鏡像站,但來源是中國 (mirrors.ustc.edu.cn/proxmox),主機在台灣的話好像也沒比較快XD。</p>
<h2 id="wget-大法"><a href="https://becoder.org/build-a-proxmox-mirror-site/#wget-大法" class="anchor-link" aria-label="wget-大法"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/build-a-proxmox-mirror-site/#contents:wget-大法" class="headings">wget 大法</a></h2>
<p>查了一下相關資料,大部份是說使用 <code>apt-mirror</code>、<code>debmirror</code> 等工具建立,但這些方法只能下載到 <code>.deb</code> 的來源,iso 等相關檔案是載不到的。</p>
<p>Google 後找到了這個方法:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">wget -N --mirror --convert-links --show-progress --recursive -e <span class="nv">robots</span><span class="o">=</span>off -R <span class="s2">"index.html*"</span> http://download.proxmox.com/
</span></span></code></pre></td></tr></table></div>
</div>
</div><p>相關參數就不解釋了, <code>man wget</code> 就可以看到很清楚的說明了,記得你的硬碟要夠大,網路要夠快,不然會跑很久。</p>
<p>跑完第一次後,再把這行指令加進 <code>crontab</code> 就可以定期上去爬看看有沒有新檔案了,但是不知道會不會被 Proxmox VE 封鎖你的 IP 就是了(因為需要耗掉不少的流量呢)</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/build-a-proxmox-mirror-site/" target="_blank" rel="noopener">https://becoder.org/build-a-proxmox-mirror-site/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 Terminal 中看天氣 - wttr.in
https://becoder.org/curl-to-get-weather/
2022-07-08T23:00:34+08:00
2019-11-05T23:13:54+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近發現了一個有趣的工具,可以在終端機裡面直接看到目前所在位置的天氣,只要一行指令就可以達成了:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/curl-to-get-weather/" target="_blank" rel="noopener">https://becoder.org/curl-to-get-weather/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近發現了一個有趣的工具,可以在終端機裡面直接看到目前所在位置的天氣,只要一行指令就可以達成了:</p>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">curl wttr.in?lang<span class="o">=</span>zh-tw
</span></span></code></pre></td></tr></table></div>
</div>
</div><p><img src="../../images/curl-to-get-weather/hsinchu.png" alt="hsinchu"></p>
<br>
然後在後面加上城市的名稱,像是 `hsinchu` 、`taipei`:
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">curl wttr.in/taipei?lang<span class="o">=</span>zh-tw
</span></span></code></pre></td></tr></table></div>
</div>
</div><p><img src="../../images/curl-to-get-weather/taipei.png" alt="hsinchu"></p>
<br>
<p>如此一來就可以指定城市了,SA 們再也不用離開終端機。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/curl-to-get-weather/" target="_blank" rel="noopener">https://becoder.org/curl-to-get-weather/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
讓 pssh 支援 sudo,同時對多台 Server 進行更新
https://becoder.org/pssh-with-sudo/
2022-07-08T23:01:22+08:00
2019-11-04T21:28:38+08:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
透過 pssh 快速控制多台主機
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/pssh-with-sudo/" target="_blank" rel="noopener">https://becoder.org/pssh-with-sudo/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>pssh 是一套可以同時在多台機器下指令的工具,在更新多台機器的時候非常好用。</p>
<h2 id="範例"><a href="https://becoder.org/pssh-with-sudo/#範例" class="anchor-link" aria-label="範例"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/pssh-with-sudo/#contents:範例" class="headings">範例</a></h2>
<div class="highlight"><div class="chroma">
<div class="table-container"><table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">parallel-ssh <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> -O <span class="nv">StrictHostKeyChecking</span><span class="o">=</span>no <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> -h host.list <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> -l <span class="nv">$USER</span> <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> -i <span class="s2">"(echo </span><span class="nv">$PASSWD1</span><span class="s2">; echo </span><span class="nv">$PASSWD2</span><span class="s2">) | sudo -S yum update -y"</span>
</span></span></code></pre></td></tr></table></div>
</div>
</div><br>
其中 `host.list` 是純文字檔,是 Server 主機清單:
<pre tabindex="0"><code>server1.example.com
server2.example.com
server3.example.com
...
</code></pre>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/pssh-with-sudo/" target="_blank" rel="noopener">https://becoder.org/pssh-with-sudo/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[DIY NAS] OpenMediaVault 5 on Proxmox LXC
https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/
2022-07-08T21:38:16+08:00
2019-10-19T17:10:20+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>基於 Debian 10 開發的 OMV5 beta 已經出來啦,更新速度真的很快,這邊記錄一下跟以往安裝過程不同的流程,OMV5 全部採用 Saltstack 的架構了,以前修改的部分需要做一些修正囉!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/" target="_blank" rel="noopener">https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>基於 Debian 10 開發的 OMV5 beta 已經出來啦,更新速度真的很快,這邊記錄一下跟以往安裝過程不同的流程,OMV5 全部採用 Saltstack 的架構了,以前修改的部分需要做一些修正囉!</p>
<h2 id="安裝-openmediavault-5"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#安裝-openmediavault-5" class="anchor-link" aria-label="安裝-openmediavault-5"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:安裝-openmediavault-5" class="headings">安裝 OpenMediaVault 5</a></h2>
<h3 id="初始化-lxc"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#初始化-lxc" class="anchor-link" aria-label="初始化-lxc"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:初始化-lxc" class="headings">初始化 LXC</a></h3>
<p>先創一台 Debian 10 的 LXC,規格隨意,創好 LXC 後,請勿開機,不然後續會有問題喔!</p>
<p id="xvmrmXV">
<img loading="lazy" width="506" height="187" class="alignnone size-full wp-image-3281 " src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9a2cad16426.png" sizes="(max-width: 506px) 100vw, 506px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9a2cad16426.png 506w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9a2cad16426-300x111.png 300w" alt="" />
</p>
<p>創好後修改 LXC 的設定檔,我這台的 ID 是 106,在 <code>/etc/pve/lxc/<strong>LXCID</strong>.conf</code> 加入下列內容:</p>
<img loading="lazy" width="721" height="272" class="alignnone size-full wp-image-3282 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2e3f1bc91.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2e3f1bc91.png 721w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a2e3f1bc91-300x113.png 300w" sizes="(max-width: 721px) 100vw, 721px" />
<p> </p>
<p>開機後先修改 <code>/etc/apt/sources.list</code> 的內容,指向國網中心,在台灣連線速度最快:</p>
<p id="nPCZVSr">
<img loading="lazy" width="740" height="163" class="alignnone size-full wp-image-3284 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2f3506969.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2f3506969.png 740w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a2f3506969-300x66.png 300w" sizes="(max-width: 740px) 100vw, 740px" />
</p>
<p> </p>
<p>更新 LXC 並且重新啟動 LXC: <code>apt update && apt dist-upgrade -y && reboot<br /> </code> (如果有出現 Perl: warning: Setting locale failed. 可以參考<a href="https://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">這篇文章</a> )</p>
<p> </p>
<h3 id="新增omv套件來源"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#新增omv套件來源" class="anchor-link" aria-label="新增omv套件來源"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:新增omv套件來源" class="headings">新增OMV套件來源</a></h3>
<pre># echo "deb https://packages.openmediavault.org/public usul main" >> /etc/apt/sources.list.d/omv.list</pre>
<p> </p>
<p>更新套件庫</p>
<pre># apt update
# apt install gnupg wget -y
# export DEBIAN_FRONTEND=noninteractive
# export APT_LISTCHANGES_FRONTEND=none
# wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
# apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
# apt update</pre>
<p> </p>
<h3 id="安裝-openmediavault-5-1"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#安裝-openmediavault-5-1" class="anchor-link" aria-label="安裝-openmediavault-5-1"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:安裝-openmediavault-5-1" class="headings">安裝 OpenMediaVault 5</a></h3>
<pre># apt-get --yes --auto-remove --show-upgraded \
--allow-downgrades --allow-change-held-packages \
--no-install-recommends \
--option Dpkg::Options::="--force-confdef" \
--option DPkg::Options::="--force-confold" \
install openmediavault-keyring openmediavault
# omv-confdbadm populate</pre>
<p> </p>
<p>這樣子就裝好啦!XD完全不用像以前那樣 chroot 啦!</p>
<p> </p>
<h3 id="安裝-openmediavault-5-外掛來源"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#安裝-openmediavault-5-外掛來源" class="anchor-link" aria-label="安裝-openmediavault-5-外掛來源"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:安裝-openmediavault-5-外掛來源" class="headings">安裝 OpenMediaVault 5 外掛來源</a></h3>
<p>進入 LXC,安裝插件來源:</p>
<pre># wget http://omv-extras.org/openmediavault-omvextrasorg_latest_all5.deb
# apt install -f ./openmediavault-omvextrasorg_latest_all5.deb
# apt update</pre>
<p> </p>
<p>可以看到套件列表了(容許我抓舊圖來用):</p>
<img loading="lazy" class="aligncenter size-full wp-image-3298" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a44d5975b7.png" alt="" width="1037" height="887" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a44d5975b7.png 1037w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a44d5975b7-300x257.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a44d5975b7-1024x876.png 1024w" sizes="(max-width: 1037px) 100vw, 1037px" />
<p> </p>
<h3 id="新增-zvol--利用-zfs-模擬實體硬碟"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#新增-zvol--利用-zfs-模擬實體硬碟" class="anchor-link" aria-label="新增-zvol--利用-zfs-模擬實體硬碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:新增-zvol--利用-zfs-模擬實體硬碟" class="headings">新增 Zvol — 利用 ZFS 模擬實體硬碟</a></h3>
<p>在 ZPOOL 建立一個 1GB 大小的 zvol:</p>
<pre># zfs create -V 1GB data/omv-disk</pre>
<p> </p>
<h3 id="查詢-zvol-的實際位置"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#查詢-zvol-的實際位置" class="anchor-link" aria-label="查詢-zvol-的實際位置"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:查詢-zvol-的實際位置" class="headings">查詢 Zvol 的實際位置</a></h3>
<p>透過 <code>ls -al</code>發現是一個 link位置後發現是一個 link,再用 <code>ls -al</code>查尋他的真實位置</p>
<pre># ls -al /dev/zvol/data/omv-disk
lrwxrwxrwx 1 root root 11 Mar 26 23:48 /dev/zvol/data/omv-disk -> <span style="color: #ff0000;">../../zd224</span>
# root@x79:~# ls -al <span style="color: #ff0000;">/dev/zd224</span>
brw-rw---- 1 root disk <span style="color: #ff0000;">230, 224</span> Mar 26 23:48 <span style="color: #ff0000;">/dev/zd224</span></pre>
<p> </p>
<h3 id="建立-zvol-分割區"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#建立-zvol-分割區" class="anchor-link" aria-label="建立-zvol-分割區"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:建立-zvol-分割區" class="headings">建立 Zvol 分割區</a></h3>
<p>透過 <code>fdisk</code> 幫 <code>/dev/zd224</code> 切一個分割區出來,因為 OMV 初始化硬碟會幫你切分割區,在這裡先切好把可能會出現的錯誤給避免掉:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3300" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a4bf1766b9.png" alt="" width="763" height="616" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a4bf1766b9.png 763w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a4bf1766b9-300x242.png 300w" sizes="(max-width: 763px) 100vw, 763px" />
<p> </p>
<h3 id="passthrough-zvol-到-lxc"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#passthrough-zvol-到-lxc" class="anchor-link" aria-label="passthrough-zvol-到-lxc"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:passthrough-zvol-到-lxc" class="headings">Passthrough Zvol 到 LXC</a></h3>
<pre># ls -al /dev/zd224*
brw-rw---- 1 root disk <span style="color: #ff0000;">230</span>, <span style="color: #ff0000;">224</span> Mar 26 23:53 /dev/zd224
brw-rw---- 1 root disk <span style="color: #ff0000;">230</span>, <span style="color: #ff0000;">225</span> Mar 26 23:53 /dev/zd224p1</pre>
<p> </p>
<p>LXC 關機後,編輯 LXC 設定檔,加入下面內容:</p>
<pre>lxc.cgroup.devices.allow: b <span style="color: #ff0000;">230</span>:<span style="color: #ff0000;">224</span> rwm
lxc.cgroup.devices.allow: b <span style="color: #ff0000;">230</span>:<span style="color: #ff0000;">225</span> rwm
lxc.autodev: 1
lxc.hook.autodev: /var/lib/lxc/<strong>LXCID</strong>/mount-hook.sh
</pre>
<p id="wUhOdZK">
<img loading="lazy" width="730" height="405" class="alignnone size-full wp-image-3304 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a527e0eb4a.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a527e0eb4a.png 730w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a527e0eb4a-300x166.png 300w" sizes="(max-width: 730px) 100vw, 730px" />
</p>
<p> </p>
<h3 id="新增-hook-script-lxc-開機自動掛載-zvol"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#新增-hook-script-lxc-開機自動掛載-zvol" class="anchor-link" aria-label="新增-hook-script-lxc-開機自動掛載-zvol"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:新增-hook-script-lxc-開機自動掛載-zvol" class="headings">新增 Hook Script ,LXC 開機自動掛載 Zvol</a></h3>
<p>使用編輯器建立 <code>/var/lib/lxc/<strong>LXCID</strong>/mount-hook.sh</code> ,內容如下:</p>
<pre>#!/bin/sh
mknod -m 777 ${LXC_ROOTFS_MOUNT}/dev/sda b <span style="color: #ff0000;">230</span> <span style="color: #ff0000;">224</span>
mknod -m 777 ${LXC_ROOTFS_MOUNT}/dev/sda1 b <span style="color: #ff0000;">230</span> <span style="color: #ff0000;">225</span></pre>
<p> </p>
<p>存檔後給予執行權限</p>
<pre>chmod +x /var/lib/lxc/<strong>LXCID</strong>/mount-hook.sh</pre>
<p> </p>
<h3 id="執行-lxc"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#執行-lxc" class="anchor-link" aria-label="執行-lxc"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:執行-lxc" class="headings">執行 LXC</a></h3>
<p>可以把 LXC 開機囉!</p>
<p> </p>
<h3 id="建立檔案系統"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#建立檔案系統" class="anchor-link" aria-label="建立檔案系統"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:建立檔案系統" class="headings">建立檔案系統</a></h3>
<p>登入 OpenMediaVault 後,將掛載的 Zvol 格式化,步驟如圖:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3305" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a53f311242.png" alt="" width="1455" height="715" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a53f311242.png 1455w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a53f311242-300x147.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a53f311242-1024x503.png 1024w" sizes="(max-width: 1455px) 100vw, 1455px" />
<p> </p>
<p>記得掛載檔案系統</p>
<p id="EnEkYlV">
<img loading="lazy" width="1149" height="752" class="alignnone size-full wp-image-3326 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b12433a5af.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b12433a5af.png 1149w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b12433a5af-300x196.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b12433a5af-1024x670.png 1024w" sizes="(max-width: 1149px) 100vw, 1149px" />
</p>
<h3></h3>
<h3 id="啟動家目錄"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#啟動家目錄" class="anchor-link" aria-label="啟動家目錄"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:啟動家目錄" class="headings">啟動家目錄</a></h3>
<p>照著圖設定,記得「套用變更」</p>
<p id="BvxOVTB">
<img loading="lazy" width="1159" height="750" class="alignnone size-full wp-image-3328 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b14317903d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b14317903d.png 1159w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b14317903d-300x194.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b14317903d-1024x663.png 1024w" sizes="(max-width: 1159px) 100vw, 1159px" />
</p>
<p> </p>
<h3 id="啟動-samba"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#啟動-samba" class="anchor-link" aria-label="啟動-samba"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:啟動-samba" class="headings">啟動 Samba</a></h3>
<p id="ZsyraGp">
<img loading="lazy" width="1101" height="755" class="alignnone size-full wp-image-3329 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b14f61ce17.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b14f61ce17.png 1101w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b14f61ce17-300x206.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b14f61ce17-1024x702.png 1024w" sizes="(max-width: 1101px) 100vw, 1101px" />
</p>
<p> </p>
<h2 id="整合-nextcloud"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#整合-nextcloud" class="anchor-link" aria-label="整合-nextcloud"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:整合-nextcloud" class="headings">整合 NextCloud</a></h2>
<p>格式化完 Zvol 後,檔案不會存在 OMV 那個小小的 1GB 空間之中,只是用來欺騙 OMV 系統,真正的檔案是存在 PVE Host 的 ZFS Dataset 內,需要寫 Script 來掛載 PVE Host 的 ZFS Dataset。</p>
<h3 id="新增-dataset-mount-point"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#新增-dataset-mount-point" class="anchor-link" aria-label="新增-dataset-mount-point"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:新增-dataset-mount-point" class="headings">新增 Dataset Mount Point</a></h3>
<ol>
<li>
<p>先關閉 OMV LXC、NextCloud LXC</p>
</li>
<li>
<p>在 PVE Host 建立一個 Dataset 讓 OMV、NextCloud可以共用資料
<pre># zfs create <span style="color: #ff0000;">data/nas</span> # Zpool 為 data、目的地資料集為 home</pre></p>
</li>
<li>
<p>編輯 OMV、NextCloud 兩個 LXC 的設定檔:<code>/etc/pve/lxc/<strong>LXCID</strong>.conf</code></p>
</li>
<li>
<p>分別加入這行以自動掛載 Dataset 到兩個 LXC 的 <span style="color: #0000ff;"><code>/home</code> </span>之中:
<pre>lxc.mount.entry: <span style="color: #ff0000;">/data/nas</span> <span style="color: #0000ff;">home</span> none bind,create=dir,optional 0 0</pre></p>
</li>
<li>
<p>OMV LXCID.conf: <p id="HUJbeAq">
<img loading="lazy" width="729" height="421" class="alignnone size-full wp-image-3322 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0768ea22f.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0768ea22f.png 729w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b0768ea22f-300x173.png 300w" sizes="(max-width: 729px) 100vw, 729px" />
</p></p>
</li>
</ol>
<pre><code>NextCloud LXCID.conf
<p id="MjwovnL">
<img loading="lazy" width="723" height="221" class="alignnone size-full wp-image-3321 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0740e0cf7.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0740e0cf7.png 723w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b0740e0cf7-300x92.png 300w" sizes="(max-width: 723px) 100vw, 723px" />
</p>
</code></pre>
<ol start="6">
<li>存檔後把兩個 LXC 都開機,可以看到已經順利掛載了 <p id="wuXfqmI">
<img loading="lazy" width="681" height="538" class="alignnone size-full wp-image-3323 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b08783be9e.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b08783be9e.png 681w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b08783be9e-300x237.png 300w" sizes="(max-width: 681px) 100vw, 681px" />
</p></li>
</ol>
<p> </p>
<h3 id="修改-nextcloud-儲存位置"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#修改-nextcloud-儲存位置" class="anchor-link" aria-label="修改-nextcloud-儲存位置"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:修改-nextcloud-儲存位置" class="headings">修改 NextCloud 儲存位置</a></h3>
<p>進入 NextCloud,修改 conf/config.php,將:</p>
<pre>'datadirectory' => '/var/www/html/data',</pre>
<p> </p>
<p>改為:</p>
<pre>'datadirectory' => '/home',</pre>
<p id="ihGwZaS">
<img loading="lazy" width="648" height="569" class="alignnone size-full wp-image-3324 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0e8d02682.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0e8d02682.png 648w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b0e8d02682-300x263.png 300w" sizes="(max-width: 648px) 100vw, 648px" />
</p>
<p> </p>
<p>再執行下面指令把原本的資料移動到新的位置:</p>
<pre># mv /var/www/html/data/* /home/
# mv /var/www/html/data/.htaccess /home/
# mv /var/www/html/data/.ocdata /home/
# chown -R www-data:www-data /home/
# chmod -R 775 /home/</pre>
<p> </p>
<h3 id="新增群組修正-nextcloud-讀取權限"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#新增群組修正-nextcloud-讀取權限" class="anchor-link" aria-label="新增群組修正-nextcloud-讀取權限"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:新增群組修正-nextcloud-讀取權限" class="headings">新增群組修正 NextCloud 讀取權限</a></h3>
<p>這個項目是為了 OMV 而作的,NextCloud 讀取 /home 時,必須讓 www-data 為檔案擁有者,為了讓 OMV 的一般使用者可以對 /home 讀寫,所以創一個群組 nasuser,將 www-data 加入 nasuser,並新增 Crontab 定時修正來權限,讓 NextCloud 可以順利讀寫來自 OMV 使用者的檔案,完成整合,這個部份到時候整合 OpenLDAP 後會更方便。</p>
<p>新增群組 nasuser_(註1)_ 並加入 www-data 使用者:(註1)</p>
<pre># addgroup nasuser
# adduser www-data nasuser</pre>
<p> </p>
<p><del>撰寫 Shell Script 定時修正權限:</del></p>
<pre><del># touch /root/script/repair-permission.sh
# chmod +x /root/script/repair-permission.sh
# vim /root/script/repair-permission.sh</del></pre>
<p><del>內容如下:</del><br>
<del></del></p>
<p><del>執行 <code>crontab -e</code> 寫入 crontab:</del></p>
<pre><del>* * * * * /root/script/repair-permission.sh</del></pre>
<p> </p>
<p>後來發現這樣子做會瘋狂的讀寫硬碟,檔案太多實在是很吃資源,第一圈還沒繞完就又跑第二圈了,現在直接修改 NextCloud 的 apache 執行時的 group 以及 umask,在檔案透過 NextCloud 上傳的時候就會有正確的權限:</p>
<p>修改 NextCloud LXC 的 <code>/etc/apache2/envvars</code> :</p>
<p>將</p>
<pre>export APACHE_RUN_GROUP=www-data</pre>
<p>改為</p>
<pre>export APACHE_RUN_GROUP=nasuser</pre>
<p>如此一來 Apache 都會用這個群組來讀寫資料。</p>
<p> </p>
<p>再來是權限的部份,一樣在 <code>/etc/apache2/envvars</code> ,於最下方新增一行:</p>
<pre>umask 002</pre>
<p> </p>
<p>umask 相關資料可以參考這篇文章:<a href="http://linux.vbird.org/linux_basic/0320bash/csh/no3-8-01.html" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">umask 指令</a></p>
<p>最後重啟 Apache 即可:</p>
<pre>systemctl restart apache2</pre>
<p> </p>
<p>如果想修正原先的權限,可以參考我的另外一個小站的筆記:<a href="https://people.cs.nctu.edu.tw/~fyli/post/repair-files-dirs-permission/" target="_blank" rel="noopener">快速修正檔案權限、資料夾權限</a></p>
<p> </p>
<h2 id="修改-openmediavault-5-samba-設定"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#修改-openmediavault-5-samba-設定" class="anchor-link" aria-label="修改-openmediavault-5-samba-設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:修改-openmediavault-5-samba-設定" class="headings">修改 OpenMediaVault 5 Samba 設定</a></h2>
<p>重頭戲來囉!這是在改版成 saltstack 後,和之前 omv4 時修改的部份都不一樣了,找了很久才找到這些設定的位置..QQ</p>
<h3 id="修改-homesj2"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#修改-homesj2" class="anchor-link" aria-label="修改-homesj2"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:修改-homesj2" class="headings">修改 homes.j2</a></h3>
<p>編輯 <code>/srv/salt/omv/deploy/samba/files/homes.j2</code>,</p>
<p>第 3 行(<code>OMV_SAMBA_HOMES_CREATEMASK</code>)、<br>
第 4 行(<code>OMV_SAMBA_HOMES_FORCECREATEMODE</code>)、<br>
第 5 行(<code>OMV_SAMBA_HOMES_DIRECTORYMASK</code>)、<br>
第 6 行(<code>OMV_SAMBA_HOMES_FORCEDIRECTORYMODE</code>)</p>
<p>把數值 <code>0600</code> 改為 <code>0775</code>;</p>
<p>在第 13 行 <code>comment = {{ comment }}</code></p>
<p>下面新增:</p>
<pre>path = /home/%S/files</pre>
<p>成果如下:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3456" src="https://becoder.org/wp-content/uploads/2019/10/omv5home.png" alt="" width="1126" height="547" srcset="https://becoder.org/wp-content/uploads/2019/10/omv5home.png 1126w, https://becoder.org/wp-content/uploads/2019/10/omv5home-300x146.png 300w, https://becoder.org/wp-content/uploads/2019/10/omv5home-1024x497.png 1024w" sizes="(max-width: 1126px) 100vw, 1126px" />
<p> </p>
<h3 id="修改-sharesj2"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#修改-sharesj2" class="anchor-link" aria-label="修改-sharesj2"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:修改-sharesj2" class="headings">修改 shares.j2</a></h3>
<p>再編輯 <code>/srv/salt/omv/deploy/samba/files/shares.j2</code>,</p>
<p>修改:</p>
<p>第 17 行 <code>OMV_SAMBA_SHARE_FORCECREATEMODE</code><br>
第 18 行 <code>OMV_SAMBA_SHARE_DIRECTORYMASK</code></p>
<p>的 0664 改成 0775:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3457" src="https://becoder.org/wp-content/uploads/2019/10/omv5shares.png" alt="" width="1115" height="117" srcset="https://becoder.org/wp-content/uploads/2019/10/omv5shares.png 1115w, https://becoder.org/wp-content/uploads/2019/10/omv5shares-300x31.png 300w, https://becoder.org/wp-content/uploads/2019/10/omv5shares-1024x107.png 1024w" sizes="(max-width: 1115px) 100vw, 1115px" />
<p> </p>
<p>存檔後,執行這個指令,把設定檔部署到 SAMBA 中:</p>
<pre>omv-salt deploy run samba</pre>
<p> </p>
<h2 id="測試整合成果"><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#測試整合成果" class="anchor-link" aria-label="測試整合成果"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/#contents:測試整合成果" class="headings">測試整合成果</a></h2>
<p>先進入 OpenMediaVault,把群組 nasuser_(註1)_ 創好:</p>
<pre># addgroup nasuser -gid 1000</pre>
<p> </p>
<p>先在 NextCloud 、OMV 建立使用者,使用同一組使用者帳號密碼:</p>
<p id="tBOmNwC">
<img loading="lazy" width="1542" height="325" class="alignnone size-full wp-image-3338 " src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1d79a96a8.png" sizes="(max-width: 1542px) 100vw, 1542px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1d79a96a8.png 1542w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1d79a96a8-300x63.png 300w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1d79a96a8-1024x216.png 1024w" alt="" />
</p>
<p> </p>
<p id="RztHPRi">
<img loading="lazy" class=" alignnone wp-image-3339" src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1f0953650.png" sizes="(max-width: 325px) 100vw, 325px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1f0953650.png 432w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1f0953650-279x300.png 279w" alt="" width="325" height="350" /> <img loading="lazy" class=" alignnone wp-image-3340" src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1f255406b.png" sizes="(max-width: 326px) 100vw, 326px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1f255406b.png 435w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b1f255406b-279x300.png 279w" alt="" width="326" height="350" />
</p>
<p> </p>
<p>先登入 NextCloud,讓 NextCloud 產生使用者資料夾:</p>
<p id="XFlVCun">
<img loading="lazy" width="876" height="587" class="alignnone size-full wp-image-3344 " src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b780bbb54b.png" sizes="(max-width: 876px) 100vw, 876px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b780bbb54b.png 876w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b780bbb54b-300x201.png 300w" alt="" />
</p>
<p> </p>
<p>再登入 SAMBA:</p>
<p id="cHsjXqA">
<img loading="lazy" width="476" height="373" class="alignnone size-full wp-image-3345 " src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b789641422.png" sizes="(max-width: 476px) 100vw, 476px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b789641422.png 476w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b789641422-300x235.png 300w" alt="" />
</p>
<p> </p>
<p>可以看到一樣的內容:</p>
<p id="DazcIrx">
<img loading="lazy" width="919" height="530" class="alignnone size-full wp-image-3346 " src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b78de30b43.png" sizes="(max-width: 919px) 100vw, 919px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b78de30b43.png 919w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b78de30b43-300x173.png 300w" alt="" />
</p>
<p> </p>
<p>測試上傳 ISO 檔案:</p>
<p id="LctQKrO">
<img loading="lazy" width="1009" height="583" class="alignnone size-full wp-image-3347 " src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b796c6809d.png" sizes="(max-width: 1009px) 100vw, 1009px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b796c6809d.png 1009w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b796c6809d-300x173.png 300w" alt="" />
</p>
<p> </p>
<p>NextCloud 上面也可以看到這個檔案了:</p>
<p id="BroGyrt">
<img loading="lazy" width="1015" height="612" class="alignnone size-full wp-image-3348 " src="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b79acda007.png" sizes="(max-width: 1015px) 100vw, 1015px" srcset="https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b79acda007.png 1015w, https://cache.becoder.org/wp-content/uploads/2019/03/img_5c9b79acda007-300x181.png 300w" alt="" />
</p>
<blockquote>
<p> </p>
<p>註1:</p>
<p>nasuser 這個群組到時候整合 OpenLDAP 時就不需要建立了,直接把 www-data 加入 LDAP 中的群組(adduser www-data $gidNumber),將所有的 nasuser 取代為 LDAP 中的 $gidNumber 即可。</p></blockquote>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/" target="_blank" rel="noopener">https://becoder.org/diy-nas-openmediavault-5-on-proxmox-lxc/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
EaseUS Todo Backup Home 專業的資料備份工具
https://becoder.org/easeus-todo-backup-home/
2022-07-08T21:38:16+08:00
2019-08-26T13:31:27+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在 Windows 作業系統上,傳統以來大家習慣使用歷史悠久的 Ghost 來備份系統,但是隨著時間的推進,備份軟體可是推陳出新啊,現在怎麼可能還在用那種東西呢!光是 UEFI 就可以把那些老軟體搞得很頭痛了XD</p>
<p>最近朋友推薦了一套<a href="https://tw.easeus.com/backup-software/todo-backup-home.html" target="_blank" rel="noopener noreferrer">系統備份軟體</a>,最近用起來真是讓我滿驚豔的,他實在整合太多功能了,這套軟體是由 <a href="https://tw.easeus.com/" target="_blank" rel="noopener noreferrer">EaseUS 易我科技</a> 所推出的 EaseUS Todo Backup Home。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/easeus-todo-backup-home/" target="_blank" rel="noopener">https://becoder.org/easeus-todo-backup-home/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在 Windows 作業系統上,傳統以來大家習慣使用歷史悠久的 Ghost 來備份系統,但是隨著時間的推進,備份軟體可是推陳出新啊,現在怎麼可能還在用那種東西呢!光是 UEFI 就可以把那些老軟體搞得很頭痛了XD</p>
<p>最近朋友推薦了一套<a href="https://tw.easeus.com/backup-software/todo-backup-home.html" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">系統備份軟體</a>,最近用起來真是讓我滿驚豔的,他實在整合太多功能了,這套軟體是由 <a href="https://tw.easeus.com/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">EaseUS 易我科技</a> 所推出的 EaseUS Todo Backup Home。</p>
<h2 id="系統環境"><a href="https://becoder.org/easeus-todo-backup-home/#系統環境" class="anchor-link" aria-label="系統環境"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:系統環境" class="headings">系統環境</a></h2>
<p>為了完整測試這個軟體,我特地裝了一台以 UEFI 安裝的全新 Windows 10 來測試,並事先安裝了這一些我們平時常用的軟體:</p>
<ul>
<li>網頁瀏覽器:Google Chrome</li>
<li>解壓縮軟體:7-ZIP</li>
<li>通訊軟體:Line</li>
</ul>
<p> </p>
<h2 id="安裝-easeus-todo-backup-home"><a href="https://becoder.org/easeus-todo-backup-home/#安裝-easeus-todo-backup-home" class="anchor-link" aria-label="安裝-easeus-todo-backup-home"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:安裝-easeus-todo-backup-home" class="headings">安裝 EaseUS Todo Backup Home</a></h2>
<p>請先到 EaseUS 的<a href="https://tw.easeus.com/download/backup-software.html" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">下載頁面</a>下載 EaseUS Todo Backup Home,填入你的 Email 就可以先下載<strong>試用版本</strong>了,而我這邊使用的是付費版本:</p>
<p id="DdQPpvS">
<img loading="lazy" width="1208" height="568" class="alignnone size-full wp-image-3373 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d637dbc00e6a.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d637dbc00e6a.png 1208w, https://becoder.org/wp-content/uploads/2019/08/img_5d637dbc00e6a-300x141.png 300w, https://becoder.org/wp-content/uploads/2019/08/img_5d637dbc00e6a-1024x481.png 1024w" sizes="(max-width: 1208px) 100vw, 1208px" />
</p>
<p> </p>
<p>現在很佛心的有折扣,個人認為可以直接買終身版本(一個 Steam 的遊戲都不只這價格啦XD)</p>
<p id="DmqBKeP">
<img loading="lazy" width="766" height="628" class="alignnone size-full wp-image-3375 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d637e9ddae12.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d637e9ddae12.png 766w, https://becoder.org/wp-content/uploads/2019/08/img_5d637e9ddae12-300x246.png 300w" sizes="(max-width: 766px) 100vw, 766px" />
</p>
<p> </p>
<p>在安裝時記得選系統碟以外的地方放備份唷!</p>
<p id="wAPOnRZ">
<img loading="lazy" width="499" height="387" class="alignnone size-full wp-image-3376 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d6381b21c71d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d6381b21c71d.png 499w, https://becoder.org/wp-content/uploads/2019/08/img_5d6381b21c71d-300x233.png 300w" sizes="(max-width: 499px) 100vw, 499px" />
</p>
<p>下載安裝完成後,就可以開始使用啦!</p>
<p> </p>
<p> </p>
<h2 id="功能介紹"><a href="https://becoder.org/easeus-todo-backup-home/#功能介紹" class="anchor-link" aria-label="功能介紹"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:功能介紹" class="headings">功能介紹</a></h2>
<p id="AowHXUI">
<img loading="lazy" width="1087" height="685" class="alignnone size-full wp-image-3381 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63a3e3151fc.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63a3e3151fc.png 1087w, https://becoder.org/wp-content/uploads/2019/08/img_5d63a3e3151fc-300x189.png 300w, https://becoder.org/wp-content/uploads/2019/08/img_5d63a3e3151fc-1024x645.png 1024w" sizes="(max-width: 1087px) 100vw, 1087px" />
</p>
<ul>
<li><a href="https://becoder.org/easeus-todo-backup-home/#01">備份選項</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#02">磁碟/磁碟分區備份</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#03">系統備份</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#04">資料備份</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#05">郵件備份</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#06">聰明備份</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#07">克隆</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#08">系統克隆</a></li>
<li>工具
<ul>
<li><a href="https://becoder.org/easeus-todo-backup-home/#09">檢查映像檔案</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#10">建立 WinPE 開機碟</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#11">建立 Linux 開機碟</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#12">清除數據</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#13">iSCSI 啟動器</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#14">啟用 PreOS</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#15">掛載/卸載</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#16">日誌</a></li>
<li><a href="https://becoder.org/easeus-todo-backup-home/#17">更新磁碟</a></li>
</ul>
</li>
</ul>
<p> </p>
<p><a name="01"></a></p>
<h2 id="備份選項"><a href="https://becoder.org/easeus-todo-backup-home/#備份選項" class="anchor-link" aria-label="備份選項"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:備份選項" class="headings">備份選項</a></h2>
<p>在每一個備份工作都有這些備份選項可以設定:</p>
<h4 id="空間"><a href="https://becoder.org/easeus-todo-backup-home/#空間" class="anchor-link" aria-label="空間"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:空間" class="headings">空間</a></h4>
<p>設定壓縮比,壓縮比越高,越消耗CPU資源</p>
<p id="JFLzrdc">
<img loading="lazy" width="847" height="587" class="alignnone size-full wp-image-3383 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63a84373a02.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63a84373a02.png 847w, https://becoder.org/wp-content/uploads/2019/08/img_5d63a84373a02-300x208.png 300w" sizes="(max-width: 847px) 100vw, 847px" />
</p>
<p> </p>
<h4 id="加密"><a href="https://becoder.org/easeus-todo-backup-home/#加密" class="anchor-link" aria-label="加密"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:加密" class="headings">加密</a></h4>
<p>幫你的備份檔設定密碼,可以搭配 Google Drive 教育版,把你加密過的備份安心丟上雲端,不怕硬碟損毀:</p>
<p id="sJEaLAB">
<img loading="lazy" width="852" height="589" class="alignnone size-full wp-image-3384 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63a88ca6a95.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63a88ca6a95.png 852w, https://becoder.org/wp-content/uploads/2019/08/img_5d63a88ca6a95-300x207.png 300w" sizes="(max-width: 852px) 100vw, 852px" />
</p>
<p> </p>
<h4 id="性能"><a href="https://becoder.org/easeus-todo-backup-home/#性能" class="anchor-link" aria-label="性能"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:性能" class="headings">性能</a></h4>
<p>選擇在執行工作備份時,CPU資源會被佔用的量,或是把檔案備份到區網遠端 NAS 的時候,可以限制網路的流量,避免備份工作執行時,把系統的資源吃光,特別是在工作的時候!</p>
<p id="gVwoPOa">
<img loading="lazy" width="847" height="588" class="alignnone size-full wp-image-3385 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63a936d8e1d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63a936d8e1d.png 847w, https://becoder.org/wp-content/uploads/2019/08/img_5d63a936d8e1d-300x208.png 300w" sizes="(max-width: 847px) 100vw, 847px" />
</p>
<p> </p>
<h4 id="電子郵件通知"><a href="https://becoder.org/easeus-todo-backup-home/#電子郵件通知" class="anchor-link" aria-label="電子郵件通知"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:電子郵件通知" class="headings">電子郵件通知</a></h4>
<p>系統完成備份工作後,可以寄送 E-mail 通知使用者,備份工作執行狀況,這部份可以搭配 Gmail 提供的 SMTP 伺服器來寄送通知。</p>
<p id="yLQzYbh">
<img loading="lazy" width="849" height="588" class="alignnone size-full wp-image-3388 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63ae4e40d0e.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63ae4e40d0e.png 849w, https://becoder.org/wp-content/uploads/2019/08/img_5d63ae4e40d0e-300x208.png 300w" sizes="(max-width: 849px) 100vw, 849px" />
</p>
<p> </p>
<h4 id="自定義命令"><a href="https://becoder.org/easeus-todo-backup-home/#自定義命令" class="anchor-link" aria-label="自定義命令"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:自定義命令" class="headings">自定義命令</a></h4>
<p>在自動備份時,可以搭配自己的程式腳本,像是:在備份完畢後透過 scp 指令把檔案傳送到遠端伺服器。</p>
<p id="tlHLEeL">
<img loading="lazy" width="853" height="590" class="alignnone size-full wp-image-3389 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63ae5ef072a.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63ae5ef072a.png 853w, https://becoder.org/wp-content/uploads/2019/08/img_5d63ae5ef072a-300x208.png 300w" sizes="(max-width: 853px) 100vw, 853px" />
</p>
<p> </p>
<h4 id="離線複製"><a href="https://becoder.org/easeus-todo-backup-home/#離線複製" class="anchor-link" aria-label="離線複製"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:離線複製" class="headings">離線複製</a></h4>
<p>可以把備份檔案傳送到遠端的 FTP 伺服器、或是使用 NAS 建立的 FTP!讓資料有多份備份,更加安全。</p>
<p id="RwuyQCa">
<img loading="lazy" width="850" height="591" class="alignnone size-full wp-image-3390 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63ae7a1549b.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63ae7a1549b.png 850w, https://becoder.org/wp-content/uploads/2019/08/img_5d63ae7a1549b-300x209.png 300w" sizes="(max-width: 850px) 100vw, 850px" />
</p>
<p> </p>
<h4 id="選擇性文件複製"><a href="https://becoder.org/easeus-todo-backup-home/#選擇性文件複製" class="anchor-link" aria-label="選擇性文件複製"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:選擇性文件複製" class="headings">選擇性文件複製</a></h4>
<p><a href="https://tw.easeus.com/backup-software/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">資料備份軟體</a>在備份時不想備份進去的「例外」檔案,主要是一些系統的暫存檔、或是不重要的資料。</p>
<p id="jRrrObu">
<img loading="lazy" width="852" height="590" class="alignnone size-full wp-image-3391 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63ae8fa2be5.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63ae8fa2be5.png 852w, https://becoder.org/wp-content/uploads/2019/08/img_5d63ae8fa2be5-300x208.png 300w" sizes="(max-width: 852px) 100vw, 852px" />
</p>
<p> </p>
<h4 id="進階設定"><a href="https://becoder.org/easeus-todo-backup-home/#進階設定" class="anchor-link" aria-label="進階設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:進階設定" class="headings">進階設定</a></h4>
<p>一般是給特別用戶使用的設定目前有「逐扇區備份」,意思就是 Block Level 的備份,把硬碟上的所有區塊都備份下來。</p>
<p id="ohsLHor">
<img loading="lazy" width="853" height="592" class="alignnone size-full wp-image-3393 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63aeb02bfcd.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63aeb02bfcd.png 853w, https://becoder.org/wp-content/uploads/2019/08/img_5d63aeb02bfcd-300x208.png 300w" sizes="(max-width: 853px) 100vw, 853px" />
</p>
<p> </p>
<h3 id="備份排程"><a href="https://becoder.org/easeus-todo-backup-home/#備份排程" class="anchor-link" aria-label="備份排程"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:備份排程" class="headings">備份排程</a></h3>
<p>然而 EaseUS Todo Backup Home 也支援備份排程,定時執行備份工作,並且可以選擇增量備份模式,只備份有變動的部份,節省硬碟空間:</p>
<p id="natzYVU">
<img loading="lazy" width="1090" height="611" class="alignnone size-full wp-image-3395 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63b429b2404.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63b429b2404.png 1090w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b429b2404-300x168.png 300w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b429b2404-1024x574.png 1024w" sizes="(max-width: 1090px) 100vw, 1090px" />
</p>
<p> </p>
<h3 id="鏡像保留計畫"><a href="https://becoder.org/easeus-todo-backup-home/#鏡像保留計畫" class="anchor-link" aria-label="鏡像保留計畫"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:鏡像保留計畫" class="headings">鏡像保留計畫</a></h3>
<p>一般人的硬碟容量都不是無限大的,所以這裡可以設定要「保留備份的數量」,一旦設定了自動備份,這就是一個很重要的功能了,可以選擇要將備份檔案保留多久:</p>
<p id="xnZXYBv">
<img loading="lazy" width="951" height="624" class="alignnone size-full wp-image-3397 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63b4cc14b4d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63b4cc14b4d.png 951w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b4cc14b4d-300x197.png 300w" sizes="(max-width: 951px) 100vw, 951px" />
</p>
<p> </p>
<p> </p>
<h3 id="備份驗證"><a href="https://becoder.org/easeus-todo-backup-home/#備份驗證" class="anchor-link" aria-label="備份驗證"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:備份驗證" class="headings">備份驗證</a></h3>
<p>備份軟體最重要的功能莫過於備份驗證了,一旦沒有這個功能,天知道你備份出來的檔案是否能夠正確的還原呢?</p>
<p id="sZHnpWz">
<img loading="lazy" width="1164" height="710" class="alignnone size-full wp-image-3398 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63b5c022c03.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63b5c022c03.png 1164w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b5c022c03-300x183.png 300w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b5c022c03-1024x625.png 1024w" sizes="(max-width: 1164px) 100vw, 1164px" />
</p>
<p> </p>
<p id="OVcCVhM">
<img loading="lazy" width="830" height="630" class="alignnone size-full wp-image-3399 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63b5cfc9ae9.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63b5cfc9ae9.png 830w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b5cfc9ae9-300x228.png 300w" sizes="(max-width: 830px) 100vw, 830px" />
</p>
<p><a name="02"></a></p>
<h2 id="磁碟磁碟分區備份"><a href="https://becoder.org/easeus-todo-backup-home/#磁碟磁碟分區備份" class="anchor-link" aria-label="磁碟磁碟分區備份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:磁碟磁碟分區備份" class="headings">磁碟/磁碟分區備份</a></h2>
<p>這是針對「整顆硬碟」的備份功能,在備份的硬碟的時候,可以把目標設定到資料夾、Samba、甚至是遠端的 NAS:</p>
<p id="hSULzmd">
<img loading="lazy" width="814" height="616" class="alignnone size-full wp-image-3394 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63afaeb778a.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63afaeb778a.png 814w, https://becoder.org/wp-content/uploads/2019/08/img_5d63afaeb778a-300x227.png 300w" sizes="(max-width: 814px) 100vw, 814px" />
</p>
<p> </p>
<p><a name="03"></a></p>
<h2 id="系統備份"><a href="https://becoder.org/easeus-todo-backup-home/#系統備份" class="anchor-link" aria-label="系統備份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:系統備份" class="headings">系統備份</a></h2>
<p>這是大部分 Windows 備份軟體的重頭戲,在現在已經很少在使用 Ghost 等軟體備份 Windows 了,有了這個功能可以輕易把系統備份、還原,通常是在裝完常用軟體後使用「系統備份」的功能,方便未來電腦用久變慢、中毒,可以讓系統快速恢復到最乾淨的狀態。</p>
<p>下方的選項在上方都有介紹了,這邊直接進行系統備份,備份好的系統甚至可以<strong>異機還原</strong>:</p>
<p id="SVUjlKO">
<img loading="lazy" width="1093" height="690" class="alignnone size-full wp-image-3403 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63b8d4a6428.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63b8d4a6428.png 1093w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b8d4a6428-300x189.png 300w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b8d4a6428-1024x646.png 1024w" sizes="(max-width: 1093px) 100vw, 1093px" />
</p>
<p><a name="04"></a></p>
<h2 id="資料備份"><a href="https://becoder.org/easeus-todo-backup-home/#資料備份" class="anchor-link" aria-label="資料備份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:資料備份" class="headings">資料備份</a></h2>
<p>這個功能是以檔案(file level)為基礎作為備份,是比較常用的功能,可以選擇資料夾、甚至是檔案類型,可以針對電腦上所有的某一種檔案格式進行備份:</p>
<div id="attachment_3404" style="width: 832px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3404" loading="lazy" class="wp-image-3404 size-full" src="https://becoder.org/wp-content/uploads/2019/08/img_5d63b9deb2881.png" alt="" width="822" height="624" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63b9deb2881.png 822w, https://becoder.org/wp-content/uploads/2019/08/img_5d63b9deb2881-300x228.png 300w" sizes="(max-width: 822px) 100vw, 822px" />
<p id="caption-attachment-3404" class="wp-caption-text">
指定資料夾進行備份
</p>
</div>
<p> </p>
<p id="hyGbqAP">
<img loading="lazy" class="alignnone wp-image-3406 size-full" src="https://becoder.org/wp-content/uploads/2019/08/img_5d63ba3c2859a.png" alt="指令檔案類型進行備份" width="820" height="623" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63ba3c2859a.png 820w, https://becoder.org/wp-content/uploads/2019/08/img_5d63ba3c2859a-300x228.png 300w" sizes="(max-width: 820px) 100vw, 820px" />
</p>
<p><a name="05"></a></p>
<h3 id="郵件備份"><a href="https://becoder.org/easeus-todo-backup-home/#郵件備份" class="anchor-link" aria-label="郵件備份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:郵件備份" class="headings">郵件備份</a></h3>
<p>這個部份是針對 Outlook 的使用者所設計的功能,可以把本機的 Outlook 信箱全部備份起來:</p>
<p id="sHwddPC">
<img loading="lazy" width="823" height="623" class="alignnone size-full wp-image-3430 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63d42d1a1f5.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63d42d1a1f5.png 823w, https://becoder.org/wp-content/uploads/2019/08/img_5d63d42d1a1f5-300x227.png 300w" sizes="(max-width: 823px) 100vw, 823px" />
</p>
<p><a name="06"></a></p>
<h3 id="聰明備份"><a href="https://becoder.org/easeus-todo-backup-home/#聰明備份" class="anchor-link" aria-label="聰明備份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:聰明備份" class="headings">聰明備份</a></h3>
<p>一開始看不太懂這個功能的用意,後來才發現是一個相當無腦的功能XD,他會自動幫我找出我有「存過檔案」的地方進行備份,主要是使用者的資料夾(C:/User/使用者名稱) 的內容進行備份,並且會自動進行排程:</p>
<p id="DuWwpeW">
<img loading="lazy" width="818" height="617" class="alignnone size-full wp-image-3408 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63bb381d887.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63bb381d887.png 818w, https://becoder.org/wp-content/uploads/2019/08/img_5d63bb381d887-300x226.png 300w" sizes="(max-width: 818px) 100vw, 818px" />
</p>
<p><a name="07"></a></p>
<h2 id="克隆clone"><a href="https://becoder.org/easeus-todo-backup-home/#克隆clone" class="anchor-link" aria-label="克隆clone"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:克隆clone" class="headings">克隆(Clone)</a></h2>
<p>簡單說就是「硬碟直接複製」的功能,使用這個功能我可以把我某顆磁碟內的資料、分割區 1:1 的全部複製到其他硬碟,適合電腦更換老舊硬碟時,不想手動搬檔案使用:</p>
<p> </p>
<div id="attachment_3410" style="width: 829px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3410" loading="lazy" class="wp-image-3410 size-full" src="https://becoder.org/wp-content/uploads/2019/08/img_5d63bbff95708.png" alt="" width="819" height="623" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63bbff95708.png 819w, https://becoder.org/wp-content/uploads/2019/08/img_5d63bbff95708-300x228.png 300w" sizes="(max-width: 819px) 100vw, 819px" />
<p id="caption-attachment-3410" class="wp-caption-text">
先選「來源」硬碟
</p>
</div>
<p> </p>
<div id="attachment_3412" style="width: 834px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3412" loading="lazy" class="wp-image-3412 size-full" src="https://becoder.org/wp-content/uploads/2019/08/img_5d63bc32ee9fb.png" alt="" width="824" height="624" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63bc32ee9fb.png 824w, https://becoder.org/wp-content/uploads/2019/08/img_5d63bc32ee9fb-300x227.png 300w" sizes="(max-width: 824px) 100vw, 824px" />
<p id="caption-attachment-3412" class="wp-caption-text">
再選目標硬碟
</p>
</div>
<p> </p>
<p>由於他是 Block Level 的複製,所以會花上比較久的時間喔!</p>
<p id="JWiBHaf">
<img loading="lazy" width="823" height="623" class="alignnone size-full wp-image-3414 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63bcd98f6b0.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63bcd98f6b0.png 823w, https://becoder.org/wp-content/uploads/2019/08/img_5d63bcd98f6b0-300x227.png 300w" sizes="(max-width: 823px) 100vw, 823px" />
</p>
<p><a name="08"></a></p>
<h2 id="系統克隆"><a href="https://becoder.org/easeus-todo-backup-home/#系統克隆" class="anchor-link" aria-label="系統克隆"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:系統克隆" class="headings">系統克隆</a></h2>
<p>在電腦要從傳統硬碟升級到 SSD 的時候一定要重灌嗎?其實有更好的選擇,可以讓你省下更多時間,用這個功能就可以直接把目前執行的作業系統、所有程式都轉移到新的 SSD 硬碟上面,甚至是不懂電腦的人都可以獨立操作完成:</p>
<p>因為要把整個作業系統遷移,所以需要花比較多的時間,依照系統、程式多寡去決定,請耐心等候嘿!按完按鈕,電腦丟著就可以自動完成系統轉移,超方便阿!</p>
<p id="aFcwgDO">
<img loading="lazy" width="825" height="625" class="alignnone size-full wp-image-3415 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63bdbd4dadb.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63bdbd4dadb.png 825w, https://becoder.org/wp-content/uploads/2019/08/img_5d63bdbd4dadb-300x227.png 300w" sizes="(max-width: 825px) 100vw, 825px" />
</p>
<p> </p>
<p id="IunArbh">
<img loading="lazy" width="821" height="625" class="alignnone size-full wp-image-3417 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63be3f46fad.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63be3f46fad.png 821w, https://becoder.org/wp-content/uploads/2019/08/img_5d63be3f46fad-300x228.png 300w" sizes="(max-width: 821px) 100vw, 821px" />
</p>
<p><a name="09"></a></p>
<h2 id="工具--檢查映像檔"><a href="https://becoder.org/easeus-todo-backup-home/#工具--檢查映像檔" class="anchor-link" aria-label="工具--檢查映像檔"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--檢查映像檔" class="headings">工具 → 檢查映像檔</a></h2>
<p>在備份完後一定要確認自己的備份出來的檔案能不能用,要是某天真的需要用到備份,檔案卻是壞的,那就功虧一簣啦!找資料救援更是天價,這是一個備份軟體必備的功能:</p>
<p id="UchANfb">
<img loading="lazy" width="819" height="621" class="alignnone size-full wp-image-3418 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63bf861f279.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63bf861f279.png 819w, https://becoder.org/wp-content/uploads/2019/08/img_5d63bf861f279-300x227.png 300w" sizes="(max-width: 819px) 100vw, 819px" />
</p>
<p><a name="10"></a></p>
<h2 id="工具--建立-winpe-開機碟"><a href="https://becoder.org/easeus-todo-backup-home/#工具--建立-winpe-開機碟" class="anchor-link" aria-label="工具--建立-winpe-開機碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--建立-winpe-開機碟" class="headings">工具 → 建立 WinPE 開機碟</a></h2>
<p>這個工具會利用 Windows 系統本身提供的 PE 工具建立開機光碟,在電腦開步起來的情況下,可以透過開機光碟、開機 USB 去救援系統,支援這些功能:</p>
<ul>
<li>建立 ISO</li>
<li>直接寫入 USB 隨身碟</li>
<li>直接燒錄開機光碟</li>
</ul>
<img loading="lazy" class="aligncenter size-full wp-image-3419" src="https://becoder.org/wp-content/uploads/2019/08/easeus.gif" alt="" width="830" height="620" />
<p><a name="11"></a></p>
<h2 id="工具--建立-linux-開機碟"><a href="https://becoder.org/easeus-todo-backup-home/#工具--建立-linux-開機碟" class="anchor-link" aria-label="工具--建立-linux-開機碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--建立-linux-開機碟" class="headings">工具 → 建立 Linux 開機碟</a></h2>
<p>在建立 Linux 開機碟反而比較快速,因為 Linux 擁有開源的特性,軟體只需要去網路上下載相對應的檔案會來就可以包成 ISO 了,而 Windows 因為授權的關係必須從本機的檔案去提取 WinPE:</p>
<p id="FWfNxjv">
<img loading="lazy" width="830" height="620" class="alignnone size-full wp-image-3420 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63c1dad0e18.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63c1dad0e18.png 830w, https://becoder.org/wp-content/uploads/2019/08/img_5d63c1dad0e18-300x224.png 300w" sizes="(max-width: 830px) 100vw, 830px" />
</p>
<p> </p>
<p>不過似乎功能比較少,在這邊推薦大家使用 WinPE 版本,而且 Linux 版似乎不支援 UEFI 模式開機:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3423" src="https://becoder.org/wp-content/uploads/2019/08/Windows-10-x64-2019-08-26-20-00-20.png" alt="" width="640" height="480" srcset="https://becoder.org/wp-content/uploads/2019/08/Windows-10-x64-2019-08-26-20-00-20.png 640w, https://becoder.org/wp-content/uploads/2019/08/Windows-10-x64-2019-08-26-20-00-20-300x225.png 300w" sizes="(max-width: 640px) 100vw, 640px" />
<p> </p>
<img loading="lazy" class="aligncenter size-full wp-image-3424" src="https://becoder.org/wp-content/uploads/2019/08/Windows-10-x64-2019-08-26-20-01-53.png" alt="" width="1024" height="768" srcset="https://becoder.org/wp-content/uploads/2019/08/Windows-10-x64-2019-08-26-20-01-53.png 1024w, https://becoder.org/wp-content/uploads/2019/08/Windows-10-x64-2019-08-26-20-01-53-300x225.png 300w" sizes="(max-width: 1024px) 100vw, 1024px" />
<p><a name="12"></a></p>
<h2 id="工具--清除磁碟"><a href="https://becoder.org/easeus-todo-backup-home/#工具--清除磁碟" class="anchor-link" aria-label="工具--清除磁碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--清除磁碟" class="headings">工具 → 清除磁碟</a></h2>
<p>在有一些單位在硬碟退役的時候,都會對資料進行銷毀,避免內部機密資料外洩,這個工具可以方便的清除磁碟,將每個 Block 都寫入 0 進行硬碟銷毀。</p>
<p id="OHUKENC">
<img loading="lazy" width="830" height="630" class="alignnone size-full wp-image-3429 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63ccf1a17b8.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63ccf1a17b8.png 830w, https://becoder.org/wp-content/uploads/2019/08/img_5d63ccf1a17b8-300x228.png 300w" sizes="(max-width: 830px) 100vw, 830px" />
</p>
<p><a name="13"></a></p>
<h2 id="工具--iscsi-啟動器"><a href="https://becoder.org/easeus-todo-backup-home/#工具--iscsi-啟動器" class="anchor-link" aria-label="工具--iscsi-啟動器"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--iscsi-啟動器" class="headings">工具 → iSCSI 啟動器</a></h2>
<p>這是方便你在使用的時候可以把 Windows 內的 「iSCSI 啟動器」叫起來,方便進行掛載後,執行後續的備份工作</p>
<p><a name="14"></a></p>
<h2 id="工具--preos"><a href="https://becoder.org/easeus-todo-backup-home/#工具--preos" class="anchor-link" aria-label="工具--preos"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--preos" class="headings">工具 → PreOS</a></h2>
<p>PreOS 應該就是類似上面提到的開機碟模式,有一些操作是需要在 PE 模式進行的(系統遷移),避免權限不足而設計的機制。</p>
<p><a name="15"></a></p>
<h2 id="工具--掛載"><a href="https://becoder.org/easeus-todo-backup-home/#工具--掛載" class="anchor-link" aria-label="工具--掛載"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--掛載" class="headings">工具 → 掛載</a></h2>
<p>備份後的檔案會是 .pbd 格式,是 EaseUS Todo Backup 專屬備份格式,此工具可以把備份的檔案進行掛載、檢視,掛載的時候會依照選擇的備份模式,而出現不同的畫面,這個檔案是對「整個作業系統」進行備份的,所以也把 EFI 磁區備份下來了,如果我只要看 C 磁碟的話,我只需要掛載 C 磁碟:</p>
<div id="attachment_3431" style="width: 833px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3431" loading="lazy" class="wp-image-3431 size-full" src="https://becoder.org/wp-content/uploads/2019/08/img_5d63d77a429d2.png" alt="" width="823" height="634" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63d77a429d2.png 823w, https://becoder.org/wp-content/uploads/2019/08/img_5d63d77a429d2-300x231.png 300w" sizes="(max-width: 823px) 100vw, 823px" />
<p id="caption-attachment-3431" class="wp-caption-text">
掛載工具
</p>
</div>
<div id="attachment_3432" style="width: 834px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3432" loading="lazy" class="wp-image-3432 size-full" src="https://becoder.org/wp-content/uploads/2019/08/img_5d63d7b15813e.png" alt="" width="824" height="631" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63d7b15813e.png 824w, https://becoder.org/wp-content/uploads/2019/08/img_5d63d7b15813e-300x230.png 300w" sizes="(max-width: 824px) 100vw, 824px" />
<p id="caption-attachment-3432" class="wp-caption-text">
選擇要掛載的磁區
</p>
</div>
<p> </p>
<div id="attachment_3435" style="width: 832px" class="wp-caption alignnone">
<img aria-describedby="caption-attachment-3435" loading="lazy" class="wp-image-3435 size-full" src="https://becoder.org/wp-content/uploads/2019/08/img_5d63d81f58923.png" alt="" width="822" height="621" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63d81f58923.png 822w, https://becoder.org/wp-content/uploads/2019/08/img_5d63d81f58923-300x227.png 300w" sizes="(max-width: 822px) 100vw, 822px" />
<p id="caption-attachment-3435" class="wp-caption-text">
掛載成功
</p>
</div>
<p> </p>
<p>可以看到出現一個 Z: 磁碟,其實是映像檔掛模擬出來的硬碟:</p>
<p id="vyBlxyR">
<img loading="lazy" width="553" height="177" class="alignnone size-full wp-image-3436 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63d866a5a91.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63d866a5a91.png 553w, https://becoder.org/wp-content/uploads/2019/08/img_5d63d866a5a91-300x96.png 300w" sizes="(max-width: 553px) 100vw, 553px" />
</p>
<p><a name="16"></a></p>
<h2 id="工具--日誌"><a href="https://becoder.org/easeus-todo-backup-home/#工具--日誌" class="anchor-link" aria-label="工具--日誌"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--日誌" class="headings">工具 → 日誌</a></h2>
<p>這邊可以看到所有曾經操作過的紀錄,方便查閱:</p>
<p id="KGCjbGb">
<img loading="lazy" width="824" height="614" class="alignnone size-full wp-image-3437 " src="https://becoder.org/wp-content/uploads/2019/08/img_5d63d8ac4559b.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/08/img_5d63d8ac4559b.png 824w, https://becoder.org/wp-content/uploads/2019/08/img_5d63d8ac4559b-300x224.png 300w" sizes="(max-width: 824px) 100vw, 824px" />
</p>
<p><a name="17"></a></p>
<h2 id="工具--更新磁碟"><a href="https://becoder.org/easeus-todo-backup-home/#工具--更新磁碟" class="anchor-link" aria-label="工具--更新磁碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:工具--更新磁碟" class="headings">工具 → 更新磁碟</a></h2>
<p>一般是在插入 USB 隨身碟的時候會使用,讓程式可以順利的抓到新設備</p>
<p> </p>
<h2 id="感想"><a href="https://becoder.org/easeus-todo-backup-home/#感想" class="anchor-link" aria-label="感想"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/easeus-todo-backup-home/#contents:感想" class="headings">感想</a></h2>
<p>在還沒接觸這一套軟體之前,很少在使用系統備份軟體的,通常都是重灌處理一切事物,但後來隨著事情越來越多,人的時間有限,只能選擇最值得做的事情去做,所以後來這些工作都交給 EaseUS Todo Backup Home 去處理了!以前還很擔心 Ghost 不能用了怎麼辦呢XD,還好遇到了這套軟體,省下的時間,讓我可以做更多的事情!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/easeus-todo-backup-home/" target="_blank" rel="noopener">https://becoder.org/easeus-todo-backup-home/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(三):整合 NextCloud + OpenMediaVault
https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/
2022-07-08T21:38:16+08:00
2019-03-27T13:33:19+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>前兩篇都做完後,才能開始修改、整合唷!</p>
<p>在上一篇格式化完 Zvol 後,檔案不會存在 OMV 那個小小的 1GB 空間之中,只是用來欺騙 OMV 系統,真正的檔案是存在 PVE Host 的 ZFS Dataset 內,需要寫 Script 來掛載 PVE Host 的 ZFS Dataset。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/" target="_blank" rel="noopener">https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前兩篇都做完後,才能開始修改、整合唷!</p>
<p>在上一篇格式化完 Zvol 後,檔案不會存在 OMV 那個小小的 1GB 空間之中,只是用來欺騙 OMV 系統,真正的檔案是存在 PVE Host 的 ZFS Dataset 內,需要寫 Script 來掛載 PVE Host 的 ZFS Dataset。</p>
<p> </p>
<h2 id="新增-dataset-mount-point"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#新增-dataset-mount-point" class="anchor-link" aria-label="新增-dataset-mount-point"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#contents:新增-dataset-mount-point" class="headings">新增 Dataset Mount Point</a></h2>
<ol>
<li>
<p>先關閉 OMV LXC、NextCloud LXC</p>
</li>
<li>
<p>在 PVE Host 建立一個 Dataset 讓 OMV、NextCloud可以共用資料
<pre># zfs create <span style="color: #ff0000;">data/nas</span> # Zpool 為 data、目的地資料集為 home</pre></p>
</li>
<li>
<p>編輯 OMV、NextCloud 兩個 LXC 的設定檔:<code>/etc/pve/lxc/<strong>LXCID</strong>.conf</code></p>
</li>
<li>
<p>分別加入這行以自動掛載 Dataset 到兩個 LXC 的 <span style="color: #0000ff;"><code>/home</code> </span>之中:
<pre>lxc.mount.entry: <span style="color: #ff0000;">/data/nas</span> <span style="color: #0000ff;">home</span> none bind,create=dir,optional 0 0</pre></p>
</li>
<li>
<p>OMV LXCID.conf: <p id="HUJbeAq">
<img loading="lazy" width="729" height="421" class="alignnone size-full wp-image-3322 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0768ea22f.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0768ea22f.png 729w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b0768ea22f-300x173.png 300w" sizes="(max-width: 729px) 100vw, 729px" />
</p></p>
</li>
</ol>
<pre><code>NextCloud LXCID.conf
<p id="MjwovnL">
<img loading="lazy" width="723" height="221" class="alignnone size-full wp-image-3321 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0740e0cf7.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0740e0cf7.png 723w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b0740e0cf7-300x92.png 300w" sizes="(max-width: 723px) 100vw, 723px" />
</p>
</code></pre>
<ol start="6">
<li>存檔後把兩個 LXC 都開機,可以看到已經順利掛載了 <p id="wuXfqmI">
<img loading="lazy" width="681" height="538" class="alignnone size-full wp-image-3323 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b08783be9e.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b08783be9e.png 681w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b08783be9e-300x237.png 300w" sizes="(max-width: 681px) 100vw, 681px" />
</p></li>
</ol>
<p> </p>
<h2 id="修改-nextcloud-儲存位置"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#修改-nextcloud-儲存位置" class="anchor-link" aria-label="修改-nextcloud-儲存位置"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#contents:修改-nextcloud-儲存位置" class="headings">修改 NextCloud 儲存位置</a></h2>
<p>進入 NextCloud,修改 conf/config.php,將:</p>
<pre>'datadirectory' => '/var/www/html/data',</pre>
<p> </p>
<p>改為:</p>
<pre>'datadirectory' => '/home',</pre>
<p id="ihGwZaS">
<img loading="lazy" width="648" height="569" class="alignnone size-full wp-image-3324 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0e8d02682.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b0e8d02682.png 648w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b0e8d02682-300x263.png 300w" sizes="(max-width: 648px) 100vw, 648px" />
</p>
<p> </p>
<p>再執行下面指令把原本的資料移動到新的位置:</p>
<pre># mv /var/www/html/data/* /home/
# mv /var/www/html/data/.htaccess /home/
# mv /var/www/html/data/.ocdata /home/
# chown -R www-data:www-data /home/
# chmod -R 775 /home/</pre>
<p> </p>
<h2 id="新增群組修正-nextcloud-讀取權限"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#新增群組修正-nextcloud-讀取權限" class="anchor-link" aria-label="新增群組修正-nextcloud-讀取權限"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#contents:新增群組修正-nextcloud-讀取權限" class="headings">新增群組修正 NextCloud 讀取權限</a></h2>
<p>這個項目是為了 OMV 而作的,NextCloud 讀取 /home 時,必須讓 www-data 為檔案擁有者,為了讓 OMV 的一般使用者可以對 /home 讀寫,所以創一個群組 nasuser,將 www-data 加入 nasuser,並新增 Crontab 定時修正來權限,讓 NextCloud 可以順利讀寫來自 OMV 使用者的檔案,完成整合,這個部份到時候整合 OpenLDAP 後會更方便。</p>
<p>新增群組 nasuser_(註1)_ 並加入 www-data 使用者:(註1)</p>
<pre># addgroup nasuser -g 1000
# adduser www-data nasuser</pre>
<p> </p>
<p> </p>
<p><del>撰寫 Shell Script 定時修正權限:</del></p>
<pre><del># touch /root/script/repair-permission.sh
# chmod +x /root/script/repair-permission.sh
# vim /root/script/repair-permission.sh</del></pre>
<p><del>內容如下:</del><br>
<del></del></p>
<p><del>執行 <code>crontab -e</code> 寫入 crontab:</del></p>
<pre><del>* * * * * /root/script/repair-permission.sh</del></pre>
<p> </p>
<p>後來發現這樣子做會瘋狂的讀寫硬碟,檔案太多實在是很吃資源,第一圈還沒繞完就又跑第二圈了,現在直接修改 NextCloud 的 apache 執行時的 group 以及 umask,在檔案透過 NextCloud 上傳的時候就會有正確的權限:</p>
<p>修改 NextCloud LXC 的 <code>/etc/apache2/envvars</code> :</p>
<p>將</p>
<pre>export APACHE_RUN_GROUP=<span style="color: #ff0000;">www-data</span></pre>
<p>改為</p>
<pre>export APACHE_RUN_GROUP=<span style="color: #ff0000;">nasuser</span></pre>
<p>如此一來 Apache 都會用這個群組來讀寫資料。</p>
<p> </p>
<p>再來是權限的部份,一樣在 <code>/etc/apache2/envvars</code> ,於最下方新增一行:</p>
<pre>umask 002</pre>
<p> </p>
<p>umask 相關資料可以參考這篇文章:<a href="http://linux.vbird.org/linux_basic/0320bash/csh/no3-8-01.html" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">umask 指令</a></p>
<p>最後重啟 Apache 即可:</p>
<pre>systemctl restart apache2</pre>
<p> </p>
<p>如果想修正原先的權限,可以參考我的另外一個小站的筆記:<a href="https://people.cs.nctu.edu.tw/~fyli/post/repair-files-dirs-permission/" target="_blank" rel="noopener">快速修正檔案權限、資料夾權限</a></p>
<p> </p>
<h2 id="修改-openmediavault-samba-設定"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#修改-openmediavault-samba-設定" class="anchor-link" aria-label="修改-openmediavault-samba-設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#contents:修改-openmediavault-samba-設定" class="headings">修改 OpenMediaVault Samba 設定</a></h2>
<p> </p>
<p>進入 OpenMediaVault,編輯 <code>/usr/share/openmediavault/mkconf/samba.d/30homes</code></p>
<p>修改:</p>
<p>第 33 行(<code>OMV_SAMBA_HOMES_CREATEMASK</code>)、<br>
第 34 行(<code>OMV_SAMBA_HOMES_FORCECREATEMODE</code>)、<br>
第 35 行(<code>OMV_SAMBA_HOMES_DIRECTORYMASK</code>)、<br>
第 36 行(<code>OMV_SAMBA_HOMES_FORCEDIRECTORYMODE</code>)</p>
<p>將數值 <code>0600</code> 改為 <code>0775</code>;</p>
<p>在</p>
<p>第 48 行(<code>-o "comment = ${OMV_SAMBA_HOMES_COMMENT}" -n</code> )</p>
<p>下方新增一行,加入</p>
<pre>-o "path = /home/%S/files" -n</pre>
<img loading="lazy" width="888" height="487" class="alignnone size-full wp-image-3333 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b16d13bca0.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b16d13bca0.png 888w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b16d13bca0-300x165.png 300w" sizes="(max-width: 888px) 100vw, 888px" />
<p> </p>
<p>再編輯 <code>/usr/share/openmediavault/mkconf/samba.d/20shares</code>,</p>
<p>修改:</p>
<p>第 48 行 (OMV_SAMBA_SHARE_FORCECREATEMODE)、<br>
第 49 行(OMV_SAMBA_SHARE_DIRECTORYMASK)</p>
<p>將數值 <code>0664</code> 改為 <code>0775</code>。</p>
<p>存檔後執行下面指令寫入設定檔:</p>
<pre># omv-mkconf samba</pre>
<p> </p>
<h2 id="新增共享資料夾"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#新增共享資料夾" class="anchor-link" aria-label="新增共享資料夾"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#contents:新增共享資料夾" class="headings">新增共享資料夾</a></h2>
<p>首先先進入 OMV 後台,新增共享資料夾..(待補)</p>
<p> </p>
<h2 id="測試整合成果"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#測試整合成果" class="anchor-link" aria-label="測試整合成果"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/#contents:測試整合成果" class="headings">測試整合成果</a></h2>
<p>先進入 OpenMediaVault,把群組 nasuser_(註1)_ 創好:</p>
<pre># addgroup nasuser -gid 1000</pre>
<p> </p>
<p>先在 NextCloud 、OMV 建立使用者,使用同一組使用者帳號密碼:</p>
<p id="tBOmNwC">
<img loading="lazy" width="1542" height="325" class="alignnone size-full wp-image-3338 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b1d79a96a8.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b1d79a96a8.png 1542w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b1d79a96a8-300x63.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b1d79a96a8-1024x216.png 1024w" sizes="(max-width: 1542px) 100vw, 1542px" />
</p>
<p> </p>
<p id="RztHPRi">
<img loading="lazy" class=" alignnone wp-image-3339" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b1f0953650.png" alt="" width="325" height="350" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b1f0953650.png 432w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b1f0953650-279x300.png 279w" sizes="(max-width: 325px) 100vw, 325px" /> <img loading="lazy" class=" alignnone wp-image-3340" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b1f255406b.png" alt="" width="326" height="350" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b1f255406b.png 435w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b1f255406b-279x300.png 279w" sizes="(max-width: 326px) 100vw, 326px" />
</p>
<p> </p>
<p>先登入 NextCloud,讓 NextCloud 產生使用者資料夾:</p>
<p id="XFlVCun">
<img loading="lazy" width="876" height="587" class="alignnone size-full wp-image-3344 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b780bbb54b.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b780bbb54b.png 876w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b780bbb54b-300x201.png 300w" sizes="(max-width: 876px) 100vw, 876px" />
</p>
<p> </p>
<p>再登入 SAMBA:</p>
<p id="cHsjXqA">
<img loading="lazy" width="476" height="373" class="alignnone size-full wp-image-3345 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b789641422.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b789641422.png 476w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b789641422-300x235.png 300w" sizes="(max-width: 476px) 100vw, 476px" />
</p>
<p> </p>
<p>可以看到一樣的內容:</p>
<p id="DazcIrx">
<img loading="lazy" width="919" height="530" class="alignnone size-full wp-image-3346 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b78de30b43.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b78de30b43.png 919w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b78de30b43-300x173.png 300w" sizes="(max-width: 919px) 100vw, 919px" />
</p>
<p> </p>
<p>測試上傳 ISO 檔案:</p>
<p id="LctQKrO">
<img loading="lazy" width="1009" height="583" class="alignnone size-full wp-image-3347 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b796c6809d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b796c6809d.png 1009w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b796c6809d-300x173.png 300w" sizes="(max-width: 1009px) 100vw, 1009px" />
</p>
<p> </p>
<p>NextCloud 上面也可以看到這個檔案了:</p>
<p id="BroGyrt">
<img loading="lazy" width="1015" height="612" class="alignnone size-full wp-image-3348 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b79acda007.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b79acda007.png 1015w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b79acda007-300x181.png 300w" sizes="(max-width: 1015px) 100vw, 1015px" />
</p>
<blockquote>
<p> </p>
<p>註1:</p>
<p>nasuser 這個群組到時候整合 OpenLDAP 時就不需要建立了,直接把 www-data 加入 LDAP 中的群組(adduser www-data $gidNumber),將所有的 nasuser 取代為 LDAP 中的 $gidNumber 即可。</p></blockquote>
<p>系列文章:</p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄 (一):NextCloud</a></p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(二):OpenMediaVault</a></p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(三):整合 NextCloud + OpenMediaVault</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/" target="_blank" rel="noopener">https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(二):OpenMediaVault
https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/
2022-07-08T21:38:16+08:00
2019-03-26T16:51:30+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>接續上篇,再來安裝第二個開源套件:OpenMediaVault</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/" target="_blank" rel="noopener">https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>接續上篇,再來安裝第二個開源套件:OpenMediaVault</p>
<h2 id="安裝-openmediavault"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#安裝-openmediavault" class="anchor-link" aria-label="安裝-openmediavault"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:安裝-openmediavault" class="headings">安裝 OpenMediaVault</a></h2>
<h3 id="初始化-lxc"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#初始化-lxc" class="anchor-link" aria-label="初始化-lxc"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:初始化-lxc" class="headings">初始化 LXC</a></h3>
<p>先創一台 Debian 9 的 LXC,規格隨意,創好 LXC 後,請勿開機,不然後續會有問題喔!</p>
<p id="xvmrmXV">
<img loading="lazy" width="506" height="187" class="alignnone size-full wp-image-3281 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2cad16426.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2cad16426.png 506w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a2cad16426-300x111.png 300w" sizes="(max-width: 506px) 100vw, 506px" />
</p>
<p>創好後修改 LXC 的設定檔,我這台的 ID 是 106,在 <code>/etc/pve/lxc/<strong>LXCID</strong>.conf</code> 加入下列內容:</p>
<img loading="lazy" width="721" height="272" class="alignnone size-full wp-image-3282 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2e3f1bc91.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2e3f1bc91.png 721w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a2e3f1bc91-300x113.png 300w" sizes="(max-width: 721px) 100vw, 721px" />
<p> </p>
<p>開機後先修改 <code>/etc/apt/source.list</code> 的內容,指向國網中心,在台灣連線速度最快:</p>
<p id="nPCZVSr">
<img loading="lazy" width="740" height="163" class="alignnone size-full wp-image-3284 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2f3506969.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2f3506969.png 740w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a2f3506969-300x66.png 300w" sizes="(max-width: 740px) 100vw, 740px" />
</p>
<p> </p>
<p>更新 LXC 並且重新啟動 LXC: <code>apt update && apt dist-upgrade -y && reboot<br /> </code> (如果有出現 Perl: warning: Setting locale failed. 可以參考<a href="https://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">這篇文章</a> )</p>
<p> </p>
<h3 id="新增omv套件來源"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#新增omv套件來源" class="anchor-link" aria-label="新增omv套件來源"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:新增omv套件來源" class="headings">新增OMV套件來源</a></h3>
<pre># echo "deb http://packages.openmediavault.org/public arrakis main" >> /etc/apt/sources.list.d/omv.list</pre>
<p> </p>
<p>更新套件庫</p>
<pre># apt update
# apt install openmediavault-keyring -y
# apt update</pre>
<p> </p>
<h3 id="安裝-openmediavault-4"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#安裝-openmediavault-4" class="anchor-link" aria-label="安裝-openmediavault-4"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:安裝-openmediavault-4" class="headings">安裝 OpenMediaVault 4</a></h3>
<pre>apt-get install openmediavault -y</pre>
<p> </p>
<p>直接 Enter 即可</p>
<p id="aYsuRQi">
<img loading="lazy" width="772" height="422" class="alignnone size-full wp-image-3288 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a3b1f11b71.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a3b1f11b71.png 772w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a3b1f11b71-300x164.png 300w" sizes="(max-width: 772px) 100vw, 772px" />
</p>
<p> </p>
<p>之後會遇到錯誤,這是正常的:</p>
<p id="dCnPBIh">
<img loading="lazy" width="619" height="290" class="alignnone size-full wp-image-3289 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a3b6276ede.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a3b6276ede.png 619w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a3b6276ede-300x141.png 300w" sizes="(max-width: 619px) 100vw, 619px" />
</p>
<p>這時將 LXC 關機,下步驟繼續解決。</p>
<p> </p>
<h3 id="使用-chroot-繼續安裝-omv4"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#使用-chroot-繼續安裝-omv4" class="anchor-link" aria-label="使用-chroot-繼續安裝-omv4"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:使用-chroot-繼續安裝-omv4" class="headings">使用 chroot 繼續安裝 OMV4</a></h3>
<p><span style="color: #ff0000;">↓↓↓↓↓↓↓↓↓↓以下步驟在 Proxmox VE HOST 端操作↓↓↓↓↓↓↓↓↓↓</span></p>
<pre># cd /data/data/subvol-LXCID-disk-0/
# mount -t proc none proc/
# mount - - rbind /dev/ dev/
# mount --rbind /dev/ dev/
# mount --rbind /sys/ sys/
# chroot .
# apt install openmediavault</pre>
<p> </p>
<p>下完指令就可以看到安裝完成的畫面了,但是還有問題需要解決。</p>
<p id="yiZeWBt">
<img loading="lazy" width="948" height="404" class="alignnone size-full wp-image-3291 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a3ecde03d6.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a3ecde03d6.png 948w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a3ecde03d6-300x128.png 300w" sizes="(max-width: 948px) 100vw, 948px" />
</p>
<p> </p>
<h3 id="輸入-omv-initsystem-開始除錯"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#輸入-omv-initsystem-開始除錯" class="anchor-link" aria-label="輸入-omv-initsystem-開始除錯"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:輸入-omv-initsystem-開始除錯" class="headings">輸入 omv-initsystem 開始除錯</a></h3>
<p> </p>
<pre># omv-initsystem</pre>
<p>由於 omv-initsystem 是一連串的腳本,但是因為在 chroot 模式下,有一些 Script 是無法使用的,所以需要把他移走,我先移動到家目錄,再執行 omv-initsystem ,最後會看到 Running in chroot, ignoring request.:</p>
<pre># mv /usr/share/openmediavault/initsystem/20hostname ~/
# mv /usr/share/openmediavault/initsystem/60rootfs ~/
# omv-initsystem
# exit</pre>
<p id="TCaqZiE">
<img loading="lazy" width="867" height="305" class="alignnone size-full wp-image-3294 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a40d26b10d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a40d26b10d.png 867w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a40d26b10d-300x106.png 300w" sizes="(max-width: 867px) 100vw, 867px" />
</p>
<p> </p>
<h3 id="修改-avahi-daemon-設定"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#修改-avahi-daemon-設定" class="anchor-link" aria-label="修改-avahi-daemon-設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:修改-avahi-daemon-設定" class="headings">修改 avahi-daemon 設定</a></h3>
<p>修改 <code>/data/data/subvol-LXCID-disk-0/usr/share/openmediavault/mkconf/avahi-daemon</code>,把第 98 行註解掉:</p>
<p id="JgSUlxf">
<img loading="lazy" width="313" height="220" class="alignnone size-full wp-image-3295 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a4324e12df.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a4324e12df.png 313w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a4324e12df-300x211.png 300w" sizes="(max-width: 313px) 100vw, 313px" />
</p>
<p><span style="color: #ff0000;">↑↑↑↑↑↑↑↑↑↑以上步驟在 Proxmox VE HOST 端操作↑↑↑↑↑↑↑↑↑↑</span></p>
<p> </p>
<p> </p>
<h3 id="安裝-openmediavault-外掛來源"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#安裝-openmediavault-外掛來源" class="anchor-link" aria-label="安裝-openmediavault-外掛來源"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:安裝-openmediavault-外掛來源" class="headings">安裝 OpenMediaVault 外掛來源</a></h3>
<p>啟動 LXC 後,在瀏覽器輸入 LXC 的 IP 進入 OMV 的後台,預設帳號/密碼為</p>
<pre>admin/openmdeiavault</pre>
<p> </p>
<p>登入後點左邊的「插件」→「OK」</p>
<p id="HXfaUtM">
<img loading="lazy" width="1157" height="752" class="alignnone size-full wp-image-3296 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a44343f7ea.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a44343f7ea.png 1157w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a44343f7ea-300x195.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a44343f7ea-1024x666.png 1024w" sizes="(max-width: 1157px) 100vw, 1157px" />
</p>
<p>下載這個檔案並透過界面上傳安裝:<a href="http://omv-extras.org/debian/pool/main/o/openmediavault-omvextrasorg/openmediavault-omvextrasorg_3.3.3_all.deb" target="_blank" rel="noopener">http://omv-extras.org/debian/pool/main/o/openmediavault-omvextrasorg/openmediavault-omvextrasorg_3.3.3_all.deb</a></p>
<p> </p>
<p>可以看到套件列表了:</p>
<p id="njrQoIP">
<img loading="lazy" width="1037" height="887" class="alignnone size-full wp-image-3298 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a44d5975b7.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a44d5975b7.png 1037w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a44d5975b7-300x257.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a44d5975b7-1024x876.png 1024w" sizes="(max-width: 1037px) 100vw, 1037px" />
</p>
<p> </p>
<h3 id="重新開機-pve"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#重新開機-pve" class="anchor-link" aria-label="重新開機-pve"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:重新開機-pve" class="headings">重新開機 PVE</a></h3>
<p>因為剛剛有使用到 <code>chroot</code>,必須讓系統的掛載點恢復正常,所以需要將 PVE 主機整台重開:</p>
<pre># reboot</pre>
<p> </p>
<h3 id="新增-zvol--利用-zfs-模擬實體硬碟"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#新增-zvol--利用-zfs-模擬實體硬碟" class="anchor-link" aria-label="新增-zvol--利用-zfs-模擬實體硬碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:新增-zvol--利用-zfs-模擬實體硬碟" class="headings">新增 Zvol — 利用 ZFS 模擬實體硬碟</a></h3>
<p>PVE 重啟後,在 ZPOOL 建立一個 1GB 大小的 zvol:</p>
<pre># zfs create -V 1GB data/omv-disk</pre>
<p> </p>
<h3 id="查詢-zvol-的實際位置"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#查詢-zvol-的實際位置" class="anchor-link" aria-label="查詢-zvol-的實際位置"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:查詢-zvol-的實際位置" class="headings">查詢 Zvol 的實際位置</a></h3>
<p>透過 <code>ls -al</code>發現是一個 link位置後發現是一個 link,再用 <code>ls -al</code>查尋他的真實位置</p>
<pre># ls -al /dev/zvol/data/omv-disk
lrwxrwxrwx 1 root root 11 Mar 26 23:48 /dev/zvol/data/omv-disk -> <span style="color: #ff0000;">../../zd224</span>
# root@x79:~# ls -al <span style="color: #ff0000;">/dev/zd224</span>
brw-rw---- 1 root disk <span style="color: #ff0000;">230, 224</span> Mar 26 23:48 <span style="color: #ff0000;">/dev/zd224</span></pre>
<p> </p>
<h3 id="建立-zvol-分割區"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#建立-zvol-分割區" class="anchor-link" aria-label="建立-zvol-分割區"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:建立-zvol-分割區" class="headings">建立 Zvol 分割區</a></h3>
<p>透過 <code>fdisk</code> 幫 <code>/dev/zd224</code> 切一個分割區出來,因為 OMV 初始化硬碟會幫你切分割區,在這裡先切好把可能會出現的錯誤給避免掉:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3300" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a4bf1766b9.png" alt="" width="763" height="616" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a4bf1766b9.png 763w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a4bf1766b9-300x242.png 300w" sizes="(max-width: 763px) 100vw, 763px" />
<p> </p>
<h3 id="passthrough-zvol-到-lxc"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#passthrough-zvol-到-lxc" class="anchor-link" aria-label="passthrough-zvol-到-lxc"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:passthrough-zvol-到-lxc" class="headings">Passthrough Zvol 到 LXC</a></h3>
<pre># ls -al /dev/zd224*
brw-rw---- 1 root disk <span style="color: #ff0000;">230</span>, <span style="color: #ff0000;">224</span> Mar 26 23:53 /dev/zd224
brw-rw---- 1 root disk <span style="color: #ff0000;">230</span>, <span style="color: #ff0000;">225</span> Mar 26 23:53 /dev/zd224p1</pre>
<p> </p>
<p>編輯 LXC 設定檔,加入下面內容:</p>
<pre>lxc.cgroup.devices.allow: b <span style="color: #ff0000;">230</span>:<span style="color: #ff0000;">224</span> rwm
lxc.cgroup.devices.allow: b <span style="color: #ff0000;">230</span>:<span style="color: #ff0000;">225</span> rwm
lxc.autodev: 1
lxc.hook.autodev: /var/lib/lxc/<strong>LXCID</strong>/mount-hook.sh
</pre>
<p id="wUhOdZK">
<img loading="lazy" width="730" height="405" class="alignnone size-full wp-image-3304 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a527e0eb4a.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a527e0eb4a.png 730w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a527e0eb4a-300x166.png 300w" sizes="(max-width: 730px) 100vw, 730px" />
</p>
<p> </p>
<h3 id="新增-hook-script-lxc-開機自動掛載-zvol"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#新增-hook-script-lxc-開機自動掛載-zvol" class="anchor-link" aria-label="新增-hook-script-lxc-開機自動掛載-zvol"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:新增-hook-script-lxc-開機自動掛載-zvol" class="headings">新增 Hook Script ,LXC 開機自動掛載 Zvol</a></h3>
<p>使用編輯器建立 <code>/var/lib/lxc/<strong>LXCID</strong>/mount-hook.sh</code> ,內容如下:</p>
<pre>#!/bin/sh
mknod -m 777 ${LXC_ROOTFS_MOUNT}/dev/sda b <span style="color: #ff0000;">230</span> <span style="color: #ff0000;">224</span>
mknod -m 777 ${LXC_ROOTFS_MOUNT}/dev/sda1 b <span style="color: #ff0000;">230</span> <span style="color: #ff0000;">225</span></pre>
<p> </p>
<p>存檔後給予執行權限</p>
<pre>chmod +x /var/lib/lxc/<strong>LXCID</strong>/mount-hook.sh</pre>
<p> </p>
<h3 id="執行-lxc"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#執行-lxc" class="anchor-link" aria-label="執行-lxc"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:執行-lxc" class="headings">執行 LXC</a></h3>
<p>可以把 LXC 開機囉!</p>
<h2 id="建立檔案系統"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#建立檔案系統" class="anchor-link" aria-label="建立檔案系統"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:建立檔案系統" class="headings">建立檔案系統</a></h2>
<p>登入 OpenMediaVault 後,將掛載的 Zvol 格式化,步驟如圖:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3305" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a53f311242.png" alt="" width="1455" height="715" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a53f311242.png 1455w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a53f311242-300x147.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a53f311242-1024x503.png 1024w" sizes="(max-width: 1455px) 100vw, 1455px" />
<p> </p>
<p>記得掛載檔案系統</p>
<p id="EnEkYlV">
<img loading="lazy" width="1149" height="752" class="alignnone size-full wp-image-3326 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b12433a5af.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b12433a5af.png 1149w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b12433a5af-300x196.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b12433a5af-1024x670.png 1024w" sizes="(max-width: 1149px) 100vw, 1149px" />
</p>
<h2 id="啟動家目錄"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#啟動家目錄" class="anchor-link" aria-label="啟動家目錄"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:啟動家目錄" class="headings">啟動家目錄</a></h2>
<p>照著圖設定,記得「套用變更」</p>
<p id="BvxOVTB">
<img loading="lazy" width="1159" height="750" class="alignnone size-full wp-image-3328 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b14317903d.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b14317903d.png 1159w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b14317903d-300x194.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b14317903d-1024x663.png 1024w" sizes="(max-width: 1159px) 100vw, 1159px" />
</p>
<p> </p>
<h2 id="啟動-samba"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#啟動-samba" class="anchor-link" aria-label="啟動-samba"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/#contents:啟動-samba" class="headings">啟動 Samba</a></h2>
<p id="ZsyraGp">
<img loading="lazy" width="1101" height="755" class="alignnone size-full wp-image-3329 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9b14f61ce17.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9b14f61ce17.png 1101w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b14f61ce17-300x206.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c9b14f61ce17-1024x702.png 1024w" sizes="(max-width: 1101px) 100vw, 1101px" />
</p>
<p> </p>
<p>再來..請看下一篇:<a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(三):整合 NextCloud + OpenMediaVault</a></p>
<p> </p>
<p>系列文章:</p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄 (一):NextCloud</a></p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(二):OpenMediaVault</a></p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(三):整合 NextCloud + OpenMediaVault</a></p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/" target="_blank" rel="noopener">https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄 (一):NextCloud
https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/
2022-07-08T21:38:16+08:00
2019-03-26T16:48:19+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近把 Proxmox VE NAS整合的差不多了,今天來統整一下成果。先前寫的那篇遺漏了太多部分了,所以就在這全部重整一下。一開始想寫成一篇,但是無奈太長只好拆開來寫了…。</p>
<p>以下的內容都是基於 ZFS 檔案系統,若還沒有開始玩 ZFS 可以準備上手了!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/" target="_blank" rel="noopener">https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近把 Proxmox VE NAS整合的差不多了,今天來統整一下成果。先前寫的那篇遺漏了太多部分了,所以就在這全部重整一下。一開始想寫成一篇,但是無奈太長只好拆開來寫了…。</p>
<p>以下的內容都是基於 ZFS 檔案系統,若還沒有開始玩 ZFS 可以準備上手了!</p>
<h2 id="安裝-nextcloud"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#安裝-nextcloud" class="anchor-link" aria-label="安裝-nextcloud"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:安裝-nextcloud" class="headings">安裝 NextCloud</a></h2>
<h3 id="新增lxc並更新系統"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#新增lxc並更新系統" class="anchor-link" aria-label="新增lxc並更新系統"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:新增lxc並更新系統" class="headings">新增LXC並更新系統</a></h3>
<p>先開一台 Ubuntu 18.04 的 LXC,規格不用太好,之後再調整即可,隨意開個規格即可:</p>
<p id="RVmqyJb">
<img loading="lazy" width="511" height="136" class="size-full wp-image-3232 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c99dbb29c17a.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c99dbb29c17a.png 511w, https://becoder.org/wp-content/uploads/2019/03/img_5c99dbb29c17a-300x80.png 300w" sizes="(max-width: 511px) 100vw, 511px" />
</p>
<p> </p>
<p> </p>
<p>開機後先修改 <code>/etc/apt/source.list</code> 的內容,指向國網中心,在台灣連線速度最快:</p>
<p id="tEohWKZ">
<img loading="lazy" width="928" height="169" class="size-full wp-image-3236 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c99de631cbe7.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c99de631cbe7.png 928w, https://becoder.org/wp-content/uploads/2019/03/img_5c99de631cbe7-300x55.png 300w" sizes="(max-width: 928px) 100vw, 928px" />
</p>
<p> </p>
<p>更新 LXC 並且重新啟動 LXC: <code>apt update && apt dist-upgrade -y && reboot </code></p>
<p> </p>
<p> </p>
<h3 id="安裝-lamp"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#安裝-lamp" class="anchor-link" aria-label="安裝-lamp"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:安裝-lamp" class="headings">安裝 LAMP</a></h3>
<pre># apt install apache2 php mariadb-server -y
# apt install php-mysql php-zip php-dom php-xml php-mbstring php-gd php-curl php-apcu php-imagick -y</pre>
<p> </p>
<p>設定開機啟動 Apache2、MariaDB:<br>
(如果有出現 Perl: warning: Setting locale failed. 可以參考<a href="https://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">這篇文章</a>)</p>
<pre># systemctl start apache2 && systemctl enable apache2
# systemctl start mariadb && systemctl enable mariadb</pre>
<p> </p>
<p> </p>
<h3 id="安裝-acmesh"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#安裝-acmesh" class="anchor-link" aria-label="安裝-acmesh"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:安裝-acmesh" class="headings">安裝 Acme.sh</a></h3>
<p>快速取得 Let Encrypt SSL 憑證:<br>
(這過程需要用到 curl,請先安裝 <code>apt install curl -y</code>):</p>
<pre># curl https://get.acme.sh/ | sh</pre>
<p id="NUFEyvf">
<img loading="lazy" width="1009" height="445" class="size-full wp-image-3237 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c99e36879f92.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c99e36879f92.png 1009w, https://becoder.org/wp-content/uploads/2019/03/img_5c99e36879f92-300x132.png 300w" sizes="(max-width: 1009px) 100vw, 1009px" />
</p>
<p> </p>
<p>使用下面這個申請 SSL 的 Script 來申請 SSL 憑證,我放在 <code>/root/script/</code> 資料夾之中:</p>
<p> </p>
<p>執行腳本,我使用 CloudFlare API 進行申請</p>
<p id="bSgAPYu">
<img loading="lazy" width="1098" height="439" class="size-full wp-image-3241 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c99ea007a55e.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c99ea007a55e.png 1098w, https://becoder.org/wp-content/uploads/2019/03/img_5c99ea007a55e-300x120.png 300w, https://becoder.org/wp-content/uploads/2019/03/img_5c99ea007a55e-1024x409.png 1024w" sizes="(max-width: 1098px) 100vw, 1098px" />
</p>
<p> </p>
<p> </p>
<h3 id="新增-nextcloud-設定檔"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#新增-nextcloud-設定檔" class="anchor-link" aria-label="新增-nextcloud-設定檔"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:新增-nextcloud-設定檔" class="headings">新增 NextCloud 設定檔</a></h3>
<p>新增 <code>/etc/apache2/sites-available/nextcloud.conf</code> ,內容如下:</p>
<p> </p>
<p>Apache 新增以下三個模組:</p>
<pre># a2enmod headers
# a2enmod ssl
# a2enmod rewrite</pre>
<p> </p>
<p>啟動網站設定檔</p>
<pre># a2ensite nextcloud</pre>
<p> </p>
<p>重新啟動 Apache</p>
<pre># systemctl restart apache2</pre>
<img loading="lazy" width="875" height="283" class="size-full wp-image-3244 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c99ed51a07d1.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c99ed51a07d1.png 875w, https://becoder.org/wp-content/uploads/2019/03/img_5c99ed51a07d1-300x97.png 300w" sizes="(max-width: 875px) 100vw, 875px" />
<h3></h3>
<p>先執行 <code>mysql_secure_installation</code> 設定資料庫的 root 密碼,其他問題全部直接 Enter 過去就可以了。因為只跑 NextCloud 所以直接用 root 帳號來安裝最快,如果考慮更高安全性的人,請自己再建使用者。</p>
<p id="ywtStPG">
<img loading="lazy" width="719" height="423" class="size-full wp-image-3247 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c99ee79b94d3.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c99ee79b94d3.png 719w, https://becoder.org/wp-content/uploads/2019/03/img_5c99ee79b94d3-300x176.png 300w" sizes="(max-width: 719px) 100vw, 719px" />
</p>
<p> </p>
<h3 id="建立資料庫"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#建立資料庫" class="anchor-link" aria-label="建立資料庫"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:建立資料庫" class="headings">建立資料庫</a></h3>
<pre># mysql -u root</pre>
<pre># CREATE DATABASE nextcloud CHARACTER SET utf8;
# CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'NEXTCLOUDPASSWORD';
# GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';
# flush privileges;
# exit;</pre>
<p> </p>
<h3 id="開始安裝-nextcloud"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#開始安裝-nextcloud" class="anchor-link" aria-label="開始安裝-nextcloud"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:開始安裝-nextcloud" class="headings">開始安裝 NextCloud</a></h3>
<p>進入網頁根目錄,下載 NextCloud 並解壓縮:<br>
(解壓縮需要用到 unzip :<code>apt install unzip</code>)</p>
<pre># wget https://download.nextcloud.com/server/releases/nextcloud-15.0.5.zip
# unzip nextcloud-15.0.5.zip
# rm nextcloud-15.0.5.zip
# rm index.html
# mv nextcloud/* /var/www/html/
# mv nextcloud/.htaccess /var/www/html/
# mv nextcloud/.user.ini /var/www/html/
# chown -R www-data: /var/www/html/</pre>
<p> </p>
<p>打開 NextCloud 的網址,全部預設值即可,之後會再作修改:</p>
<p id="VCoIfNC">
<img loading="lazy" width="285" height="618" class="size-full wp-image-3251 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c99f413caaa5.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c99f413caaa5.png 285w, https://becoder.org/wp-content/uploads/2019/03/img_5c99f413caaa5-138x300.png 138w" sizes="(max-width: 285px) 100vw, 285px" />
</p>
<p> </p>
<h2 id="調校-nextcloud"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#調校-nextcloud" class="anchor-link" aria-label="調校-nextcloud"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:調校-nextcloud" class="headings">調校 NextCloud</a></h2>
<p>在設定的頁面可以看到有這些問題,我一項一項來解決。</p>
<p id="jRgmRlT">
<img loading="lazy" width="1016" height="760" class="alignnone size-full wp-image-3253 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a137373cd4.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a137373cd4.png 1016w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a137373cd4-300x224.png 300w" sizes="(max-width: 1016px) 100vw, 1016px" />
</p>
<p> </p>
<h3 id="啟用-htaccess-功能"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#啟用-htaccess-功能" class="anchor-link" aria-label="啟用-htaccess-功能"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:啟用-htaccess-功能" class="headings">啟用 .htaccess 功能</a></h3>
<blockquote>
<p>您的資料目錄和檔案看來可以被公開存取,這表示 .htaccess 設定檔並未生效,我們強烈建議您設定網頁伺服器,拒絕公開存取資料目錄,或者將您的資料目錄移出網頁伺服器根目錄。</p></blockquote>
<p>修改 <code>/etc/apache2/apache2.conf</code> 的第 107 行,改成:</p>
<p>存檔後重啟 Apache2:</p>
<pre># systemctl restart apache2</pre>
<p> </p>
<h3 id="修改-htaccess"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#修改-htaccess" class="anchor-link" aria-label="修改-htaccess"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:修改-htaccess" class="headings">修改 .htaccess</a></h3>
<blockquote>
<p>您的網頁伺服器設定不正確,因此無法解析 “/.well-known/caldav” ,請至說明文件瞭解更多資訊。</p></blockquote>
<blockquote>
<p>您的網頁伺服器設定不正確,因此無法解析 “/.well-known/carddav” ,請至說明文件瞭解更多資訊。</p></blockquote>
<p> </p>
<p>啟用 Apache2 的 Rewrite 功能即可:</p>
<pre># a2enmod rewrite
# systemctl restart apache2</pre>
<p> </p>
<h3 id="設定-memory-cache"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#設定-memory-cache" class="anchor-link" aria-label="設定-memory-cache"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:設定-memory-cache" class="headings">設定 Memory Cache</a></h3>
<p>在 <code>/var/www/html/config/config.php</code> 加入:</p>
<p><code>'memcache.local' => '\OC\Memcache\APCu',</code></p>
<p id="WYINXxN">
<img loading="lazy" width="435" height="81" class="size-full wp-image-3261 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a1e1e9d2a9.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a1e1e9d2a9.png 435w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a1e1e9d2a9-300x56.png 300w" sizes="(max-width: 435px) 100vw, 435px" />
</p>
<p> </p>
<p>存檔後修改 <code>/etc/php/7.2/apache2/php.ini</code> ,在最後一行加上:</p>
<p><code>apc.enable_cli=1</code></p>
<p id="XQxgWpw">
<img loading="lazy" width="211" height="109" class="size-full wp-image-3262 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a1eb415adc.png" alt="" />
</p>
<pre># systemctl restart apache2</pre>
<p> </p>
<h3 id="設定-opcache-快取"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#設定-opcache-快取" class="anchor-link" aria-label="設定-opcache-快取"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:設定-opcache-快取" class="headings">設定 Opcache 快取</a></h3>
<p>在 <code>/etc/php/7.2/apache2/conf.d/10-opcache.ini</code> 檔案下方加入以下內容啟用 Opcache:</p>
<pre># systemctl restart apache2</pre>
<p> </p>
<h3 id="修正資料庫-bigint"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#修正資料庫-bigint" class="anchor-link" aria-label="修正資料庫-bigint"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:修正資料庫-bigint" class="headings">修正資料庫 bigint</a></h3>
<p>先加入 occ 指令設定 alias 方便後續操:</p>
<pre># echo "alias occ='sudo -u www-data php /var/www/html/occ'" >> ~/.bashrc
# source ~/.bashrc</pre>
<p> </p>
<p>輸入 <code>occ db:convert-filecache-bigint</code>,輸入 <code>y</code> 確認轉換:<br>
<img loading="lazy" width="779" height="213" class="size-full wp-image-3264 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2004d6368.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a2004d6368.png 779w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a2004d6368-300x82.png 300w" sizes="(max-width: 779px) 100vw, 779px" /></p>
<h3 id="設定系統-crontab"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#設定系統-crontab" class="anchor-link" aria-label="設定系統-crontab"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:設定系統-crontab" class="headings">設定系統 Crontab</a></h3>
<p>到「基本設定」的工作背景選擇 「Cron」:</p>
<p id="RQkDPgM">
<img loading="lazy" width="925" height="288" class="alignnone size-full wp-image-3269 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a21b320e3f.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a21b320e3f.png 925w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a21b320e3f-300x93.png 300w" sizes="(max-width: 925px) 100vw, 925px" />
</p>
<p> </p>
<p>並使用 www-data 使用者身份執行五分鐘一次的 crontab 任務:</p>
<pre># crontab -u www-data -e</pre>
<p> </p>
<p>加入:</p>
<pre>*/5 * * * * php -f /var/www/html/cron.php</pre>
<p id="HYxUqWx">
<img loading="lazy" width="700" height="521" class="alignnone size-full wp-image-3272 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a229ab4e27.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a229ab4e27.png 700w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a229ab4e27-300x223.png 300w" sizes="(max-width: 700px) 100vw, 700px" />
</p>
<p> </p>
<h3 id="調校完畢"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#調校完畢" class="anchor-link" aria-label="調校完畢"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:調校完畢" class="headings">調校完畢</a></h3>
<p>如此一來基本調校安裝就大功告成啦!</p>
<p id="fQsTNYF">
<img loading="lazy" width="565" height="222" class="size-full wp-image-3266 aligncenter" src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a20487be0b.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a20487be0b.png 565w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a20487be0b-300x118.png 300w" sizes="(max-width: 565px) 100vw, 565px" />
</p>
<p> </p>
<h2 id="改造-nextcloud"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#改造-nextcloud" class="anchor-link" aria-label="改造-nextcloud"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:改造-nextcloud" class="headings">改造 NextCloud</a></h2>
<h3 id="隱藏-indexphp"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#隱藏-indexphp" class="anchor-link" aria-label="隱藏-indexphp"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:隱藏-indexphp" class="headings">隱藏 index.php</a></h3>
<p>預設的 NextCloud 是會讓你看見 <code>index.php</code> 這個路徑的,為了美觀,使用下列方法隱藏 <code>index.php</code> 路徑</p>
<p>編輯 <code>config/config.php</code>,加入:</p>
<p><code>'htaccess.RewriteBase' => '/',</code></p>
<p id="fNklQMg">
<img loading="lazy" width="451" height="71" class="alignnone size-full wp-image-3274 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a23f10a275.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a23f10a275.png 451w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a23f10a275-300x47.png 300w" sizes="(max-width: 451px) 100vw, 451px" />
</p>
<p> </p>
<p>執行 <code>occ</code> 指令重新產生 <code>.htaccess</code></p>
<pre>occ maintenance:update:htaccess</pre>
<p id="qkszUal">
<img loading="lazy" width="507" height="51" class="alignnone size-full wp-image-3277 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a242745108.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a242745108.png 507w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a242745108-300x30.png 300w" sizes="(max-width: 507px) 100vw, 507px" />
</p>
<p> </p>
<p>成果如下:</p>
<p id="tHFcnqB">
<img loading="lazy" width="429" height="42" class="alignnone size-full wp-image-3279 " src="https://becoder.org/wp-content/uploads/2019/03/img_5c9a247f6c911.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/03/img_5c9a247f6c911.png 429w, https://becoder.org/wp-content/uploads/2019/03/img_5c9a247f6c911-300x29.png 300w" sizes="(max-width: 429px) 100vw, 429px" />
</p>
<p> </p>
<p> </p>
<h3 id="自動檢查檔案資料夾系統變化"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#自動檢查檔案資料夾系統變化" class="anchor-link" aria-label="自動檢查檔案資料夾系統變化"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:自動檢查檔案資料夾系統變化" class="headings"><span style="color: #ff0000;">自動檢查檔案資料夾系統變化</span></a></h3>
<p>編輯 <code>config/config.php</code>,加入:</p>
<p><code>'filesystem_check_changes' => 1,</code></p>
<p>這樣未來就可以透過任何軟體直接修改家目錄的檔案了,此參數的功能可以讓 NextCloud 自去檢查檔案是否被修改/增加/刪除,達到同步的效果,如果沒有這行的話,直接透過 Linux 刪除家目錄的檔案,NextCloud 是不會發現檔案遭到異動的。</p>
<p> </p>
<h3 id="關閉檔案資料夾權限檢查"><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#關閉檔案資料夾權限檢查" class="anchor-link" aria-label="關閉檔案資料夾權限檢查"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/#contents:關閉檔案資料夾權限檢查" class="headings"><span style="color: #ff0000;">關閉檔案資料夾權限檢查</span></a></h3>
<p>編輯 <code>config/config.php</code>,加入:</p>
<p><code>'check_data_directory_permissions' => false,</code></p>
<p>之後整合 OpenMediaVault 的時候必須的重要設定,整合時需要大量的權限修改,這些修改並不符合 NextCloud 系統所期許的,系統會認為你的設定是不安全而不讓你登入 NextCloud,關掉後就可以盡情改造了。</p>
<p> </p>
<p>再來..請看下一篇:<a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(二):OpenMediaVault</a></p>
<p> </p>
<p>系列文章:</p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄 (一):NextCloud</a></p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-2/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(二):OpenMediaVault</a></p>
<p><a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-3/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">[DIY NAS] Proxmox VE + NextCloud + OpenMediaVault + OpenLDAP 整合紀錄(三):整合 NextCloud + OpenMediaVault</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/" target="_blank" rel="noopener">https://becoder.org/diynas-pve-nextcloud-omv4-openldap-1/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
使用 Cloudflare API v4 建立 DDNS Script
https://becoder.org/cloudflare-api-v4-ddns-script/
2022-07-08T21:38:16+08:00
2019-02-28T09:27:57+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在中華電信的 PPPOE 環境架設服務時,因為中華電信提供的是 「7 浮 1 固」的制度,只有一個不會變動的 IP 可以使用,其他都是會隨著時間過期而改變。</p>
<p>之前使用 Cloudflare 作為 DDNS 使用是相當容易的,但是在昨天發現當初使用的 Script 已經不能使用了,原來是 Cloudflar API 已經到了 v4 ,最初 Script 使用的 API 已經被 Cloudflare 官方停用了,現在只能使用 v4 的 API 來實現 DDNS。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cloudflare-api-v4-ddns-script/" target="_blank" rel="noopener">https://becoder.org/cloudflare-api-v4-ddns-script/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在中華電信的 PPPOE 環境架設服務時,因為中華電信提供的是 「7 浮 1 固」的制度,只有一個不會變動的 IP 可以使用,其他都是會隨著時間過期而改變。</p>
<p>之前使用 Cloudflare 作為 DDNS 使用是相當容易的,但是在昨天發現當初使用的 Script 已經不能使用了,原來是 Cloudflar API 已經到了 v4 ,最初 Script 使用的 API 已經被 Cloudflare 官方停用了,現在只能使用 v4 的 API 來實現 DDNS。</p>
<h2 id="cloudflare-api-v4-打造-ddns"><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#cloudflare-api-v4-打造-ddns" class="anchor-link" aria-label="cloudflare-api-v4-打造-ddns"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#contents:cloudflare-api-v4-打造-ddns" class="headings">Cloudflare API v4 打造 DDNS</a></h2>
<p>這個版本的 API 比以往複雜許多,官方文件在此:<a href="https://api.cloudflare.com/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer"><a href="https://api.cloudflare.com/" target="_blank" rel="noopener">https://api.cloudflare.com/</a></a> 。</p>
<p>在開始前需要這些數值:Zone ID、Global API Key、Record ID</p>
<p> </p>
<h3 id="zone-id"><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#zone-id" class="anchor-link" aria-label="zone-id"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#contents:zone-id" class="headings">Zone ID</a></h3>
<p>在 Cloudflare 內,每個網域都有一個 Zone ID,在該網域的 Overview 下面就可以看到 Zone ID:</p>
<p id="TcQGvSF">
<img loading="lazy" width="1673" height="834" class="alignnone size-full wp-image-3216 " src="https://becoder.org/wp-content/uploads/2019/02/img_5c779f20da306.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/02/img_5c779f20da306.png 1673w, https://becoder.org/wp-content/uploads/2019/02/img_5c779f20da306-300x150.png 300w, https://becoder.org/wp-content/uploads/2019/02/img_5c779f20da306-1024x510.png 1024w, https://becoder.org/wp-content/uploads/2019/02/img_5c779f20da306-1000x500.png 1000w" sizes="(max-width: 1673px) 100vw, 1673px" />
</p>
<p> </p>
<h3 id="global-api-key"><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#global-api-key" class="anchor-link" aria-label="global-api-key"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#contents:global-api-key" class="headings">Global API Key</a></h3>
<p id="gIAvJKr">
<img loading="lazy" width="1603" height="636" class="alignnone size-full wp-image-3217 " src="https://becoder.org/wp-content/uploads/2019/02/img_5c779fd9ad04c.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/02/img_5c779fd9ad04c.png 1603w, https://becoder.org/wp-content/uploads/2019/02/img_5c779fd9ad04c-300x119.png 300w, https://becoder.org/wp-content/uploads/2019/02/img_5c779fd9ad04c-1024x406.png 1024w" sizes="(max-width: 1603px) 100vw, 1603px" />
</p>
<p> </p>
<h3 id="record-id"><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#record-id" class="anchor-link" aria-label="record-id"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#contents:record-id" class="headings">Record ID</a></h3>
<p>有了這些資料就可以來取得 Record ID 了, 每一個紀錄就會有一個 Record ID,有了 Record ID 才能對他的資料進行修改, Cloudflare 透過這種方式來增強 API 的安全性,用來避免洩漏 Global API Key 時,現有的紀錄不會輕易的被修改。</p>
<p>使用下列指令取得 Record ID:</p>
<p><code>curl -X GET "https://api.cloudflare.com/client/v4/zones/YOUR_ZONE_ID/dns_records" \<br /> -H "x-auth-email:[email protected]" \<br /> -H "x-auth-key:YOUR_GLOBAL_API_KEY" \<br /> -H "content-type: application/json"</code></p>
<p>取得回應,其中包含 Record ID:</p>
<p id="oSJuljK">
<img loading="lazy" width="1249" height="226" class="alignnone size-full wp-image-3223 " src="https://becoder.org/wp-content/uploads/2019/02/img_5c77a5c810acc.png" alt="" srcset="https://becoder.org/wp-content/uploads/2019/02/img_5c77a5c810acc.png 1249w, https://becoder.org/wp-content/uploads/2019/02/img_5c77a5c810acc-300x54.png 300w, https://becoder.org/wp-content/uploads/2019/02/img_5c77a5c810acc-1024x185.png 1024w" sizes="(max-width: 1249px) 100vw, 1249px" />
</p>
<p> </p>
<h2 id="cloudflare-api-v4-ddns-script"><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#cloudflare-api-v4-ddns-script" class="anchor-link" aria-label="cloudflare-api-v4-ddns-script"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cloudflare-api-v4-ddns-script/#contents:cloudflare-api-v4-ddns-script" class="headings">Cloudflare API v4 DDNS Script</a></h2>
<p>把所有的資料填到相對應的變數之中, Cloudflare DDNS 的腳本就完成了,搭配 crontab 定時執行即可。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cloudflare-api-v4-ddns-script/" target="_blank" rel="noopener">https://becoder.org/cloudflare-api-v4-ddns-script/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
使用 acme.sh + Cloudflare 申請免費 Wildcard SSL (Let’s Encrypt)
https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/
2022-07-08T21:38:16+08:00
2018-06-09T15:42:15+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>還記得之前申請 Let’s Encrypt Wildcard SSL 的時候總需要手動修改 DNS 紀錄才能生效,現在有了 acme.sh 以後,搭配 Cloudflare 所提供的 API Key,目前已經可以全自動排程申請,acme.sh 會使用 Cloudflare API 來幫你修改 dns 紀錄, 因為已經透過 DNS txt 紀錄來驗證所有權,已經不需要 HTTP 的模式來驗證了。因此私有 IP 的主機也可以開心使用 SSL 了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/" target="_blank" rel="noopener">https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>還記得之前申請 Let’s Encrypt Wildcard SSL 的時候總需要手動修改 DNS 紀錄才能生效,現在有了 acme.sh 以後,搭配 Cloudflare 所提供的 API Key,目前已經可以全自動排程申請,acme.sh 會使用 Cloudflare API 來幫你修改 dns 紀錄, 因為已經透過 DNS txt 紀錄來驗證所有權,已經不需要 HTTP 的模式來驗證了。因此私有 IP 的主機也可以開心使用 SSL 了。</p>
<p>在此使用的是 CentOS 7.5</p>
<h2 id="acmesh"><a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/#acmesh" class="anchor-link" aria-label="acmesh"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/#contents:acmesh" class="headings">acme.sh</a></h2>
<p>安裝方法參考 acme.sh 的 <a href="https://github.com/Neilpang/acme.sh" target="_blank" rel="noopener" target="_blank" rel="noopener">Github</a>:</p>
<pre>curl https://get.acme.sh | sh</pre>
<pre>wget -O - https://get.acme.sh | sh</pre>
<p>等他跑完就安裝好了,我使用 root 帳號執行,所以會安裝在 <code>/root/.acme.sh/</code></p>
<div id="attachment_3173" style="width: 701px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3173" loading="lazy" class="wp-image-3173 size-full" src="https://becoder.org/wp-content/uploads/2018/06/01.png" alt="acme.sh" width="691" height="472" srcset="https://becoder.org/wp-content/uploads/2018/06/01.png 691w, https://becoder.org/wp-content/uploads/2018/06/01-300x205.png 300w" sizes="(max-width: 691px) 100vw, 691px" />
<p id="caption-attachment-3173" class="wp-caption-text">
acme.sh
</p>
</div>
<p> </p>
<h2 id="cloudflare"><a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/#cloudflare" class="anchor-link" aria-label="cloudflare"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/#contents:cloudflare" class="headings">Cloudflare</a></h2>
<p>登入你的 Cloudflare 後,進入</p>
<pre>https://dash.cloudflare.com/profile</pre>
<p>把你的 Global Key 複製起來:</p>
<div id="attachment_3176" style="width: 1235px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3176" loading="lazy" class="wp-image-3176 size-full" src="https://becoder.org/wp-content/uploads/2018/06/02.png" alt="Cloudflare API Key" width="1225" height="599" srcset="https://becoder.org/wp-content/uploads/2018/06/02.png 1225w, https://becoder.org/wp-content/uploads/2018/06/02-300x147.png 300w, https://becoder.org/wp-content/uploads/2018/06/02-1024x501.png 1024w" sizes="(max-width: 1225px) 100vw, 1225px" />
<p id="caption-attachment-3176" class="wp-caption-text">
Cloudflare API Key
</p>
</div>
<p> </p>
<h2 id="申請-wildcard-ssl"><a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/#申請-wildcard-ssl" class="anchor-link" aria-label="申請-wildcard-ssl"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/#contents:申請-wildcard-ssl" class="headings">申請 Wildcard SSL</a></h2>
<p>把下面這個 script 改成你自己的網域,我習慣存成 shell script 放在一個資料夾內使用:</p>
<pre>export CF_Key="Your_CloudFlare_API_Key"
export CF_Email="[email protected]"
/root/.acme.sh/acme.sh --issue -d "*.YourDomainName.com" -d "YourDomainName.com" --dns dns_cf \
--cert-file /etc/pki/tls/certs/wildcard.YourDomainName.com.crt \
--key-file /etc/pki/tls/private/wildcard.YourDomainName.com.key \
--fullchain-file /etc/pki/tls/certs/wildcard.YourDomainName.com-chain.crt \
--ca-file /etc/pki/tls/certs/wildcard.YourDomainName.com-ca.crt \
--reloadcmd "systemctl reload nginx" # 如果是用 Apache 請自己修改</pre>
<p> </p>
<p>執行下去…,就結束啦!</p>
<div id="attachment_3177" style="width: 1199px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3177" loading="lazy" class="wp-image-3177 size-full" src="https://becoder.org/wp-content/uploads/2018/06/03.png" alt="acme.sh wildcard 成功" width="1189" height="492" srcset="https://becoder.org/wp-content/uploads/2018/06/03.png 1189w, https://becoder.org/wp-content/uploads/2018/06/03-300x124.png 300w, https://becoder.org/wp-content/uploads/2018/06/03-1024x424.png 1024w" sizes="(max-width: 1189px) 100vw, 1189px" />
<p id="caption-attachment-3177" class="wp-caption-text">
acme.sh wildcard 成功
</p>
</div>
<p> </p>
<p>如此一來,再也不需要讓機器架設 HTTP 了,若是多台主機,還可以用 rsync 進行同步,只需要一台執行申請的工作,而且這個腳本會自動加入 crontab 之中,之後也不需要手動去更新。感謝 acme.sh 這個方便的工具!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/" target="_blank" rel="noopener">https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
在 Proxmox VE 5.1 LXC 中安裝 OpenMediaVault 4
https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/
2022-07-08T21:38:16+08:00
2018-03-31T21:09:19+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>OpenMediaVault 不知不覺已經出到 4 了,也正式支援 Debian 9,以前在 omv3 時想要把他裝在 lxc 要做不少設定,現在變得簡單許多啦,大概 10 分鐘就可以裝起來了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/" target="_blank" rel="noopener">https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>OpenMediaVault 不知不覺已經出到 4 了,也正式支援 Debian 9,以前在 omv3 時想要把他裝在 lxc 要做不少設定,現在變得簡單許多啦,大概 10 分鐘就可以裝起來了。</p>
<h2 id="準備"><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#準備" class="anchor-link" aria-label="準備"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#contents:準備" class="headings">準備</a></h2>
<ul>
<li>一個夠用的 zpool</li>
</ul>
<p> </p>
<h2 id="新增-debian-9-的-lxc"><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#新增-debian-9-的-lxc" class="anchor-link" aria-label="新增-debian-9-的-lxc"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#contents:新增-debian-9-的-lxc" class="headings">新增 Debian 9 的 Lxc</a></h2>
<p>這個部份我全部都照預設來建立,我的分配如下:</p>
<div class="table-container"><table>
<thead>
<tr>
<th>CPU</th>
<th>Ram</th>
<th>Disk</th>
<th>Swap</th>
</tr>
</thead>
<tbody>
<tr>
<td>4 Cores</td>
<td>8192 MB</td>
<td>16 GB</td>
<td>2048 MB</td>
</tr>
</tbody>
</table></div>
<p> </p>
<p>建好以後先別急著開機,我參考先前 omv3 的安裝方法 <a href="https://forum.proxmox.com/threads/openmediavault-installation-in-lxc-with-attached-hw-block-device.29918/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">OpenMediaVault installation in LXC with attached HW block device</a> 照著修改 Lxc 的設定,在剛剛新建的 Lxc 的 conf (/etc/pve/lxc/LXC_ID.conf)上加上這三行:</p>
<pre>lxc.apparmor.profile: unconfined
lxc.mount.auto: cgroup:rw
lxc.mount.auto: proc:rw
lxc.mount.auto: sys:rw</pre>
<p> </p>
<p> </p>
<p>修改完存檔再把 Lxc 開機,在更新 Lxc 之前先把 APT 改到國網中心的鏡像站,這樣更新速度會快非常多:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3140" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-01.png" alt="" width="901" height="340" />
<p> </p>
<p>之後下指令更新系統,我習慣更新後重啟 Lxc:</p>
<pre>apt update && apt dist-upgrade -y && reboot</pre>
<p> </p>
<p> </p>
<h2 id="新增-apt-source"><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#新增-apt-source" class="anchor-link" aria-label="新增-apt-source"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#contents:新增-apt-source" class="headings">新增 APT Source</a></h2>
<pre>echo "deb http://packages.openmediavault.org/public arrakis main" > /etc/apt/sources.list.d/openmediavault.list</pre>
<p> </p>
<p>在下 <code>apt update</code> 之前需要先修正 <code>NO_PUBKEY</code> 的問題,但是如果直接新增會發現缺了套件 dirmngr,先安裝:</p>
<pre>apt-get install dirmngr</pre>
<p> </p>
<p>取得公鑰:</p>
<pre>apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5</pre>
<p> </p>
<p> </p>
<p> </p>
<h2 id="安裝-openmediavault"><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#安裝-openmediavault" class="anchor-link" aria-label="安裝-openmediavault"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#contents:安裝-openmediavault" class="headings">安裝 OpenMediaVault</a></h2>
<p>這個步驟需要一點時間,檔案有點大,不過比起之前的安裝步驟來說現在真的簡單多了。</p>
<pre>apt update
apt-get install openmediavault
poweroff</pre>
<p>Lxc 關機後就可以來建立硬碟了。</p>
<p> </p>
<p> </p>
<p><span style="color: #ff0000;">以下都操作都在 PVE 內進行,不是LXC內</span></p>
<h2 id="新增-virtual-block-device"><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#新增-virtual-block-device" class="anchor-link" aria-label="新增-virtual-block-device"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#contents:新增-virtual-block-device" class="headings">新增 Virtual Block Device</a></h2>
<p>再來要透過 ZFS 來模擬一個假的硬碟讓 OMV 以為他真的有硬碟了,其實上只是建立一個 Virtual Block Device 再 Passthrough 給 Lxc 抓,我的 POOL 是 3TB*4 使用 RaidZ1 組成的 zpool,容量自己調整:</p>
<pre>zfs create -V 1024G YOUR_ZPOOL/omv_sda</pre>
<p> </p>
<p>看一下這假硬碟在 PVE 內的位置是在哪裡:</p>
<pre>ls /dev/zvol/data/OMV_sd* -al
lrwxrwxrwx 1 root root 11 Apr 1 03:40 /dev/zvol/data/OMV_sda -> <span style="color: #ff0000;">../../zd192
</span></pre>
<pre>ls -al /dev/zd192
brw-rw---- 1 root disk <span style="color: #ff0000;">230</span>, <span style="color: #ff0000;">192</span> Apr 1 04:19 /dev/zd192</pre>
<p> </p>
<p>這兩個紅色的數字相當重要,等等 passthrough 硬碟的時候用的到,在 Lxc 的 conf 加上這幾行:</p>
<pre>lxc.cgroup.devices.allow: b <span style="color: #ff0000;">230</span>:<span style="color: #ff0000;">192</span> rwm
lxc.cgroup.devices.allow: b <span style="color: #ff0000;">230</span>:<span style="color: #ff0000;">193</span> rwm
lxc.autodev: 1
lxc.hook.autodev: /var/lib/lxc/ID/mount-hook.sh
</pre>
<p>之後在omv格式化硬碟的時候須要去讀寫 <code>sda1</code>,在 vdev 中分割的話他的數字就會 +1,我測試了一下如果不加 193 這行的話 OMV 是沒有辦法新增檔案系統的,會出現一堆錯誤訊息。(沒加的話 <code>blkid</code> 抓不到硬碟)</p>
<p> </p>
<p>新增 script 讓 Lxc 啟動時自動掛載 Virtual Device 成 sda 到 Lxc 內:</p>
<pre>vim /var/lib/lxc/ID/mount-hook.sh</pre>
<p> </p>
<p>加入以下內容:</p>
<pre>mknod -m 777 ${LXC_ROOTFS_MOUNT}/dev/sda b <span style="color: #ff0000;">230 192</span>
mknod -m 777 ${LXC_ROOTFS_MOUNT}/dev/sda1 b <span style="color: #ff0000;">230 193</span></pre>
<p>增加執行權限:</p>
<pre>chmod +x /var/lib/lxc/ID/mount-hook.sh</pre>
<p> </p>
<p>這是我完整的設定檔:</p>
<pre>arch: amd64
cores: 4
hostname: omv4
memory: 8192
net0: name=eth0,bridge=vmbr0,gw=172.16.0.254,hwaddr=8A:34:43:CD:B0:CE,ip=172.16.0.21/24,type=veth
ostype: debian
rootfs: local-zfs:subvol-111-disk-1,size=16G
swap: 2048
lxc.apparmor.profile: unconfined
lxc.mount.auto: cgroup:rw
lxc.mount.auto: proc:rw
lxc.mount.auto: sys:rw
lxc.cgroup.devices.allow: b 230:192 rwm
lxc.cgroup.devices.allow: b 230:193 rwm
lxc.autodev: 1
lxc.hook.autodev: /var/lib/lxc/111/mount-hook.sh</pre>
<p> </p>
<p>然後..就可以把 Lxc 打開了 XD</p>
<p> </p>
<h2 id="登入omv4"><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#登入omv4" class="anchor-link" aria-label="登入omv4"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#contents:登入omv4" class="headings">登入OMV4</a></h2>
<p>預設帳號密碼是 <code>admin/openmediavault</code>,安裝的時候就會提示了,點一下 <code>儲存裝置 >磁碟</code> 可以看到硬碟囉:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3147" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-02.png" alt="" width="845" height="577" />
<p> </p>
<p>但是在 SMART 的部份會出現錯誤,不過不要緊,因為硬碟的健康狀況可以直接在 PVE 上面檢查,我只要 omv 可以提供服務就好了:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3148" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-03.png" alt="" width="1100" height="437" />
<p> </p>
<p>再點一下檔案系統,格式化一下硬碟,單碟就可以了,Raid 的部份已經透過 ZFS 來做了,系統格式當然選效能最好的 EXT4:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3149" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-04.png" alt="" width="1094" height="389" />
<p> </p>
<p>初始化儲存空間需要一點時間:<img loading="lazy" class="aligncenter size-full wp-image-3150" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-05.png" alt="" width="555" height="358" /></p>
<p> </p>
<p>跑完就可以抓到硬碟容量了:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3153" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-06.png" alt="" width="1165" height="298" />
<p> </p>
<p>測試了一下 SMB…直接吃滿 1G 的速度…爽XD</p>
<img loading="lazy" class="aligncenter size-full wp-image-3155" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-07.png" alt="" width="1011" height="665" />
<p> </p>
<p> </p>
<h2 id="問題"><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#問題" class="anchor-link" aria-label="問題"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/#contents:問題" class="headings">問題</a></h2>
<img loading="lazy" class="aligncenter size-full wp-image-3159" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-error-01.png" alt="" width="447" height="209" />
<p>如果系統一直噴錯,請先在 PVE 內將該裝置切成一個獨立的分割區,這樣子就不會出現這個錯誤了</p>
<img loading="lazy" class="aligncenter size-full wp-image-3160" src="https://becoder.org/wp-content/uploads/2018/04/openmediavault4-on-proxmox-ve-5-error-02.png" alt="" width="891" height="714" />
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/" target="_blank" rel="noopener">https://becoder.org/openmediavault4-on-lxc-in-proxmox-ve-5/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Let’s Encrypt Wildcard 證書申請方法
https://becoder.org/lets-encrypt-wildcard-issue/
2022-07-08T21:38:16+08:00
2018-03-18T15:21:10+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在 2018 年 3月,Let’s Encrypt 終於推出了 Wildcard 證書,也就是一張憑證可以通用所有的子網域、裸域,以後這個網域下面的網站,都用同一個證書就可以了,在這邊紀錄一下申請方法,不過我猜過幾個月就又更新申請方法了,下面這個算是搶先使用吧XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/lets-encrypt-wildcard-issue/" target="_blank" rel="noopener">https://becoder.org/lets-encrypt-wildcard-issue/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在 2018 年 3月,Let’s Encrypt 終於推出了 Wildcard 證書,也就是一張憑證可以通用所有的子網域、裸域,以後這個網域下面的網站,都用同一個證書就可以了,在這邊紀錄一下申請方法,不過我猜過幾個月就又更新申請方法了,下面這個算是搶先使用吧XD</p>
<p> </p>
<p><strong>2018/06/23</strong> <span style="color: #ff0000;">這邊有更快速的方法,而且不需要人工修改 DNS 紀錄</span></p>
<blockquote class="wp-embedded-content" data-secret="g0an9DXMoG">
<p>
<a href="https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/" target="_blank" rel="noopener">使用 acme.sh + Cloudflare 申請免費 Wildcard SSL (Let’s Encrypt)</a>
</p>
</blockquote>
<blockquote>
<p> </p></blockquote>
<p> </p>
<p> </p>
<h2 id="下載-certbot-auto"><a href="https://becoder.org/lets-encrypt-wildcard-issue/#下載-certbot-auto" class="anchor-link" aria-label="下載-certbot-auto"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/lets-encrypt-wildcard-issue/#contents:下載-certbot-auto" class="headings">下載 certbot-auto</a></h2>
<p>先把 <code>certbot-auto</code> 載回來:</p>
<p><code>wget https://dl.eff.org/certbot-auto</code></p>
<p> </p>
<p>設定執行權限:</p>
<p><code>chmod a+x certbot-auto</code></p>
<p> </p>
<h2 id="申請憑證"><a href="https://becoder.org/lets-encrypt-wildcard-issue/#申請憑證" class="anchor-link" aria-label="申請憑證"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/lets-encrypt-wildcard-issue/#contents:申請憑證" class="headings">申請憑證</a></h2>
<p>申請憑證需要設定該網域的 TXT 紀錄才能完成驗證:</p>
<p><code>./certbot-auto certonly --manual \<br /> -d *.becoder.org --agree-tos \<br /> --manual-public-ip-logging-ok \<br /> --preferred-challenges dns-01 \<br /> </code> <code>--server https://acme-v02.api.letsencrypt.org/directory</code></p>
<p> </p>
<p> </p>
<p>然後輸入電子郵件,會出現這個畫面,把反白的地方加到你的網域,TXT 的數值好像每次申請都不一樣:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3127" src="https://becoder.org/wp-content/uploads/2018/03/lets-encrypt-wildcard-issue-01.png" alt="" width="1031" height="626" />
<p> </p>
<p> </p>
<p>然後來 CloudFlare 新增一下紀錄:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3128" src="https://becoder.org/wp-content/uploads/2018/03/lets-encrypt-wildcard-issue-03.png" alt="" width="1014" height="713" />
<p> </p>
<p> </p>
<p>新增完畢後回到 Terminal 按下 Enter 讓他們檢查,確認無誤後就完成了:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3129" src="https://becoder.org/wp-content/uploads/2018/03/lets-encrypt-wildcard-issue-02.png" alt="" width="1031" height="450" />
<p> </p>
<p> </p>
<p>比較麻反的是這目前似乎只能透過手動更新,因為需要修改DNS紀錄,如果要自動更新只能寫程式配合 CloudFlare 的 API 來修改 TXT 的數值,不過之後應該會有更好的驗證方式,期待之後的更新~~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/lets-encrypt-wildcard-issue/" target="_blank" rel="noopener">https://becoder.org/lets-encrypt-wildcard-issue/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
「工作站架設」課程環境 — 使用 VirtualBox 匯入虛擬機器,並建立快照成為練習環境
https://becoder.org/2018-rhcsa-ova/
2022-07-08T21:38:16+08:00
2018-03-11T18:25:26+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這學期有幸成為大一「工作站架設」課程的助教,為了讓大家回去可以有環境練習,稍微製作了一下和系上教室類似的環境,由於系上專業教室使用的是 Red Hat Enterprise Linux 7 環境,因此就採用 CentOS 7 來製作了(其實 CentOS 7 就只是閹掉紅帽商業軟體的 RHEL )</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2018-rhcsa-ova/" target="_blank" rel="noopener">https://becoder.org/2018-rhcsa-ova/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這學期有幸成為大一「工作站架設」課程的助教,為了讓大家回去可以有環境練習,稍微製作了一下和系上教室類似的環境,由於系上專業教室使用的是 Red Hat Enterprise Linux 7 環境,因此就採用 CentOS 7 來製作了(其實 CentOS 7 就只是閹掉紅帽商業軟體的 RHEL )</p>
<h2 id="virtualbox"><a href="https://becoder.org/2018-rhcsa-ova/#virtualbox" class="anchor-link" aria-label="virtualbox"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2018-rhcsa-ova/#contents:virtualbox" class="headings">VirtualBox</a></h2>
<p>由於學校有和紅帽合作,所以整間教室的架構都是 RHEL7 + KVM 來實現練習環境的,但是大部分的人都是 Windows 系統,所以就挑了開源的虛擬化方案 VirtualBox。</p>
<p>請先參考 <a href="https://briian.com/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">重灌狂人</a> 的 <a href="https://briian.com/5690/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">VirtualBox 安裝教學</a> 裝完 VirtualBox ,才能繼續進行下面的步驟。</p>
<p> </p>
<h2 id="匯入-ova"><a href="https://becoder.org/2018-rhcsa-ova/#匯入-ova" class="anchor-link" aria-label="匯入-ova"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2018-rhcsa-ova/#contents:匯入-ova" class="headings">匯入 OVA</a></h2>
<p>Open Virtualization Appliance (OVA):開放虛擬化設備,是一個開放的虛擬機器格式,其實他是透過 tar 把 vmdk 跟 VM 的 Config 打包在一起的格式,用於分享虛擬機器來說是非常方便的。</p>
<p>先把 desktop.ova 跟 server.ova 下載回家:<a href="https://csie.pro/2018_RHCSA_ova" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer"><a href="https://csie.pro/2018_RHCSA_ova" target="_blank" rel="noopener">https://csie.pro/2018_RHCSA_ova</a></a></p>
<p> </p>
<p>打開你的 VirtualBox,選擇「檔案」→「匯入應用裝置」,選擇剛剛下載的檔案其中一個:</p>
<div id="attachment_3097" style="width: 839px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3097" loading="lazy" class="wp-image-3097 size-full" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-01.png" alt="" width="829" height="615" />
<p id="caption-attachment-3097" class="wp-caption-text">
匯入應用裝置
</p>
</div>
<p> </p>
<div id="attachment_3099" style="width: 796px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3099" loading="lazy" class="wp-image-3099 size-full" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-02.png" alt="" width="786" height="595" />
<p id="caption-attachment-3099" class="wp-caption-text">
選擇其中一個 ova ,兩個都要
</p>
</div>
<p> </p>
<p> </p>
<p><strong>※注意</strong>:這邊必須把「<strong>重新初始化所有網路卡的 MAC 位址</strong>」打勾,避免發生網卡 Mac Address 衝突,導致虛擬機器無法上網。</p>
<div id="attachment_3100" style="width: 786px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3100" loading="lazy" class="wp-image-3100 size-full" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-03.png" alt="" width="776" height="584" />
<p id="caption-attachment-3100" class="wp-caption-text">
「重新初始化所有網路卡的 MAC 位址」打勾
</p>
</div>
<p> </p>
<div id="attachment_3101" style="width: 778px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3101" loading="lazy" class="wp-image-3101 size-full" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-04.png" alt="" width="768" height="591" />
<p id="caption-attachment-3101" class="wp-caption-text">
匯入中
</p>
</div>
<p> </p>
<p> </p>
<p>把兩個 ova 都會完畢會向這樣子:</p>
<div id="attachment_3102" style="width: 822px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3102" loading="lazy" class="wp-image-3102 size-full" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-05.png" alt="" width="812" height="553" />
<p id="caption-attachment-3102" class="wp-caption-text">
匯入完畢
</p>
</div>
<p> </p>
<p> </p>
<p> </p>
<h2 id="建立快照"><a href="https://becoder.org/2018-rhcsa-ova/#建立快照" class="anchor-link" aria-label="建立快照"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2018-rhcsa-ova/#contents:建立快照" class="headings">建立快照</a></h2>
<p>快照(Snapshot)簡單來說是一個可以保存當下狀態的技術,由於這是一個練習環境,建議開始練習之前先<strong>建立快照</strong>,之後如果操作錯誤的話可以快速還原乾淨的系統狀態。</p>
<p>到「機器工具」把快照給叫出來:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3103" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-06.png" alt="" width="823" height="577" />
<p> </p>
<p> </p>
<p>按下「取得」:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3104" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-07.png" alt="" width="819" height="579" />
<p> </p>
<p> </p>
<p>打上喜歡的名字再按下確定就可以了:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3105" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-08.png" alt="" width="802" height="568" />
<p> </p>
<p> </p>
<p> </p>
<h2 id="快照還原snapshot-rollback"><a href="https://becoder.org/2018-rhcsa-ova/#快照還原snapshot-rollback" class="anchor-link" aria-label="快照還原snapshot-rollback"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2018-rhcsa-ova/#contents:快照還原snapshot-rollback" class="headings">快照還原(SnapShot RollBack)</a></h2>
<p>快照是一個時間軸的概念,所以還原才會稱作 RollBack (回滾),還原很簡單,只要點一下你剛剛建立的快照,再點下還原就可以復原當初的狀態了:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3106" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-09.png" alt="" width="822" height="573" />
<p> </p>
<p> </p>
<p> </p>
<h2 id="啟動虛擬機器"><a href="https://becoder.org/2018-rhcsa-ova/#啟動虛擬機器" class="anchor-link" aria-label="啟動虛擬機器"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2018-rhcsa-ova/#contents:啟動虛擬機器" class="headings">啟動虛擬機器</a></h2>
<p>確認建立好快照後就可以把兩台虛擬機器都啟動了,如果擔心電腦效能承受不住可以一次開一台就好:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3107" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-10.png" alt="" width="837" height="573" />
<p> </p>
<p> </p>
<p>等待他跑完後,就是熟悉的類上課環境了:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3108" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-11.png" alt="" width="1100" height="884" />
<p> </p>
<p> </p>
<p>帳號和教室環境相同:</p>
<div class="table-container"><table>
<thead>
<tr>
<th>帳號</th>
<th>密碼</th>
</tr>
</thead>
<tbody>
<tr>
<td>student</td>
<td>student</td>
</tr>
<tr>
<td>root</td>
<td>redhat</td>
</tr>
</tbody>
</table></div>
<p> </p>
<p> </p>
<p>登入後可以看到桌面上有一個 IP.txt,裡面放的是目前機器所拿到的 IP Address:</p>
<img loading="lazy" class="aligncenter size-full wp-image-3120" src="https://becoder.org/wp-content/uploads/2018/03/2018-rhcsa-ova-12.png" alt="" width="1099" height="910" />
<p> </p>
<p> </p>
<p> </p>
<p>如此一來,大家在家裡就可以自行練習上課的東西了,讓自己多一些練習的機會~希望這學期大一的同學可以把 Linux 學好,看見初學者學 Linux 真的會很懷念高中時的日子,只不過我學的是 Debian 系列的 …哈哈。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2018-rhcsa-ova/" target="_blank" rel="noopener">https://becoder.org/2018-rhcsa-ova/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
把 Windows 10 當 Linux 用 — 安裝 Busybox-w32,搭配自動補全工具 Clink
https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/
2022-07-08T21:38:16+08:00
2018-03-10T16:05:45+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>前幾天在用 cmd 的時候,覺得真的很難用,很想要把 Linux 上面的常用指令通通搬來 Windows 上, Google 一下後查到了一個開源神器:Busybox-w32</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/" target="_blank" rel="noopener">https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前幾天在用 cmd 的時候,覺得真的很難用,很想要把 Linux 上面的常用指令通通搬來 Windows 上, Google 一下後查到了一個開源神器:Busybox-w32</p>
<p>Busybox-w32 是一套編譯給 Windows 用的 Busybox,基本的指令都有,甚至 vi、wget、grep 等用的到的都有提供,詳情請見 Busybox-w32 官方網站:<a href="https://frippery.org/busybox/" target="_blank" rel="noopener" target="_blank" rel="noopener"><a href="https://frippery.org/busybox/" target="_blank" rel="noopener">https://frippery.org/busybox/</a></a></p>
<p>從上面的連結下載後(有64位元版本),使用下面指令安裝到隨便一個資料夾,我是安裝到加目錄內的 busybox 資料夾,然後再把他加入環境變數:</p>
<div id="attachment_3080" style="width: 1574px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3080" loading="lazy" class="wp-image-3080 size-full" src="https://becoder.org/wp-content/uploads/2018/03/using-windows-10-as-linux-busybox-w32-01.png" alt="" width="1564" height="346" />
<p id="caption-attachment-3080" class="wp-caption-text">
安裝到資料夾內
</p>
</div>
<p> </p>
<div id="attachment_3081" style="width: 703px" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-3081" loading="lazy" class="wp-image-3081 size-full" src="https://becoder.org/wp-content/uploads/2018/03/using-windows-10-as-linux-busybox-w32-02.png" alt="" width="693" height="862" />
<p id="caption-attachment-3081" class="wp-caption-text">
安裝到環境變數
</p>
</div>
<p> </p>
<p>環境變數設定好後,重新開啟 cmd 測試一下 Linux 指令,基本上都有通了XD,不過可惜的是,<code>wget</code> 不支援 https,果然是 busybox XD</p>
<img loading="lazy" class="aligncenter size-full wp-image-3083" src="https://becoder.org/wp-content/uploads/2018/03/using-windows-10-as-linux-busybox-w32-03.png" alt="" width="979" height="702" />
<p> </p>
<h2 id="clink"><a href="https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/#clink" class="anchor-link" aria-label="clink"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/#contents:clink" class="headings">Clink</a></h2>
<p>Clink 可以讓 Windows 支援 TAB 補全,以及 Ctrl+A 等相關 Linux 快捷鍵,詳細請到官方網站閱讀相關資訊:<a href="http://mridgers.github.io/clink/" target="_blank" rel="noopener" target="_blank" rel="noopener"><a href="http://mridgers.github.io/clink/" target="_blank" rel="noopener">http://mridgers.github.io/clink/</a></a></p>
<p>下載回家後,打開 CMD,按兩下 TAB 發現自動補全功能出現啦~~~</p>
<img loading="lazy" class="aligncenter size-full wp-image-3084" src="https://becoder.org/wp-content/uploads/2018/03/using-windows-10-as-linux-busybox-w32-04.png" alt="" width="614" height="204" />
<p> </p>
<p> </p>
<h2 id="openssh-client"><a href="https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/#openssh-client" class="anchor-link" aria-label="openssh-client"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/#contents:openssh-client" class="headings">OpenSSH Client</a></h2>
<p>由於新版的 Windows 10 開始內建 OpenSSH 了,所以只要到應用程式啟用就可以在 CMD 執行 <code>ssh</code>, <code>scp</code>, <code>ssh-keygen</code> 等相關指令了,但卻沒有 <code>ssh-copy-id</code>… :</p>
<p>管理選用功能</p>
<img loading="lazy" class="aligncenter size-full wp-image-3085" src="https://becoder.org/wp-content/uploads/2018/03/using-windows-10-as-linux-busybox-w32-05.png" alt="" width="752" height="649" />
<p> </p>
<p>新增功能<img loading="lazy" class="aligncenter size-full wp-image-3086" src="https://becoder.org/wp-content/uploads/2018/03/using-windows-10-as-linux-busybox-w32-06.png" alt="" width="738" height="649" /></p>
<p> </p>
<p>按下安裝</p>
<img loading="lazy" class="aligncenter size-full wp-image-3087" src="https://becoder.org/wp-content/uploads/2018/03/using-windows-10-as-linux-busybox-w32-07.png" alt="" width="738" height="649" />
<p> </p>
<p>跑玩後,開啟 CMD 試試看 SSH 指令,如果沒反應的話就重開機試試看..</p>
<p> </p>
<p> </p>
<p>全部弄好後,在 Linux 上的習慣通通可以搬到 Windows 10 上面用了,而且不用裝太多東西…</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/" target="_blank" rel="noopener">https://becoder.org/using-windows-10-as-linux-with-busybox-w32-and-clink/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[CentOS] 在 CentOS 7 使用 firewalld 架設 NAT
https://becoder.org/centos7-firewalld-nat-server/
2022-07-08T21:38:16+08:00
2017-12-27T15:00:09+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> 架設 NAT 在之前大多使用 iptable 來實現,雖然在 CentOS 7 可以把 firewalld 關掉繼續使用 iptable,但是…我開始學 CentOS 的時候就已經是 7 了XD,我反而不會用 iptable Q_Q。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/centos7-firewalld-nat-server/" target="_blank" rel="noopener">https://becoder.org/centos7-firewalld-nat-server/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> 架設 NAT 在之前大多使用 iptable 來實現,雖然在 CentOS 7 可以把 firewalld 關掉繼續使用 iptable,但是…我開始學 CentOS 的時候就已經是 7 了XD,我反而不會用 iptable Q_Q。</p>
<h2 id="nat-伺服器"><a href="https://becoder.org/centos7-firewalld-nat-server/#nat-伺服器" class="anchor-link" aria-label="nat-伺服器"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:nat-伺服器" class="headings">NAT 伺服器</a></h2>
<p> 架設 NAT 需要有兩個網路孔,一個負責 WAN,一個負責 LAN,先修改網卡的 zone 分別為 External (WAN) 跟 Internal (LAN),我的 ens33 負責 WAN,ens34 負責 LAN。<br>
`<br /></p>
<h1 id="nmcli-c-mod-ens34-connectionzone-internal"><a href="https://becoder.org/centos7-firewalld-nat-server/#nmcli-c-mod-ens34-connectionzone-internal" class="anchor-link" aria-label="nmcli-c-mod-ens34-connectionzone-internal"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:nmcli-c-mod-ens34-connectionzone-internal" class="headings">nmcli c mod ens34 connection.zone internal<br /></a></h1>
<h1 id="nmcli-c-mod-ens33-connectionzone-external"><a href="https://becoder.org/centos7-firewalld-nat-server/#nmcli-c-mod-ens33-connectionzone-external" class="anchor-link" aria-label="nmcli-c-mod-ens33-connectionzone-external"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:nmcli-c-mod-ens33-connectionzone-external" class="headings">nmcli c mod ens33 connection.zone external<br /></a></h1>
<p>`</p>
<p> </p>
<p>然後確認一下有沒有成功</p>
<p><code># firewall-cmd --get-active-zone</code></p>
<p>WAN 設定 IP masquerad,其實我不太懂這是什麼意思,似乎是 IP 偽裝。</p>
<p>`<br /></p>
<h1 id="firewall-cmd---zoneexternal---add-masquerade---permanent"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---zoneexternal---add-masquerade---permanent" class="anchor-link" aria-label="firewall-cmd---zoneexternal---add-masquerade---permanent"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---zoneexternal---add-masquerade---permanent" class="headings">firewall-cmd --zone=external --add-masquerade --permanent<br /></a></h1>
<h1 id="firewall-cmd---zoneinternal---add-masquerade---permanent"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---zoneinternal---add-masquerade---permanent" class="anchor-link" aria-label="firewall-cmd---zoneinternal---add-masquerade---permanent"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---zoneinternal---add-masquerade---permanent" class="headings">firewall-cmd --zone=internal --add-masquerade --permanent<br /></a></h1>
<h1 id="firewall-cmd---reload"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---reload" class="anchor-link" aria-label="firewall-cmd---reload"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---reload" class="headings">firewall-cmd --reload<br /></a></h1>
<p>`</p>
<p>檢查一下 ip fordwarding 是否啟用,如果啟用的話結果為 <code>1</code></p>
<p>`<br /></p>
<h1 id="cat-procsysnetipv4ip_forward"><a href="https://becoder.org/centos7-firewalld-nat-server/#cat-procsysnetipv4ip_forward" class="anchor-link" aria-label="cat-procsysnetipv4ip_forward"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:cat-procsysnetipv4ip_forward" class="headings">cat /proc/sys/net/ipv4/ip_forward<br /></a></h1>
<p>`</p>
<p> </p>
<h2 id="port-fordwarding"><a href="https://becoder.org/centos7-firewalld-nat-server/#port-fordwarding" class="anchor-link" aria-label="port-fordwarding"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:port-fordwarding" class="headings">Port fordwarding</a></h2>
<p>通過 WAN 的 port 22/tcp 轉發到 WAN 本身的 port 9487/tcp</p>
<p>`<br /></p>
<h1 id="firewall-cmd---zoneexternal---add-forward-portport22prototcptoport9487"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---zoneexternal---add-forward-portport22prototcptoport9487" class="anchor-link" aria-label="firewall-cmd---zoneexternal---add-forward-portport22prototcptoport9487"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---zoneexternal---add-forward-portport22prototcptoport9487" class="headings">firewall-cmd --zone=external --add-forward-port=port=22:proto=tcp:toport=9487<br /></a></h1>
<h1 id="firewall-cmd---list-all---zoneexternal"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---list-all---zoneexternal" class="anchor-link" aria-label="firewall-cmd---list-all---zoneexternal"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---list-all---zoneexternal" class="headings">firewall-cmd --list-all --zone=external<br /></a></h1>
<p>`</p>
<p> </p>
<p>通過 WAN 的 port 22/tcp 轉發到 192.168.0.31<br>
`<br /></p>
<h1 id="firewall-cmd---zoneexternal---add-forward-portport22prototcptoport22toaddr192168031"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---zoneexternal---add-forward-portport22prototcptoport22toaddr192168031" class="anchor-link" aria-label="firewall-cmd---zoneexternal---add-forward-portport22prototcptoport22toaddr192168031"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---zoneexternal---add-forward-portport22prototcptoport22toaddr192168031" class="headings">firewall-cmd --zone=external --add-forward-port=port=22:proto=tcp:toport=22:toaddr=192.168.0.31<br /></a></h1>
<h1 id="firewall-cmd---list-all---zoneexternal-1"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---list-all---zoneexternal-1" class="anchor-link" aria-label="firewall-cmd---list-all---zoneexternal-1"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---list-all---zoneexternal-1" class="headings">firewall-cmd --list-all --zone=external<br /></a></h1>
<p>`</p>
<p>允許封包轉送</p>
<p>`<br /></p>
<h1 id="firewall-cmd---direct---add-rule-ipv4-nat-postrouting-0--o-ens33--j-masquerade"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---direct---add-rule-ipv4-nat-postrouting-0--o-ens33--j-masquerade" class="anchor-link" aria-label="firewall-cmd---direct---add-rule-ipv4-nat-postrouting-0--o-ens33--j-masquerade"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---direct---add-rule-ipv4-nat-postrouting-0--o-ens33--j-masquerade" class="headings">firewall-cmd --direct --add-rule ipv4 nat POSTROUTING 0 -o ens33 -j MASQUERADE<br /></a></h1>
<h1 id="firewall-cmd---direct---add-rule-ipv4-filter-forward-0--i-ens34--o-ens33--j-accept"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---direct---add-rule-ipv4-filter-forward-0--i-ens34--o-ens33--j-accept" class="anchor-link" aria-label="firewall-cmd---direct---add-rule-ipv4-filter-forward-0--i-ens34--o-ens33--j-accept"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---direct---add-rule-ipv4-filter-forward-0--i-ens34--o-ens33--j-accept" class="headings">firewall-cmd --direct --add-rule ipv4 filter FORWARD 0 -i ens34 -o ens33 -j ACCEPT<br /></a></h1>
<h1 id="firewall-cmd---direct---add-rule-ipv4-filter-forward-0--i-ens33--o-ens34--m-state---state-relatedestablished--j-accept"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---direct---add-rule-ipv4-filter-forward-0--i-ens33--o-ens34--m-state---state-relatedestablished--j-accept" class="anchor-link" aria-label="firewall-cmd---direct---add-rule-ipv4-filter-forward-0--i-ens33--o-ens34--m-state---state-relatedestablished--j-accept"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---direct---add-rule-ipv4-filter-forward-0--i-ens33--o-ens34--m-state---state-relatedestablished--j-accept" class="headings">firewall-cmd --direct --add-rule ipv4 filter FORWARD 0 -i ens33 -o ens34 -m state --state RELATED,ESTABLISHED -j ACCEPT<br /></a></h1>
<h1 id="firewall-cmd---reload-1"><a href="https://becoder.org/centos7-firewalld-nat-server/#firewall-cmd---reload-1" class="anchor-link" aria-label="firewall-cmd---reload-1"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos7-firewalld-nat-server/#contents:firewall-cmd---reload-1" class="headings">firewall-cmd --reload<br /></a></h1>
<p>`</p>
<p>重新讀取防火牆設定後,NAT 就完成了,之後可以在上面安裝 dhcp,這樣就不用手動設定 IP 了。</p>
<p><span style="color: #999999;"><em>Ref : <a style="color: #999999;" href="https://www.server-world.info/en/note?os=CentOS_7&p=firewalld&f=2" target="_blank" rel="noopener">Firewalld : IP Masquerade</a></em></span></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/centos7-firewalld-nat-server/" target="_blank" rel="noopener">https://becoder.org/centos7-firewalld-nat-server/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[CentOS] 修改 CentOS 7 的 yum repo 至國網中心
https://becoder.org/edit-centos-7-yum-repo-to-nchc/
2024-08-01T16:33:57+08:00
2017-12-25T20:02:35+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> 校內的國外連線速度,從我發了 <a href="https://becoder.org/centos-repair-yum-operation-slow/" target="_blank" rel="noopener">[CentOS] 解決 yum 出現 “Operation too slow” 問題</a> 後,已經過了八個月依舊沒有改善,在自己的能力許可下,想讓軟體快速安裝的解法還是只有修改 repo 的來源。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/edit-centos-7-yum-repo-to-nchc/" target="_blank" rel="noopener">https://becoder.org/edit-centos-7-yum-repo-to-nchc/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> 校內的國外連線速度,從我發了 <a href="https://becoder.org/centos-repair-yum-operation-slow/" target="_blank" rel="noopener" target="_blank" rel="noopener">[CentOS] 解決 yum 出現 “Operation too slow” 問題</a> 後,已經過了八個月依舊沒有改善,在自己的能力許可下,想讓軟體快速安裝的解法還是只有修改 repo 的來源。</p>
<blockquote>
<p><font color="#dd0000">2024-08-01 更新: 目前 CentOS 7 已經 EOL,以下方案已經不可用,請參考:<a href="https://becoder.org/centos7-repo-after-eol/">如何在 Centos7 EOL 後繼續存取官方套件庫?</a> </font></p></blockquote>
<p>目前臺灣國內,最快的就是我們的國網中心所提供的鏡像服務,連結如下:</p>
<p><a href="http://free.nchc.org.tw/pmwiki/index.php?n=FSLab.MirrorLists" target="_blank" rel="noopener" target="_blank" rel="noopener">國研院國網中心自由軟體實驗室</a></p>
<p> 同時感謝他們的服務,讓小弟可以解決國外連線很糟糕的問題,畢竟一般人沒辦法對路由做任何修改。</p>
<h2 id="修改-yum-repo-至國網中心"><a href="https://becoder.org/edit-centos-7-yum-repo-to-nchc/#修改-yum-repo-至國網中心" class="anchor-link" aria-label="修改-yum-repo-至國網中心"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/edit-centos-7-yum-repo-to-nchc/#contents:修改-yum-repo-至國網中心" class="headings">修改 yum repo 至國網中心</a></h2>
<p> </p>
<p>目前 CentOS 7.4 版本內,需要修改的檔案只有兩個:</p>
<p><code>/etc/yum.repo.d/CentOS-Base.repo<br /> /etc/yum.repo.d/CentOS-fasttrack.repo</code></p>
<p>使用習慣的文書軟體,把所有的</p>
<p><code>mirror.centos.org</code></p>
<p>全部取代為<br>
<code><br /> free.nchc.org.tw</code></p>
<p>存檔後就大功告成了,大概像下面這張圖。</p>
<img loading="lazy" width="950" height="618" class="size-full wp-image-3060 aligncenter" src="https://becoder.org/wp-content/uploads/2017/12/nchc.png" />
<p> </p>
<p>做完這些修改後,之後再下 <code>yum update</code> 或是 <code>yum install</code> 就都會從國網中心下載了,就不用再跟學術網路的國外線路浪費時間了,真是可喜可賀 XD 。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/edit-centos-7-yum-repo-to-nchc/" target="_blank" rel="noopener">https://becoder.org/edit-centos-7-yum-repo-to-nchc/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[軟體] SPFDISK 2012-4KB 繁體中文 ISO 下載 (可直接開機)
https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/
2024-01-03T11:18:19+08:00
2017-10-14T12:06:28+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這幾天在實驗電腦教室環境時用到了 SPFDISK, 不過原版的已經有點舊了, 後來找到了 SPFDISK 2012-4KB ,但卻沒有開機 ISO 可以用,後來我就自己做了一個啦。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/" target="_blank" rel="noopener">https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這幾天在實驗電腦教室環境時用到了 SPFDISK, 不過原版的已經有點舊了, 後來找到了 SPFDISK 2012-4KB ,但卻沒有開機 ISO 可以用,後來我就自己做了一個啦。</p>
<p>不過,2012-4KB 版本有個問題,就是<strong>設定單項密碼後,開機密碼會錯誤,無法進入</strong>系統,建議如果要製作多重開機還是請用 2000-v3 版本。</p>
<h2 id="檔案下載"><a href="https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/#檔案下載" class="anchor-link" aria-label="檔案下載"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/#contents:檔案下載" class="headings">檔案下載</a></h2>
<blockquote>
<ul>
<li><a href="https://app.box.com/s/0d6jqgyjj63wgokse4ocgveoqo2msf8l" target="_blank" rel="noopener">spfdisk2000-v3.iso</a></li>
<li><a href="https://app.box.com/s/kwdard1s85ee6mfoc3pbsyn2s2sk2ym7" target="_blank" rel="noopener">spfdisk2012-4kb.iso</a></li>
</ul></blockquote>
<p> </p>
<p>載下來以後呢,應該是燒成光碟就能用了,如果你要 USB 開機的話,請用 7zip 把** Boot-2.88M.img** 從 ISO 中解壓縮出來,用 Rufus 選擇 **DD模式 **去製作開機碟就可以使用了。</p>
<img loading="lazy" class="size-full wp-image-3045 aligncenter" src="https://becoder.org/wp-content/uploads/2017/10/rufus.png" alt="" width="365" height="518" />
<p> </p>
<h2 id="使用方法"><a href="https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/#使用方法" class="anchor-link" aria-label="使用方法"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/#contents:使用方法" class="headings">使用方法</a></h2>
<p>開機後直接輸入 「spfdisk」就會進入程式了。</p>
<img loading="lazy" class="aligncenter size-full wp-image-3047" src="https://becoder.org/wp-content/uploads/2017/10/01.png" alt="" width="720" height="400" />
<p> </p>
<img loading="lazy" class="aligncenter size-full wp-image-3048" src="https://becoder.org/wp-content/uploads/2017/10/02.png" alt="" width="640" height="480" />
<p> </p>
<img loading="lazy" class="aligncenter size-full wp-image-3049" src="https://becoder.org/wp-content/uploads/2017/10/03.png" alt="" width="640" height="480" />
<p> </p>
<p>使用方法就不多闡述了,第一次碰可以先用 VM 玩玩吧!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/" target="_blank" rel="noopener">https://becoder.org/spfdisk-2012-4kb-zh-tw-iso-bootable/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[軟體] Movavi Video Converter , 簡單好用的影片轉檔軟體
https://becoder.org/movavi-video-converter/
2022-07-08T21:38:16+08:00
2017-05-16T04:34:23+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在這個實況流行、充斥著 Youtuber 的時代,一部好的影片除了要有一個厲害的作者以外,更一定要有好的剪輯、轉檔軟體;</p>
<p>有事出國,需要在沒有網路的飛機上待上好幾個小時,想帶些電影動畫在飛機上打發時間,手機容量卻不太足夠,轉檔軟體也可以幫助我們減少檔案容量,提高影片量,今天分享一個好用的轉檔軟體: Movavi Video Converter。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/movavi-video-converter/" target="_blank" rel="noopener">https://becoder.org/movavi-video-converter/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在這個實況流行、充斥著 Youtuber 的時代,一部好的影片除了要有一個厲害的作者以外,更一定要有好的剪輯、轉檔軟體;</p>
<p>有事出國,需要在沒有網路的飛機上待上好幾個小時,想帶些電影動畫在飛機上打發時間,手機容量卻不太足夠,轉檔軟體也可以幫助我們減少檔案容量,提高影片量,今天分享一個好用的轉檔軟體: Movavi Video Converter。</p>
<p> </p>
<p> </p>
<ul>
<li><strong>軟體名稱</strong>:Movavi Video Converter</li>
<li><strong>官方網站</strong>:<a href="https://www.movavi.com/zh/videoconverter/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">請點我</a></li>
<li><strong>軟體類型</strong>:付費軟體 、試用版</li>
<li><strong>作業系統</strong>:Windows/macOS</li>
<li><strong>支援格式: ** AVI、MP4、FLV、MPEG-1、2、MOV、MKV、WMV、VOB、3GP、SWF、MP3、AAC、WAV ,儲存為 iPad、iPhone、Android 裝置、Samsung Galaxy、Xbox、Sony PlayStation、Google Nexus 等適用的格式</strong><br>
**</li>
<li><strong>優點</strong>:支援 <strong>NVIDIA CUDA</strong>、<strong>NVENC</strong> 及 <strong>Intel HD Graphics</strong> 硬體加速,增加轉換速度達 6.2 倍。激發多核心處理器的處理能量,軟體能預估 CPU 的使用狀況,再以最有效率的方式載入處理器核心,因此能同時轉換 2 至 4 個 H.264 檔案。</li>
<li>**影片編輯:**包含基本編輯功能;修剪、裁剪、旋轉、穩定、強化影像、字幕</li>
</ul>
<p> </p>
<p><a href="https://www.movavi.com/zh/" target="_blank" rel="noopener">Movavi</a> 是一家來自俄羅斯的軟體公司,專注於影像多媒體方面軟體的開發,自己本身很久沒有使用這些軟體了,個人屬於比較少看影片的類型(大多在寫程式),偶爾錄些教學影片才會使用到這類的軟體,但是好用的真的很難找,我目前大概都是用 OBS 來錄製影片後就直接傳上去了。</p>
<p>某天廠商來向我接洽這套轉檔軟體,試用了一下,發現真的滿符合我的需求的,因為 OBS 錄製下來的影片我都是選擇原始畫質,有時候檔案太大真的要上傳很久,而且一遇到 NG 就要重新錄一次,對於一些功能展示的取向影片是不需要過於花俏的,反而簡單的剪輯、修正,才是最好用的。</p>
<p>個人是在 Windows 環境就只介紹 Windows 下的操作了,Movavi 所有的軟體都有 Mac 版可以選用,不像某些轉檔軟體獨愛 Windows,要轉片還要開 VM 或是 雙系統</p>
<p> </p>
<h2 id="下載movavi-video-converter"><a href="https://becoder.org/movavi-video-converter/#下載movavi-video-converter" class="anchor-link" aria-label="下載movavi-video-converter"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:下載movavi-video-converter" class="headings">下載 Movavi Video Converter</a></h2>
<p>可以進入 Movavi 的官方網站進行下載,檔案非常的輕巧,僅僅只有 40 MB 而已</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/01.png" width="1095" height="576" />
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/02.png" width="441" height="385" />
<p> </p>
<p>在選購產品方面,有每月訂閱、終身授權等方案,可以使用 VISA、PayPal 來付款,個人偏好使用 PayPal,較有保障,想試試看完整版卻不想花太多錢可以先試試月訂閱,滿意再買終身授權較為划算。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/03.png" width="989" height="706" />
<p> </p>
<div style="width: 979px" class="wp-caption aligncenter">
<img loading="lazy" class="size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/04.png" width="969" height="634" />
<p class="wp-caption-text">
聽說在這邊按上一頁系統會幫你降價
</p>
</div>
<p> </p>
<p>安裝完畢後,先啟用再說~</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/05.png" width="1134" height="720" />
<p> </p>
<h2 id="編輯功能"><a href="https://becoder.org/movavi-video-converter/#編輯功能" class="anchor-link" aria-label="編輯功能"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:編輯功能" class="headings">編輯功能</a></h2>
<p>Movavi Video Converter 的優點就是他有還滿不錯「編輯功能」,雖然簡單,但是足以應付生活中的片段了,以我的使用方式來說,它可以幫我剪掉一些出錯的畫面,替影片加上字幕、浮水印,切掉一些沒用的部份。</p>
<p> </p>
<h3 id="影像穩定"><a href="https://becoder.org/movavi-video-converter/#影像穩定" class="anchor-link" aria-label="影像穩定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:影像穩定" class="headings">影像穩定</a></h3>
<p>這個部份我是錄製 GTA V 的畫面,所以用不太到,但若是手機手持裝置的話,就有相當大的效果了,畢竟人手總是會晃動的,有了這個功能可以修正掉一些晃動的問題</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/06.png" width="1116" height="736" />
<p> </p>
<p> </p>
<h3 id="音訊調整"><a href="https://becoder.org/movavi-video-converter/#音訊調整" class="anchor-link" aria-label="音訊調整"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:音訊調整" class="headings">音訊調整</a></h3>
<p>如果當你的影片音量不足,或是有雜訊干擾的時候,這裡也可以調整,「<strong>正規化音量</strong>」是指當你的<strong>影片音量忽大忽小</strong>的時候,就可以用它來統一整部影片的音量,避免觀眾收看的時候被突如其來的「爆音」嚇到。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/07.png" width="1116" height="736" />
<p> </p>
<p> </p>
<h3 id="調整"><a href="https://becoder.org/movavi-video-converter/#調整" class="anchor-link" aria-label="調整"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:調整" class="headings">調整</a></h3>
<p>影片就跟照片一樣,只是影片多了聲音跟連續的畫面,所以影片當然也可以調整:</p>
<ul>
<li>亮度</li>
<li>對比</li>
<li>色調</li>
<li>飽和度</li>
</ul>
<p>一般使用狀況是在天氣不佳,光線昏暗的時候錄製的影片,過暗的畫面看起來是相當不舒服的,調整後可以讓整體視覺更加舒適。</p>
<p>另外,這套轉檔軟體還有一些方便的功能</p>
<ul>
<li>Magic Enhance:可以自動調整上述的數值,如果對於影像處理沒有研究的話,這是一個不錯的選項</li>
<li>消除雜訊:當影片錄製環境昏暗,攝影器材使用高 ISO 提高可視度的話,影像的雜訊顆粒會更明顯,這個功能可以修正掉這些問題。</li>
</ul>
<div style="width: 1126px" class="wp-caption aligncenter">
<img loading="lazy" class="size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/08.png" width="1116" height="736" />
<p class="wp-caption-text">
畫面調整了色調,改變整體的顏色
</p>
</div>
<p> </p>
<p> </p>
<h3 id="字幕"><a href="https://becoder.org/movavi-video-converter/#字幕" class="anchor-link" aria-label="字幕"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:字幕" class="headings">字幕</a></h3>
<p>字幕的部份就比較不方便一些,需要自己使用其他軟體做完字幕檔(.srt、.ass、.ssa)再匯入影片中,如果本身可以依照時間軸添加字幕的話會更靈活一些,畢竟這個軟體是轉檔軟體,不是影片編輯軟體,還算可以接受。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/09.png" width="1116" height="736" />
<p> </p>
<p> </p>
<h3 id="浮水印"><a href="https://becoder.org/movavi-video-converter/#浮水印" class="anchor-link" aria-label="浮水印"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:浮水印" class="headings">浮水印</a></h3>
<p>轉檔軟體必備的功能就是浮水印了,可以簡單的打上 Logo ,貼上你要的照片,避免影片被盜用,右側也可以調整一些細節:</p>
<ul>
<li>字體</li>
<li>字體大小</li>
<li>文字邊框顏色</li>
<li>文字顏色</li>
<li>透明度</li>
</ul>
<div style="width: 1126px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/10.png" alt="" width="1116" height="736" />
<p class="wp-caption-text">
純文字浮水印
</p>
</div>
<p> </p>
<div style="width: 1126px" class="wp-caption alignnone">
<img loading="lazy" class="size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/11.png" width="1116" height="736" />
<p class="wp-caption-text">
圖片浮水印
</p>
</div>
<p> </p>
<p> </p>
<h3 id="裁剪"><a href="https://becoder.org/movavi-video-converter/#裁剪" class="anchor-link" aria-label="裁剪"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:裁剪" class="headings">裁剪</a></h3>
<p>當你的影片出現一些不想要的畫面,就可以使用這個功能來去掉,我是覺得還滿實用的,像是現在手機很多人錄影都直立錄製,有這個功能就可以把不要的畫面切掉,看起來也比較舒服。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/12.png" width="1116" height="736" />
<p> </p>
<p> </p>
<h3 id="旋轉"><a href="https://becoder.org/movavi-video-converter/#旋轉" class="anchor-link" aria-label="旋轉"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:旋轉" class="headings">旋轉</a></h3>
<p>常常再 FB 上看到一些人使用手機錄製的的影片都是歪的,因為手機錄影決定方向是衣開始錄製的那個方向,一旦使用者突然轉向畫面並不會跟著轉,看的時候頭也要跟著歪一邊,真的非常痛苦,藉由「旋轉」可以把錄歪的影片給校正回來,讓人收視人舒服一點。(截這張圖我看的也滿痛苦的哈哈哈)</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/13.png" width="1116" height="736" />
<p> </p>
<p> </p>
<h3 id="修剪"><a href="https://becoder.org/movavi-video-converter/#修剪" class="anchor-link" aria-label="修剪"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:修剪" class="headings">修剪</a></h3>
<p>轉檔軟體的剪輯功能絕對打不贏專業軟體,對我來說已經夠我刪減掉一些不必要的片段了,因為我本身沒有購買剪輯軟體,這算是一個滿方便的功能,不用再另外開一套軟體。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/14.png" width="1116" height="736" />
<p> </p>
<p> </p>
<h2 id="轉檔"><a href="https://becoder.org/movavi-video-converter/#轉檔" class="anchor-link" aria-label="轉檔"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:轉檔" class="headings">轉檔</a></h2>
<p>影篇修整完畢就可以輸出了,可以輸出的格式真的多到爆炸,直接上圖讓大家看有幾種格式,各方領域都相當適合使用。</p>
<p>有以下幾個分類:</p>
<ul>
<li>常用</li>
<li>影片</li>
<li>裝置</li>
<li>音訊</li>
<li>影像</li>
</ul>
<p> </p>
<h3 id="常用"><a href="https://becoder.org/movavi-video-converter/#常用" class="anchor-link" aria-label="常用"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:常用" class="headings">常用</a></h3>
<p>這邊就是一些生活中常見的格式,初階使用直接在這邊挑選就好了</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/15.gif" width="1150" height="729" />
<p> </p>
<h3 id="影片"><a href="https://becoder.org/movavi-video-converter/#影片" class="anchor-link" aria-label="影片"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:影片" class="headings">影片</a></h3>
<p>這裡就有更多功能了,還可以把一般的影片轉成 <strong>HD</strong>,<strong>甚至 4K</strong>,也可以轉成 DVD、VCD等格式,下面會附上簡易的影片作比較。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/16.gif" width="1150" height="729" />
<p> </p>
<h3 id="裝置"><a href="https://becoder.org/movavi-video-converter/#裝置" class="anchor-link" aria-label="裝置"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:裝置" class="headings">裝置</a></h3>
<p>這個分類算是依據手機、裝置的解析度下去分類,舉個例好了:手機的螢幕就那樣,就算你轉成 4K 還是一樣小小的畫面,不如依據螢幕尺寸、解析度來決定影片的大小,更能善用行動裝置的空間。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/17.gif" width="1150" height="729" />
<p> </p>
<h3 id="音訊"><a href="https://becoder.org/movavi-video-converter/#音訊" class="anchor-link" aria-label="音訊"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:音訊" class="headings">音訊</a></h3>
<p>如果你看見一部影片的配樂你很喜歡想要收藏的話,使用 Movavi Video Converter 來轉檔相當適合,刪去不要的片段,再轉成音訊收藏聆聽。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/18.png" width="1150" height="729" />
<p> </p>
<h3 id="影像"><a href="https://becoder.org/movavi-video-converter/#影像" class="anchor-link" aria-label="影像"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:影像" class="headings">影像</a></h3>
<p>這裡面的 GIF 功能可能是大家會常用的,社群網站盛行,上面許多有趣的「動圖」都是這樣製作的:先剪輯片段,再轉換成 GIF,上傳到圖片空間分享、轉貼。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/19.png" width="1150" height="729" />
<p> </p>
<h2 id="影片上傳"><a href="https://becoder.org/movavi-video-converter/#影片上傳" class="anchor-link" aria-label="影片上傳"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:影片上傳" class="headings">影片上傳</a></h2>
<p>你的影片做好了以後,這 Movavi Video Converter 可以讓你直接上傳到各大雲端空間,YouTube、FB,甚至 FTP、亞馬遜的 S3 空間都有支援,在勒索軟體橫行的時代,雲端備份真的是一個很好的選擇,可以避免多年心血付之一炬。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/20.png" width="1183" height="838" />
<p> </p>
<h2 id="運作情形"><a href="https://becoder.org/movavi-video-converter/#運作情形" class="anchor-link" aria-label="運作情形"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:運作情形" class="headings">運作情形</a></h2>
<p>先附上我的電腦規格:</p>
<ul>
<li>CPU:Intel E5-2670 C2 8核心16線</li>
<li>RAM:三星 DDR3 REG ECC 8G * 4</li>
<li>SSD:美光 MX300 256GB</li>
<li>GPU:ASUS GTX 1060 OC 6GB</li>
</ul>
<img loading="lazy" class="alignnone size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/05/movavi-video-converter/21.png" width="795" height="913" />
<p> </p>
<p>因為 Movavi Video Converter 支援 GPU 加速以及多核心運算優化,所以我在轉檔時花了2 分鐘就完成了..XD 多虧寒假組的那台<a href="https://becoder.org/taobao-e5-2670-c2-8c16t/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer">桌機</a>,真的很猛XD。</p>
<p>再這邊附上轉檔情形的影片給各位參考:</p>
<h2 id="範例"><a href="https://becoder.org/movavi-video-converter/#範例" class="anchor-link" aria-label="範例"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:範例" class="headings">範例</a></h2>
<p>大概功能就介紹到這邊,下面這兩個影片,一個是 OBS 輸出直接上傳,另外一個是透過 Movavi Video Converter 編輯後,轉為 4K 畫質後上傳,大家覺得如何呢?</p>
<p> </p>
<h2 id="原版"><a href="https://becoder.org/movavi-video-converter/#原版" class="anchor-link" aria-label="原版"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:原版" class="headings">原版</a></h2>
<p> </p>
<h2 id="修改後"><a href="https://becoder.org/movavi-video-converter/#修改後" class="anchor-link" aria-label="修改後"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/movavi-video-converter/#contents:修改後" class="headings">修改後</a></h2>
<p> </p>
<p>看完有興趣的話可以到<a href="https://www.movavi.com/zh/videoconverter/" target="_blank" rel="noopener" target="_blank" rel="noopener noreferrer"> </a>Movavi Video Converter 官方網站進行下載試用購買,還不錯的一套轉檔軟體,不用再忍受免費轉檔軟體不可信任的品質,還有亂碼造成的困擾了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/movavi-video-converter/" target="_blank" rel="noopener">https://becoder.org/movavi-video-converter/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[CentOS] 解決 yum 出現 “Operation too slow” 問題
https://becoder.org/centos-repair-yum-operation-slow/
2022-07-08T21:38:16+08:00
2017-04-08T08:09:40+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> </p>
<p>這幾天不管在 Proxmox VE 、還是 VMware ESXi ,裡面的 CentOS 7 一直遇到</p>
<p>「<code>Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds</code>」</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/centos-repair-yum-operation-slow/" target="_blank" rel="noopener">https://becoder.org/centos-repair-yum-operation-slow/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> </p>
<p>這幾天不管在 Proxmox VE 、還是 VMware ESXi ,裡面的 CentOS 7 一直遇到</p>
<p>「<code>Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds</code>」</p>
<p>讓一些沒有 mirror site 的程式一直安裝失敗,似乎是設備對國外連線有一點問題,延遲有點久,導致 VM 內的 yum 會 timeout。</p>
<p> </p>
<h2 id="解決方法"><a href="https://becoder.org/centos-repair-yum-operation-slow/#解決方法" class="anchor-link" aria-label="解決方法"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos-repair-yum-operation-slow/#contents:解決方法" class="headings">解決方法</a></h2>
<p>設定 yum 的 timeout:<br>
`# echo "minrate=1" >> /etc/yum.conf<br /></p>
<h1 id="echo-timeout30000-etcyumconf"><a href="https://becoder.org/centos-repair-yum-operation-slow/#echo-timeout30000-etcyumconf" class="anchor-link" aria-label="echo-timeout30000-etcyumconf"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/centos-repair-yum-operation-slow/#contents:echo-timeout30000-etcyumconf" class="headings">echo "timeout=30000" >> /etc/yum.conf`</a></h1>
<p> </p>
<p>之後就不會有問題了,算是臨時解法,如果網路恢復正常記得把這兩行刪掉~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/centos-repair-yum-operation-slow/" target="_blank" rel="noopener">https://becoder.org/centos-repair-yum-operation-slow/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[ Windows 10 ] 停用 Windows 10 更新後自動重啟
https://becoder.org/disable-windows10-update-auto-reboot/
2022-07-08T21:38:16+08:00
2017-02-06T18:41:01+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>組好電腦後,總需要長時間開機來測試穩定度,但是 Windows 10 硬是會每天幫你重開機,完全不管你有沒有在執行程式,要是沒存檔導致資料遺失,誰來負責呢? 之前打 LOL 打到一半突然被重開機,超級幹,查了一下發現這其實可以關掉的 XD , 不會亂重開機的 Windows 變得穩定又好用了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/disable-windows10-update-auto-reboot/" target="_blank" rel="noopener">https://becoder.org/disable-windows10-update-auto-reboot/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>組好電腦後,總需要長時間開機來測試穩定度,但是 Windows 10 硬是會每天幫你重開機,完全不管你有沒有在執行程式,要是沒存檔導致資料遺失,誰來負責呢? 之前打 LOL 打到一半突然被重開機,超級幹,查了一下發現這其實可以關掉的 XD , 不會亂重開機的 Windows 變得穩定又好用了。</p>
<h2 id="關閉自動重啟排程"><a href="https://becoder.org/disable-windows10-update-auto-reboot/#關閉自動重啟排程" class="anchor-link" aria-label="關閉自動重啟排程"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/disable-windows10-update-auto-reboot/#contents:關閉自動重啟排程" class="headings">關閉自動重啟排程</a></h2>
<p>直接在「本機」上面點右鍵,把管理叫出來:</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/disable-windows10-update-auto-reboot/disable-windows10-update-auto-reboot-01.png" width="377" height="375" />
<p> </p>
<p>找到 「系統工具」>「工作排程器」>「工作排程器程式庫」>「Microsoft」>「Windows 」>「UpdateOrchestrator」。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/disable-windows10-update-auto-reboot/disable-windows10-update-auto-reboot-00.png" width="1232" height="885" />
<p> </p>
<p>在「UpdateOrchestrator」中找到 「 Reboot 」,右鍵選擇「停用」。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/disable-windows10-update-auto-reboot/disable-windows10-update-auto-reboot.png" width="1062" height="604" />
<p> </p>
<p>完成囉,我的電腦已經快要 10 天沒有關機了,不然的話剛開始可是天天被重開呢…,之後要更新的時候,想到再自己重開就好囉,不用怕檔案不見,架 Server 不用擔心半夜要爬起來重開了…XD。</p>
<img loading="lazy" class="size-full alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/disable-windows10-update-auto-reboot/disable-windows10-update-auto-reboot-02.png" width="888" height="647" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/disable-windows10-update-auto-reboot/" target="_blank" rel="noopener">https://becoder.org/disable-windows10-update-auto-reboot/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[開箱] 洋垃圾 E5-2670 C2 (8核16線) + 32 GB 記憶體 + GTX 1060 6G OC 之超爽組合
https://becoder.org/taobao-e5-2670-c2-8c16t/
2022-07-08T21:38:16+08:00
2017-02-05T08:12:09+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>剛開始的時候呢,我完全沒有考慮要組這台電腦,只是想找看看有沒有便宜的機器可以裝 Linux 跑些簡單的服務,直到…</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/taobao-e5-2670-c2-8c16t/" target="_blank" rel="noopener">https://becoder.org/taobao-e5-2670-c2-8c16t/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>剛開始的時候呢,我完全沒有考慮要組這台電腦,只是想找看看有沒有便宜的機器可以裝 Linux 跑些簡單的服務,直到…</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/45so.png" width="926" height="487" />
<p> </p>
<p>好的,多虧 <a href="https://45so.org/" target="_blank" rel="noopener" target="_blank">天才事務所</a> 大大的推坑,剛好這學期存了一些錢,所以我就買了頂規的方案 :</p>
<ul>
<li>E5-2670 C2 8核心16線程</li>
<li>REG ECC 8GB * 4 共 32GB</li>
<li>華南 x79 新版</li>
</ul>
<p>一開始請賣家幫我送集運站,結果賣家堅持只能送順豐,本來擔心會被海關攔下來的,他們那麼堅持,又賣那麼多套那應該沒問題,就讓他們直送了!因為未滿 20 ,所以我只能用 郵政VISA 付款(很神奇的機制,未滿20 只能刷卡不能轉帳),記憶體 + 主機板 + CPU + CPU 風扇共花了台幣 8000 元左右。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/x79.png" width="1337" height="430" />
<p> </p>
<h2 id="收貨囉"><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#收貨囉" class="anchor-link" aria-label="收貨囉"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#contents:收貨囉" class="headings">收貨囉</a></h2>
<p>等了五天,貨終於送到我家了,運費兩百還三百多,感覺有點貴,不過東西都沒問題,沒有受損,算是不錯的。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-01.jpg" width="1920" height="1440" />
<p> </p>
<p>裡面還有塞著一塊紙箱,避免裡面的東西晃動。風扇的盒子似乎蓋不起來。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-02.jpg" width="1920" height="1440" />
<p> </p>
<p> </p>
<h2 id="主機板"><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#主機板" class="anchor-link" aria-label="主機板"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#contents:主機板" class="headings">主機板</a></h2>
<p>主機板是對岸的廠牌,華南金牌 x79 ,拿到才知道它叫是「電競主板」XD,剛拿到滿挫的,很怕有問題,開不了機又要寄回去折騰好幾個星期。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-03.jpg" width="1920" height="1440" />
<p> </p>
<p> </p>
<p>記憶體和主機板放在一起,記憶體沒有用靜電袋裝起來,感覺不是很好,拆開後看到是三星的記憶體,放心許多,畢竟是大廠嘛~</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-04.jpg" width="1920" height="1440" />
<p> </p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-05.jpg" width="1920" height="1440" />
<p> </p>
<p> </p>
<p>驗明正身一下, E5-2670</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-06.jpg" width="1920" height="1440" />
<p> </p>
<p>SATA 3.0 * 2 (藍色)、SATA 2.0 * 4 (紅色),已經相當夠用了</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-07.jpg" width="1440" height="1920" />
<p> </p>
<p> </p>
<p>散熱片都有髮絲紋XD</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-08.jpg" width="1920" height="1440" />
<p> </p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-10.jpg" width="1920" height="1440" />
<p> </p>
<p> </p>
<p>內含 msata 2.0 一個,本想買來裝的,不過速度跑不到 SATA 3.0 因而作罷。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-09.jpg" width="1920" height="1440" />
<p> </p>
<p>全固態電容</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-15.jpg" width="1920" height="1440" />
<p> </p>
<p> </p>
<h2 id="裝機測試"><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#裝機測試" class="anchor-link" aria-label="裝機測試"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#contents:裝機測試" class="headings">裝機測試</a></h2>
<p>因為沒有內顯,就先拆我哥的 GT210 來測試開機,沒想到 CPU 塔扇有燈光…</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-11-test.jpg" width="1920" height="1440" />
<p> </p>
<p>記憶體正確抓到 32 GB,支援 UEFI 開機。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-12-ram.jpg" width="1920" height="1440" />
<p> </p>
<p>CPU E5-2670 C2 ,L3 快取有 20MB ,真不愧是伺服器級的 CPU,C2 版支援 VT-D 、 XT-X ,C1 不支援 VT-D 。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-13-cpu.jpg" width="1920" height="1440" />
<p> </p>
<p>我的測試環境 XD</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-14.jpg" width="1920" height="1440" />
<p> </p>
<h2 id="上機殼"><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#上機殼" class="anchor-link" aria-label="上機殼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#contents:上機殼" class="headings">上機殼</a></h2>
<p>晚上就跑去原價屋買機殼來讓它住了, 過程沒拍 XD,其實顯卡讓我考慮了很久,怕這板子把它給燒了XD,不過後來還是衝了,但是後來發現有個缺點:黑蘋果不支援 10 系列的顯卡阿QQ。</p>
<p>整台最貴的就是顯卡,一萬多。使用顯卡記得啟動 PCIE 3.0 的支援,<a href="http://nvidia.custhelp.com/app/answers/detail/a_id/3135/~/geforce-gen3-support-on-x79-platform" target="_blank" rel="noopener" target="_blank">詳情在此</a>,用管理員權限執行再重開就有 3.0 了。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-16-GTX1060-6G-OC.jpg" width="1920" height="1440" />
<p> </p>
<p>裝上機後的樣子,後來有整線整好一點了XD<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-17.jpg" width="1440" height="1920" /></p>
<p> </p>
<h2 id="數框框"><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#數框框" class="anchor-link" aria-label="數框框"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/taobao-e5-2670-c2-8c16t/#contents:數框框" class="headings">數框框</a></h2>
<p>組完的感想是什麼?</p>
<p>爽</p>
<p>真的就只有爽可以形容了XD</p>
<p> </p>
<img loading="lazy" class="size-full alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/cpu.png" width="888" height="647" />
<p> </p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/cpu-z.png" width="503" height="502" />
<p> </p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/gpu-z.png" width="513" height="599" />
<p> </p>
<p>也沒什麼好測試的,這種機器的好處就是可以開一堆東西,實測了一下,開了 7 台 Windows 10 VM 播放 Youtube + GTAV 全開的使用情況~</p>
<p>[補充] 再附上 GPU Passthrough 測試錄影</p>
<p> </p>
<p> </p>
<p>送啦!!!</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2017/02/taobao-e5-2670-c2-8c16t/E5-2670-C2-18.jpg" width="1920" height="1080" />
<p> </p>
<p>寫到這,荷包君也已經空了,零零總總加起來,總共花了兩萬五台幣左右,繼續做案子存錢囉QQ</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/taobao-e5-2670-c2-8c16t/" target="_blank" rel="noopener">https://becoder.org/taobao-e5-2670-c2-8c16t/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Python] 用 Python 串接簡訊王API
https://becoder.org/python-kotsms-api/
2022-07-09T02:10:14+08:00
2016-12-05T09:04:08+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>因為最近有簡訊通知的需求,一開始用的是 twilio ,後來才知道費率貴得嚇人(一則 1.7 元 台幣),後來開始找到中華電信的企業簡訊,但是一點都不好用,程式範例也很久沒更新了,最後找到簡訊王,使用的是 GET Request 作為串接,只要在 URL 帶上參數就可以發簡訊了,唯一缺點不是用 POST ,可能會有外洩的疑慮,但有 SSL 加密應該是還好~。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/python-kotsms-api/" target="_blank" rel="noopener">https://becoder.org/python-kotsms-api/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>因為最近有簡訊通知的需求,一開始用的是 twilio ,後來才知道費率貴得嚇人(一則 1.7 元 台幣),後來開始找到中華電信的企業簡訊,但是一點都不好用,程式範例也很久沒更新了,最後找到簡訊王,使用的是 GET Request 作為串接,只要在 URL 帶上參數就可以發簡訊了,唯一缺點不是用 POST ,可能會有外洩的疑慮,但有 SSL 加密應該是還好~。</p>
<h2></h2>
<h2 id="使用方法"><a href="https://becoder.org/python-kotsms-api/#使用方法" class="anchor-link" aria-label="使用方法"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/python-kotsms-api/#contents:使用方法" class="headings">使用方法</a></h2>
<p>直接使用 <code>pip install kotsms</code> 下載,再引入就 OK 囉~,記得安裝 requests。</p>
<p>程式使用了 <code>requests</code> 跟 <code>logging</code> ,應該還滿好理解的,更詳細的說明請參閱我的 Github <a href="https://github.com/fuyuanli/kotsms.py" target="_blank" rel="noopener" target="_blank">fuyuanli/kotsms.py </a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/python-kotsms-api/" target="_blank" rel="noopener">https://becoder.org/python-kotsms-api/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Windows] 使用校內 KMS 啟用零售版 Windows 、Office
https://becoder.org/kms-activate-gvlk-windows-office-retail/
2022-07-08T21:38:16+08:00
2016-10-15T12:32:06+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Windows 的授權有很多版本,大量授權版、零售板、MSDN,在學校都是使用大量授權的版本,如果直接跟別人借零售版的光碟來安裝,直接使用 KMS 進行驗證是會失敗的,其實只要輸入微軟提供的「KMS 用戶端安裝識別碼(GVLK)」就可以成功啟用囉。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/kms-activate-gvlk-windows-office-retail/" target="_blank" rel="noopener">https://becoder.org/kms-activate-gvlk-windows-office-retail/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Windows 的授權有很多版本,大量授權版、零售板、MSDN,在學校都是使用大量授權的版本,如果直接跟別人借零售版的光碟來安裝,直接使用 KMS 進行驗證是會失敗的,其實只要輸入微軟提供的「KMS 用戶端安裝識別碼(GVLK)」就可以成功啟用囉。</p>
<p>使用方法:直接到 Windows 啟用的地方輸入這些序號就可以了,但是在輸入之前需要先使用學校提供的 KMS 驗證過一次,<strong>這不是拿來免費破解的</strong>,因為輸入了也沒用XD。</p>
<p>這是啟用後的樣子:</p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/10/kms-activate-gvlk-windows-office-retail/Windows10.png" />
<p> </p>
<p>下面這些為 Windows 的 GVLK:</p>
<div>
<h2>
Windows 10
</h2>
<div class="sectionblock">
<div class="section">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<th scope="col">
<span id="mt18" class="sentence" data-guid="a218fe4812f41ce1c75222fa63987561" data-source="Operating system edition">作業系統版本</span>
</th>
<pre><code> <th scope="col">
<span id="mt19" class="sentence" data-guid="7cc16bad41115af22a6707b8e54e9579" data-source="KMS Client Setup Key">KMS 用戶端安裝識別碼</span>
</th>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt20" class="sentence" data-guid="66fc1d4525c7fc89605641c4fe03fc3f" data-source="Windows 10 Professional">Windows 10 Professional</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt21" class="sentence" data-guid="e308aea9ac550ebc5573602d32b9eb6d" data-source="W269N-WFGWX-YVC9B-4J6C9-T83GX">W269N-WFGWX-YVC9B-4J6C9-T83GX</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt22" class="sentence" data-guid="f31fde39a600bed40e5cd1ae62e898e6" data-source="Windows 10 Professional N">Windows 10 Professional N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt23" class="sentence" data-guid="8109db0a169af8cc75bc612ad10277bc" data-source="MH37W-N47XK-V7XM9-C7227-GCQG9">MH37W-N47XK-V7XM9-C7227-GCQG9</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt24" class="sentence" data-guid="aae01709d6c23c5da46b000598507639" data-source="Windows 10 Enterprise">Windows 10 Enterprise</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt25" class="sentence" data-guid="3717730848909656d8be618bfc8d328a" data-source="NPPR9-FWDCX-D2C8J-H872K-2YT43">NPPR9-FWDCX-D2C8J-H872K-2YT43</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt26" class="sentence" data-guid="4d2bd798d33b1dd2b232a635b5b5eb96" data-source="Windows 10 Enterprise N">Windows 10 Enterprise N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt27" class="sentence" data-guid="f2546a124117bf585bd7673c1616b10f" data-source="DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4">DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt28" class="sentence" data-guid="6fccd4762b9583ac0a2cf55b1bc656f7" data-source="Windows 10 Education">Windows 10 Education</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt29" class="sentence" data-guid="22221467391e0f6ee5db5dfcb099e63b" data-source="NW6C2-QMPVW-D7KKK-3GKT6-VCFB2">NW6C2-QMPVW-D7KKK-3GKT6-VCFB2</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt30" class="sentence" data-guid="5c161a452370c029b7125fad1ecebdcd" data-source="Windows 10 Education N">Windows 10 Education N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt31" class="sentence" data-guid="f7d10a2840805a301ddc1cd09214369e" data-source="2WH4N-8QGBV-H22JP-CT43Q-MDWWJ">2WH4N-8QGBV-H22JP-CT43Q-MDWWJ</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt32" class="sentence" data-guid="a4a846d1f5838f26b3c8687419e6d9d3" data-source="Windows 10 Enterprise 2015 LTSB">Windows 10 Enterprise 2015 LTSB</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt33" class="sentence" data-guid="cd281785ab1b7020906473958ae3e26c" data-source="WNMTR-4C88C-JK8YV-HQ7T2-76DF9">WNMTR-4C88C-JK8YV-HQ7T2-76DF9</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt34" class="sentence" data-guid="cc24092448013a1ed5532b6252326012" data-source="Windows 10 Enterprise 2015 LTSB N">Windows 10 Enterprise 2015 LTSB N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt35" class="sentence" data-guid="fbb44f2a1abb592b4b041a488a95f94a" data-source="2F77B-TNFGY-69QQF-B8YKP-D69TJ">2F77B-TNFGY-69QQF-B8YKP-D69TJ</span>
</td>
</tr>
</table>
</div>
</div>
</code></pre>
</div>
</div>
<div class="table-container"><table summary="table">
<tr>
<td data-th="作業系統版本">
<span id="mt28" class="sentence" data-guid="6fccd4762b9583ac0a2cf55b1bc656f7" data-source="Windows 10 Education">Windows 10 Home</span>
</td>
<pre><code><td data-th="KMS 用戶端安裝識別碼">
TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
</td>
</code></pre>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt30" class="sentence" data-guid="5c161a452370c029b7125fad1ecebdcd" data-source="Windows 10 Education N">Windows 10 Home N</span>
</td>
<pre><code><td data-th="KMS 用戶端安裝識別碼">
3KHY7-WNT83-DGQKR-F7HPR-844BM
</td>
</code></pre>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt32" class="sentence" data-guid="a4a846d1f5838f26b3c8687419e6d9d3" data-source="Windows 10 Enterprise 2015 LTSB">Windows 10 Home Single Language </span>
</td>
<pre><code><td data-th="KMS 用戶端安裝識別碼">
7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
</td>
</code></pre>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt34" class="sentence" data-guid="cc24092448013a1ed5532b6252326012" data-source="Windows 10 Enterprise 2015 LTSB N">Windows 10 Home Country Specific</span>
</td>
<pre><code><td data-th="KMS 用戶端安裝識別碼">
PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
</td>
</code></pre>
</tr>
</table></div>
<div>
<h2>
Windows Server 2016
</h2>
<div class="sectionblock">
<div class="section">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<th scope="col">
作業系統版本
</th>
<pre><code> <th scope="col">
KMS 用戶端安裝識別碼
</th>
</tr>
<tr>
<td data-th="Operating system edition">
Windows Server 2016 Datacenter
</td>
<td data-th="KMS Client Setup Key">
CB7KF-BWN84-R7R2Y-793K2-8XDDG
</td>
</tr>
<tr>
<td data-th="Operating system edition">
Windows Server 2016 Standard
</td>
<td data-th="KMS Client Setup Key">
WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
</td>
</tr>
<tr>
<td data-th="Operating system edition">
Windows Server 2016 Essentials
</td>
<td data-th="KMS Client Setup Key">
JCKRF-N37P4-C2D82-9YXRT-4M63B
</td>
</tr>
</table>
</div>
</div>
</code></pre>
</div>
</div>
<p><span style="color: #808080;">Ref: <a style="color: #808080;" href="https://technet.microsoft.com/en-us/library/jj612867(v=ws.11).aspx" target="_blank">Appendix A: KMS Client Setup Keys</a></span></p>
<p> </p>
<div>
<h2>
Windows Server 2012 R2 和 Windows 8.1
</h2>
<div class="sectionblock">
<div class="section">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<th scope="col">
<span id="mt37" class="sentence" data-guid="a218fe4812f41ce1c75222fa63987561" data-source="Operating system edition">作業系統版本</span>
</th>
<pre><code> <th scope="col">
<span id="mt38" class="sentence" data-guid="7cc16bad41115af22a6707b8e54e9579" data-source="KMS Client Setup Key">KMS 用戶端安裝識別碼</span>
</th>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt39" class="sentence" data-guid="015e8f7cb5cc6f030c2b801e5f524507" data-source="Windows 8.1 Professional">Windows 8.1 Professional</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt40" class="sentence" data-guid="7faf4eb7089d989cd5e155248c633d50" data-source="GCRJD-8NW9H-F2CDX-CCM8D-9D6T9">GCRJD-8NW9H-F2CDX-CCM8D-9D6T9</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt41" class="sentence" data-guid="b85efb2c151aeb81de42a126a5200878" data-source="Windows 8.1 Professional N">Windows 8.1 Professional N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt42" class="sentence" data-guid="ed50cc3b8fb8aefc7a303b93fdd12e02" data-source="HMCNV-VVBFX-7HMBH-CTY9B-B4FXY">HMCNV-VVBFX-7HMBH-CTY9B-B4FXY</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt43" class="sentence" data-guid="5e63349bd797857563a18ba34cf46ada" data-source="Windows 8.1 Enterprise">Windows 8.1 Enterprise</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt44" class="sentence" data-guid="8efa9164e151eb6904b1c15419c99bdc" data-source="MHF9N-XY6XB-WVXMC-BTDCT-MKKG7">MHF9N-XY6XB-WVXMC-BTDCT-MKKG7</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt45" class="sentence" data-guid="129516213233bba14f05481897a63cc1" data-source="Windows 8.1 Enterprise N">Windows 8.1 Enterprise N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt46" class="sentence" data-guid="5feaaa635ff38ef518f2af1fe5f00163" data-source="TT4HM-HN7YT-62K67-RGRQJ-JFFXW">TT4HM-HN7YT-62K67-RGRQJ-JFFXW</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt47" class="sentence" data-guid="ea904f9d1269c76c31dfd68c3d1e2a87" data-source="Windows Server 2012 R2 Server Standard">Windows Server 2012 R2 Server Standard</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt48" class="sentence" data-guid="985dbe1a96c0538b4add49b5a9260238" data-source="D2N9P-3P6X9-2R39C-7RTCD-MDVJX">D2N9P-3P6X9-2R39C-7RTCD-MDVJX</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt49" class="sentence" data-guid="77222526e9bc82d626cb97d50877ffbd" data-source="Windows Server 2012 R2 Datacenter">Windows Server 2012 R2 Datacenter</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt50" class="sentence" data-guid="be0c0f8aea82a3089bf00dc7d3ee9c7f" data-source="W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9">W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt51" class="sentence" data-guid="7cb8fedb735bd601e32bacaf1ab0ebac" data-source="Windows Server 2012 R2 Essentials">Windows Server 2012 R2 Essentials</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt52" class="sentence" data-guid="1b69edd4240c7e536db7de62efcdedde" data-source="KNC87-3J2TX-XB4WP-VCPJV-M4FWM">KNC87-3J2TX-XB4WP-VCPJV-M4FWM</span>
</td>
</tr>
</table>
</div>
</div>
</code></pre>
</div>
</div>
<p> </p>
<div>
<div>
</div>
<h2>
Windows Server 2012 和 Windows 8
</h2>
<div class="sectionblock">
<div class="section">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<th scope="col">
<span id="mt54" class="sentence" data-guid="a218fe4812f41ce1c75222fa63987561" data-source="Operating system edition">作業系統版本</span>
</th>
<pre><code> <th scope="col">
<span id="mt55" class="sentence" data-guid="7cc16bad41115af22a6707b8e54e9579" data-source="KMS Client Setup Key">KMS 用戶端安裝識別碼</span>
</th>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt56" class="sentence" data-guid="c7bfdeefb678f173067832d2fca04fe8" data-source="Windows 8 Professional">Windows 8 專業版</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt57" class="sentence" data-guid="4ed7ce567fcc553894c1d583fa3a510a" data-source="NG4HW-VH26C-733KW-K6F98-J8CK4">NG4HW-VH26C-733KW-K6F98-J8CK4</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt58" class="sentence" data-guid="07628dbbad9176f8597f5643bf6e2d19" data-source="Windows 8 Professional N">Windows 8 專業版 N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt59" class="sentence" data-guid="57d02a358e363976cf3c0bec93f11046" data-source="XCVCF-2NXM9-723PB-MHCB7-2RYQQ">XCVCF-2NXM9-723PB-MHCB7-2RYQQ</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt60" class="sentence" data-guid="bf938960bd9a31523d1f9aac7ef3e8f5" data-source="Windows 8 Enterprise">Windows 8 企業版</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt61" class="sentence" data-guid="477ec2e6e895cbccf85b5eeebf95198e" data-source="32JNW-9KQ84-P47T8-D8GGY-CWCK7">32JNW-9KQ84-P47T8-D8GGY-CWCK7</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt62" class="sentence" data-guid="a317ca1b5e000b496810a14b4b923671" data-source="Windows 8 Enterprise N">Windows 8 企業版 N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt63" class="sentence" data-guid="c6f872d8569069441a9fc40f9261581c" data-source="JMNMF-RHW7P-DMY6X-RF3DR-X2BQT">JMNMF-RHW7P-DMY6X-RF3DR-X2BQT</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
Windows Server 2012
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt64" class="sentence" data-guid="c0f2a1739a8a94c48fa8659862506980" data-source="BN3D2-R7TKB-3YPBD-8DRP2-27GG4">BN3D2-R7TKB-3YPBD-8DRP2-27GG4</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt65" class="sentence" data-guid="4dc08a5e209d0ffe220d0e09edb6bbee" data-source="Windows Server 2012 N">Windows Server 2012 N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt66" class="sentence" data-guid="ccbaa4a13713b9b2ccf6ee418744764b" data-source="8N2M2-HWPGY-7PGT9-HGDD8-GVGGY">8N2M2-HWPGY-7PGT9-HGDD8-GVGGY</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt67" class="sentence" data-guid="bea0ea0ecf28c76664a1fd8134452ac7" data-source="Windows Server 2012 Single Language">Windows Server 2012 單一語言</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt68" class="sentence" data-guid="7048d884c4d06118d69ff9e2153fcd87" data-source="2WN2H-YGCQR-KFX6K-CD6TF-84YXQ">2WN2H-YGCQR-KFX6K-CD6TF-84YXQ</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt69" class="sentence" data-guid="c6c38da9d82a0e2b3277de2577db1058" data-source="Windows Server 2012 Country Specific">Windows Server 2012 核心國家/地區特定</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt70" class="sentence" data-guid="f14885c1d6421d53f7ba0cc66597374a" data-source="4K36P-JN4VD-GDC6V-KDT89-DYFKP">4K36P-JN4VD-GDC6V-KDT89-DYFKP</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt71" class="sentence" data-guid="347c6b692d08640d58a960411e6ef9d8" data-source="Windows Server 2012 Server Standard">Windows Server 2012 Server Standard</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt72" class="sentence" data-guid="fc4b08c35f0a66af179ad64239972fb9" data-source="XC9B7-NBPP2-83J2H-RHMBY-92BT4">XC9B7-NBPP2-83J2H-RHMBY-92BT4</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt73" class="sentence" data-guid="b26cd63ef93e1691d0f4578694e53a26" data-source="Windows Server 2012 MultiPoint Standard">Windows Server 2012 MultiPoint Standard</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt74" class="sentence" data-guid="58824c8bc6709beaed9ea09030d10a64" data-source="HM7DN-YVMH3-46JC3-XYTG7-CYQJJ">HM7DN-YVMH3-46JC3-XYTG7-CYQJJ</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt75" class="sentence" data-guid="a6e0bcff9fc2d874af938070b7c2e218" data-source="Windows Server 2012 MultiPoint Premium">Windows Server 2012 MultiPoint Premium</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt76" class="sentence" data-guid="cfb4406d3eb715885d891ac0d842fec3" data-source="XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G">XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt77" class="sentence" data-guid="147d00d2fcba1d6f6399027b242e82ca" data-source="Windows Server 2012 Datacenter">Windows Server 2012 Datacenter</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt78" class="sentence" data-guid="f24dd19c3abf401535b092752ce7c845" data-source="48HP8-DN98B-MYWDG-T2DCC-8W83P">48HP8-DN98B-MYWDG-T2DCC-8W83P</span>
</td>
</tr>
</table>
</div>
</div>
</code></pre>
</div>
</div>
<p> </p>
<div>
<div>
</div>
<h2>
Windows 7 和 Windows Server 2008 R2
</h2>
<div class="sectionblock">
<div class="section">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<th scope="col">
<span id="mt80" class="sentence" data-guid="a218fe4812f41ce1c75222fa63987561" data-source="Operating system edition">作業系統版本</span>
</th>
<pre><code> <th scope="col">
<span id="mt81" class="sentence" data-guid="7cc16bad41115af22a6707b8e54e9579" data-source="KMS Client Setup Key">KMS 用戶端安裝識別碼</span>
</th>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt82" class="sentence" data-guid="76749b6024668d0c83a96ed62f2091c0" data-source="Windows 7 Professional">Windows 7 專業版</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt83" class="sentence" data-guid="5209c5aa290323b4ae483efea05a8bef" data-source="FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4">FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt84" class="sentence" data-guid="2d99b35c57ef5d976e2b171a47f7afce" data-source="Windows 7 Professional N">Windows 7 專業版 N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt85" class="sentence" data-guid="90bfebae0ce982e734108f78ff800846" data-source="MRPKT-YTG23-K7D7T-X2JMM-QY7MG">MRPKT-YTG23-K7D7T-X2JMM-QY7MG</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt86" class="sentence" data-guid="5501d24785afd4b939fc4edddb0b1f04" data-source="Windows 7 Professional E">Windows 7 專業版 E</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt87" class="sentence" data-guid="c07fbaab4af5672dc2ef3284c735f252" data-source="W82YF-2Q76Y-63HXB-FGJG9-GF7QX">W82YF-2Q76Y-63HXB-FGJG9-GF7QX</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt88" class="sentence" data-guid="d584aa2cf0f8fd56fd22268bfecd120d" data-source="Windows 7 Enterprise">Windows 7 Enterprise</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt89" class="sentence" data-guid="cc0375afd9e227d209c64adeeec2304d" data-source="33PXH-7Y6KF-2VJC9-XBBR8-HVTHH">33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt90" class="sentence" data-guid="3d888bec7476e2d96e4499cf69fe6117" data-source="Windows 7 Enterprise N">Windows 7 企業版 N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt91" class="sentence" data-guid="9d85bd4dcd53ad95579c6a2eb502f372" data-source="YDRBP-3D83W-TY26F-D46B2-XCKRJ">YDRBP-3D83W-TY26F-D46B2-XCKRJ</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt92" class="sentence" data-guid="3c83ecc13da289d921e9360d361d62e4" data-source="Windows 7 Enterprise E">Windows 7 企業版 E</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt93" class="sentence" data-guid="3a36b12d1d55cf9d6798220c78fc4dcc" data-source="C29WB-22CC8-VJ326-GHFJW-H9DH4">C29WB-22CC8-VJ326-GHFJW-H9DH4</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt94" class="sentence" data-guid="24b77412b758bf0e10e70e258219f66f" data-source="Windows Server 2008 R2 Web">Windows Server 2008 R2 Web</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt95" class="sentence" data-guid="1741b570c0d71cccdf67882e8e0bf3d2" data-source="6TPJF-RBVHG-WBW2R-86QPH-6RTM4">6TPJF-RBVHG-WBW2R-86QPH-6RTM4</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt96" class="sentence" data-guid="ab41b8d748b0abef422c4ce1a2b23ac9" data-source="Windows Server 2008 R2 HPC edition">Windows Server 2008 R2 HPC Edition</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt97" class="sentence" data-guid="c8356acf4d8360580710d8c5340e94b5" data-source="TT8MH-CG224-D3D7Q-498W2-9QCTX">TT8MH-CG224-D3D7Q-498W2-9QCTX</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt98" class="sentence" data-guid="e6c79f5e9095ded31e36877d0259ae73" data-source="Windows Server 2008 R2 Standard">Windows Server 2008 R2 Standard</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt99" class="sentence" data-guid="44138b424f9b82a722eb9a14fd90ffff" data-source="YC6KT-GKW9T-YTKYR-T4X34-R7VHC">YC6KT-GKW9T-YTKYR-T4X34-R7VHC</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt100" class="sentence" data-guid="7f5122d46e22ec0ab6fbae804a5d92ed" data-source="Windows Server 2008 R2 Enterprise">Windows Server 2008 R2 Enterprise</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt101" class="sentence" data-guid="088679d4a9f4327c313b415da197da55" data-source="489J6-VHDMP-X63PK-3K798-CPX3Y">489J6-VHDMP-X63PK-3K798-CPX3Y</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt102" class="sentence" data-guid="8b75e6bcf21bff387db2573cd24df215" data-source="Windows Server 2008 R2 Datacenter">Windows Server 2008 R2 Datacenter</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt103" class="sentence" data-guid="2b36243326cfdb4d360f3b06a06737a6" data-source="74YFP-3QFB3-KQT8W-PMXWJ-7M648">74YFP-3QFB3-KQT8W-PMXWJ-7M648</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt104" class="sentence" data-guid="65c048185016ac8faf5e61881ab2c88d" data-source="Windows Server 2008 R2 for Itanium-based Systems">Windows Server 2008 R2 for Itanium-based Systems</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt105" class="sentence" data-guid="79732a142d5a84f89a228a52ab1f3d1d" data-source="GT63C-RJFQ3-4GMB6-BRFB9-CB83V">GT63C-RJFQ3-4GMB6-BRFB9-CB83V</span>
</td>
</tr>
</table>
</div>
</div>
</code></pre>
</div>
</div>
<p> </p>
<div>
<div>
</div>
<h2>
Windows Vista 和 Windows Server 2008
</h2>
<div class="sectionblock">
<div class="section">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<th scope="col">
<span id="mt107" class="sentence" data-guid="a218fe4812f41ce1c75222fa63987561" data-source="Operating system edition">作業系統版本</span>
</th>
<pre><code> <th scope="col">
<span id="mt108" class="sentence" data-guid="7cc16bad41115af22a6707b8e54e9579" data-source="KMS Client Setup Key">KMS 用戶端安裝識別碼</span>
</th>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt109" class="sentence" data-guid="55cce5715069c7a6c63a0c7f06449fa6" data-source="Windows Vista Business">Windows Vista Business</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt110" class="sentence" data-guid="dd958c0628cec2a9d6e06077a61f7a6e" data-source="YFKBB-PQJJV-G996G-VWGXY-2V3X8">YFKBB-PQJJV-G996G-VWGXY-2V3X8</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt111" class="sentence" data-guid="18787d44100a3a6e6278e08f69d082eb" data-source="Windows Vista Business N">Windows Vista Business N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt112" class="sentence" data-guid="32df81dd8f4b600d661aefc874960729" data-source="HMBQG-8H2RH-C77VX-27R82-VMQBT">HMBQG-8H2RH-C77VX-27R82-VMQBT</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt113" class="sentence" data-guid="b0d893e36e8dfe0bf849f635c4405afe" data-source="Windows Vista Enterprise">Windows Vista Enterprise</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt114" class="sentence" data-guid="a03a0901abc9d443ed6163614d728042" data-source="VKK3X-68KWM-X2YGT-QR4M6-4BWMV">VKK3X-68KWM-X2YGT-QR4M6-4BWMV</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt115" class="sentence" data-guid="ff2901572999e8b74945744b731077a2" data-source="Windows Vista Enterprise N">Windows Vista Enterprise N</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt116" class="sentence" data-guid="00388b73c31776d15f9c31cbc90f7659" data-source="VTC42-BM838-43QHV-84HX6-XJXKV">VTC42-BM838-43QHV-84HX6-XJXKV</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt117" class="sentence" data-guid="0ffc1c05949a553d95ff55ace50e7e50" data-source="Windows Web Server 2008">Windows Web Server 2008</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt118" class="sentence" data-guid="3651d0177be008b58105395c895d43e2" data-source="WYR28-R7TFJ-3X2YQ-YCY4H-M249D">WYR28-R7TFJ-3X2YQ-YCY4H-M249D</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt119" class="sentence" data-guid="b7bf69caec4097443b76a689c65f68ab" data-source="Windows Server 2008 Standard">Windows Server 2008 Standard</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt120" class="sentence" data-guid="32ba9f2a6e72eb7fb1983eeac8c769da" data-source="TM24T-X9RMF-VWXK6-X8JC9-BFGM2">TM24T-X9RMF-VWXK6-X8JC9-BFGM2</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt121" class="sentence" data-guid="36832d9183165053c9646a8fff62e2e8" data-source="Windows Server 2008 Standard without Hyper-V">Windows Server 2008 Standard (無 Hyper-V)</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt122" class="sentence" data-guid="20bf75ff53fe115756a6b677a34aac4a" data-source="W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ">W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt123" class="sentence" data-guid="45beb210bc2def2cd07243bfc8272065" data-source="Windows Server 2008 Enterprise">Windows Server 2008 Enterprise</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt124" class="sentence" data-guid="120a3ad816814f86c692b8bc27e20b57" data-source="YQGMW-MPWTJ-34KDK-48M3W-X4Q6V">YQGMW-MPWTJ-34KDK-48M3W-X4Q6V</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt125" class="sentence" data-guid="1ea84e25b59112230e3f89cd9b88dce2" data-source="Windows Server 2008 Enterprise without Hyper-V">Windows Server 2008 Enterprise (無 Hyper-V)</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt126" class="sentence" data-guid="c656c72e5f81fa76b54808f5016f2c25" data-source="39BXF-X8Q23-P2WWT-38T2F-G3FPG">39BXF-X8Q23-P2WWT-38T2F-G3FPG</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt127" class="sentence" data-guid="597cc01ff1f8adf4c96b2049245f4356" data-source="Windows Server 2008 HPC">Windows Server 2008 HPC</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt128" class="sentence" data-guid="02168ec77f53ff39bf082769d3c9c766" data-source="RCTX3-KWVHP-BR6TB-RB6DM-6X7HP">RCTX3-KWVHP-BR6TB-RB6DM-6X7HP</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt129" class="sentence" data-guid="56c19c0cbdc9351058bd1a30b232ebd7" data-source="Windows Server 2008 Datacenter">Windows Server 2008 Datacenter</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt130" class="sentence" data-guid="ae9b6b3d40a4480fea4d5ddf793c693a" data-source="7M67G-PC374-GR742-YH8V4-TCBY3">7M67G-PC374-GR742-YH8V4-TCBY3</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt131" class="sentence" data-guid="70333d19a6a77563adbe7f4a4e1dd288" data-source="Windows Server 2008 Datacenter without Hyper-V">Windows Server 2008 Datacenter (無 Hyper-V)</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt132" class="sentence" data-guid="605634be501e61420d74d43729a8d8cd" data-source="22XQ2-VRXRG-P8D42-K34TD-G3QQC">22XQ2-VRXRG-P8D42-K34TD-G3QQC</span>
</td>
</tr>
<tr>
<td data-th="作業系統版本">
<span id="mt133" class="sentence" data-guid="8768161cb74e21d0c5d4a3596348abe2" data-source="Windows Server 2008 for Itanium-Based Systems">Windows Server 2008 for Itanium-Based Systems</span>
</td>
<td data-th="KMS 用戶端安裝識別碼">
<span id="mt134" class="sentence" data-guid="26348ad0426ad9ec84d88a3dd2ddd20b" data-source="4DWFP-JF3DJ-B7DTH-78FJB-PDRHK">4DWFP-JF3DJ-B7DTH-78FJB-PDRHK</span>
</td>
</tr>
</table>
</div>
</div>
</code></pre>
</div>
</div>
<p><span style="color: #808080;">Ref:<a style="color: #808080;" href="https://technet.microsoft.com/zh-tw/library/jj612867.aspx?f=255&MSPPError=-2147217396" target="_blank">附錄 A:KMS 用戶端安裝識別碼</a></span></p>
<p> </p>
<p>這些是 Office :</p>
<div id="MTPSTranslator" class="MTPSTranslator">
<h2>
Office 2016 一般大量授權金鑰
</h2>
</div>
<div>
<div class="topic">
<div id="mainSection">
<div id="mainBody">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<th scope="col">
<span id="mt5" class="sentence" data-guid="ea03fcb8c47822bce772cf6c07d0ebbb" data-source="Product">產品</span>
</th>
<pre><code> <th scope="col">
<span id="mt6" class="sentence" data-guid="edb5c5617ff05cbcfbc7284fc818711f" data-source="GVLK">GVLK</span>
</th>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt7" class="sentence" data-guid="ebd1edcaab0c72c280d3c4600bb3def8" data-source="Office Professional Plus 2016">Office Professional Plus 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt8" class="sentence" data-guid="2c07c5e0ada29aa20bdae754a27c806b" data-source="XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99">XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt9" class="sentence" data-guid="3572b572e894fbfb2d96aed3f1229c36" data-source="Office Standard 2016">Office Standard 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt10" class="sentence" data-guid="ebc8393d241e5894adeabd212ea96f58" data-source="JNRGM-WHDWX-FJJG3-K47QV-DRTFM">JNRGM-WHDWX-FJJG3-K47QV-DRTFM</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt11" class="sentence" data-guid="e7f28e3ddb7dce1c312a0d4552cd08fd" data-source="Project Professional 2016">Project Professional 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt12" class="sentence" data-guid="53d8dca85b0ba6519a98ca7aa74b90e8" data-source="YG9NW-3K39V-2T3HJ-93F3Q-G83KT">YG9NW-3K39V-2T3HJ-93F3Q-G83KT</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt13" class="sentence" data-guid="6a8a06790a044f0086f0f2cabc1cac0b" data-source="Project Standard 2016">Project Standard 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt14" class="sentence" data-guid="2b36c24aeaa6fec2e3645b5250b1643f" data-source="GNFHQ-F6YQM-KQDGJ-327XX-KQBVC">GNFHQ-F6YQM-KQDGJ-327XX-KQBVC</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt15" class="sentence" data-guid="ea87a7f86cf11bf2d1fed9630e7608ac" data-source="Visio Professional 2016">Visio Professional 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt16" class="sentence" data-guid="1ec1ca8a563acfec0c1325c1140b68d3" data-source="PD3PC-RHNGV-FXJ29-8JK7D-RJRJK">PD3PC-RHNGV-FXJ29-8JK7D-RJRJK</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt17" class="sentence" data-guid="93744c8e39d4891f1d7438e2d5c83483" data-source="Visio Standard 2016">Visio Standard 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt18" class="sentence" data-guid="b5ddd5f64b7f3e366b91aa5331ae1a4e" data-source="7WHWN-4T7MP-G96JF-G33KR-W8GF4">7WHWN-4T7MP-G96JF-G33KR-W8GF4</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt19" class="sentence" data-guid="93f7b41eb2b508419e1f0c8b41f9d5e2" data-source="Access 2016">Access 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt20" class="sentence" data-guid="f27812e6e4a5ca5f2b7178744934f3eb" data-source="GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW">GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt21" class="sentence" data-guid="a3b2b20d3c5958e6febb4f79de0dc8c7" data-source=" Excel 2016 ">Excel 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt22" class="sentence" data-guid="1f519bd76f9eac4b1f5bdbcceeb75e76" data-source="9C2PK-NWTVB-JMPW8-BFT28-7FTBF">9C2PK-NWTVB-JMPW8-BFT28-7FTBF</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt23" class="sentence" data-guid="f8df568c91e051f8221ae7548d1fffb7" data-source="OneNote 2016">OneNote 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt24" class="sentence" data-guid="3a52077c7d47e9ce86ad2140d62e30e0" data-source="DR92N-9HTF2-97XKM-XW2WJ-XW3J6">DR92N-9HTF2-97XKM-XW2WJ-XW3J6</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt25" class="sentence" data-guid="fab069c277c0d77e9a0018b4ba6e661c" data-source=" Outlook 2016 ">Outlook 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt26" class="sentence" data-guid="bc7a0a319fd25caa449de0dbdc822618" data-source="R69KK-NTPKF-7M3Q4-QYBHW-6MT9B">R69KK-NTPKF-7M3Q4-QYBHW-6MT9B</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt27" class="sentence" data-guid="52f201141ff042d3a6425d726b6f9a8d" data-source="PowerPoint 2016">PowerPoint 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt28" class="sentence" data-guid="0ee437e6384c3fb5ade2e63825832175" data-source="J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6">J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt29" class="sentence" data-guid="4f491ca87e7e1ee19a644fc971f6b253" data-source="Publisher 2016">Publisher 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt30" class="sentence" data-guid="af563c465fc0120e02012d81c9e17a16" data-source="F47MM-N3XJP-TQXJ9-BP99D-8K837">F47MM-N3XJP-TQXJ9-BP99D-8 837 K</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt31" class="sentence" data-guid="14f41d4ebb15d4c487ca2db33128bd9a" data-source="Skype for Business 2016">商務用 Skype 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt32" class="sentence" data-guid="16037fdf240769f73e151b5fb7f9a193" data-source="869NQ-FJ69K-466HW-QYCP2-DDBV6">869NQ-FJ69K-466HW-QYCP2-DDBV6</span>
</td>
</tr>
<tr>
<td data-th=" 產品 ">
<span id="mt33" class="sentence" data-guid="648ec80ba53ed251f8687ab9901728a3" data-source=" Word 2016 ">Word 2016</span>
</td>
<td data-th=" GVLK ">
<span id="mt34" class="sentence" data-guid="fb68122573d8ebe6c5f532074475d50b" data-source="WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6">WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6</span>
</td>
</tr>
</table>
</div>
</div>
</div>
</code></pre>
</div>
</div>
<p><span style="color: #808080;">Ref:<a style="color: #808080;" href="https://technet.microsoft.com/zh-tw/library/dn385360(v=office.16).aspx" target="_blank">KMS 和 Active Directory 網域服務 activation of Office 2016 的 Gvlk</a></span></p>
<p> </p>
<h2 id="office-2013-一般大量授權金鑰"><a href="https://becoder.org/kms-activate-gvlk-windows-office-retail/#office-2013-一般大量授權金鑰" class="anchor-link" aria-label="office-2013-一般大量授權金鑰"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/kms-activate-gvlk-windows-office-retail/#contents:office-2013-一般大量授權金鑰" class="headings">Office 2013 一般大量授權金鑰</a></h2>
<div class="sectionblock">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<th scope="col">
產品
</th>
<pre><code> <th scope="col">
KMS 用戶端安裝識別碼
</th>
</tr>
<tr>
<td data-th=" 產品 ">
Office 2013 Professional Plus
</td>
<td data-th=" GVLK ">
YC7DK-G2NP3-2QQC3-J6H88-GVGXT
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Office 2013 Standard
</td>
<td data-th=" GVLK ">
KBKQT-2NMXY-JJWGP-M62JB-92CD4
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Project 2013 Professional
</td>
<td data-th=" GVLK ">
FN8TT-7WMH6-2D4X9-M337T-2342K
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Project 2013 Standard
</td>
<td data-th=" GVLK ">
6NTH3-CW976-3G3Y2-JK3TX-8QHTT
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Visio 2013 Professional
</td>
<td data-th=" GVLK ">
C2FG9-N6J68-H8BTJ-BW3QX-RM3B3
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Visio 2013 Standard
</td>
<td data-th=" GVLK ">
J484Y-4NKBF-W2HMG-DBMJC-PGWR7
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Access 2013
</td>
<td data-th=" GVLK ">
NG2JY-H4JBT-HQXYP-78QH9-4JM2D
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Excel 2013
</td>
<td data-th=" GVLK ">
VGPNG-Y7HQW-9RHP7-TKPV3-BG7GB
</td>
</tr>
<tr>
<td data-th=" 產品 ">
InfoPath 2013
</td>
<td data-th=" GVLK ">
DKT8B-N7VXH-D963P-Q4PHY-F8894
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Lync 2013
</td>
<td data-th=" GVLK ">
2MG3G-3BNTT-3MFW9-KDQW3-TCK7R
</td>
</tr>
<tr>
<td data-th=" 產品 ">
OneNote 2013
</td>
<td data-th=" GVLK ">
TGN6P-8MMBC-37P2F-XHXXK-P34VW
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Outlook 2013
</td>
<td data-th=" GVLK ">
QPN8Q-BJBTJ-334K3-93TGY-2PMBT
</td>
</tr>
<tr>
<td data-th=" 產品 ">
PowerPoint 2013
</td>
<td data-th=" GVLK ">
4NT99-8RJFH-Q2VDH-KYG2C-4RD4F
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Publisher 2013
</td>
<td data-th=" GVLK ">
PN2WF-29XG2-T9HJ7-JQPJR-FCXK4
</td>
</tr>
<tr>
<td data-th=" 產品 ">
Word 2013
</td>
<td data-th=" GVLK ">
6Q7VD-NX8JD-WJ2VH-88V73-4GBJ7
</td>
</tr>
</table>
<p>
<span style="color: #808080;">Ref:<a style="color: #808080;" href="https://technet.microsoft.com/zh-tw/library/dn385360.aspx" target="_blank">Office 2013 的 KMS 和 Active Directory 啟用所適用的 GVLK</a></span>
</p>
</code></pre>
</div>
</div>
<p> </p>
<h2 id="office-2010-一般大量授權金鑰"><a href="https://becoder.org/kms-activate-gvlk-windows-office-retail/#office-2010-一般大量授權金鑰" class="anchor-link" aria-label="office-2010-一般大量授權金鑰"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/kms-activate-gvlk-windows-office-retail/#contents:office-2010-一般大量授權金鑰" class="headings">Office 2010 一般大量授權金鑰</a></h2>
<div>
<div class="sectionblock">
<div>
<div class="sectionblock">
<div class="contentTableWrapper">
<div class="table-container"><table summary="table">
<tr>
<td>
<strong>套件</strong>
</td>
<pre><code> <td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
Office Professional Plus 2010
</td>
<td>
VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB
</td>
</tr>
<tr>
<td>
</td>
<td>
Office Standard 2010
</td>
<td>
V7QKV-4XVVR-XYV4D-F7DFM-8R6BM
</td>
</tr>
<tr>
<td>
</td>
<td>
Office Home and Business 2010
</td>
<td>
D6QFG-VBYP2-XQHM7-J97RH-VVRCK
</td>
</tr>
<tr>
<td>
<strong>獨立產品</strong>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
Access 2010
</td>
<td>
V7Y44-9T38C-R2VJK-666HK-T7DDX
</td>
</tr>
<tr>
<td>
</td>
<td>
Excel 2010
</td>
<td>
H62QG-HXVKF-PP4HP-66KMR-CW9BM
</td>
</tr>
<tr>
<td>
</td>
<td>
SharePoint Workspace 2010
</td>
<td>
QYYW6-QP4CB-MBV6G-HYMCJ-4T3J4
</td>
</tr>
<tr>
<td>
</td>
<td>
InfoPath 2010
</td>
<td>
K96W8-67RPQ-62T9Y-J8FQJ-BT37T
</td>
</tr>
<tr>
<td>
</td>
<td>
OneNote 2010
</td>
<td>
Q4Y4M-RHWJM-PY37F-MTKWH-D3XHX
</td>
</tr>
<tr>
<td>
</td>
<td>
Outlook 2010
</td>
<td>
7YDC2-CWM8M-RRTJC-8MDVC-X3DWQ
</td>
</tr>
<tr>
<td>
</td>
<td>
PowerPoint 2010
</td>
<td>
RC8FX-88JRY-3PF7C-X8P67-P4VTT
</td>
</tr>
<tr>
<td>
</td>
<td>
Project Professional 2010
</td>
<td>
YGX6F-PGV49-PGW3J-9BTGG-VHKC6
</td>
</tr>
<tr>
<td>
</td>
<td>
Project Standard 2010
</td>
<td>
4HP3K-88W3F-W2K3D-6677X-F9PGB
</td>
</tr>
<tr>
<td>
</td>
<td>
Publisher 2010
</td>
<td>
BFK7F-9MYHM-V68C7-DRQ66-83YTP
</td>
</tr>
<tr>
<td>
</td>
<td>
Word 2010
</td>
<td>
HVHB3-C6FV7-KQX9W-YQG79-CRY7T
</td>
</tr>
<tr>
<td>
<strong>Visio</strong>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
Visio Premium 2010
</td>
<td>
D9DWC-HPYVV-JGF4P-BTWQB-WX8BJ
</td>
</tr>
<tr>
<td>
</td>
<td>
Visio Professional 2010
</td>
<td>
7MCW8-VRQVK-G677T-PDJCM-Q8TCP
</td>
</tr>
<tr>
<td>
</td>
<td>
Visio Standard 2010
</td>
<td>
767HD-QGMWX-8QTDB-9G3R2-KHFGJ
</td>
</tr>
</table>
</div>
</div>
</div>
</code></pre>
</div>
</div>
<div>
<span style="color: #808080;">Ref: <a style="color: #808080;" href="https://technet.microsoft.com/zh-tw/library/ee624355(v=office.14).aspx" target="_blank">疑難排解 Office 2010 的大量啟用</a></span>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/kms-activate-gvlk-windows-office-retail/" target="_blank" rel="noopener">https://becoder.org/kms-activate-gvlk-windows-office-retail/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Linux] dd 指令不浪費空間備份 usb 開機碟
https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/
2022-07-08T21:38:16+08:00
2016-10-12T17:19:07+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>為了備份黑蘋果的安裝碟,我稍微研究了一些 dd 的用法。一般的dd 備份整個隨身碟,出來的檔案大小都跟隨身碟的容量差不多大:像是如果隨身碟 32 GB,檔案 3 GB,備份出來的東西也會是 32GB…,為了有效利用筆電渺小的 SSD,找到了不錯的解法,而且可以順利開機呢。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/" target="_blank" rel="noopener">https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>為了備份黑蘋果的安裝碟,我稍微研究了一些 dd 的用法。一般的dd 備份整個隨身碟,出來的檔案大小都跟隨身碟的容量差不多大:像是如果隨身碟 32 GB,檔案 3 GB,備份出來的東西也會是 32GB…,為了有效利用筆電渺小的 SSD,找到了不錯的解法,而且可以順利開機呢。</p>
<h2 id="gparted"><a href="https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/#gparted" class="anchor-link" aria-label="gparted"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/#contents:gparted" class="headings">GParted</a></h2>
<p>使用 GParted 的目的就是「調整磁區」。一般製作完各種安裝碟後,通常都會剩下很多的容量可以使用,但是開機碟並不需要這些空間,所以可以使用 GParted 把多切的部份移動,拉到最小,大檔案可能會花很多時間,不過應該都還好。</p>
<div style="width: 1275px" class="wp-caption aligncenter">
<img loading="lazy" class="size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2016/10/linux-dd-backup-bootable-usb-drive-without-wasting-space/01.png" alt="往左拉到底" width="1265" height="607" />
<p class="wp-caption-text">
往左拉到底
</p>
</div>
<p> </p>
<h2 id="使用-dd-備份開機隨身碟"><a href="https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/#使用-dd-備份開機隨身碟" class="anchor-link" aria-label="使用-dd-備份開機隨身碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/#contents:使用-dd-備份開機隨身碟" class="headings">使用 dd 備份開機隨身碟</a></h2>
<p>移動完分區後,可以使用 fdisk 來看最後一個分區的 block 的位置:</p>
<pre><code class="bash">sudo fdisk -l</code></pre>
<p> </p>
<p>得到的結果如下(請用電腦看吧,手機可能會亂掉)</p>
<pre><code class="bash">#!/usr/bin/bash
Disk /dev/sdb: 7.4 GiB, 7897874432 bytes, 15425536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F88F7463-BCCF-4E15-A0DF-B6DDB10CF92E
所用裝置 Start 結束 磁區 Size 類型
/dev/sdb1 40 409639 409600 200M EFI System
/dev/sdb2 409640 9848831 9439192 4.5G Apple HFS/HFS+
</code></pre>
<p> </p>
<p>我的黑蘋果安裝碟總共有兩個分區(sdb1、sdb2),所以就把最後一個的結束位置記下來(我的是 9848831 ),使用 count 指定大小; 一個磁區(sector)的大小為 512 bytes,所以就要指定 block size 為 512,dd一個磁區一個磁區慢慢讀取,<strong>bs*count 就是總容量</strong>。</p>
<p>dd 用法如下:</p>
<pre><code class="bash">dd if=來源 of=目的地 bs=BlockSize count=數字 # <strong>bs*count 就是總容量</strong></code></pre>
<p> </p>
<p><span style="color: #ff0000;">請注意 if 跟 of 的對象,弄錯可是會毀損檔案的。</span></p>
<pre><code class="bash">sudo dd if=/dev/sdb of=~/macOSusb.dd bs=512 count=數字</code></pre>
<p> </p>
<p>想看進度的話,可以打開另外一個終端機執行:</p>
<pre><code class="bash">sudo watch -n 5 pkill -USR1 ^dd$</code></pre>
<p>dd 那個畫面就會顯示進度了。</p>
<p>完成後可以看一下你的檔案大小是不是跟 fdisk -l 所顯示的 Size 差不多,這樣就完成了。然而,dd 最方便的地方就在於,製作出來的檔案可以直接用 win32diskimager 還原到其他 USB 上面使用,真的無敵啦~!! 終於可以安心的把隨身碟格式化了XD</p>
<p><span style="color: #808080;"><em>ref : <a style="color: #808080;" href="http://biplane.com.au/blog/?p=221" target="_blank">Copying a bootable USB drive</a></em></span></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/" target="_blank" rel="noopener">https://becoder.org/linux-dd-backup-bootable-usb-drive-without-wasting-space/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[資安] WordPress 關閉 Pingbacks 功能,避免偽造來源攻擊
https://becoder.org/wordpress-disable-xmlrpc-pingbacks/
2022-07-08T21:38:16+08:00
2016-10-12T15:42:50+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近收到教育部的資安通報,說系上的 WordPress 正在對外攻擊,一開始我也是摸不著頭緒,直到今天在計中上班的時候,被告知是 Pingbacks 攻擊QQ。(聽說輔大DDOS就是用這個手法)</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wordpress-disable-xmlrpc-pingbacks/" target="_blank" rel="noopener">https://becoder.org/wordpress-disable-xmlrpc-pingbacks/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近收到教育部的資安通報,說系上的 WordPress 正在對外攻擊,一開始我也是摸不著頭緒,直到今天在計中上班的時候,被告知是 Pingbacks 攻擊QQ。(聽說輔大DDOS就是用這個手法)</p>
<p>其實那時候我就有發現這個問題了,在 httpd 的 log 上看到一堆 xmlrpc.php 的要求,後來就直接用其他方法把他停用掉了(然後就沒事了),這裡有比較簡單的方法預防這類的攻擊:</p>
<h2 id="停用-wordpress-pingbacks-功能"><a href="https://becoder.org/wordpress-disable-xmlrpc-pingbacks/#停用-wordpress-pingbacks-功能" class="anchor-link" aria-label="停用-wordpress-pingbacks-功能"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wordpress-disable-xmlrpc-pingbacks/#contents:停用-wordpress-pingbacks-功能" class="headings">停用 WordPress Pingbacks 功能</a></h2>
<p>進入 WordPress 後台,到 「設定 > 討論」的區塊,可以看到「討論設定」。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/10/wordpress-disable-xmlrpc-pingbacks/01.png" alt="" width="399" height="198" />
<p> </p>
<p>將「試著去通知文章中鏈結到的任何網誌」、「允許其他網誌傳送引用通告至新文章」<strong>取消句選</strong>,這樣就差不多了。</p>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2016/10/wordpress-disable-xmlrpc-pingbacks/02.png" alt="" width="748" height="249" />
<p> </p>
<h2 id="安裝disable-xml-rpc-pingback-外掛"><a href="https://becoder.org/wordpress-disable-xmlrpc-pingbacks/#安裝disable-xml-rpc-pingback-外掛" class="anchor-link" aria-label="安裝disable-xml-rpc-pingback-外掛"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wordpress-disable-xmlrpc-pingbacks/#contents:安裝disable-xml-rpc-pingback-外掛" class="headings">安裝 Disable XML-RPC Pingback 外掛</a></h2>
<p>為了更加安全起見,可以到外掛頁面安裝 <a href="https://wordpress.org/plugins/disable-xml-rpc-pingback/" target="_blank" rel="noopener" target="_blank">Disable XML-RPC Pingback</a> ,台大資安中心也有<a href="http://cert.ntu.edu.tw/Document/TechDoc/Analysis_of_WordPress_Pingback_DDoS_Attack.pdf" target="_blank" rel="noopener" target="_blank">相關的文章</a>,裝完啟用就大功告成了。至少我在封鎖 xmlrpc.php 後還沒有收到相關的資安通報,應該算有用處。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wordpress-disable-xmlrpc-pingbacks/" target="_blank" rel="noopener">https://becoder.org/wordpress-disable-xmlrpc-pingbacks/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[筆記] 增加 VestaCP 安全性
https://becoder.org/secure-vestacp-php-phpmyadmin/
2022-07-08T21:38:16+08:00
2016-09-29T12:30:10+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近裝了一台 VestaCP 給系上用,感謝學長 <a href="https://github.com/peter279k" target="_blank">peter279k</a> 指導 PHP 的相關安全設定~!!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/secure-vestacp-php-phpmyadmin/" target="_blank" rel="noopener">https://becoder.org/secure-vestacp-php-phpmyadmin/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近裝了一台 VestaCP 給系上用,感謝學長 <a href="https://github.com/peter279k" target="_blank" rel="noopener" target="_blank">peter279k</a> 指導 PHP 的相關安全設定~!!</p>
<h2 id="禁用-php-危險函式"><a href="https://becoder.org/secure-vestacp-php-phpmyadmin/#禁用-php-危險函式" class="anchor-link" aria-label="禁用-php-危險函式"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/secure-vestacp-php-phpmyadmin/#contents:禁用-php-危險函式" class="headings">禁用 PHP 危險函式</a></h2>
<p>PHP 有很多函式是可以看到作業系統層面的東西,甚至執行 Shell Script ,如果這臺機器只有自己一個人使用的話到倒是沒關係,公用主機的話勢必要關閉這些函式。</p>
<p>這次我難得強迫自己使用自己不熟的 RedHat 系 CentOS 7 XD(之前都用 Debian 整天 apt-get),學校的課程有學過 RHEL 是還滿 OK 的(<del>希望能考個 RHCEXDDD</del>)。</p>
<p>CentOS 7 的 PHP 設定檔位於 <code>/etc/php.ini</code> ,這次要編輯的是 <code>disable_functions</code>。</p>
<p>用熟悉的編輯器打開 <code>/etc/php.ini</code>(首推VIM),找到 <code>disable_functions</code> ,沒意外的話是空的,加點東西進去吧~。</p>
<p>存檔後 <code>systemctl restart httpd</code> 就可以了~</p>
<p>Ref <a href="https://www.eukhost.com/blog/webhosting/dangerous-php-functions-must-be-disabled/" target="_blank" rel="noopener" target="_blank">Dangerous PHP Functions Must be Disabled</a></p>
<p> </p>
<h2 id="修正-phpmyadmin-設定"><a href="https://becoder.org/secure-vestacp-php-phpmyadmin/#修正-phpmyadmin-設定" class="anchor-link" aria-label="修正-phpmyadmin-設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/secure-vestacp-php-phpmyadmin/#contents:修正-phpmyadmin-設定" class="headings">修正 phpMyAdmin 設定</a></h2>
<p>禁用完函式後,會發現 phpMyAdmin 噴錯給你看,原因是 <code>php_uname()</code> 在剛剛被禁用了,好像是因為 VestaCP 安裝的 phpMyAdmin 雖然是新版的,但是卻保留舊設定才導致此現象發生,後來是在 phpMyAdmin 的 Github 找到修正的內容,再手動修改,如果沒有這個錯誤的話可以直接略過。</p>
<p>編輯一下 <code>/usr/share/php/gettext/gettext.inc</code> ,找到 <code>function _bindtextdomain</code> ,把裡面 if 判斷式的 <code>substr(php_uname(), 0, 7) == "Windows"</code> 改為 <code>PATH_SEPARATOR == '\\'</code> 就可以存檔了,詳情請參考 <a href="https://github.com/phpmyadmin/phpmyadmin/commit/b3a1a0c1f0edb438b3f1df12d09620180e18b4bd" target="_blank" rel="noopener" target="_blank">phpMyAdmin 的 Github</a> 。</p>
<p>一樣 <code>systemctl restart httpd</code> 完就可以收工了。</p>
<h2 id="將-ftp-設定為-ftps"><a href="https://becoder.org/secure-vestacp-php-phpmyadmin/#將-ftp-設定為-ftps" class="anchor-link" aria-label="將-ftp-設定為-ftps"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/secure-vestacp-php-phpmyadmin/#contents:將-ftp-設定為-ftps" class="headings">將 FTP 設定為 FTPS</a></h2>
<p>可以參考這篇 <a href="https://www.digitalocean.com/community/tutorials/how-to-configure-vsftpd-to-use-ssl-tls-on-a-centos-vps" target="_blank" rel="noopener" target="_blank">How To Configure vsftpd to Use SSL/TLS on a CentOS VPS</a></p>
<p>將 vsftpd 設定為 FTPS,避免被竄改內容。</p>
<p>其他內容,之後有遇到再紀錄吧~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/secure-vestacp-php-phpmyadmin/" target="_blank" rel="noopener">https://becoder.org/secure-vestacp-php-phpmyadmin/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Python] Flask + Requests 試玩 Line Bot API
https://becoder.org/python-flask-requests-line-bot-api/
2022-07-09T02:10:45+08:00
2016-09-11T17:37:46+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Line 的官方 API 好像在 2016 年四月就已經有了,不過那時候有其他事情要做就沒特別去摸,後來暑假去當兵就更沒時間 QQ</p>
<p>現在開學終於有時間玩玩看了~XDDD</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/python-flask-requests-line-bot-api/" target="_blank" rel="noopener">https://becoder.org/python-flask-requests-line-bot-api/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Line 的官方 API 好像在 2016 年四月就已經有了,不過那時候有其他事情要做就沒特別去摸,後來暑假去當兵就更沒時間 QQ</p>
<p>現在開學終於有時間玩玩看了~XDDD</p>
<p> </p>
<h2 id="展示"><a href="https://becoder.org/python-flask-requests-line-bot-api/#展示" class="anchor-link" aria-label="展示"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/python-flask-requests-line-bot-api/#contents:展示" class="headings">展示</a></h2>
<img loading="lazy" class="aligncenter size-full" src="https://becoder.org//becoder.org/wp-content/uploads/2016/09/python-flask-requests-line-bot-api/python-flask-requests-line-bot-api-screenshot.png" alt="" width="720" height="1280" />
<p> </p>
<h2 id="事前準備"><a href="https://becoder.org/python-flask-requests-line-bot-api/#事前準備" class="anchor-link" aria-label="事前準備"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/python-flask-requests-line-bot-api/#contents:事前準備" class="headings">事前準備</a></h2>
<ul>
<li>BOT API Trial Account</li>
</ul>
<p>先去<a href="https://business.line.me/zh-hant/products/4/introduction" target="_blank" rel="noopener" target="_blank"> BOT API Trial Account</a> 的網站註冊一下,前提是<strong>你需要有手機版的 Line 才能登入申請</strong>,目前是開放免費申請使用,限制為 50 好友。</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/09/python-flask-requests-line-bot-api/python-flask-requests-line-bot-api-01.png" alt="" width="1136" height="617" />
<p> </p>
<ul>
<li>Ubuntu</li>
</ul>
<p>寫 Python 就是要用 Linux,不要問我怎麼在 Windows 上面弄,我的 Windows 只跑 Visual Studio 、 Office 跟 <del>LOL</del> 。</p>
<p> </p>
<h2 id="python"><a href="https://becoder.org/python-flask-requests-line-bot-api/#python" class="anchor-link" aria-label="python"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/python-flask-requests-line-bot-api/#contents:python" class="headings">Python</a></h2>
<ul>
<li><a href="http://blog.codylab.com/python-pyenv-management/" target="_blank" rel="noopener" target="_blank">pyenv</a></li>
</ul>
<p>有 Linux 環境後,建議安裝 pyenv 來建立虛擬 Python 環境,而不會影響原本系統上面的 Python 環境,如果覺得沒差的話可以不用裝。</p>
<ul>
<li><a href="http://docs.python-requests.org/zh_CN/latest/user/install.html#install" target="_blank" rel="noopener" target="_blank">Requests</a></li>
</ul>
<p>用來和 LINE API 溝通,提交 POST 超級方便!!之前我是用他來寫 <a href="https://github.com/fuyuanli/NTTUFeedbackPython" target="_blank" rel="noopener">Web Bot </a>,用來自動填單..XD</p>
<ul>
<li><a href="http://docs.jinkan.org/docs/flask/" target="_blank" rel="noopener" target="_blank">Flask</a></li>
</ul>
<p>接收 LINE 的 POST 用,舉個例子,有人傳訊息給你的 BOT 時,LINE 就會發送一個 POST Request 給你(JSON) ,<a href="http://line.github.io/line-bot-api-doc/en/index.html" target="_blank" rel="noopener" target="_blank">官方文件</a>有解釋JSON的內容。這好像稱為 callback url,我不是很了解,希望有開發 API 經驗的大大可以補充。Flask 的官方文件看不懂可以看這篇:<a href="https://blog.liang2.tw/posts/2015/09/flask-draw-member/" target="_blank" rel="noopener" target="_blank">用 Flask 與 SQLite 架抽籤網站</a>,直接看範例學習比較快(我看這篇學的XD),感謝這些大大的經驗分享!</p>
<p> </p>
<h2 id="ngrok"><a href="https://becoder.org/python-flask-requests-line-bot-api/#ngrok" class="anchor-link" aria-label="ngrok"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/python-flask-requests-line-bot-api/#contents:ngrok" class="headings">ngrok</a></h2>
<p>開發時我使用 <a href="https://ngrok.com/" target="_blank" rel="noopener" target="_blank">ngork</a> 來作為 callback url 測試,不用獨立IP、不用開Port 就可以有一個網址直通你的電腦,非常方便!</p>
<h2 id="flask"><a href="https://becoder.org/python-flask-requests-line-bot-api/#flask" class="anchor-link" aria-label="flask"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/python-flask-requests-line-bot-api/#contents:flask" class="headings">Flask</a></h2>
<ul>
<li>基本架構</li>
</ul>
<p><code>@app.route('/')</code> 為網址根目錄,當使用者瀏覽時,就會執行 <code>index()</code> 函式的內容,得到的就是一串文字 「Hello World」,應該滿好理解的~!</p>
<img loading="lazy" class="size-full aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/09/python-flask-requests-line-bot-api/python-flask-requests-line-bot-api-02.png" alt="" width="395" height="210" />
<p> </p>
<ul>
<li>接收 POST Request</li>
</ul>
<p>在 Flask 中,接收任何 Request 需要寫出來,不然是不會同意參數輸入的,由於 LINE 會藉由 callback url 傳送東西給你,以取得使用者傳給 Bot 的資訊:</p>
<div style="width: 826px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2016/09/python-flask-requests-line-bot-api/python-flask-requests-line-bot-api-03.png" alt="來自 Line 的 Post Request" width="816" height="223" />
<p class="wp-caption-text">
來自 Line 的 Post Request
</p>
</div>
<p>在寫 callback url 的時候,需要另外定義一個 <code>@app.route('/callback')</code>,這樣才有辦法進入這個網址,並執行下面的函式,然後隨便 return 一個 str 結束</p>
<p><code>request.get_json()</code> :為Line 丟過來的 json 的內容,需要處理一下才能用,這部份我也不是很熟,詳細參考一下這一篇文章「<a href="http://kuma-uni.blogspot.tw/2012/06/jsonpythonjson.html" target="_blank" rel="noopener" target="_blank">Json概述以及python對json的相關操作</a>」</p>
<p>傳訊息給 Bot 後,Line 丟過來的 Json 如下:</p>
<p><code>decoded[‘result‘][0][‘content‘][‘from‘]</code>:要取值所以要把相對應的 key 寫出來,有點像是陣列的概念,這裡我要的是使用者ID跟純文字內容,Python 真的很方便XD</p>
<p> </p>
<h2 id="發送訊息"><a href="https://becoder.org/python-flask-requests-line-bot-api/#發送訊息" class="anchor-link" aria-label="發送訊息"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/python-flask-requests-line-bot-api/#contents:發送訊息" class="headings">發送訊息</a></h2>
<p>有了那些訊息後就可以把資訊送回去了,這裡我先實做的是原封不動把文字傳回去,所以寫了一個 sendText() 函式:</p>
<p>這裡我用的是 Requests 內的 POST 功能,很方便,直接把資料丟給 Line ~ 用法記得看文件嘿!值得注意的是, <code>"to": [user] </code>的中括號不能省掉,這是Line 接收的 json 資料格式之一,沒有加的話會錯誤。</p>
<p>完整程式碼就放在 <a href="https://github.com/fuyuanli/PythonLineBot" target="_blank" rel="noopener" target="_blank">Github</a> 上面了,有興趣的人可以抓下來玩玩,有空的話我再寫成可以部屬在 OpenShift 上面的版本~。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/python-flask-requests-line-bot-api/" target="_blank" rel="noopener">https://becoder.org/python-flask-requests-line-bot-api/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[VPS] 試用 Linode VPS
https://becoder.org/linode-vps/
2022-07-08T21:38:16+08:00
2016-06-28T19:57:54+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>不知道為什麼,中華郵政的卡片申請了 VISA 後,就很喜歡玩一些網路上的主機…,這次興起念頭來玩 Linode 的 VPS。</p>
<p>由於優惠碼有送 20 美金,可以用兩個月,不過要先儲值 5 美金才能開通帳號,就儲了吧~。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/linode-vps/" target="_blank" rel="noopener">https://becoder.org/linode-vps/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>不知道為什麼,中華郵政的卡片申請了 VISA 後,就很喜歡玩一些網路上的主機…,這次興起念頭來玩 Linode 的 VPS。</p>
<p>由於優惠碼有送 20 美金,可以用兩個月,不過要先儲值 5 美金才能開通帳號,就儲了吧~。</p>
<p>一開始先向朋友要個邀請碼,讓他賺一些點數,我也上網找了優惠碼拿了 20 美金,剛好這時候有記憶體加倍的活動,所以一個月 10 美金就有 2GB RAM 、一核心的機器了,感覺還滿划算的,然而 DigitalOcean 10美的機器只有 1 GB RAM,不知道他們會不會跟進呢?</p>
<p>最熱門的日本主機早就賣光光了,只能求其次買了個新加坡的機器,速度也是很不賴的。</p>
<div style="width: 1226px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2016/06/linode-vps/01.png" alt="linode vps" width="1216" height="299" />
<p class="wp-caption-text">
66 ms 可以接受
</p>
</div>
<p> </p>
<p>因為習慣把東西裝在 Docker 內跑,所以就想裝 Docker 來用,結果 Linode 的 Kernel 是他們自己編譯的,沒辦法直接安裝 Docker ,需要自己安裝其他版本的 Kernel 才能順利安裝執行,花了滿多時間測試的,不過搞好後速度很滿意,很適合用來架設穩定長期運行的網站。</p>
<p>CPU的規格為 1 Core E5-2680 v3 @ 2.50GHz ,好像很厲害的樣子。</p>
<div style="width: 1094px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2016/06/linode-vps/linode.png" alt="linode vps" width="1084" height="827" />
<p class="wp-caption-text">
E5-2680
</p>
</div>
<p> </p>
<p>後來裝了 LAMP (PHP 7.0), RAM 只用了 8% 左右(沒跑服務沒人在用),用來跑 Minecreft 應該可以稱不少人?</p>
<div style="width: 1226px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2016/06/linode-vps/02.png" alt="linode vps" width="1216" height="299" />
<p class="wp-caption-text">
RAM 滿省的
</p>
</div>
<p> </p>
<p>我用了 dd 生了個空檔來跑看看對外速度,因為是 SSD ,所以不到 0.1 秒檔案就完成了,使用中華電信 20 M 的網路進行下載,可以跑好、跑滿。這台 Linode VPS 的網路下載為 40Gbps、上傳為 125Mbps,還滿爽的。</p>
<div style="width: 1226px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2016/06/linode-vps/03.png" alt="linode vps" width="1216" height="515" />
<p class="wp-caption-text">
不錯的速度
</p>
</div>
<p> </p>
<p>使用中華電信提供的測速服務進行下載就很普通,應該是對外線路有所限制。</p>
<div style="width: 1922px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2016/06/linode-vps/04.png" alt="linode vps" width="1912" height="655" />
<p class="wp-caption-text">
悲劇的速度
</p>
</div>
<p> </p>
<p>用 SpeedTest 進行測試,正常多了。</p>
<div style="width: 1022px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2016/06/linode-vps/05.png" alt="linode vps" width="1012" height="275" />
<p class="wp-caption-text">
下載大概 1 Gbps 左右,上傳已達標準
</p>
</div>
<p> </p>
<p>之後應該會持續買下去吧~,找別人分租之類的XD,是真的很穩,真的很想買日本節點的機器QQ,不知道有沒有機會搶的到…。下次來玩玩 123System 好了,聽說是世界上最便宜的 VPS,一年 9 美金的價格,不知道堪不堪用呢?</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/linode-vps/" target="_blank" rel="noopener">https://becoder.org/linode-vps/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[已尋回] 吉娃娃樂樂走失,嘉義縣朴子市仁和里 (小槺榔)
https://becoder.org/finding-my-family-dog/
2022-07-08T21:38:16+08:00
2016-05-13T17:56:47+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>[<span style="color: #ff0000;">更新</span>] 狗狗已回家!感謝各位協助!</p>
<p><del>就像標題一樣,我家狗狗走失了。</del></p>
<p><del>很難過,朝思暮想都是他,從我國一陪我到現在已經 7 年了,這篇文章的目的是讓更多人看到,以及讓尋狗啟事的 QR Code 可以有作用,目前我們也已向警方報案,希望樂樂可以快點回家、和我們團圓。</del></p>
<del>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/finding-my-family-dog/" target="_blank" rel="noopener">https://becoder.org/finding-my-family-dog/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>[<span style="color: #ff0000;">更新</span>] 狗狗已回家!感謝各位協助!</p>
<p><del>就像標題一樣,我家狗狗走失了。</del></p>
<p><del>很難過,朝思暮想都是他,從我國一陪我到現在已經 7 年了,這篇文章的目的是讓更多人看到,以及讓尋狗啟事的 QR Code 可以有作用,目前我們也已向警方報案,希望樂樂可以快點回家、和我們團圓。</del></p>
<del>
</del>
<p> </p>
<p><del>PTT 嘉義板:<a href="https://www.ptt.cc/bbs/Chiayi/M.1463066481.A.580.html" target="_blank" rel="noopener" target="_blank"><a href="https://www.ptt.cc/bbs/Chiayi/M.1463066481.A.580.html" target="_blank" rel="noopener">https://www.ptt.cc/bbs/Chiayi/M.1463066481.A.580.html</a></a></del></p>
<p><del>PTT 狗板:<a href="https://www.ptt.cc/bbs/dog/M.1463067146.A.AFF.html" target="_blank" rel="noopener" target="_blank"><a href="https://www.ptt.cc/bbs/dog/M.1463067146.A.AFF.html" target="_blank" rel="noopener">https://www.ptt.cc/bbs/dog/M.1463067146.A.AFF.html</a></a></del></p>
<p><del>巴哈姆特 嘉義板:<a href="http://forum.gamer.com.tw/C.php?bsn=60578&snA=1155" target="_blank" rel="noopener" target="_blank"><a href="http://forum.gamer.com.tw/C.php?bsn=60578&snA=1155" target="_blank" rel="noopener">http://forum.gamer.com.tw/C.php?bsn=60578&snA=1155</a></a></del></p>
<p><del>Facebook 動物不再流浪協會:<a href="https://www.facebook.com/photo.php?fbid=1097241073673144&set=o.114214381994843&type=3&theater" target="_blank" rel="noopener" target="_blank">Facebook</a></del></p>
<p> </p>
<p style="text-align: center;">
<del>~~~~~~~~~~~~~我是分隔線~~~~~~~~~~~~~</del>
</p>
<h2 style="text-align: center;">
<del>尋狗啟事</del>
</h2>
<p><del>走失時間:2016/05/11 早上10點多</del></p>
<p><del>走失地點:嘉義縣朴子市仁和里(小康郎)</del></p>
<p><del>狗狗名稱:樂樂</del></p>
<p><del>性別:男</del></p>
<p><del>年紀:6~7歲</del></p>
<p><del>重量:1~2KG</del></p>
<p><del>特徵:身上有褐色、黑色等圖案,較明顯的是「愛心」、「米老鼠」圖樣,沒有戴項圈,小小隻的,愛吃,不怕生,喜歡人,會怕狗</del></p>
<p><del>聯絡方式:</del></p>
<ul>
<li><del>來電 <img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/tel.png" width="103" height="14" /> 李先生</del></li>
<li><del>Email: fuyuanli0625 (at) gmail.com</del></li>
<li><del>或是再底下留言</del></li>
</ul>
<p> </p>
<p> </p>
<p><del>非常感謝您的協助,以下是我家狗狗的生活剪影。</del></p>
<p><del>樂樂的影片</del></p>
<p> </p>
<p> </p>
<p> </p>
<p>照片集(持續更新)</p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/001.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/002.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/003.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/004.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/005.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/006.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/007.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/008.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/009.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/010.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/011.jpg" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/05/finding-my-family-dog/012.jpg" />
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/finding-my-family-dog/" target="_blank" rel="noopener">https://becoder.org/finding-my-family-dog/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Ubuntu] Poedit 編輯 indicator-cpufreq 語系檔
https://becoder.org/poedit-indicator-cpufreq/
2022-07-08T21:38:16+08:00
2016-04-25T05:13:42+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>indicator-cpufreq 是一個可以省電調整CPU頻率的程式,聽說之前版本的 Ubuntu 內都有內建,之後的版本就沒有了,可能是筆電才用的到?裝完之後,發現只有簡體中文,個人看得非常不爽,就把語系檔找來翻譯了….</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/poedit-indicator-cpufreq/" target="_blank" rel="noopener">https://becoder.org/poedit-indicator-cpufreq/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>indicator-cpufreq 是一個可以省電調整CPU頻率的程式,聽說之前版本的 Ubuntu 內都有內建,之後的版本就沒有了,可能是筆電才用的到?裝完之後,發現只有簡體中文,個人看得非常不爽,就把語系檔找來翻譯了….</p>
<p> </p>
<h2 id="安裝indicator-cpufreq"><a href="https://becoder.org/poedit-indicator-cpufreq/#安裝indicator-cpufreq" class="anchor-link" aria-label="安裝indicator-cpufreq"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/poedit-indicator-cpufreq/#contents:安裝indicator-cpufreq" class="headings">安裝 indicator-cpufreq</a></h2>
<p>使用 apt-get 安裝:</p>
<p><code>sudo apt-get install indicator-cpufreq</code></p>
<p>裝完重新登入就可以看到右上角的 CPU 圖案了:</p>
<div style="width: 394px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2016/04/poedit-indicator-cpufreq/cpu.png" alt="indicator-cpufreq" width="384" height="204" />
<p class="wp-caption-text">
左邊數來第3個
</p>
</div>
<h2 id="修改語系"><a href="https://becoder.org/poedit-indicator-cpufreq/#修改語系" class="anchor-link" aria-label="修改語系"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/poedit-indicator-cpufreq/#contents:修改語系" class="headings">修改語系</a></h2>
<p>要儲存的語系檔的位置在 <code>/usr/share/locale/zh_TW/LC_MESSAGES/indicator-cpufreq.mo</code> ,我直接拿中國的語系檔來改,先把中國語系複製到家目錄,編輯完再塞回去:</p>
<p><code>sudo cp /usr/share/locale/zh_CN/LC_MESSAGES/indicator-cpufreq.mo ~/</code></p>
<p>複製完,把 <code>.mo</code> 轉為 <code>.po</code> 才能編輯:</p>
<p><code>msgunfmt indicator-cpufreq.mo > indicator-cpufreq.po</code></p>
<p> </p>
<h2 id="安裝-poedit"><a href="https://becoder.org/poedit-indicator-cpufreq/#安裝-poedit" class="anchor-link" aria-label="安裝-poedit"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/poedit-indicator-cpufreq/#contents:安裝-poedit" class="headings">安裝 Poedit</a></h2>
<p>使用的軟體為 Poedit,可以用來編輯語系檔案,使用 <code>apt-get</code> 安裝:</p>
<p><code>sudo apt-get install poedit</code></p>
<p>直接在 Unity Dash 找就有了,或是直接在 Terminal 輸入 <code>poedit</code> 啟動,打開剛剛轉檔好的 <code>.po</code> 開始編輯:</p>
<div style="width: 1112px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2016/04/poedit-indicator-cpufreq/poedit.png" alt="Poedit" width="1102" height="843" />
<p class="wp-caption-text">
Poedit
</p>
</div>
<p>編輯完,編譯成 <code>.mo</code> 就可以搬回原本的位置了,我進 <code>zh_TW</code> 的資料:</p>
<p><code>sudo mv ~/indicator-cpufreq.mo /usr/share/locale/zh_TW/LC_MESSAGES/indicator-cpufreq.mo</code></p>
<p>然後登出再登入就可以看到繁體中文了(有夠難截圖的)。</p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/04/poedit-indicator-cpufreq/cpu_tw.png" alt="indicator-cpufreq" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/poedit-indicator-cpufreq/" target="_blank" rel="noopener">https://becoder.org/poedit-indicator-cpufreq/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Ubuntu] 設定 SSH 快速連線
https://becoder.org/quickly-ssh/
2022-07-08T21:38:16+08:00
2016-04-25T04:10:55+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>每次使用 SSH 連線的時候都要動打上 Port 跟位置,由於人性本懶,發現了一個更快的方法,直接打個字就可以連線了,不必輸入完整的 ssh 指令,讓他讀取設定檔,自動對映主機跟 Port 進行連線,再也不用那麼麻煩了打整串的字:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/quickly-ssh/" target="_blank" rel="noopener">https://becoder.org/quickly-ssh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>每次使用 SSH 連線的時候都要動打上 Port 跟位置,由於人性本懶,發現了一個更快的方法,直接打個字就可以連線了,不必輸入完整的 ssh 指令,讓他讀取設定檔,自動對映主機跟 Port 進行連線,再也不用那麼麻煩了打整串的字:</p>
<p> </p>
<h2 id="ssh-config"><a href="https://becoder.org/quickly-ssh/#ssh-config" class="anchor-link" aria-label="ssh-config"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/quickly-ssh/#contents:ssh-config" class="headings">SSH Config</a></h2>
<p>用自己喜歡的編輯器打開 <code>~/.ssh/config</code> ,沒有的話就自己建立一個,內容如下,依此列推:</p>
<p> </p>
<p>以後要登入直接用自己設定的 Host 進行 ssh 就可以了:</p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/04/quickly-ssh/ssh.png" alt="ssh" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/quickly-ssh/" target="_blank" rel="noopener">https://becoder.org/quickly-ssh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Github] 使用 OctoPress 架設靜態 Blog
https://becoder.org/github-octopress-install/
2022-07-08T21:38:16+08:00
2016-01-22T11:57:23+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>聽說身為一個攻城獅寫 Blog 就是要用靜態架設(不過我都用 WordPress XDDD),使用 Github 代管可以放著生灰塵,更不用擔心主機被入侵。之前就玩過 OctoPress 了,可是並沒有深入研究,這次就寫起來放著好了~希望有朝一日把整個 WordPress 移動到 OctoPress ~XD。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/github-octopress-install/" target="_blank" rel="noopener">https://becoder.org/github-octopress-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>聽說身為一個攻城獅寫 Blog 就是要用靜態架設(不過我都用 WordPress XDDD),使用 Github 代管可以放著生灰塵,更不用擔心主機被入侵。之前就玩過 OctoPress 了,可是並沒有深入研究,這次就寫起來放著好了~希望有朝一日把整個 WordPress 移動到 OctoPress ~XD。</p>
<h2 id="使用環境"><a href="https://becoder.org/github-octopress-install/#使用環境" class="anchor-link" aria-label="使用環境"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/github-octopress-install/#contents:使用環境" class="headings">使用環境</a></h2>
<p>在此我使用的作業系統是 Ubuntu 14.04,請愛用 Linux , Windows 我真的懶得研究XD</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/github-octopress-install/01.png" alt="" width="850" height="521" />
<p> </p>
<h2 id="必備軟體"><a href="https://becoder.org/github-octopress-install/#必備軟體" class="anchor-link" aria-label="必備軟體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/github-octopress-install/#contents:必備軟體" class="headings">必備軟體</a></h2>
<p><code>$ sudo apt-get install ruby1.9.1-dev<br /> $ sudo apt-get install nodejs<br /> $ sudo apt-get install rbenv<br /> $ sudo gem install bundler<br /> $ rbenv rehash</code></p>
<p>裝好後就可以把 OctoPress 的原始碼 git clone 下來了~</p>
<p> </p>
<h2 id="下載-octopress"><a href="https://becoder.org/github-octopress-install/#下載-octopress" class="anchor-link" aria-label="下載-octopress"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/github-octopress-install/#contents:下載-octopress" class="headings">下載 OctoPress</a></h2>
<p><code>$ git clone https://github.com/imathis/octopress<br /> $ cd octopress<br /> $ bundle install<br /> $ rake install<br /> $ rake setup_github_pages</code></p>
<p>輸入你的Github Page 連結:<code>https://github.com/你的帳號/你的帳號.github.io.git</code></p>
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/github-octopress-install/02.png" alt="" width="1042" height="559" />
<p> </p>
<p>產生靜態檔案並上傳 Github<br>
<code>$ rake generate<br /> $ rake deploy</code></p>
<p>這時進去你的網址應該就有東西了~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/github-octopress-install/03.png" alt="" width="1526" height="513" />
<p> </p>
<h2 id="編輯網站設定"><a href="https://becoder.org/github-octopress-install/#編輯網站設定" class="anchor-link" aria-label="編輯網站設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/github-octopress-install/#contents:編輯網站設定" class="headings">編輯網站設定</a></h2>
<p>網站的設定檔就在 octopress 資料夾下面的 _config.yml ,裡頭可以編輯網站的標題、網址、作者…,等設定,修改完成後就可以重新產生網頁(<code>rake generate</code> )並且上傳(<code>rake deploy</code>),在這裡可以把網址改成最近很夯的 https 加密連線,Github Page 有支援 SSL 加密連線。</p>
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/github-octopress-install/04.png" alt="" width="1042" height="559" />
<p> </p>
<h2 id="新增文章"><a href="https://becoder.org/github-octopress-install/#新增文章" class="anchor-link" aria-label="新增文章"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/github-octopress-install/#contents:新增文章" class="headings">新增文章</a></h2>
<p><code>$ rake new_post["文章標題"]</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/github-octopress-install/05.png" alt="" width="1042" height="134" />
<p> </p>
<p>打中文標題的話,網址會自己轉成羅馬拼音,不喜歡可以手動改掉,編輯文章就用 <strong>你喜歡的編輯器</strong> 去編輯產生的檔案,內頭文章使用 <a href="http://markdown.tw/" target="_blank" rel="noopener">Markdown</a> 語法即可,文章太長的話可以在後面加上 <code><!-- more --></code> 來截斷文章,要刪除文章直接把 <code>source/_posts/</code> 內要刪除的文章刪除後就可以了,然後一樣產生(r<code>ake generate</code> )並上傳(<code>rake deploy</code>)。</p>
<p> </p>
<h2 id="安裝-disqus-留言板"><a href="https://becoder.org/github-octopress-install/#安裝-disqus-留言板" class="anchor-link" aria-label="安裝-disqus-留言板"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/github-octopress-install/#contents:安裝-disqus-留言板" class="headings">安裝 Disqus 留言板</a></h2>
<p>一樣,修改 _config.yml 內的 # Disqus Comments ,填上在 Disqus 申請的 short name ,並改成 true。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/github-octopress-install/08.png" alt="" width="1042" height="134" />
<p> </p>
<p> </p>
<h2 id="安裝佈景主題"><a href="https://becoder.org/github-octopress-install/#安裝佈景主題" class="anchor-link" aria-label="安裝佈景主題"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/github-octopress-install/#contents:安裝佈景主題" class="headings">安裝佈景主題</a></h2>
<p>佈景的資料夾位於 <code>.thtmes/</code> 資料夾,在此安裝 <a href="http://tommy351.github.io/Octopress-Theme-Slash/index_tw.html" target="_blank" rel="noopener">Slash</a> 佈景作為範例:</p>
<p><code>$ cd .thtmes/<br /> $ git clone git://github.com/tommy351/Octopress-Theme-Slash.git slash</code></p>
<p>然後啟用:</p>
<p><code>$ rake install['slash']<br /> $ rake generate<br /> $ rake deploy</code></p>
<p>此佈景的詳細設定可以去作者網站看:<a href="http://tommy351.github.io/Octopress-Theme-Slash/index_tw.html" target="_blank" rel="noopener">tommy351.github.io</a></p>
<p> </p>
<h2 id="綁定網域"><a href="https://becoder.org/github-octopress-install/#綁定網域" class="anchor-link" aria-label="綁定網域"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/github-octopress-install/#contents:綁定網域" class="headings">綁定網域</a></h2>
<p>Github Page 綁定網域的方法,只需要在 <code>source/</code> 內新增一個名為 <code>CNAME</code> 的檔案,裡面寫著你的網域就可以了,然後在 DNS 紀錄新增一個 CNAME 紀錄,指向目前的網域 <code>username.github.io</code> ,如果是裸域的話,網路上是說使用 A 紀錄指向 <code>192.30.252.153</code> 或 <code>192.30.252.154</code>,沒實際測試過~。</p>
<p>建立 CNAME 可以使用此指令達成:</p>
<p><code>echo 'page.becoder.org' >> source/CNAME</code></p>
<p> </p>
<p>然後回到 <code>_config.yml</code> 修改網域,並新增一行:</p>
<p><code>enforce_ssl: 你的網域</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/github-octopress-install/07.png" alt="" width="743" height="334" />
<p> </p>
<p>如果想要使用SSL的話就只能透過 CloudFlare 的 SSL 來達成了,Github Page 不支援自訂 SSL 證書。</p>
<p>再來,轉址的部份需要在 head 內加入 javascript 來達成,因為是靜態的網站~編輯 <code>source/_includes/custom/head.html</code> ,加入:</p>
<p> </p>
<p>上傳(rake deploy)的時候如果遇到<code> error: failed to push some refs to 'https://github.com/....</code> 這個問題的話,需要進入 <code>_deploy</code> 資料夾,然後 <code>git pull origin master</code> ,再進行上傳(<code>rake deploy</code>)</p>
<p>不過比較麻煩的是更新文章都需要使用到電腦,再研究看看能不能寫個後台來控制囉~</p>
<p> </p>
<p>參考文章:</p>
<p><a href="http://wen00072-blog.logdown.com/posts/258497-octopress-installed-and-deployed-on-the-github-pages" target="_blank" rel="noopener" target="_blank">安裝octopress並佈署到github pages上面<br /> </a><a href="https://sheharyar.me/blog/free-ssl-for-github-pages-with-custom-domains/" target="_blank" rel="noopener" target="_blank">Set Up SSL on Github Pages With Custom Domains for Free<br /> </a><a href="http://stackoverflow.com/questions/19619280/octopress-pushing-error-to-github" target="_blank" rel="noopener" target="_blank">Octopress pushing error to GitHub</a></p>
<p><a href="http://wen00072-blog.logdown.com/posts/258497-octopress-installed-and-deployed-on-the-github-pages" target="_blank" rel="noopener" target="_blank"> </a></p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/github-octopress-install/" target="_blank" rel="noopener">https://becoder.org/github-octopress-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[肥宅] 蒸蛋 + 泡麵,好吃!
https://becoder.org/steaming-instant-noodles/
2022-07-08T21:38:16+08:00
2016-01-07T16:21:29+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>待在學校宿舍,吃泡麵是一件稀鬆平常的事,可是讓他變好吃又是另一件事了,那就…做成蒸蛋吧XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/steaming-instant-noodles/" target="_blank" rel="noopener">https://becoder.org/steaming-instant-noodles/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>待在學校宿舍,吃泡麵是一件稀鬆平常的事,可是讓他變好吃又是另一件事了,那就…做成蒸蛋吧XD</p>
<p>在學校宿舍是不准用火的,只有萬能的大同電鍋,這樣也夠了,已經可以煮很多東西了~XD 之前在網路上看到可以把泡麵跟蒸蛋一起搭配,而且好像滿好吃的,某天肚子餓就試試看了…XD</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/steaming-instant-noodles/07.jpg" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<h2 id="準備材料"><a href="https://becoder.org/steaming-instant-noodles/#準備材料" class="anchor-link" aria-label="準備材料"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/steaming-instant-noodles/#contents:準備材料" class="headings">準備材料</a></h2>
<ul>
<li>泡麵:喜歡的口味 x 1</li>
<li>雞蛋:2 顆</li>
<li>鍋子:單層的小鍋子 && 大同電鍋</li>
</ul>
<p> </p>
<p>先把兩顆蛋蛋打到小鍋子裡面:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/steaming-instant-noodles/01.jpg" alt="" width="1024" height="768" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/steaming-instant-noodles/02.jpg" alt="" width="1024" height="768" />
<p> </p>
<p>攪拌均勻,<span style="color: #ff0000;">加上剛好可以蓋過麵的水,太多的話成品會太爛</span>,把調味包(調味包不要加太多,會太鹹,因為水沒有那麼多)加進去拌一拌,最後再把麵泡進去:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/steaming-instant-noodles/03.jpg" alt="" width="1024" height="768" />
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/steaming-instant-noodles/04.jpg" alt="" width="1024" height="768" />
<p> </p>
<p>放進電鍋,外鍋水我不知道要加多少就隨便加了,大概蒸15分鐘就可以拿出來了:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/steaming-instant-noodles/05.jpg" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<p>蓋上鍋蓋,等個15分鐘,可以整理一下桌面</p>
<p> </p>
<p>喝個飲料</p>
<p> </p>
<p>逛個FB</p>
<p> </p>
<p>或是拉個屎</p>
<p> </p>
<p>..</p>
<p> </p>
<p>好囉~時間差不多了~拿抹布去「取貨」吧~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/steaming-instant-noodles/06.jpg" alt="" width="1024" height="768" />
<p> </p>
<p>讓他冷一點就可以吃啦~我用日式拉麵的口味真的很不錯,簡單又不耗時的小點心~如果能加點蔬菜的話應該會更好吃~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2016/01/steaming-instant-noodles/07.jpg" alt="" width="1024" height="768" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/steaming-instant-noodles/" target="_blank" rel="noopener">https://becoder.org/steaming-instant-noodles/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[筆記] 提昇 VestaCP SSL的安全性,解決Weak DH問題
https://becoder.org/vestacp-weakdh/
2022-07-08T21:38:16+08:00
2015-12-31T14:08:54+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>裝好 VestaCP ,朋友就幫我測了 SSL 的狀況,結果在 <a href="https://globalsign.ssllabs.com/analyze.html">GlobalSign</a> 測試只有 B ,研究了一下發現這被稱為 Weak DH 。網路上就有個叫做 <a href="http://weakdh.org" target="_blank">weakdh.org</a> 的網站協助使用這解決這個問題,我也找到了解決方法,完成後分數可以到 A+ 唷XDD。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vestacp-weakdh/" target="_blank" rel="noopener">https://becoder.org/vestacp-weakdh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>裝好 VestaCP ,朋友就幫我測了 SSL 的狀況,結果在 <a href="https://globalsign.ssllabs.com/analyze.html" target="_blank" rel="noopener">GlobalSign</a> 測試只有 B ,研究了一下發現這被稱為 Weak DH 。網路上就有個叫做 <a href="http://weakdh.org" target="_blank" rel="noopener" target="_blank">weakdh.org</a> 的網站協助使用這解決這個問題,我也找到了解決方法,完成後分數可以到 A+ 唷XDD。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/vestacp-weakdh/01.png" alt="" width="1309" height="710" />
<h2 id="解決-weak-dh"><a href="https://becoder.org/vestacp-weakdh/#解決-weak-dh" class="anchor-link" aria-label="解決-weak-dh"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vestacp-weakdh/#contents:解決-weak-dh" class="headings">解決 Weak DH</a></h2>
<p>因為預設的 Diffie-Hellman (這是什麼我也不知道XDDDDD)加密方法只有 1024-bits,自己產生一組大於2048-bits的key就OK了~。</p>
<p> </p>
<p>在指令前建議<span style="color: #ff0000;">先切到 root 再操作</span>,不然可能會遇到權限不足無法寫入的問題,這指令可要花不少時間:</p>
<p><code>openssl dhparam -out /etc/nginx/dhparams.pem 4096</code></p>
<p>完成後需要修改 nginx 的設定(/etc/nginx/nginx.conf),找到字串 ssl_ 的部份,在 ssl_ciphers 後面加上:</p>
<p><code>ssl_dhparam /etc/nginx/dhparams.pem;<br /> add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/vestacp-weakdh/03.png" alt="" width="993" height="405" />
<p> </p>
<p>存檔後,重新載入 nginx 設定:</p>
<p><code>nginx -s reload</code></p>
<p>可以先去 <a href="https://weakdh.org/sysadmin.html" target="_blank" rel="noopener">weakdh.org</a> 測試一下:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/vestacp-weakdh/04.png" alt="" width="1445" height="326" />
<p>再去 <a href="https://globalsign.ssllabs.com/analyze.html" target="_blank" rel="noopener">GlobalSign</a> 測試看看,應該就 A+ 啦~XD</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/vestacp-weakdh/01.png" alt="" width="1309" height="710" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vestacp-weakdh/" target="_blank" rel="noopener">https://becoder.org/vestacp-weakdh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[筆記] VestaCP 前台、後台使用 Let’s Encrypt ! 證書
https://becoder.org/vestacp-lets-encrypt/
2022-07-08T21:38:16+08:00
2015-12-28T19:18:50+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Let’s Encrypt 目前已經開放公測,使用者只需要去抓他們的腳本來跑就可以用了。剛剛跟 <a href="https://45so.org/">天才關廁所</a> 學了 VestaCP ,也找到了在 VestaCP 上面實做 Let’s Encrypt 的方法。Let’s Encrypt 連 ptt.cc 都在用了,所以應該很可靠吧~?</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vestacp-lets-encrypt/" target="_blank" rel="noopener">https://becoder.org/vestacp-lets-encrypt/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Let’s Encrypt 目前已經開放公測,使用者只需要去抓他們的腳本來跑就可以用了。剛剛跟 <a href="https://45so.org/" target="_blank" rel="noopener">天才關廁所</a> 學了 VestaCP ,也找到了在 VestaCP 上面實做 Let’s Encrypt 的方法。Let’s Encrypt 連 ptt.cc 都在用了,所以應該很可靠吧~?</p>
<p><span style="color: #ff0000;">※2016/10/01 更新步驟,採用更方便的 letsencrypt-vesta</span></p>
<h2 id="下載使用-letsencrypt-vesta"><a href="https://becoder.org/vestacp-lets-encrypt/#下載使用-letsencrypt-vesta" class="anchor-link" aria-label="下載使用-letsencrypt-vesta"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vestacp-lets-encrypt/#contents:下載使用-letsencrypt-vesta" class="headings">下載&使用 letsencrypt-vesta</a></h2>
<p>這部份我是使用 git 的方式向官方 github clone 檔案下來使用,記得先裝 git:</p>
<pre><code>cd /usr/local
git clone https://github.com/certbot/certbot.git
git clone https://github.com/interbrite/letsencrypt-vesta.git
</code></pre>
<p> </p>
<p>建立一個驗證用的資料夾</p>
<pre><code>mkdir -p /etc/letsencrypt/webroot
</code></pre>
<p> </p>
<p>連結執行檔</p>
<pre><code>ln -s /usr/local/certbot/certbot-auto /usr/local/bin/certbot-auto
ln -s /usr/local/letsencrypt-vesta/letsencrypt-vesta /usr/local/bin/letsencrypt-vesta
</code></pre>
<p> </p>
<h2 id="前台let8217s-encrypt"><a href="https://becoder.org/vestacp-lets-encrypt/#前台let8217s-encrypt" class="anchor-link" aria-label="前台let8217s-encrypt"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vestacp-lets-encrypt/#contents:前台let8217s-encrypt" class="headings">前台 Let’s Encrypt</a></h2>
<p>開始之前先幫帳號新增個網域,然後就可以開始裝 Let’s Encrypt 了,指令如下:</p>
<pre><code>letsencrypt-vesta 使用者名稱 網域
</code></pre>
<p> </p>
<p>大概像這樣:</p>
<pre><code>letsencrypt-vesta admin mydomain.com
</code></pre>
<p>第一次執行會安裝相關套件,就讓他跑吧~,應該會叫你輸入 mail</p>
<p> </p>
<p>沒意外的話,成功會看到如下的畫面,<span style="color: #ff0000;">要求憑證超過五次的話要7天後才能再要求唷</span>:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/vestacp-lets-encrypt/01.png" alt="" width="1896" height="476" />
<p> </p>
<p> </p>
<p>跑完後就可以在 SSL 那邊看到已經幫你填好了!每次更新就下剛剛的指令即可</p>
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/vestacp-lets-encrypt/03.png" alt="" width="727" height="667" />
<p> </p>
<h2 id="後台-let8217s-encrypt"><a href="https://becoder.org/vestacp-lets-encrypt/#後台-let8217s-encrypt" class="anchor-link" aria-label="後台-let8217s-encrypt"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vestacp-lets-encrypt/#contents:後台-let8217s-encrypt" class="headings">後台 Let’s Encrypt</a></h2>
<p> </p>
<p>後台的設定方式跟剛剛一樣:</p>
<pre><code>letsencrypt-vesta admin mydomain.com
</code></pre>
<p> </p>
<p>再備份 VestaCP 自動產生的憑證:</p>
<pre><code>mv /usr/local/vesta/ssl/certificate.crt /usr/local/vesta/ssl/certificate.crt.bak
mv /usr/local/vesta/ssl/certificate.key /usr/local/vesta/ssl/certificate.key.bak
</code></pre>
<p> </p>
<p><span style="color: #ff0000;">※已更新腳及步驟,修復Android瀏覽後台會有SSL錯誤的問題</span></p>
<p>建立連結:</p>
<pre><code>ln -s /etc/letsencrypt/live/後台網域/privatekey.pem /usr/local/vesta/ssl/certificate.key
ln -s /etc/letsencrypt/live/後台網域/fullchain.pem /usr/local/vesta/ssl/certificate.crt
</code></pre>
<p> </p>
<p>``最後再重新啟動 VestaCP:</p>
<pre><code>service vesta restart
</code></pre>
<p> </p>
<p>然後自動更新的話,每三個月執行一次下面指令就可以啦!</p>
<pre><code>letsencrypt-vesta admin mydomain.com
service vesta restart
</code></pre>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/vestacp-lets-encrypt/05.jpg" alt="" width="800" height="600" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vestacp-lets-encrypt/" target="_blank" rel="noopener">https://becoder.org/vestacp-lets-encrypt/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[食記] 台東 來來牛排
https://becoder.org/taitung-oslailai/
2022-07-08T21:38:16+08:00
2015-12-26T19:04:12+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在台東大學待了大概一個學期也快期末了,資工系上家族也辦了期末家聚,地點選在台東市區的「來來牛排」,一開始我考慮很久要不要去,後來考慮到有補助一百塊就決定去試試看了~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/taitung-oslailai/" target="_blank" rel="noopener">https://becoder.org/taitung-oslailai/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在台東大學待了大概一個學期也快期末了,資工系上家族也辦了期末家聚,地點選在台東市區的「來來牛排」,一開始我考慮很久要不要去,後來考慮到有補助一百塊就決定去試試看了~</p>
<p> </p>
<p>名稱:來來牛排-台東店<br>
FB:<a href="https://www.facebook.com/oseatlailai09" target="_blank" rel="noopener" target="_blank"><a href="https://www.facebook.com/oseatlailai09" target="_blank" rel="noopener">https://www.facebook.com/oseatlailai09</a><br /> </a>地址:台東縣臺東市新生路268-3號</p>
<p> </p>
<p>菜單(點圖可看大圖):</p>
<p><a href="http://i.imgur.com/bwd1C1J.jpg" target="_blank" rel="noopener"><img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/01.jpg" alt="來來牛排菜單" width="800" height="600" /></a></p>
<p> </p>
<p>剛進去的時候有點被人潮嚇到,應該是因為當天是平安夜吧~入座後就有服務人原來詢問餐點了,每一份都有附沙拉、酥皮濃湯、紅茶以及甜點,每一樣會依序出菜,然後我點了大胃王特餐:脆皮雞排+香煎豬排XD。</p>
<p>不錯的一點是他可以免費加麵,之後會另外用一個盤子送過來,不過這次我們吃完了加麵只送來一盤,應該是太忙才會如此。個人覺得服務態度很棒~用餐的感覺還不錯~。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/02.jpg" alt="來來牛排 加麵不加價" width="600" height="800" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/03.jpg" alt="來來牛排" width="600" height="800" />
<p> </p>
<p>沙拉的醬汁我選了和風醬~酸酸鹹鹹的很好吃,不會太鹹也不會太酸,看到食物忘記先拍就吃了XD,被我吃了幾口的沙拉:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/04.jpg" alt="和風沙拉" width="800" height="600" />
<p> </p>
<p>我們桌吃完沙拉後,服務人員就送上濃湯了,很少喝酥皮濃湯,看起來覺得很可愛,戳下去有種莫名的快感,喝完湯後會覺得已經吃飽了,沾上湯的酥皮好吃!</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/05.jpg" alt="酥皮濃湯" width="800" height="600" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/06.jpg" alt="酥皮濃湯" width="800" height="600" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/07.jpg" alt="酥皮濃湯" width="800" height="600" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/08.jpg" alt="酥皮濃湯" width="800" height="600" />
<p> </p>
<p>滿燙的,要慢慢來,喝完後就是重頭戲,脆皮雞排+豬排了..我選了黑胡椒醬~剛看到的時候覺得壯觀~第一次吃有兩片肉的排餐,個人覺得雞肉比豬肉好吃,沒吃過帶血的牛肉,不敢吃就沒點牛肉了,一道一道慢慢吃會有點撐,為了等加麵來還跟朋友挑戰低能的切薄片..哈哈</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/09.jpg" alt="脆皮雞排+豬排" width="800" height="600" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/10.jpg" alt="脆皮雞排+豬排" width="800" height="600" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/11.jpg" alt="脆皮雞排+豬排" width="800" height="600" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/12.jpg" alt="脆皮雞排+豬排" width="800" height="600" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/13.jpg" alt="脆皮雞排+豬排" width="800" height="600" />
<p> </p>
<p>這次的甜點是咖啡凍,對咖啡沒研究對我來說,他就是有股「咖」味的咖啡凍~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/12/taitung-oslailai/14.jpg" alt="咖啡凍" width="800" height="600" />
<p> </p>
<p>第一次去的感覺整體來說還滿棒的,紅茶喝完服務人員會親自幫你加滿,除了上廁所幾乎沒有起身的必要,最後的意見回饋單因為要填太多資料就和同學唬爛亂填姓名,不過感想可是有確實寫的,有機會的話我還會再去吃一次其他口味~<del>隔了兩個月終於寫了一篇文</del></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/taitung-oslailai/" target="_blank" rel="noopener">https://becoder.org/taitung-oslailai/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Ubuntu] Ubuntu 14.04 在 X550JX 中用 Fn 鍵控制螢幕亮度
https://becoder.org/ubuntu-14-04-x550jx-fn-brightness-control/
2022-07-08T21:38:16+08:00
2015-10-23T18:38:18+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>市面上的筆電大部分都是預載 Windows 系統,各種快捷功能都相當完善。到了 Linux 一切都要自己來了,這次發現的問題:原本在 Windows 上面調整螢幕亮度的快捷鍵 fn + F5、fn + F6 到了 Ubuntu 就失效了,想讓這功能復活的話,其實只需要加一小段設定就完成囉~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ubuntu-14-04-x550jx-fn-brightness-control/" target="_blank" rel="noopener">https://becoder.org/ubuntu-14-04-x550jx-fn-brightness-control/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>市面上的筆電大部分都是預載 Windows 系統,各種快捷功能都相當完善。到了 Linux 一切都要自己來了,這次發現的問題:原本在 Windows 上面調整螢幕亮度的快捷鍵 fn + F5、fn + F6 到了 Ubuntu 就失效了,想讓這功能復活的話,其實只需要加一小段設定就完成囉~</p>
<p> </p>
<h2 id="修改-grub-設定"><a href="https://becoder.org/ubuntu-14-04-x550jx-fn-brightness-control/#修改-grub-設定" class="anchor-link" aria-label="修改-grub-設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-14-04-x550jx-fn-brightness-control/#contents:修改-grub-設定" class="headings">修改 Grub 設定</a></h2>
<p> </p>
<p>使用自己習慣的編輯器開啟 Grub 設定檔:</p>
<p><code>sudo vi /etc/default/grub</code></p>
<p> </p>
<p>打開後,用關鍵字 <code>quiet splash</code> 找到:</p>
<p><code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</code></p>
<p> </p>
<p>把 <code>quiet splash</code> 改為 <code>quiet splash acpi_osi=</code> :</p>
<p><code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/ubuntu-14-04-x550jx-fn-brightness-control/01.png" alt="" width="802" height="538" />
<p> </p>
<p>修改完畢存檔,使用以下指令重新產生開機檔案:</p>
<p><code>sudo update-grub</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/ubuntu-14-04-x550jx-fn-brightness-control/02.png" alt="" width="802" height="391" />
<p> </p>
<p>重新開機後按看看快捷鍵就會有效果了~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/ubuntu-14-04-x550jx-fn-brightness-control/03.png" alt="" width="681" height="451" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ubuntu-14-04-x550jx-fn-brightness-control/" target="_blank" rel="noopener">https://becoder.org/ubuntu-14-04-x550jx-fn-brightness-control/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Ubuntu] Ubuntu 14.04 在 X550JX 中啟用觸控板雙指滾動觸功能
https://becoder.org/ubuntu-x550jx-2-finger-scrolling/
2022-07-08T21:38:16+08:00
2015-10-23T05:54:09+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這幾天在宿舍完成了 X550JX 的 Triple Boot 工程(其實只是三系統多重開機:Windows, Ubuntu, OSX),其中最難搞的不外乎是 OSX ,其次是 Ubuntu~Windows 的話官方都有驅動沒什麼問題 。裝好 Ubuntu 的時候,沒特別想什麼就直接裝第三個系統了,後來實際使用才發現缺了不少東西XD,我在使用筆電通常習慣直接用本身的觸控板,很懶得帶一顆滑鼠在旁邊晃來晃去,而預設 Ubuntu 好像抓不到筆電的觸控板,問了朋友才知道是缺了 focaltech-dkms 這個套件。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/" target="_blank" rel="noopener">https://becoder.org/ubuntu-x550jx-2-finger-scrolling/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這幾天在宿舍完成了 X550JX 的 Triple Boot 工程(其實只是三系統多重開機:Windows, Ubuntu, OSX),其中最難搞的不外乎是 OSX ,其次是 Ubuntu~Windows 的話官方都有驅動沒什麼問題 。裝好 Ubuntu 的時候,沒特別想什麼就直接裝第三個系統了,後來實際使用才發現缺了不少東西XD,我在使用筆電通常習慣直接用本身的觸控板,很懶得帶一顆滑鼠在旁邊晃來晃去,而預設 Ubuntu 好像抓不到筆電的觸控板,問了朋友才知道是缺了 focaltech-dkms 這個套件。</p>
<p> </p>
<h6 id="一新增套件來源"><a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/#一新增套件來源" class="anchor-link" aria-label="一新增套件來源"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/#contents:一新增套件來源" class="headings">一)新增套件來源</a></h6>
<p><code>sudo add-apt-repository ppa:hanipouspilot/focaltech-dkms</code></p>
<p> </p>
<h6 id="二更新套件庫"><a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/#二更新套件庫" class="anchor-link" aria-label="二更新套件庫"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/#contents:二更新套件庫" class="headings">二)更新套件庫</a></h6>
<p><code>sudo apt-get update</code></p>
<p> </p>
<h6 id="三安裝focaltech-dkms"><a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/#三安裝focaltech-dkms" class="anchor-link" aria-label="三安裝focaltech-dkms"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/#contents:三安裝focaltech-dkms" class="headings">三)安裝 focaltech-dkms</a></h6>
<p><code>sudo apt-get install focaltech-dkms</code></p>
<p> </p>
<h6 id="四啟用觸控板功能"><a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/#四啟用觸控板功能" class="anchor-link" aria-label="四啟用觸控板功能"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/#contents:四啟用觸控板功能" class="headings">四)啟用觸控板功能</a></h6>
<p><code>sudo modprobe -r psmouse<br /> sudo modprobe psmouse</code></p>
<p> </p>
<p>做完這些就會發現熟悉的兩指滾動出現了,在用 Ubuntu 的時候再也不需要再帶滑鼠了~設定的地方也出現觸控板的選項囉~</p>
<p><a href="https://becoder.org/wp-content/uploads/2015/10/01.png" target="_blank" rel="noopener"><img loading="lazy" class="size-full wp-image-2446 aligncenter" src="https://becoder.org/wp-content/uploads/2015/10/01.png" alt="01" width="850" height="493" srcset="https://becoder.org/wp-content/uploads/2015/10/01.png 850w, https://becoder.org/wp-content/uploads/2015/10/01-300x174.png 300w" sizes="(max-width: 850px) 100vw, 850px" /></a></p>
<p><span style="color: #999999;"><em>參考文章:<span style="text-decoration: underline;"><a style="color: #999999; text-decoration: underline;" href="http://askubuntu.com/questions/648006/how-to-do-my-2-finger-scrolling-work" target="_blank">How to do my 2 finger scrolling work?</a></span></em></span></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ubuntu-x550jx-2-finger-scrolling/" target="_blank" rel="noopener">https://becoder.org/ubuntu-x550jx-2-finger-scrolling/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 網樂通編譯 Megatools(使用網樂通下載MEGA的檔案)
https://becoder.org/nextvod-megatools/
2022-07-08T21:38:16+08:00
2015-10-17T16:09:14+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>編譯的步驟應該和一般的 Linux 差不多,先裝好 build-essential , ./configure 後 make & make install 就差不多了,好久沒碰網樂通了…XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-megatools/" target="_blank" rel="noopener">https://becoder.org/nextvod-megatools/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>編譯的步驟應該和一般的 Linux 差不多,先裝好 build-essential , ./configure 後 make & make install 就差不多了,好久沒碰網樂通了…XD</p>
<p>在開始之前,不要忘記更新套件庫、軟體(apt-get update ,apt-get upgrade ),就可以開始啦~</p>
<h2 id="建立編譯環境"><a href="https://becoder.org/nextvod-megatools/#建立編譯環境" class="anchor-link" aria-label="建立編譯環境"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-megatools/#contents:建立編譯環境" class="headings">建立編譯環境</a></h2>
<p><code>apt-get install -y pkg-config libglib2.<span class="hljs-number">0</span>-dev libssl-dev libcurl4-openssl-dev libfuse-dev glib-networking</code></p>
<h2 id="開始編譯"><a href="https://becoder.org/nextvod-megatools/#開始編譯" class="anchor-link" aria-label="開始編譯"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-megatools/#contents:開始編譯" class="headings">開始編譯</a></h2>
<p>一)首先,先下載最新版原始碼:</p>
<p><code>wget http://megatools.megous.com/builds/megatools-1.9.95.tar.gz<br /> #or wget http://s1.becoder.org/builds/megatools-1.9.95.tar.gz</code></p>
<p> </p>
<p>二)下載完成後,解壓縮:</p>
<p><code>taz zxvf megatools-1.9.95.tar.gz</code></p>
<p>三)進入資料夾,使用 <code>./configure</code> 自動生成 Makefile</p>
<p><code>cd megatools-1.9.95</code></p>
<p><code>./configure</code></p>
<p>四)編譯並安裝</p>
<p><code>make & make install & <a href="http://linux.vbird.org/linux_basic/0520source_code_and_tarball.php#library_ldconfig" target="_blank">ldconfig</a></code></p>
<p>安裝完成後,可以使用 <code>megadl 'https://<span style="color: #ff0000;">mega.co.nz</span>/xxxxxx'</code> 來測試下載,這隻程式好像只支援 mega.co.nz 的網域,他並不認得新的 mega.nz,在使用的時候注意一下~</p>
<h2 id="設定"><a href="https://becoder.org/nextvod-megatools/#設定" class="anchor-link" aria-label="設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-megatools/#contents:設定" class="headings">設定</a></h2>
<p>megatools 如果要上傳檔案的話是需要使用者設定帳號密碼的,使用 VIM 編輯或是新增 <code>/root/.megarc</code> ,內容如下:</p>
<p><code>[Login]<br /> Username = 帳號@mail<br /> Password = 密碼</code></p>
<p> </p>
<p>修改後存檔就可以了,可以使用</p>
<p><code>chmod 640 /root/.megarc</code></p>
<p>保護檔案的安全~</p>
<p>相關指令使用方法請參考官方的<a href="http://megatools.megous.com/man/megatools.html" target="_blank" rel="noopener" target="_blank">使用手冊</a></p>
<h2></h2>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-megatools/" target="_blank" rel="noopener">https://becoder.org/nextvod-megatools/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[PD] Parallels Desktop Setp by Setp 安裝教學
https://becoder.org/parallels-desktop-setp-by-setp-install/
2022-07-08T21:38:16+08:00
2015-10-03T16:22:48+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Parallels Desktop 是 Mac 上面一款很好用的虛擬機軟體,聽說這套虛擬機是 Mac 上效能最好的一套~雖然 Mac 上面有 Bootcamp 可以灌 Windows,但每次重灌都要分割一次 SSD,個人認為直接用虛擬機安裝是最方便的方法~灌各種作業系統都很好用~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/parallels-desktop-setp-by-setp-install/" target="_blank" rel="noopener">https://becoder.org/parallels-desktop-setp-by-setp-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Parallels Desktop 是 Mac 上面一款很好用的虛擬機軟體,聽說這套虛擬機是 Mac 上效能最好的一套~雖然 Mac 上面有 Bootcamp 可以灌 Windows,但每次重灌都要分割一次 SSD,個人認為直接用虛擬機安裝是最方便的方法~灌各種作業系統都很好用~</p>
<p> </p>
<h2 id="安裝-parallels-desktop"><a href="https://becoder.org/parallels-desktop-setp-by-setp-install/#安裝-parallels-desktop" class="anchor-link" aria-label="安裝-parallels-desktop"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/parallels-desktop-setp-by-setp-install/#contents:安裝-parallels-desktop" class="headings">安裝 Parallels Desktop</a></h2>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/01.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/02.png" alt="" />
<p> </p>
<div style="width: 708px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/03.png" alt="" width="698" height="504" />
<p class="wp-caption-text">
由於是迷版的所以跳過該版本
</p>
</div>
<p> </p>
<div style="width: 602px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/04.png" alt="" width="592" height="273" />
<p class="wp-caption-text">
不,使用現有的
</p>
</div>
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/05.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/06.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/07.png" alt="" />
<p> </p>
<div style="width: 994px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/08.png" alt="" width="984" height="693" />
<p class="wp-caption-text">
手動查找
</p>
</div>
<p> </p>
<div style="width: 994px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/09.png" alt="" width="984" height="693" />
<p class="wp-caption-text">
把 ISO 檔拖進去
</p>
</div>
<p> </p>
<div style="width: 994px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/10-1.png" alt="" width="984" height="693" />
<p class="wp-caption-text">
輸入序號
</p>
</div>
<p> </p>
<div style="width: 994px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/11.png" alt="" width="984" height="693" />
<p class="wp-caption-text">
因為是 Windows Server 請選 軟體發展
</p>
</div>
<p> </p>
<div style="width: 994px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/12.png" alt="" width="984" height="693" />
<p class="wp-caption-text">
把「安裝前設定」打勾會有更詳細的設定
</p>
</div>
<p> </p>
<div style="width: 802px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/13.png" alt="" width="792" height="655" />
<p class="wp-caption-text">
一般來說照預設就可以了,怕硬碟沒空間可以配多一點
</p>
</div>
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/14.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/05.png" alt="" />
<p> </p>
<div style="width: 994px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/parallels-desktop-setp-by-setp-install/16.png" alt="" width="984" height="693" />
<p class="wp-caption-text">
開始安裝
</p>
</div>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/parallels-desktop-setp-by-setp-install/" target="_blank" rel="noopener">https://becoder.org/parallels-desktop-setp-by-setp-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[VM] VMPlayer 12 Setp by Setp 安裝教學
https://becoder.org/vmplayer-12-setp-by-setp-install/
2022-07-08T21:38:16+08:00
2015-10-03T15:34:41+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>VMPlayer 是 VMware 公司提供給非營利個人用戶免費使用的虛擬機器,個人認為比 Virtual Box 好用很多。當我們要學習新的作業系統、或是使用一些不值得信任的軟體的時候,可以使用安裝在 VMPlayer 內的系統操作,不用怕搞壞實體機器~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vmplayer-12-setp-by-setp-install/" target="_blank" rel="noopener">https://becoder.org/vmplayer-12-setp-by-setp-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>VMPlayer 是 VMware 公司提供給非營利個人用戶免費使用的虛擬機器,個人認為比 Virtual Box 好用很多。當我們要學習新的作業系統、或是使用一些不值得信任的軟體的時候,可以使用安裝在 VMPlayer 內的系統操作,不用怕搞壞實體機器~</p>
<h2 id="下載"><a href="https://becoder.org/vmplayer-12-setp-by-setp-install/#下載" class="anchor-link" aria-label="下載"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vmplayer-12-setp-by-setp-install/#contents:下載" class="headings">下載</a></h2>
<p>下載網址:<br>
<a href="https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0" target="_blank" rel="noopener" target="_blank"><a href="https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0" target="_blank" rel="noopener">https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0</a></a></p>
<div style="width: 976px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/01.png" alt="" width="966" height="487" />
<p class="wp-caption-text">
請先到 VM 的網站下載VMPlayer 12 for Windows
</p>
</div>
<p> </p>
<p> </p>
<h2 id="安裝"><a href="https://becoder.org/vmplayer-12-setp-by-setp-install/#安裝" class="anchor-link" aria-label="安裝"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vmplayer-12-setp-by-setp-install/#contents:安裝" class="headings">安裝</a></h2>
<div style="width: 813px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/02.png" alt="" width="803" height="600" />
<p class="wp-caption-text">
執行下載好的檔案
</p>
</div>
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/03.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/04.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/05.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/06.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/07.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/08.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/09.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/10.png" alt="" />
<p> </p>
<p> </p>
<h2 id="新增虛擬機windows-server-2012-r2"><a href="https://becoder.org/vmplayer-12-setp-by-setp-install/#新增虛擬機windows-server-2012-r2" class="anchor-link" aria-label="新增虛擬機windows-server-2012-r2"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vmplayer-12-setp-by-setp-install/#contents:新增虛擬機windows-server-2012-r2" class="headings">新增虛擬機(Windows Server 2012 R2)</a></h2>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/12.png" alt="" />
<p> </p>
<div style="width: 399px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/13.png" alt="" width="389" height="437" />
<p class="wp-caption-text">
輸入 Email
</p>
</div>
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/14.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/15.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/16.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/17.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/18-1.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/19.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/20.png" alt="" />
<p> </p>
<img class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/10/vmplayer-12-setp-by-setp-install/21.png" alt="" />
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vmplayer-12-setp-by-setp-install/" target="_blank" rel="noopener">https://becoder.org/vmplayer-12-setp-by-setp-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[教學] Dev C++ 安裝教學
https://becoder.org/devcpp-installing/
2022-07-08T21:38:16+08:00
2015-09-14T16:34:36+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近看到不少人在安裝 Dev C++ 的時候亂碼,寫一篇小文解決這個問題~(順便衝文章數XDD)</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/devcpp-installing/" target="_blank" rel="noopener">https://becoder.org/devcpp-installing/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近看到不少人在安裝 Dev C++ 的時候亂碼,寫一篇小文解決這個問題~(順便衝文章數XDD)</p>
<p>首先使用 <a href="http://sourceforge.net/projects/orwelldevcpp/files/latest/download" target="_blank" rel="noopener" target="_blank">SourceForge</a> 的連結下載 Dev C++ 的最新版本,抓好後打開就可以照圖片安裝了:</p>
<p> </p>
<p>一)直接使用 English 安裝即可:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/devcpp-installing/01.png" alt="" width="415" height="278" />
<p> </p>
<p>二)同意條款:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/devcpp-installing/02.png" alt="" width="586" height="480" />
<p> </p>
<p>三)直接按下一步:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/devcpp-installing/03.png" alt="" width="595" height="482" />
<p> </p>
<p>四)等他裝完直接 Finish</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/devcpp-installing/05.png" alt="" width="616" height="493" />
<p> </p>
<p>五)語言選擇「Chinese (TW)」後點 Next:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/devcpp-installing/06.png" alt="" width="674" height="456" />
<p> </p>
<p>六)按「下一步」</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/devcpp-installing/07.png" alt="" width="672" height="455" />
<p> </p>
<p>七)裝好啦!!</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/devcpp-installing/08.png" alt="" width="1152" height="865" />
<p> </p>
<p>就這樣而已啦,不會有任何的亂碼問題囉~(文章數+1XDDD)</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/devcpp-installing/" target="_blank" rel="noopener">https://becoder.org/devcpp-installing/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[路由器] 使用 TTL 把 TP-LINK TL-WR1043ND v1 刷回原廠
https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/
2022-07-08T21:38:16+08:00
2015-09-04T06:48:16+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>人們將路由器(Router)刷機,是為了讓機器有更好的運用、發揮他的效能,刷成功讓人興奮又開心;刷爛的話,第一時間一定是既失落又絕望,身為主人的我們一定要讓他起死回生,那個方法就是使用TTL讓他復活啦!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/" target="_blank" rel="noopener">https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>人們將路由器(Router)刷機,是為了讓機器有更好的運用、發揮他的效能,刷成功讓人興奮又開心;刷爛的話,第一時間一定是既失落又絕望,身為主人的我們一定要讓他起死回生,那個方法就是使用TTL讓他復活啦!</p>
<p><strong>「更新」測速盒可以接參考下列網址</strong></p>
<p><strong>102-104年固網測試盒韌體還原作業程序</strong><br>
<strong><a href="http://speed.ttc.org.tw/news_info.php?id=61" target="_blank" rel="noopener" rel="nofollow"><a href="http://speed.ttc.org.tw/news_info.php?id=61" target="_blank" rel="noopener">http://speed.ttc.org.tw/news_info.php?id=61</a></a></strong></p>
<p><strong>102-104年固網測試盒韌體還原作業程序 (延長公告)</strong><br>
<strong><a href="http://speed.ttc.org.tw/news_info.php?id=66" target="_blank" rel="noopener" rel="nofollow"><a href="http://speed.ttc.org.tw/news_info.php?id=66" target="_blank" rel="noopener">http://speed.ttc.org.tw/news_info.php?id=66</a></a></strong></p>
<p>這篇描述的其實是一台<del>不知名來源</del>的 TP-LINK TL-WR1043ND v1 起死回生的故事,開始前請先準備:</p>
<p>一)你那台半攤的機器 TP-LINK TL-WR1043ND v1(使用 TTL 需要焊接)<br>
二)PL2303 晶片的 USB to TTL<br>
三)電腦一台(Mac 或 Linux,在 Windows 我是沒成功過拉)</p>
<p>要在 WR1043ND 使用 TTL 的話還需要焊上接點來和杜邦線連接,個人我是焊「電話的銅線」在上面~XD反正可以用就好了,而且這種銅線的材質還不錯,在機器上找到類似下圖的地方,四個孔用銅線焊上去就可以啦,至於為什麼銅線是銀色的,那是因為我在焊接前,把整根銅撕插進焊油內,再把錫鍍一層薄薄的上去,這樣可以防止裡面的銅氧化~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/10.jpg" alt="" width="800" height="600" />
<p> </p>
<h2 id="tftp-伺服器"><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#tftp-伺服器" class="anchor-link" aria-label="tftp-伺服器"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#contents:tftp-伺服器" class="headings">TFTP 伺服器</a></h2>
<p>在刷機的時候,我們需要安裝 TFTP 伺服器來提供安裝檔( .bin )給 1043ND v1 吃,詳細的解釋可以去 Google 瞭解。一開始我是使用 Windows 10 裝 TFTP,但不知道為什麼搞了了老半天就是沒反應,後來就怒切換 OS X,使用內建的 TFTP 伺服器。OS X 啟動 TFTP 的方法如下:</p>
<p><code>sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist</code></p>
<p><code>sudo launchctl start com.apple.tftpd</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/01.png" alt="" width="781" height="366" />
<p>沒錯!只需使用兩個指令就能啟動內建的TFTP伺服器了!!在Windows 搞了老半天都不能用是怎樣,因為這樣讓我決心以後有能力的時候一定買一台 Mac 回家供奉..XD。完成後,TFTP的預設資料夾在 /private/tftpboot 內(如果需要更改的話,修改 /System/Library/LaunchDaemons/tftp.plist 重新啟動 TFTP 就可以了~)。</p>
<p> </p>
<h2 id="將韌體檔案放置-tftp-伺服器資料夾"><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#將韌體檔案放置-tftp-伺服器資料夾" class="anchor-link" aria-label="將韌體檔案放置-tftp-伺服器資料夾"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#contents:將韌體檔案放置-tftp-伺服器資料夾" class="headings">將韌體檔案放置 TFTP 伺服器資料夾</a></h2>
<p>只要把原廠的系統丟進去 /private/tftpboot 裡面就可以啦!可以到 TP-Link 的網站下載原廠韌體 [<a href="https://download.becoder.org/tl-wr1043nd_v1_120625_tw-zip/" target="_blank" rel="noopener" target="_blank">點我下載</a>] ~我下載下來的檔案是 TL-WR1043ND_V1_120625_TW.zip ,解壓縮後檔名為 wr1043nv1_cht_3_13_12_up(120625).bin ,使用以下指令把原廠韌體丟進 TFTP 的資料夾就完成韌體準備囉~!把韌體檔案放在桌面的話就可以直接套用以下指令了~</p>
<p><code>cd ~</code></p>
<p><code>sudo cp "Desktop/wr1043nv1_cht_3_13_12_up(120625).bin" /private/tftpboot</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/02.png" alt="" width="781" height="380" />
<p> </p>
<h2 id="接上-usb-to-ttl-進行開機"><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#接上-usb-to-ttl-進行開機" class="anchor-link" aria-label="接上-usb-to-ttl-進行開機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#contents:接上-usb-to-ttl-進行開機" class="headings">接上 USB to TTL 進行開機</a></h2>
<p>下面這張圖片是機器上的TTL配置狀況:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/10.jpg" alt="" width="800" height="600" />
<p> </p>
<p>第一步:TTL 連接的方法則是 <span style="color: #ff0000;">GND 接 GND</span>、<span style="color: #ff0000;">TXD 接 RXD</span>、<span style="color: #ff0000;">RXD 接 TXD</span>,另外一個 VCC 不要理他,<span style="color: #ff0000;">接上去的話可能會燒掉唷</span>XD,用這樣比喻好了:你在講話的時候,你的聲音(TXD)要傳給對方的耳朵(RXD),對方的聲音(TXD)也會傳給你的耳朵(RXD),概念就是這麼簡單~<del>一個69的概念XD。</del>接好後,把USB to TTL 插上電腦就完成第一步了!</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/12.jpg" alt="" width="800" height="600" />
<p>第二步:用 Mac 的終端機來和 USB to TTL 進行溝通,插上電腦後,使用以下的指令就可以切換到 Console 畫面了(<a href="http://brew.sh/index_zh-tw.html" target="_blank" rel="noopener" target="_blank">OS X 沒裝 brew 的話請從這裡安裝</a>):</p>
<p><code>brew install screen</code></p>
<p><code>screen /dev/tty.usbserial 115200</code></p>
<p>這樣就進入 Console 畫面啦~XD一片空白是正常的,機器還沒開機是不會有畫面的,已經完成第二步了~。</p>
<p> </p>
<p>第三步:使用 RJ45 把電腦和機器連接,記得,是插在 1043ND v1 的 LAN 孔唷,就是那四個黃色的洞~接好後,先把這串英文字 tpl 複製起來,我們需要使用 Console 攔截 uboot 開機,在出現這個畫面的時候,迅速將 tpl 貼上就可以攔截開機了~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/11.jpg" alt="" width="800" height="600" />
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/03.png" alt="" width="697" height="478" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/04.png" alt="" width="697" height="478" />
<h2 id="設定-ip"><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#設定-ip" class="anchor-link" aria-label="設定-ip"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#contents:設定-ip" class="headings">設定 IP</a></h2>
<p>請在 Console 內輸入 printenv 看一下 IP 的狀況(忘記抓圖了QQ),serverip 是你電腦的IP,預設好像是 192.168.0.5 ,因為TFTP架在電腦上,另外一個就是機器的 IP 啦,然後~電腦是接在機氣後面,所以要到電腦的「網路設定」把 IP 手動設為 serverip (192.168.0.5)。這樣原廠韌體才能從你電腦的TFTP伺服器把韌體傳到機器裡面~設定好就可以開始傳送韌體啦!要注意的是,設定的 IP 不能和現有的 IP 網段衝突。舉例來說,我的電腦現在使用 WIFI 連線上網,所配得的 IP 為 192.168.0.*,1043ND 的 IP 網段也是 192.168.0.*,就會發生衝突了,會沒辦法傳送韌體,解決方法有兩種:</p>
<p>一)切斷其他網路連線(WIFI),只讓電腦和 1043ND 連線:</p>
<p>這個方法應該是最快的,不用再去設定 1043ND 內的 Server IP 跟 1043ND v1 本身的 IP ,如果需要一邊看文章一邊做才安心的話,那就要用第二種方法了。</p>
<p>二)修改 serverip 、 ipaddr :</p>
<p>修改 ipaddr (1043ND的 IP):<code>setenv ipaddr 192.168.<span style="color: #ff0000;">1</span>.1</code></p>
<p>修改 serverip (電腦的 IP):<code>setenv serverip 192.168.<span style="color: #ff0000;">1</span>.5</code></p>
<p>把 IP 修改和現有網段不同就可以了,電腦設定的 IP 也要記得改哦~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/05.png" alt="" width="780" height="675" />
<h2 id="安裝韌體"><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#安裝韌體" class="anchor-link" aria-label="安裝韌體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/#contents:安裝韌體" class="headings">安裝韌體</a></h2>
<p>回到 Console 畫面,輸入以下指令進行下載韌體:</p>
<p><code>tftpboot 0x81000000 wr1043nv1_cht_3_13_12_up(120625).bin</code></p>
<p>傳送成功的話會出現以下畫面:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/06.png" alt="" width="697" height="604" />
<p> </p>
<p>確定成功後就可以把目前在 1043ND v1 內的韌體洗掉了,<span style="color: #ff0000;">此動作限用於 1043ND v1 不可還原,請小心</span>:</p>
<p><code>erase 0xbf020000 +7c0000</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/07.png" alt="" width="697" height="212" />
<p> </p>
<p> </p>
<p>清除完成後,再來就是安裝啦,<span style="color: #ff0000;">此動作限用於 1043ND v1 不可還原,請小心</span>:</p>
<p><code>cp.b 0x81000000 0xbf020000 0x7c0000</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/08.png" alt="" width="697" height="212" />
<p> </p>
<p>重開機,<span style="color: #ff0000;">此動作限用於 1043ND v1 不可還原,請小心</span>:</p>
<p><code>bootm 0xbf020000</code></p>
<div style="width: 707px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/09/router-tl-wr1043nd-v1-ttl-factory-flashing/09.png" alt="" width="697" height="562" />
<p class="wp-caption-text">
來不及抓圖
</p>
</div>
<p> </p>
<p>此時此刻,你的 1043ND 就回原廠啦!XDD 想幹嘛就幹嘛,以後刷爛就靠這招囉~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/" target="_blank" rel="noopener">https://becoder.org/router-tl-wr1043nd-v1-ttl-factory-flashing/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[生活] 第一次申請就學貸款必備項目(新增第二次申請流程)
https://becoder.org/bank-of-taiwan-student-loan/
2022-07-08T21:38:16+08:00
2015-08-27T09:34:13+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>離大學開學日越來越近,最近也申請了就學貸款減輕家裡負擔,第一次申請就學貸款需要好多麻煩的東西,缺東缺西跑了好多趟,我認為必須把自己的經驗寫下來,其他人不用再那麼辛苦XD。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/bank-of-taiwan-student-loan/" target="_blank" rel="noopener">https://becoder.org/bank-of-taiwan-student-loan/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>離大學開學日越來越近,最近也申請了就學貸款減輕家裡負擔,第一次申請就學貸款需要好多麻煩的東西,缺東缺西跑了好多趟,我認為必須把自己的經驗寫下來,其他人不用再那麼辛苦XD。</p>
<p>[wpanchor id=”first”]</p>
<p><span style="color: #ff0000;">※2016/02/10 新增第二次申請過程</span></p>
<h2 id="必備項目"><a href="https://becoder.org/bank-of-taiwan-student-loan/#必備項目" class="anchor-link" aria-label="必備項目"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bank-of-taiwan-student-loan/#contents:必備項目" class="headings">必備項目</a></h2>
<p><strong>一)繳費單</strong></p>
<p>在申請就學貸款之前,使用<span style="color: #ff0000;">自己學校所提供的網址下載繳費單</span>並影印起來,申請貸款的時候需要使用上面的資訊。</p>
<p> </p>
<p><strong>二)申請台灣銀行就學貸款帳號</strong></p>
<p>新申請的話需要註冊一個帳號,前往 <strong>台灣銀行就學貸款入口網</strong>(<a href="https://sloan.bot.com.tw/newsloan/login/SLoanLogin.action" target="_blank" rel="noopener" target="_blank"><a href="https://sloan.bot.com.tw/newsloan/login/SLoanLogin.action" target="_blank" rel="noopener">https://sloan.bot.com.tw/newsloan/login/SLoanLogin.action</a></a>)註冊,我在註冊的時候卻遇到Email 寄送失敗的訊息,確認好幾次沒打錯卻同樣失敗,後來我的<span style="color: #ff0000;">解決方法是使用市話(用手機的話他會叫你用02開頭的號碼,想用免付費專線的話只能用市話)打給台灣銀行的客服專線 0800-025-168 進行手動開通就可以了</span>~</p>
<p>登入後,把申請書填一填列印下來就可以了,需要父母或監護人、以及自己的戶籍地址等相關資料~不會填的話可以去台灣銀行填,那裡有電腦可以用,也可以在現場列印,因為我第一次申請不清楚流程,也去那邊請教後才進行填寫、列印申請書~。</p>
<p> </p>
<p><strong>三)戶籍謄本</strong></p>
<p>第一次申請就學貸款需要<span style="color: #ff0000;">父母雙方或監護人</span>,以及<span style="color: #ff0000;">自己三個月內的戶籍謄本</span>。沒有的話就必須申請,申請時<span style="color: #ff0000;">父母雙方或監護人、及自己一同前往</span>,記得<span style="color: #ff0000;">攜帶父母或監護人身份證、印章</span>前往戶政事務所申請,手續費好像是 30 元新台幣。</p>
<p> </p>
<p><strong>四)身份證、印章</strong></p>
<p><span style="color: #ff0000;">父母雙方或監護人、以及自己的身份證、印章</span>都必須帶齊,因為申請就學貸款父母是保證人的樣子~人也必須到現場進行簽名才可以進行就學貸款的申請。</p>
<p> </p>
<h2 id="前往申請"><a href="https://becoder.org/bank-of-taiwan-student-loan/#前往申請" class="anchor-link" aria-label="前往申請"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bank-of-taiwan-student-loan/#contents:前往申請" class="headings">前往申請</a></h2>
<p>準備好上述文件後就可以去台灣銀行申請就學貸款了,不會的問題可以現場請教,也可以在那裡列印申請書,剛去申請的時候<del>忘記帶老爸去</del>,也沒有申請戶籍謄本,後來補足才成功申請,第一次申請才需要那麼麻煩,手續費100元新台幣,申請完成後單子記得好留好,以後自己去就可以了以後自己去就可以了~應該不少人需要這些資訊XD就記錄一下囉~</p>
<p>[wpanchor id=”second”]</p>
<h2 id="第二次申請201602-updated"><a href="https://becoder.org/bank-of-taiwan-student-loan/#第二次申請201602-updated" class="anchor-link" aria-label="第二次申請201602-updated"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/bank-of-taiwan-student-loan/#contents:第二次申請201602-updated" class="headings">第二次申請(<span style="color: #ff0000;">2016/02 updated</span>)</a></h2>
<p>第二次申請只需要:填寫申請書並列印(3張)、列印繳費單、帶身份證、印章、對保費 100 元,即可獨自前往申請,不需要監護人即可完成申請。完成後會有把兩張存根,一張給學校,一張自己留著就大公告成了!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/bank-of-taiwan-student-loan/" target="_blank" rel="noopener">https://becoder.org/bank-of-taiwan-student-loan/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[軟體] Shadowsocks 簡易連線設定教學
https://becoder.org/shadowsocks-setting/
2022-07-08T21:38:16+08:00
2015-08-24T13:11:30+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>架好 Shadowsocks 後,那要如何使用呢~?其實有點麻煩~不過只要仔細設定就可以順利使用了~XDD Mac、Windows、Android、IOS 的方法都不太一樣 XDDD 就盡我所能的把使用方法都寫出來囉~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/shadowsocks-setting/" target="_blank" rel="noopener">https://becoder.org/shadowsocks-setting/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>架好 Shadowsocks 後,那要如何使用呢~?其實有點麻煩~不過只要仔細設定就可以順利使用了~XDD Mac、Windows、Android、IOS 的方法都不太一樣 XDDD 就盡我所能的把使用方法都寫出來囉~!</p>
<p> </p>
<h2 id="mac-os-x"><a href="https://becoder.org/shadowsocks-setting/#mac-os-x" class="anchor-link" aria-label="mac-os-x"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/shadowsocks-setting/#contents:mac-os-x" class="headings">Mac OS X</a></h2>
<p>在 Mac OS X 上還滿簡單的,首先下載 ShadowsocksX-2.6.3.dmg ,複製到 Applications 後就可以打開了,打上相關設定,從右上角紙飛機點擊「全局模式」,服務器選剛剛新增的~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/01.png" alt="" width="726" height="392" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/02.png" alt="" width="555" height="344" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/03.png" alt="" width="628" height="437" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/04.png" alt="" width="467" height="352" />
<p> </p>
<p> </p>
<p>完成後,整台電腦就變成伺服器的IP了~!</p>
<p> </p>
<h2 id="windows"><a href="https://becoder.org/shadowsocks-setting/#windows" class="anchor-link" aria-label="windows"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/shadowsocks-setting/#contents:windows" class="headings">Windows</a></h2>
<p>Windows 好像只能透過瀏覽器代理,用戶端的軟體有很多版本,個人是選擇 Shadowsocks-Qt5 64位元版,下載下來後解壓縮,直接打開 ss-qt5.exe 就可以了,從「Connect→Add→Manually」新增伺服器設定,完成後點右上角的 Connect 就完成第一步了。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/05.png" alt="" width="566" height="463" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/06.png" alt="" width="463" height="477" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/07.png" alt="" width="402" height="439" />
<p> </p>
<p> </p>
<p>連線後會出現這個成功畫面~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/08.png" alt="" width="466" height="178" />
<p> </p>
<p> </p>
<p>再來,請用 Chrome 下載擴充元件 <a href="https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif/related" target="_blank" rel="noopener" target="_blank">SwitchyOmega</a>,裝好後到控制介面,選擇「新建情境模式」,名字隨便打分辨得出來就好,情境類型選「代理伺服器」後「創建」。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/09.png" alt="" width="328" height="572" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/10.png" alt="" width="778" height="774" />
<p> </p>
<p> </p>
<p>「代理協議」的部分是「SOCKS5」,「代理伺服器」的部分輸入「127.0.0.1」,代理埠則是「1080」。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/11.png" alt="" width="1069" height="345" />
<p> </p>
<p> </p>
<p>完成後點「應用選項」。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/09.png" alt="" width="328" height="572" />
<p></p>
<p>儲存成功後,點 Chrome 的右上角圈圈內剛剛新增的代理伺服器就可以連線了~記得 Shadowsocks-Qt5 是在連線狀態。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/12.png" alt="" width="273" height="325" />
<p> </p>
<h2 id="android"><a href="https://becoder.org/shadowsocks-setting/#android" class="anchor-link" aria-label="android"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/shadowsocks-setting/#contents:android" class="headings">Android</a></h2>
<p>Android 可以在 Google Play 上下載 <a href="https://play.google.com/store/apps/details?id=com.github.shadowsocks&hl=zh_TW" target="_blank" rel="noopener" target="_blank">Shadowsocks</a> ,下載安裝後,一樣填入伺服器的設定就可以點右上角進行連線了<br>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/13.png" alt="" width="720" height="1280" /></p>
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/shadowsocks-setting/14.PNG" alt="" width="720" height="1280" />
<p> </p>
<p> </p>
<h2 id="ios"><a href="https://becoder.org/shadowsocks-setting/#ios" class="anchor-link" aria-label="ios"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/shadowsocks-setting/#contents:ios" class="headings">IOS</a></h2>
<p>由於我沒有IOS裝置,就直接貼 App Store 的連結:<a href="https://itunes.apple.com/us/app/shadowsocks/id665729974" target="_blank" rel="noopener" target="_blank"><a href="https://itunes.apple.com/us/app/shadowsocks/id665729974" target="_blank" rel="noopener">https://itunes.apple.com/us/app/shadowsocks/id665729974</a></a></p>
<p> </p>
<p>以上就是簡單的使用教學~因為沒去過中國沒辦法真的測試能不能穿牆XD,在宿舍之類有鎖網路的地方真的滿方便的,在網路不安全的地方、公用WIFI 使用 Shadowshocks 可以讓個人隱私有更好的保護~!</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/shadowsocks-setting/" target="_blank" rel="noopener">https://becoder.org/shadowsocks-setting/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 網樂通安裝 Shadowsocks ,成為好用翻牆利器
https://becoder.org/nextvod-shadowsocks-server/
2022-07-08T21:38:16+08:00
2015-08-24T13:11:17+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Shadowsocks 是一個可以輕鬆突破中國防火長城 GFW 的SOCKS v5 代理軟體,發現自己以後去大學宿舍可能需要用到,就研究了一下,發現網樂通也可以跑XDD,而且還能看見區網的檔案..XDDD其實是這幾天聽到 Shadowsocks 在中國被警方強迫刪除原始碼的新聞,才知道這個好用的工具XDDD,在這裡記錄分享安裝過程~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-shadowsocks-server/" target="_blank" rel="noopener">https://becoder.org/nextvod-shadowsocks-server/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Shadowsocks 是一個可以輕鬆突破中國防火長城 GFW 的SOCKS v5 代理軟體,發現自己以後去大學宿舍可能需要用到,就研究了一下,發現網樂通也可以跑XDD,而且還能看見區網的檔案..XDDD其實是這幾天聽到 Shadowsocks 在中國被警方強迫刪除原始碼的新聞,才知道這個好用的工具XDDD,在這裡記錄分享安裝過程~</p>
<p> </p>
<p><strong>[感謝] 感謝 <a href="https://www.facebook.com/huang.j.zheng.1" target="_blank" rel="noopener">Chia-Cheng Huang</a> 上海實測,可突破中國 GFW 封鎖 ~!!</strong></p>
<h2 id="安裝-python-pip"><a href="https://becoder.org/nextvod-shadowsocks-server/#安裝-python-pip" class="anchor-link" aria-label="安裝-python-pip"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-shadowsocks-server/#contents:安裝-python-pip" class="headings">安裝 python-pip</a></h2>
<p>一)在開始任何安裝之前,請讓自己有個更新套件庫的好習慣:<code>apt-get update</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/nextvod-shadowsocks-server/01.png" alt="" width="697" height="478" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/nextvod-shadowsocks-server/02.png" alt="" width="697" height="478" />
<p> </p>
<p> </p>
<p>二)安裝 python-pip,需要等一點時間:<code>apt-get install python-pip</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/nextvod-shadowsocks-server/03.png" alt="" width="697" height="478" />
<p> </p>
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/nextvod-shadowsocks-server/04.png" alt="" width="697" height="478" />
<p> </p>
<p>三)python-pip 裝完後,就可以用 pip 指令來安裝 Shadowsocks 了:<code>pip install shadowsocks</code></p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/nextvod-shadowsocks-server/05.png" alt="" width="697" height="478" />
<p> </p>
<h2 id="啟動shadowsocks-server"><a href="https://becoder.org/nextvod-shadowsocks-server/#啟動shadowsocks-server" class="anchor-link" aria-label="啟動shadowsocks-server"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-shadowsocks-server/#contents:啟動shadowsocks-server" class="headings">啟動 Shadowsocks Server</a></h2>
<p>通常我們都會把這類的軟體放到背景執行,如此一來才不會因為終端機關閉城市就跟著停止運作,有兩種方式可以啟動:</p>
<p>啟動背景執行: <code>ssserver -s IP -p PORT -k PASSWORD -m aes-256-cfb --user nobody -d start</code></p>
<p>前景執行:<code>ssserver -s IP -p PORT -k PASSWORD -m aes-256-cfb</code></p>
<p>停止伺服器:<code>ssserver -d stop</code></p>
<p> </p>
<p>請把<span style="color: #ff0000;">IP改成你機器的對外IP</span>、<span style="color: #ff0000;">PORT改成你喜歡的Port</span>、<span style="color: #ff0000;">PASSWORD改成你的密碼</span>(越難越好,建議用網路上的密碼產生器),網樂通在區域網路的話,IP跟Port的部分建議用路由器的 <a href="https://www.google.com.tw/search?q=Port+Forwarding" target="_blank" rel="noopener" target="_blank">Port Forwarding</a> 解決,這樣就不用讓整台機器裸露在網路上了。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/nextvod-shadowsocks-server/06.png" alt="" width="724" height="335" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/nextvod-shadowsocks-server/07.png" alt="" width="697" height="478" />
<p>懶得每次啟動都打一此的話可以把指令存成 srart.sh、stop.sh 之類的檔案~以後要啟動就直接跑他就可以了。</p>
<p>簡單的連線設定可以參考下一篇~<a href="https://becoder.org/shadowsocks-setting" target="_blank" rel="noopener" target="_blank">[軟體] Shadowsocks 簡易連線設定教學</a></p>
<p> </p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-shadowsocks-server/" target="_blank" rel="noopener">https://becoder.org/nextvod-shadowsocks-server/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[系統] 黑蘋果無線網卡不支援?那就用小米隨身 WIFI 吧!
https://becoder.org/yosemite-xiaomi-wifi/
2022-07-08T21:38:16+08:00
2015-08-19T14:20:33+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>近期入手了一台 ASUS 筆電,X550JX i7 4720HQ,人生中的第一台筆電XD。這麼久沒有更新文章就是在搞黑蘋果(Hackintosh)啦XD,簡單來說,就是在筆電上安裝蘋果的作業系統OS X。很不幸的, X550JX 內建的網卡 BCM43142 在 OSX 上沒有驅動(kext)可以用,解決方法就是拆機換網卡,可是我不想再花錢,也不想壞保固,想到家裡有很久以前在露天買的便宜網卡小米隨身WIFI!!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/yosemite-xiaomi-wifi/" target="_blank" rel="noopener">https://becoder.org/yosemite-xiaomi-wifi/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>近期入手了一台 ASUS 筆電,X550JX i7 4720HQ,人生中的第一台筆電XD。這麼久沒有更新文章就是在搞黑蘋果(Hackintosh)啦XD,簡單來說,就是在筆電上安裝蘋果的作業系統OS X。很不幸的, X550JX 內建的網卡 BCM43142 在 OSX 上沒有驅動(kext)可以用,解決方法就是拆機換網卡,可是我不想再花錢,也不想壞保固,想到家裡有很久以前在露天買的便宜網卡小米隨身WIFI!!</p>
<p>這種時候,就是該出動 Google 大神了,查了一下,網路上有不少教學~不過載點都死光光了QQ,許多修改過的驅動很多都不能用,結果還是像Linux的驅動一樣,手動修改設備ID比較實在,改完就可以順利驅動了。(我的作業系統版本是 Yosemite 10.10.5)</p>
<p> </p>
<p>下載驅動</p>
<p>在這邊,我是<a href="http://www.mediatek.com/zh-TW/downloads1/downloads/" target="_blank" rel="noopener" target="_blank">下載MT7610U的驅動</a>,因為看錯才抓他XDDDD,不過一樣能用,好像是都包在一起~下載完成後,我的檔名是 MT7610U_D5.0.1.25_SDK1.0.2.18_UI5.0.0.27_20150429.dmg</p>
<p>一)打開DMG後,點 USBWireless-Install.pkg 進行安裝</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/01.png" alt="" width="882" height="517" />
<p> </p>
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/04.png" alt="" width="732" height="550" />
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/03.png" alt="" width="732" height="550" />
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/06.png" alt="" width="663" height="506" />
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/07.png" alt="" width="704" height="522" />
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/08.png" alt="" width="732" height="550" />
<p> </p>
<p>二)安裝完成後重開機~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/09.png" alt="" width="732" height="550" />
<p> </p>
<h2 id="修改pidvid"><a href="https://becoder.org/yosemite-xiaomi-wifi/#修改pidvid" class="anchor-link" aria-label="修改pidvid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/yosemite-xiaomi-wifi/#contents:修改pidvid" class="headings">修改PID、VID</a></h2>
<p>三)重開機後,用VIM或是其他編輯器編輯 <span class="s1">/System/Library/Extensions/RT2870USBWirelessDriver.kext/Contents/Info.plist(</span>中文路徑:系統/資源庫/Extensions/<span class="s1">RT2870USBWirelessDriver.kext/Contents/Info.plist),找到 MT7601,修該改PID為16646、修改VID為10007,在Mac上,這兩個是使用10進位制的。修改完畢後存檔即可!</span></p>
<div style="width: 986px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/10.png" alt="" width="976" height="506" />
<p class="wp-caption-text">
VIM
</p>
</div>
<div style="width: 986px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/11.png" alt="" width="976" height="506" />
<p class="wp-caption-text">
找到MT7601,修改PID、VID
</p>
</div>
<p> </p>
<p>四)用 Kext Wizard 修復權限,照著圖片打勾後,指定你的黑蘋果安裝磁區後按下 Exexute,等待幾分鐘完成後重開機。</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/12.png" alt="" width="569" height="574" />
<p> </p>
<p>五)重開機後,插上小米隨身WIFI,應該就可以看到類似的圖案了~點 Open Wireless Utility 開啟控制面板</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/13.png" alt="" width="198" height="86" />
<p> </p>
<p>六)等一陣子就可以掃到基地台了,雙擊你的基地台,輸入密碼就可以連線啦!可惜的是不能用蘋果原生的管理程式管理WIFI~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/14.png" alt="" width="832" height="614" />
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/16.png" alt="" width="780" height="675" />
<p>怕更新驅動掛掉的,記得把kext丟進clover的kext資料夾內</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/17.png" alt="" width="1437" height="549" />
<p> </p>
<p>從此之後~小米隨身WIFI就可以常駐在電腦上了,體積小一點都不礙事~</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/yosemite-xiaomi-wifi/15.jpg" alt="" width="1024" height="768" />
<p> </p>
<p><span style="color: #999999;"><em>參考文章:<a style="color: #999999;" href="https://becoder.org//blog.ctlu.info/2014/05/xiaomi-usb-wifi-mac-driver.html" target="_blank">小米隨身 Wi-Fi 修改 Mac OSX 10.9.1 驅動</a></em></span></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/yosemite-xiaomi-wifi/" target="_blank" rel="noopener">https://becoder.org/yosemite-xiaomi-wifi/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[系統] 如何關閉 Windows 10 中的 Windows Defender ?
https://becoder.org/windows-10-windows-defender-reg/
2022-07-08T21:38:16+08:00
2015-08-05T14:28:40+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Windows Defender 是 Windows 中內建的防毒軟體,有些人有特殊需求才需要特別關閉 Windows Defender ,<span style="color: #ff0000;">正常情況下不建議關閉</span>。現在升級到 Windows 10 ,那要怎麼關呢?其實非常簡單!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows-10-windows-defender-reg/" target="_blank" rel="noopener">https://becoder.org/windows-10-windows-defender-reg/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Windows Defender 是 Windows 中內建的防毒軟體,有些人有特殊需求才需要特別關閉 Windows Defender ,<span style="color: #ff0000;">正常情況下不建議關閉</span>。現在升級到 Windows 10 ,那要怎麼關呢?其實非常簡單!</p>
<p> </p>
<h2 id="windows-defender"><a href="https://becoder.org/windows-10-windows-defender-reg/#windows-defender" class="anchor-link" aria-label="windows-defender"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/windows-10-windows-defender-reg/#contents:windows-defender" class="headings">Windows Defender</a></h2>
<p>關閉 Windows Defender 的方法是透過修改登錄檔達成,不需要手動修改,只需要用登錄檔來設定就可以啦~:</p>
<p><span style="color: #ff0000;">※執行前請確定清楚自己在做什麼,正常情況下不建議關閉</span></p>
<p><a href="https://download.becoder.org/windows10-windows-defender/" target="_blank" rel="noopener" target="_blank">Windows Defender 登錄檔下載</a></p>
<p>要關掉的時候,執行 <code>Windows10-Windows-Defender-Stop.reg</code></p>
<p>關掉後就打不開了:</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows-10-windows-defender-reg/02.png" alt="" width="496" height="276" />
<p> </p>
<p>手動修改只需要打開 <code>regedit</code>(左下角放大鏡輸入 <code>regedit</code> ),進入</p>
<p><code>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender</code></p>
<p>裡面有個 <code>DisableAntiSpyware</code> ,數值為 `` 時啟動,數值為 <code>1</code> 時關閉,有登錄檔就不用慢慢找了</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows-10-windows-defender-reg/01.png" alt="" width="737" height="296" />
<p> </p>
<p>設定完後就可以裝喜歡的防毒軟體了~想啟用的再執行 <code>Windows10-Windows-Defender-Start.reg</code> 。如果可以直接移除就更好了,太陽春對我來說都不是很實用,但若是替別人裝機, Windows Defender 個不錯的選擇~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows-10-windows-defender-reg/" target="_blank" rel="noopener">https://becoder.org/windows-10-windows-defender-reg/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[筆記] Ubuntu Server Transmission 設定
https://becoder.org/ubuntu-server-transmission-setting/
2022-07-08T21:38:16+08:00
2015-08-04T09:04:38+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Transmission 是個好用的 BT 下載利器,可是使用者權限的問題搞得讓人覺得煩,紀錄一下設定過程。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ubuntu-server-transmission-setting/" target="_blank" rel="noopener">https://becoder.org/ubuntu-server-transmission-setting/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Transmission 是個好用的 BT 下載利器,可是使用者權限的問題搞得讓人覺得煩,紀錄一下設定過程。</p>
<p>由於 Ubuntu Server 沒有 X Window 可以用,因此安裝網頁版方便從外面控制:</p>
<p>安裝 Transmission:<code>apt-get install transmission-daemon</code></p>
<p> </p>
<h2 id="settingsjson"><a href="https://becoder.org/ubuntu-server-transmission-setting/#settingsjson" class="anchor-link" aria-label="settingsjson"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-server-transmission-setting/#contents:settingsjson" class="headings">settings.json</a></h2>
<p>設定 Transmission: <code>vi /etc/transmission-daemon/settings.json</code></p>
<p> </p>
<h2 id="設定使用者"><a href="https://becoder.org/ubuntu-server-transmission-setting/#設定使用者" class="anchor-link" aria-label="設定使用者"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-server-transmission-setting/#contents:設定使用者" class="headings">設定使用者</a></h2>
<p>由於安裝 transmission-daemon 後會自己新增一個使用者 debian-transmission ,但是權限不夠不能任意寫入,導致難以修改儲存位置,所以直接把 transmission-daemon 的使用者改成 root 寫入就不會有一堆問題了,想存哪都可以,自用方便就好。</p>
<p> </p>
<p>一)設定使用者:<code>vi /etc/init.d/transmission-daemon</code> 把 <code>NAME=transmission-daemon</code> 改為 <code>NAME=root</code> :</p>
<p> </p>
<p>二)設定使用者:<code>vi /etc/init/transmission-daemon.conf</code> 把 <code>setuid</code> 、<code>setgid</code> 都改為 <code>root</code></p>
<p> </p>
<p>修改完畢後執行 <code>service transmission-daemon reload</code> ,測試下載是否正常。</p>
<p> </p>
<p><span style="color: #808080;"><em>參考文章:<a style="color: #808080;" href="http://blog.spider.im/2013/05/18/transmission-on-raspberry/" target="_blank">在raspberry Pi上使用transmission</a> 、 <a style="color: #808080;" href="http://askubuntu.com/questions/157455/how-to-change-the-default-permissions-of-files-created-by-transmission-daemon" target="_blank">How to change the default permissions of files created by transmission-daemon?</a></em></span></p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ubuntu-server-transmission-setting/" target="_blank" rel="noopener">https://becoder.org/ubuntu-server-transmission-setting/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[系統] Windows 7 謎版直升 Windows 10 完美微軟授權!?
https://becoder.org/windows7-install-windows10/
2022-07-08T21:38:16+08:00
2015-08-03T07:56:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Windows 10 推出後~如何得到免費授權是大家很注意的焦點,微軟說,只要是「正版」的 Windows 7 、Windows 8 都可以免費直升,然而現在有一個方法,可以讓所有的電腦安裝 Windows 10 ,而且是真正永久的正版…。好奇的話就跟著我看下去吧XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows7-install-windows10/" target="_blank" rel="noopener">https://becoder.org/windows7-install-windows10/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Windows 10 推出後~如何得到免費授權是大家很注意的焦點,微軟說,只要是「正版」的 Windows 7 、Windows 8 都可以免費直升,然而現在有一個方法,可以讓所有的電腦安裝 Windows 10 ,而且是真正永久的正版…。好奇的話就跟著我看下去吧XD</p>
<h2 id="正版的-windows-7"><a href="https://becoder.org/windows7-install-windows10/#正版的-windows-7" class="anchor-link" aria-label="正版的-windows-7"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/windows7-install-windows10/#contents:正版的-windows-7" class="headings">「正版」的 Windows 7</a></h2>
<p>現階段,想要得到「正版」的 Windows 7 不是一件難事,無論是去網路購買序號,或是使用學校的KMS伺服器都可以得到「正版」 Windows 7,一旦你有了「正版」的 Windows 7,就可以免費升級 Windows 10 啦!</p>
<p>接下來內容會從安裝 Windows 7 開始,身邊幾台電腦都可以免費直升,沒有出現任何問題,而且是官方正版免費的 Windows 10 XD</p>
<p> </p>
<h2 id="安裝-windows-7"><a href="https://becoder.org/windows7-install-windows10/#安裝-windows-7" class="anchor-link" aria-label="安裝-windows-7"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/windows7-install-windows10/#contents:安裝-windows-7" class="headings">安裝 Windows 7</a></h2>
<p>安裝 Windows 7 應該是每個用 Windows 系統的人都會的技能,先把 Windows 7灌好就可以繼續囉!</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/01.png" alt="" width="801" height="599" />
<p> </p>
<p>安裝的時候注意一下自己的版本,如果是「家用版」的就只能免費升級 「Windows 10 Home (家用版)」 ,「專業版」、「旗艦版」則是可以免費升級 「Windows 10 Pro (專業版)」。</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/02.png" alt="" width="800" height="600" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/03.png" alt="" width="800" height="600" />
<p> </p>
<p>裝好 Windows 7 後,最重要的就是抓 Chrome 來用了XDDDDDD(IE太難用了)</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/04.png" alt="" width="1024" height="768" />
<p> </p>
<p>然後呢…想辦法讓自己的電腦變成正版,不論你是要用買的還是要用借的還是要用…的XDDD</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/05.png" alt="" width="1024" height="768" />
<p> </p>
<p>總之呢~先去微軟驗證一下是不是正版才是重點,有這個畫面的話,升級的時候就不會叫你打序號了~!</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/06.png" alt="" width="1024" height="768" />
<p> </p>
<p>Windows 7 的部份用很<del>懶</del>的方式就帶過了~因為他<del>不是</del>重點嘛XDDDDD</p>
<p> </p>
<h2 id="免費升級-windows-10"><a href="https://becoder.org/windows7-install-windows10/#免費升級-windows-10" class="anchor-link" aria-label="免費升級-windows-10"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/windows7-install-windows10/#contents:免費升級-windows-10" class="headings">免費升級 Windows 10</a></h2>
<p>接下來就是重頭戲了~安裝 Windows 10 ~首先請準備光碟或是隨….這些都不用啦XD,直接把Windows 10 ISO裡面的東西解壓縮到你最愛的 D 槽就可以了唷~!Windows 10 ISO 可以用官方工具下載,或是去<a href="https://45so.org/win10-iso.45so" target="_blank" rel="noopener" target="_blank">天才上廁所</a>那裡找找抓,記得下載正確的版本,<span style="color: #ff0000;">如果是「家用版」的就只能免費升級 「Windows 10 Home (家用版)」 ,「專業版」、「旗艦版」則是可以免費升級 「Windows 10 Pro (專業版)」</span>抓錯的話裝完會啟用失敗或是叫你輸入序號唷~。</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/07.png" alt="" width="1024" height="768" />
<p> </p>
<p>解壓縮完成後,打開解壓縮的目的地,打開裡面的 Setup.exe 就可以開始裝啦!!</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/08.png" alt="" width="800" height="407" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/09.png" alt="" width="877" height="488" />
<p> </p>
<p>在這個部份,請選「現在不用」後直接下一步,不然的話會等很久。</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/10.png" alt="" width="716" height="562" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/11.png" alt="" width="717" height="561" />
<p> </p>
<p>接受「授權條款」。</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/12.png" alt="" width="718" height="563" />
<p> </p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/13.png" alt="" width="718" height="562" />
<p> </p>
<p>在這個地方可以選擇要不要保留現在 Windows 7 的檔案,如果你都備份完了就選全新安裝吧~想留著就直接按「安裝」想清掉就點「更便要保留的項目」,<span style="color: #ff0000;">照本步驟做的話將會清空 C 磁碟,請小心執行!</span></p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/14.png" alt="" width="716" height="562" />
<p> </p>
<p>這裡可以選擇是否保留檔案,自己選吧~,選好按「下一步」,<span style="color: #ff0000;">照本步驟做的話將會清空 C 磁碟,請小心執行!</span></p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/15.png" alt="" width="718" height="562" />
<p> </p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/16.png" alt="" width="718" height="562" />
<p> </p>
<p>確認後就要開始裝啦!按安裝吧~!<span style="color: #ff0000;">照本步驟做的話將會清空 C 磁碟,請小心執行!</span></p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/17.png" alt="" width="715" height="561" />
<p> </p>
<p>安裝中,等它跑完會重開機~!</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/18.png" alt="" width="1024" height="768" />
<p> </p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/19.png" alt="" width="1024" height="768" />
<p> </p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/20.png" alt="" width="1024" height="768" />
<p> </p>
<p>重開機會正式開始安裝裝,會出現類似的畫面,就靜待它完成吧~過程中會有一些設定的畫面就請自己來囉,很簡單的~XD</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/21.jpg" alt="" width="960" height="720" />
<p> </p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/22.jpg" alt="" width="960" height="720" />
<p> </p>
<p>完成囉~!設定的部份可以參考<a href="https://becoder.org/winows7-upgrade-windows10/" target="_blank" rel="noopener" target="_blank">[系統] Windows 7 升級 Windows 10 心得</a>內的一些說明~!有很多好玩的東西XDD,祝福各位都能順利直升 Windows 10!!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/windows7-install-windows10/23.png" alt="" width="1920" height="1080" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows7-install-windows10/" target="_blank" rel="noopener">https://becoder.org/windows7-install-windows10/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[系統] Windows 7 升級 Windows 10 心得
https://becoder.org/winows7-upgrade-windows10/
2022-07-08T21:38:16+08:00
2015-08-01T16:34:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Windows 10 開放下載至今已經過了三天啦~很多人有疑問相容性問題而不敢升級,應觀眾要求就來寫寫這幾天使用下來的心得~!!手機上的遊戲(例:現代戰爭5、Candy Crush)、軟體(例:Mo PTT、風行、LINE)都能直接用真的很方便!!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/winows7-upgrade-windows10/" target="_blank" rel="noopener">https://becoder.org/winows7-upgrade-windows10/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Windows 10 開放下載至今已經過了三天啦~很多人有疑問相容性問題而不敢升級,應觀眾要求就來寫寫這幾天使用下來的心得~!!手機上的遊戲(例:現代戰爭5、Candy Crush)、軟體(例:Mo PTT、風行、LINE)都能直接用真的很方便!!</p>
<h2 id="windows-10-界面"><a href="https://becoder.org/winows7-upgrade-windows10/#windows-10-界面" class="anchor-link" aria-label="windows-10-界面"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/winows7-upgrade-windows10/#contents:windows-10-界面" class="headings">Windows 10 界面</a></h2>
<p>升級後,Windows 系統左下角的「開始」按鈕和以前有很大的不同,由於微軟先前經歷 Windos 8動態磚的挫敗後,就取 7 和 8 的特色,就變成一半應用程式一半動態磚啦~!</p>
<div style="width: 1034px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/01.png" alt="" width="1024" height="768" />
<p class="wp-caption-text">
螢幕很小,傷眼請贊助(O
</p>
</div>
<p> </p>
<p>在剛升級後可能不太知道要怎麼用,因為和過去的風格有點不太一樣,預設「設定」的部份已經變成動態磚的風格,用過 Windows 8 的人應該很容易適應。想用過去控制台的話其實只要用左下角的放大鏡搜尋就可以了</p>
<div style="width: 812px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/02-1.png" alt="" width="802" height="633" />
<p class="wp-caption-text">
動態磚風格的設定
</p>
</div>
<p> </p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/03.png" alt="" width="369" height="622" />
<p> </p>
<div style="width: 796px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/04.png" alt="" width="786" height="585" />
<p class="wp-caption-text">
熟悉的控制台出現了~剛剛搜尋的地方右鍵可以釘選
</p>
</div>
<p> </p>
<p>系統的顏色可以在桌面右鍵選「個人化」就可以調整了~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/16.png" alt="" width="802" height="599" />
<p> </p>
<h2 id="消失的本機"><a href="https://becoder.org/winows7-upgrade-windows10/#消失的本機" class="anchor-link" aria-label="消失的本機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/winows7-upgrade-windows10/#contents:消失的本機" class="headings">消失的「本機」</a></h2>
<p>剛裝好 Windows 10 的時候,「本機」(以前叫「我的電腦」),一定是大家最先尋找的東西,可是找也找不到XD,其實只要從工具列上的檔案總管把它拉到桌面就可以啦!</p>
<div style="width: 452px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/05.png" alt="" width="442" height="307" />
<p class="wp-caption-text">
再現!!
</p>
</div>
<p> </p>
<p>出現在桌面後,對著它按右鍵是一件<del>興奮</del>的事,可以看到以前電腦的熟悉相關資訊,<span style="color: #ccffff;">以後再Setup By Setup 教大家如何得到完美正版的 Windows 10 XDDDD</span>。</p>
<div style="width: 796px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/06.png" alt="" width="786" height="611" />
<p class="wp-caption-text">
正版~~~~
</p>
</div>
<p> </p>
<h2 id="好用的市集"><a href="https://becoder.org/winows7-upgrade-windows10/#好用的市集" class="anchor-link" aria-label="好用的市集"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/winows7-upgrade-windows10/#contents:好用的市集" class="headings">好用的「市集」</a></h2>
<p>「市集」應該是從 Windows 8 就存在的東西(太難用,用一次就灌回 Windows 7 了XDDD)裡面可以抓各種好玩的工具、程式,只要是 Windows Phone 上面有的東西幾乎都會有,一個不用模擬器玩 APP 的概念。</p>
<div style="width: 812px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/07.png" alt="" width="802" height="633" />
<p class="wp-caption-text">
熱門的小小兵可以直接用電腦玩
</p>
</div>
<p> </p>
<div style="width: 812px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/08.png" alt="" width="802" height="633" />
<p class="wp-caption-text">
手機上的經典賽車遊戲!!!
</p>
</div>
<p> </p>
<div style="width: 812px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/09.png" alt="" width="802" height="633" />
<p class="wp-caption-text">
連這個都有阿!!!!!
</p>
</div>
<p> </p>
<p>各種熱門的APP都有,連 Android 上很有名的 Mo PTT 也有XDDDDDD</p>
<div style="width: 812px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/10.png" alt="" width="802" height="633" />
<p class="wp-caption-text">
市集太神啦!!
</p>
</div>
<p> </p>
<p> </p>
<h2 id="軟體相容性"><a href="https://becoder.org/winows7-upgrade-windows10/#軟體相容性" class="anchor-link" aria-label="軟體相容性"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/winows7-upgrade-windows10/#contents:軟體相容性" class="headings">軟體相容性</a></h2>
<p>在Windows 10 上我還沒遇過相容性的問題,連遊戲橘子說不能玩的 新楓之 完全沒有障礙(記得右鍵內容 MapleStory.exe 設定「以管理員身份執行」),防毒軟體小紅傘依舊服役中,超好用的輸入法<a href="http://123.briian.com/forum.php?mod=viewthread&tid=775" target="_blank" rel="noopener" target="_blank">新酷音</a>一樣一點問題都沒有,從 XP 時代就存在的 <a href="http://www.cheatengine.org/" target="_blank" rel="noopener" target="_blank">Cheat Engine</a> 完全正常XDDDD,英雄聯盟根據大家指出也是正常的唷!</p>
<div style="width: 1034px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/11.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
正常執行,需要用FireFox才能開
</p>
</div>
<p> </p>
<div style="width: 800px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/12.png" alt="" width="790" height="609" />
<p class="wp-caption-text">
小紅傘再戰100年
</p>
</div>
<p> </p>
<div style="width: 338px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/13.png" alt="" width="328" height="249" />
<p class="wp-caption-text">
新酷音
</p>
</div>
<p> </p>
<div style="width: 609px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/14.png" alt="" width="599" height="586" />
<p class="wp-caption-text">
Cheat Engine
</p>
</div>
<p> </p>
<div style="width: 1034px" class="wp-caption aligncenter">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/08/winows7-upgrade-windows10/15.png" alt="" width="1024" height="768" />
<p class="wp-caption-text">
迷版 PhotoShop Portable 用管理員身份執行正常
</p>
</div>
<p> </p>
<p>需要習慣的地方大概就只有「開始」界面跟市集而已,應該是沒有相容性的問題,英雄聯盟就等我下載完再測試囉,不玩遊戲的話可以不用考慮直接升級了,如果你的程式很多的話請參考一下 「<a href="http://technews.tw/2015/07/31/more-windows-10-bugs-too-many-start-menu-apps-break-it/" target="_blank" rel="noopener" target="_blank">Windows 10 開始功能表出現 Bug,程式太多導致無法使用</a>」,基本上是滿正常的~<del>特別是謎版 Windows 7 直接升級完直接完美正版根本超爽~XDDD</del></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/winows7-upgrade-windows10/" target="_blank" rel="noopener">https://becoder.org/winows7-upgrade-windows10/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 解決 JetPack Photon 無法快取 HTTPS 特色圖片問題
https://becoder.org/wp-super-cache-jetpack-photon-https/
2022-07-08T21:38:16+08:00
2015-07-29T08:46:18+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>搬回 SAW 的日子內,不論速度、穩定度都讓人相當滿意,在今天早上,5 GB 的流量爆了…,過了 4 個小時才恢復。檢查了一下才發現問題點在於「特色圖片」流量太大,想用 Photon 卻不支援 HTTPS的圖片,後來終於找到奇怪的方法解決這個問題了XDD。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wp-super-cache-jetpack-photon-https/" target="_blank" rel="noopener">https://becoder.org/wp-super-cache-jetpack-photon-https/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>搬回 SAW 的日子內,不論速度、穩定度都讓人相當滿意,在今天早上,5 GB 的流量爆了…,過了 4 個小時才恢復。檢查了一下才發現問題點在於「特色圖片」流量太大,想用 Photon 卻不支援 HTTPS的圖片,後來終於找到奇怪的方法解決這個問題了XDD。</p>
<div style="width: 803px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/01.png" alt="" width="793" height="82" />
<p class="wp-caption-text">
爆惹
</p>
</div>
<p> </p>
<p>JetPack Photon 是個好用的圖片 CDN,但根據<a href="https://wordpress.org/support/topic/photon-and-https-urls#post-3836167" target="_blank" rel="noopener" target="_blank">作者表示</a>,Photon 是不支援以 HTTPS 來源的圖片:</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/02.png" alt="" width="772" height="226" />
<p> </p>
<p>就是因為不支援 HTTPS 的網頁,就算有開 Photon 也不會套用到特色圖片上,後來就想到了 WP Super Cache 的 CDN 功能啦XDDD。</p>
<p> </p>
<h2 id="安裝wp-super-cache"><a href="https://becoder.org/wp-super-cache-jetpack-photon-https/#安裝wp-super-cache" class="anchor-link" aria-label="安裝wp-super-cache"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wp-super-cache-jetpack-photon-https/#contents:安裝wp-super-cache" class="headings">安裝 WP Super Cache</a></h2>
<p>安裝外掛就不多說啦,直接到後台安裝就可以啦!:</p>
<div style="width: 427px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/03.png" alt="" width="417" height="319" />
<p class="wp-caption-text">
立即安裝
</p>
</div>
<p> </p>
<div style="width: 577px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/04.png" alt="" width="567" height="259" />
<p class="wp-caption-text">
啟用
</p>
</div>
<p> </p>
<p>啟用完畢後~外掛頁面的上方會出現這個警告標語,意思就是說 WP Super Cache 還沒開始工作,要到 WP Super Cache 的設定頁面去設定。</p>
<div style="width: 472px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/05.png" alt="" width="462" height="162" />
<p class="wp-caption-text">
外掛管理員
</p>
</div>
<p> </p>
<p>選擇「開啟快取」後就可以按「更新狀態」了,其他雜項先跳過,先來設定CDN啦!</p>
<img loading="lazy" class="aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/06.png" alt="" width="520" height="298" />
<p> </p>
<p> </p>
<h2 id="cdn"><a href="https://becoder.org/wp-super-cache-jetpack-photon-https/#cdn" class="anchor-link" aria-label="cdn"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wp-super-cache-jetpack-photon-https/#contents:cdn" class="headings">CDN</a></h2>
<p>進入 CDN 的分頁,需要設定的項目有:</p>
<p>一)「站外 URL」:我們的目的是讓 HTTPS 的特色圖片可以讓 Photon 快取,所以把這段改成 <code>https://i0.wp.com/你的網域名稱</code> ,如此一來,讀取特色圖片的時候就會從 Photon 而不是自己的網站了。</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/08.png" alt="" width="716" height="106" />
<p> </p>
<p>二)「包含以下目錄」:這個選項的意思是「需要使用CDN的資料夾」,由於特色圖片是存在 <code>wp-content/uploads</code> 裡面,所以留下 <code>wp-content</code> 就可以了。</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/09.png" alt="" width="717" height="108" />
<p> </p>
<p><span style="color: #ff0000;">三)「若含有以下字串則排除」</span>:這裡是最重要的部份,沒有設定好整個網站會跑版唷XD,裡面的副檔名就是要告訴 WP Super Cache 不要快取這些副檔名的檔案,把 <code>.php,.htaccess,.html,.js,.css,.txt,.xml</code> 通通寫進去,因為 Photon 只支援圖片,是沒有辦法拿來讓其他檔案使用的。萬一寫錯導致排版可以到「內容」分頁清除快取,重新整理一下就沒問題了~!</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/10.png" alt="" width="717" height="101" />
<p> </p>
<p>四)「啟用 CDN 支援」並「儲存」:最後,要記得啟用 CDN 跟存檔,不然設定一堆不會有作用喔XDD。完成後就可以回到首頁,看看特色圖片是不是變成 <code>https://i0.wp.com/</code> 開頭,有的話就是成功囉!</p>
<img loading="lazy" class=" aligncenter" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wp-super-cache-jetpack-photon-https/07.png" alt="" width="719" height="630" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wp-super-cache-jetpack-photon-https/" target="_blank" rel="noopener">https://becoder.org/wp-super-cache-jetpack-photon-https/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[手機] 自己手機自己貼,手機玻璃保護貼安裝教學
https://becoder.org/put-on-a-tempered-glass-screen-protector/
2022-07-08T21:38:16+08:00
2015-07-28T06:02:47+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在以前,剛買新手機的時候,通常都會貼上一塊塑膠製的螢幕保護貼。這幾年塑膠保護貼漸漸沒落,玻璃保護貼當道,各種價格品牌都有,為了省錢就自己來啦!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/put-on-a-tempered-glass-screen-protector/" target="_blank" rel="noopener">https://becoder.org/put-on-a-tempered-glass-screen-protector/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在以前,剛買新手機的時候,通常都會貼上一塊塑膠製的螢幕保護貼。這幾年塑膠保護貼漸漸沒落,玻璃保護貼當道,各種價格品牌都有,為了省錢就自己來啦!</p>
<p> </p>
<h2 id="開始之前"><a href="https://becoder.org/put-on-a-tempered-glass-screen-protector/#開始之前" class="anchor-link" aria-label="開始之前"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/put-on-a-tempered-glass-screen-protector/#contents:開始之前" class="headings">開始之前</a></h2>
<p> </p>
<p>開始之前,當然要先準備玻璃保護貼啦,可以去沒屋頂買最便宜的就好,<span style="color: #ff0000;">型號一定要正確唷,不然買來也沒用XD</span>,建議買2.5D的比較不刮手~。第一次可能會失手,所以可以買個兩張,挑最便宜的比較不心疼XD。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/01.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
手機、玻璃保護貼
</p>
</div>
<p> </p>
<p>我的 ZenFone 2 最近到手的時候還沒買保護貼,就剪小米3的來用了,雖然醜醜的但是還不錯用!!</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/02.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
小米3保護貼剪的
</p>
</div>
<p> </p>
<h2 id="清潔螢幕"><a href="https://becoder.org/put-on-a-tempered-glass-screen-protector/#清潔螢幕" class="anchor-link" aria-label="清潔螢幕"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/put-on-a-tempered-glass-screen-protector/#contents:清潔螢幕" class="headings">清潔螢幕</a></h2>
<p><span style="color: #ff0000;">※[警告] 以下動作請在氣流穩定的狀態下工作 (室內,然後關掉電風扇)</span></p>
<p> </p>
<p>東西都準備好以後,就可以開始動工啦!在貼之前要先用玻璃保護貼送的貼紙把舊的保護貼撕下來,這樣才貼的上去,不要異想天開貼兩層唷XD!</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/03.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
慢慢拉
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/04.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
整張拉掉就對了!
</p>
</div>
<p> </p>
<p>撕掉舊的保護貼後,需要使用玻璃保護貼附的酒精棉擦一下螢幕,主要是<span style="color: #ff0000;">怕有殘膠附著在上面,導致無法服貼。</span>沒有附的話用醫療酒精棉片,或是眼鏡布沾點酒精,在擦之前先試試看眼鏡布會不會掉色,有次用眼鏡布擦手機,染料竟然留在機身….◢▆▅▄▃-崩╰(〒皿〒)╯潰-▃▄▅▆◣。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/05.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
保護貼附的棉布
</p>
</div>
<p> </p>
<p>要把殘膠擦乾淨唷~個人習慣擦到酒精蒸發完,這樣才不會有水痕~。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/06.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
擦擦擦
</p>
</div>
<p> </p>
<p>擦乾淨後,再拿一張小貼紙,這次要用他把螢幕上的棉屑黏掉。在黏掉棉屑要小力一點,不然可能會讓貼紙的膠黏在上面..Orz。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/07.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
再撕一張
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/08.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
把棉屑清乾淨
</p>
</div>
<p> </p>
<p>確認乾淨後就可以開始貼啦!~接下來要細心一點囉!</p>
<p> </p>
<h2 id="安裝玻璃保護貼"><a href="https://becoder.org/put-on-a-tempered-glass-screen-protector/#安裝玻璃保護貼" class="anchor-link" aria-label="安裝玻璃保護貼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/put-on-a-tempered-glass-screen-protector/#contents:安裝玻璃保護貼" class="headings">安裝玻璃保護貼</a></h2>
<p> </p>
<p>手機乾淨後,拿出玻璃保護貼,<span style="color: #ff0000;">讓塑膠膜向下再撕掉塑膠膜,這麼做是為了防止空氣中的灰塵空降在保護貼膠膜上,整個過程膠膜面絕對不能朝上</span>,不然會清到想哭QQ。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/09.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
撕的動作要俐落一點
</p>
</div>
<p> </p>
<p>撕掉塑膠膜後,請馬上稍微傾斜去對準手機開孔,從鏡頭、話筒那邊開始對準,對好後不要急著放手,還需要再檢查一下玻璃貼四周是否有水平對準螢幕邊界,確認完畢後就可以放手啦~~!放手後保護貼會自動吸附唷!!</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/10.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
自動吸附中
</p>
</div>
<p> </p>
<p>自動吸附後,會看到螢幕上面有一點白色的痕跡,螢幕保護貼沒有服貼就會產生如此情形,這時再拿出眼鏡布,用力推平,把白白的點點全部推掉,可能要花10分鐘才能完成。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/11.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
沒服貼
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/12.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
要慢慢推
</p>
</div>
<p> </p>
<p>仔細推平後就會消失了~!這時玻璃保護貼已經順利安裝成功!!自己的手機自己貼,成功!!</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/put-on-a-tempered-glass-screen-protector/13.jpg" alt="" width="800" height="534" />
<p class="wp-caption-text">
完成!
</p>
</div>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/put-on-a-tempered-glass-screen-protector/" target="_blank" rel="noopener">https://becoder.org/put-on-a-tempered-glass-screen-protector/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[鈦金] 神腦鈦金會員換新後續
https://becoder.org/senao-titanium-member/
2022-07-08T21:38:16+08:00
2015-07-24T07:59:33+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>暨上次 <a href="https://becoder.org/penghu-redmi-note-4g-swimming/" target="_blank">[澎湖] 紅米 NOTE 4G 澎湖跳海</a> 後送修,過了一天中華電信就打電話過來說明鈦金會員加錢換機的詳情,只不過 紅米NOTE 4G 停產,改換 ZenFone 2 。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/senao-titanium-member/" target="_blank" rel="noopener">https://becoder.org/senao-titanium-member/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>暨上次 <a href="https://becoder.org/penghu-redmi-note-4g-swimming/" target="_blank" rel="noopener" target="_blank">[澎湖] 紅米 NOTE 4G 澎湖跳海</a> 後送修,過了一天中華電信就打電話過來說明鈦金會員加錢換機的詳情,只不過 紅米NOTE 4G 停產,改換 ZenFone 2 。</p>
<h2 id="鈦金會員"><a href="https://becoder.org/senao-titanium-member/#鈦金會員" class="anchor-link" aria-label="鈦金會員"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/senao-titanium-member/#contents:鈦金會員" class="headings">鈦金會員</a></h2>
<p>神腦打電話過來時,一開始還說錯我送修的機型,神腦表示:「工程師判斷嚴重受潮,不建議修,可以用 500 元換新機,但因 紅米NOTE 4G 停產,改以<span style="color: #ff0000;">同規格</span>的『ZenFone 2 2G/16G 5吋』來替代,並幫您的除存空間從 8G 免費升級 16G。」</p>
<p>這時候我就有異議了,<span style="color: #ff0000;">5 寸雙核16G</span>對上我的的紅米是 <span style="color: #ff0000;">5.5 吋四核 8G</span>,這樣哪裡同規格了?跟他聊了一陣子才知道這是規定的,沒得商量QAQ,就跟神腦說我要換了(沒盧到5.5吋那隻,可惡)。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/senao-titanium-member/01-1.jpg" alt="" width="450" height="800" />
<p> </p>
<p>其實過程中神腦完全沒有跟我說替換機的詳細型號,我是領貨才知道拿到的是 <a href="http://store.asus.com/tw/item/201503AM060000036" target="_blank" rel="noopener" target="_blank">ZE500CL</a>,神腦只跟我說換 ZenFone 2 2G/16G 5吋,還滿怕當時沒問詳細型號被調包 )。查了一下 ZE500CL 價格跟我的紅米差不多,覺得還能接受。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/senao-titanium-member/02.jpg" alt="" width="450" height="800" />
<p> </p>
<p>還是建議大家買手機的時候可以加個鈦金會員,要是不小心像我手殘就….QAQ。不過換機還是要靠運氣,神腦有權決定幫你換成什麼手機,上次在PTT上看到 <a href="https://www.ptt.cc/bbs/MobileComm/M.1430124737.A.217.html" target="_blank" rel="noopener" target="_blank">[心得] 誇張爛的神腦鈦金會員保固…</a> 這種事情還是要靠運氣的,不要手殘比較實在。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/senao-titanium-member/03.jpg" alt="" width="439" height="800" />
<p> </p>
<p><span style="color: #ff0000;">還有就是去海灘玩手機千萬不要放口袋QAQ</span></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/senao-titanium-member/" target="_blank" rel="noopener">https://becoder.org/senao-titanium-member/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[指考] 中華郵政指考入學分發登記繳費
https://becoder.org/2015-pay-uac-edu-tw/
2022-07-08T21:38:16+08:00
2015-07-22T10:35:45+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>指考成績出來,接著就是最重要的<span style="color: #ff0000;">「大學考試入學分發登記繳費」</span>了!超過期限沒有繳費就直接明年見了,是一件相當重要的事,<span style="color: #ff0000;">7/28</span> 就截止了唷,請盡早前往繳費~以免發生憾事!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2015-pay-uac-edu-tw/" target="_blank" rel="noopener">https://becoder.org/2015-pay-uac-edu-tw/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>指考成績出來,接著就是最重要的<span style="color: #ff0000;">「大學考試入學分發登記繳費」</span>了!超過期限沒有繳費就直接明年見了,是一件相當重要的事,<span style="color: #ff0000;">7/28</span> 就截止了唷,請盡早前往繳費~以免發生憾事!</p>
<p>一開始我是想用 ATM 繳啦,但沒去過郵局辦過事情,就想去現場試看看了~(順便寫 Blog XDD)</p>
<h2 id="104學年度登記費繳費查詢系統"><a href="https://becoder.org/2015-pay-uac-edu-tw/#104學年度登記費繳費查詢系統" class="anchor-link" aria-label="104學年度登記費繳費查詢系統"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-pay-uac-edu-tw/#contents:104學年度登記費繳費查詢系統" class="headings">104學年度登記費繳費查詢系統</a></h2>
<p>繳費前請去「104學年度登記費繳費查詢系統」列印一下繳費單,裡面有詳細的<span style="color: #ff0000;">匯款資料</span>,去中華郵政繳費的時候一起帶去給他們看比較不會出錯(我是一起帶去了,行員看著那張繳費單輸入更詳細的資料)。</p>
<p>先進入「104學年度登記費繳費查詢系統」(<a href="http://pay.uac.edu.tw/" target="_blank" rel="noopener" target="_blank"><a href="http://pay.uac.edu.tw/" target="_blank" rel="noopener">http://pay.uac.edu.tw/</a></a>)的頁面,打上自己的身份證後「查詢」。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-pay-uac-edu-tw/01.png" alt="" width="591" height="344" />
<p> </p>
<p>按「列印繳費單」。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-pay-uac-edu-tw/02.png" alt="" width="569" height="323" />
<p> </p>
<p><span style="color: #ff0000;">列印頁面下方的注意事項請仔細看一下</span></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-pay-uac-edu-tw/03.png" alt="" width="750" height="112" />
<p> </p>
<p>下載到 .pdf 檔後,可以直接使用瀏覽器(Chrome、FireFox)直接開啟後列印出來~家裡沒有印表機的話就把檔案放在隨身碟帶去超商印,印黑白的一張 2 元而已~。每個人應繳的金額都不一樣,請仔細看繳費單的內所寫的唷~。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-pay-uac-edu-tw/04.png" alt="" width="524" height="744" />
<p> </p>
<h2 id="前往中華郵政繳費"><a href="https://becoder.org/2015-pay-uac-edu-tw/#前往中華郵政繳費" class="anchor-link" aria-label="前往中華郵政繳費"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-pay-uac-edu-tw/#contents:前往中華郵政繳費" class="headings">前往中華郵政繳費</a></h2>
<p>由於家裡附近沒有南華銀行,就去中華郵政了,帶著繳費單上的金額 + 30手續費就可以去中華郵政了,到那裡的時候找一下櫃子內紫色的「<span style="color: #9e3dff;">郵政跨行匯款申請書</span>」,填上<span style="color: #ff0000;">「收款人」、「匯款金額」(從列印下來的繳費單照抄)、「匯款人」</span>,填好後<span style="color: #ff0000;">把郵政跨行匯款申請書跟列印下來的繳費單一起那拿給行員,他會跟你說還需要寫哪裡</span>:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-pay-uac-edu-tw/05.jpg" alt="" width="800" height="698" />
<p> </p>
<p>繳費後會拿到一張藍色的收據,記得收好,隔天再上網查一下應該就成功入賬了~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-pay-uac-edu-tw/06-1.jpg" alt="" width="800" height="691" />
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2015-pay-uac-edu-tw/" target="_blank" rel="noopener">https://becoder.org/2015-pay-uac-edu-tw/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[澎湖] 紅米 NOTE 4G 澎湖跳海
https://becoder.org/penghu-redmi-note-4g-swimming/
2022-07-08T21:38:16+08:00
2015-07-20T08:58:08+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>前幾天第一次去澎湖玩,讓人忘不了的是那裡的海景<del>(滿滿的海產)</del>,第二天去 <a href="https://goo.gl/LlvOMo" target="_blank">隘門沙灘</a> 玩的時候,本來只是想去踩踩水,在拉褲管的同時,紅米就跳海游泳了…..</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/penghu-redmi-note-4g-swimming/" target="_blank" rel="noopener">https://becoder.org/penghu-redmi-note-4g-swimming/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前幾天第一次去澎湖玩,讓人忘不了的是那裡的海景<del>(滿滿的海產)</del>,第二天去 <a href="https://goo.gl/LlvOMo" target="_blank" rel="noopener" target="_blank">隘門沙灘</a> 玩的時候,本來只是想去踩踩水,在拉褲管的同時,紅米就跳海游泳了…..</p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/penghu-redmi-note-4g-swimming/01.jpg" alt="" width="720" height="405" />
<p> </p>
<p>一貼上FB…</p>
<div style="width: 572px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/penghu-redmi-note-4g-swimming/02-1.png" alt="" width="562" height="775" />
<p class="wp-caption-text">
保護當事人,已做處理
</p>
</div>
<p> </p>
<p>掉到海裡後,一定馬上拆掉電池、SIM卡、記憶卡,趕快想辦法弄乾處,電池一定要拆,不然的話一定會短路。然後我持著掉到海裡一定壞,不如用清水沖乾淨把鹽分沖掉的心態就把落海的手機拿去水龍頭洗了XDDDD(小朋友不要學,不差這點水)</p>
<div style="width: 1290px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/penghu-redmi-note-4g-swimming/03.jpg" alt="" width="1280" height="720" />
<p class="wp-caption-text">
看著海,我難過
</p>
</div>
<p> </p>
<p> </p>
<p>回到家,隔天馬上拿去送修,發現還能開機,相機、喇叭、觸控,全部正常運作,只是螢幕掛了..</p>
<div style="width: 460px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/penghu-redmi-note-4g-swimming/04.jpg" alt="" width="450" height="800" />
<p class="wp-caption-text">
右上角水痕
</p>
</div>
<p> </p>
<p>後來就拿去中華電信送修~懶得親自跑去嘉義市了,不過送修流程大概像這篇:</p>
<p><a href="https://becoder.org/senao-redmi-note-4g-auto-reboot/" target="_blank" rel="noopener" target="_blank">[嘉義神腦維修中心] 紅米Note 4G接觸不良送修記錄</a></p>
<p> </p>
<p>為了保險起見,電池也一起送去測試了,怕只送手機回來,電池爆炸,去海邊玩的時候手機千萬不要放在身上…….</p>
<p>還好當初有買鈦金會員,不然就賠大了◢▆▅▄▃-崩╰(〒皿〒)╯潰-▃▄▅▆◣</p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/penghu-redmi-note-4g-swimming/05.jpg" alt="" width="800" height="534" />
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/penghu-redmi-note-4g-swimming/" target="_blank" rel="noopener">https://becoder.org/penghu-redmi-note-4g-swimming/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網域] 沃通免費 SSL 憑證申請,有效期限三年,最多支援 100 個網域!
https://becoder.org/wosign-free-ssl-cpanel/
2022-07-08T21:38:16+08:00
2015-07-16T12:53:32+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>沃通是一間中國的 SSL 供應商,有提供免費的 SSL 讓一般人申請,根據 <a href="https://www.startssl.com/startcom-wosign-root-key-generation-ceremony.pdf" target="_blank">天才事務所 表示,沃通和 StartSSL 是交叉授權的</a>,相當可靠,沃通免費 SSL 不用任何證明文件即可申請,同一個憑證最高支援100個網域,有效期限最長 3 年,這個免費 SSL 憑證可以讓網站有綠色鎖頭的 HTTPS ~目前測試起來,Android、Windows、MAC 都是顯示正常的綠色,聽說支援度比 StartSSL 還好,本站目前就是使用沃通免費 SSL。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wosign-free-ssl-cpanel/" target="_blank" rel="noopener">https://becoder.org/wosign-free-ssl-cpanel/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>沃通是一間中國的 SSL 供應商,有提供免費的 SSL 讓一般人申請,根據 <a href="https://www.startssl.com/startcom-wosign-root-key-generation-ceremony.pdf" target="_blank" rel="noopener" target="_blank">天才事務所 表示,沃通和 StartSSL 是交叉授權的</a>,相當可靠,沃通免費 SSL 不用任何證明文件即可申請,同一個憑證最高支援100個網域,有效期限最長 3 年,這個免費 SSL 憑證可以讓網站有綠色鎖頭的 HTTPS ~目前測試起來,Android、Windows、MAC 都是顯示正常的綠色,聽說支援度比 StartSSL 還好,本站目前就是使用沃通免費 SSL。</p>
<p>最近網站剛搬家,中華電信 DNS 更新很慢,一天過去了還沒更新,網域紀錄還是指向舊主機,會顯示紅色,請不要擔心,使用 Google Public Server 就可以解決了<span style="color: #ff0000;">(中華電信FUCK YOU)</span></p>
<p>沃通免費SSL支援列表:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/01.png" alt="" width="897" height="547" />
<p> </p>
<h2 id="開始申請-沃通免費-ssl"><a href="https://becoder.org/wosign-free-ssl-cpanel/#開始申請-沃通免費-ssl" class="anchor-link" aria-label="開始申請-沃通免費-ssl"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wosign-free-ssl-cpanel/#contents:開始申請-沃通免費-ssl" class="headings">開始申請 沃通免費 SSL</a></h2>
<p> </p>
<p>首先進入<a href="https://buy.wosign.com/free/" target="_blank" rel="noopener" target="_blank">沃通免費SSL申請頁面</a>,證書有效期選3年,域名數量直接打100,按立即申請。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/02.png" alt="" width="663" height="343" />
<p> </p>
<p>這裡可以選中文,比較方便工作。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/03.png" alt="" width="435" height="292" />
<p> </p>
<p>這個頁面的設定照著圖片做就可以了,<span style="color: #ff0000;">網域的部份請填上想要使用SSL的所有網域</span>,可以填裸域及子域,<span style="color: #ff0000;">只填裸域的話只有裸域本身及 www 域可以使用該證書</span>。想要一張證書打天下的話,那就把有在用的網域全部填上,用不到 SSL 可以先填起來放著,以後想使用的時候就不用重新申請證書了,直接安裝就可以了。</p>
<p>年限的部份選 <span style="color: #ff0000;">3 年</span>;證書語言選中文的話會出現簡體中文,<span style="color: #ff0000;">SSL 證書不想看到簡中的話建議選英文</span>;簽名演算選 SHA2 就可以了,除非你的使用者或是你的電腦是用XP(這個老系統不要再用了)。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/04.png" alt="" width="883" height="399" />
<p> </p>
<p>驗證網域所有權建議<span style="color: #ff0000;">用 html 驗證</span>,收信要等很久才會收到信,把 <span style="color: #ff0000;">html 下載下來上傳到主機網頁根目錄</span>即可輸入驗證碼驗證。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/05.png" alt="" width="494" height="224" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/06.png" alt="" width="836" height="447" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/08.png" alt="" width="472" height="184" />
<p> </p>
<p>CSR 的部份讓沃通自動產生就好,證書密碼請輸入英數大小寫混合的密碼,到時候<span style="color: #ff0000;">下載證書解壓縮時需要這個密碼,請牢記</span>。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/09.png" alt="" width="558" height="272" />
<p> </p>
<p>再來是註冊帳號的部份,<span style="color: #ff0000;">Email 要可以收的到信,到時候會把證書用 Email 寄給你</span>,輸入兩次密碼跟驗證碼,同意使用條款就可以按下提交啦,最快10分鐘會收到,上面寫的預計時間應該是最慢再那個時間會寄出~!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/10.png" alt="" width="680" height="436" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/11.png" alt="" width="635" height="163" />
<p> </p>
<p> </p>
<h2 id="取回證書"><a href="https://becoder.org/wosign-free-ssl-cpanel/#取回證書" class="anchor-link" aria-label="取回證書"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wosign-free-ssl-cpanel/#contents:取回證書" class="headings">取回證書</a></h2>
<p> </p>
<p>過一兩個小時收到名為「<strong>Your WoSign SSL Certificate ready for collection!</strong> 」的信就是證書發放啦,進入信內的連結就可以進入下載頁面了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/12.png" alt="" width="562" height="386" />
<p> </p>
<p>這裡的密碼是申請證書時解壓縮的那個密碼,確定正確後就可以輸入驗證碼並同意條款就可以下載了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/13.png" alt="" width="803" height="422" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/14.png" alt="" width="899" height="445" />
<p> </p>
<p>證書發放後過一天就不能下載了,要重新申請,請記得收信唷!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/15.png" alt="" width="638" height="273" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/16.png" alt="" width="593" height="125" />
<p> </p>
<p>下載下來的檔案就是 SSL 憑證啦!!!!!記得收好不要弄丟了~!!</p>
<p> </p>
<h2 id="cpanel-安裝-ssl-憑證"><a href="https://becoder.org/wosign-free-ssl-cpanel/#cpanel-安裝-ssl-憑證" class="anchor-link" aria-label="cpanel-安裝-ssl-憑證"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wosign-free-ssl-cpanel/#contents:cpanel-安裝-ssl-憑證" class="headings">CPanel 安裝 SSL 憑證</a></h2>
<p> </p>
<p>CPanel 是世界上最好用的虛擬主機控制界面(真心不騙),安裝 SSL 證書比吃飯還簡單XD。開始之前先把下載下來的憑證解壓縮到你喜歡的地方~請用 Apache 的憑證~。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/17-1.png" alt="" width="425" height="333" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/18-1.png" alt="" width="581" height="370" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/19.png" alt="" width="422" height="333" />
<p> </p>
<p>然後進入 CPanel 找到「 SSL 管理員」 。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/17.png" alt="" width="607" height="189" />
<p> </p>
<p>進入 Private Keys (KEY),把副檔名為 .key 的檔案上傳上去。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/21.png" alt="" width="424" height="480" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/22.png" alt="" width="535" height="155" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/23.png" alt="" width="713" height="314" />
<p> </p>
<p>回到「 SSL 管理員」,進入 Certificates (CRT),把兩個 .crt 檔案都上傳上去。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/21.png" alt="" width="424" height="480" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/24.png" alt="" width="203" height="127" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/26.png" alt="" width="615" height="138" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/25.png" alt="" width="204" height="127" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/27.png" alt="" width="495" height="135" />
<p> </p>
<p>確定上傳完成後,回到「 SSL 管理員」進入 Install and Manage SSL for your site (HTTPS) ,選擇要安裝 SSL 憑證的網域後,按網域右邊的自動填入在安裝憑證。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/28-1.png" alt="" width="570" height="105" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/29.png" alt="" width="232" height="298" />
<p> </p>
<p>安裝中</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/30.png" alt="" width="369" height="131" />
<p> </p>
<p>安裝成功~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/31.png" alt="" width="446" height="355" />
<p> </p>
<p>安裝正確的話,此時此刻~網站已經可以用 SSL 連線了~可以用<a href="https://wosign.ssllabs.com/analyze.html" target="_blank" rel="noopener" target="_blank">這個網站</a>來檢查。</p>
<p> </p>
<h2 id="wordpress-http-轉向-https"><a href="https://becoder.org/wosign-free-ssl-cpanel/#wordpress-http-轉向-https" class="anchor-link" aria-label="wordpress-http-轉向-https"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wosign-free-ssl-cpanel/#contents:wordpress-http-轉向-https" class="headings">WordPress http 轉向 https</a></h2>
<p>剛安裝好的時候, http 跟 https 都可以同時訪問,想把全部的網址從 HTTP 轉向 HTTPS 的話,這時候可以利用 .htaccess 來設定轉向了。</p>
<p>打開你的 .htaccess ,在 RewriteEngine On 後加入以下程式碼存檔:</p>
<p> 這時候你的 .htaccess 應該會是像這樣: </p>
<p>設定完成後,網站就會自動轉向 HTTPS 了~另外在 WordPress 內請把「WordPress 位址(URL)」、「網站位址(URL)」都改成 HTTPS,這樣就大功告成啦!目前 <a href="https://45so.org/" target="_blank" rel="noopener" target="_blank">天才事務所</a> 和 <a href="http://wiiind.com/" target="_blank" rel="noopener" target="_blank">風揚名@Blog</a> 都是用這個 SSL 唷XD~~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/wosign-free-ssl/32.png" alt="" width="680" height="156" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wosign-free-ssl-cpanel/" target="_blank" rel="noopener">https://becoder.org/wosign-free-ssl-cpanel/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 本站遷移至 SAW 部落格學院
https://becoder.org/saw/
2022-07-08T21:38:16+08:00
2015-07-16T07:01:43+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在國外免空歷經風風雨雨後,決定搬回台灣免費虛擬主機「<a href="http://wp.saw.tw/" target="_blank">SAW 部落格學院</a>」了。「<a href="http://wp.saw.tw/" target="_blank">SAW 部落格學院</a>」使用的是遠振資訊的 CPanel 主機,完全免費。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/saw/" target="_blank" rel="noopener">https://becoder.org/saw/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在國外免空歷經風風雨雨後,決定搬回台灣免費虛擬主機「<a href="http://wp.saw.tw/" target="_blank" rel="noopener" target="_blank">SAW 部落格學院</a>」了。「<a href="http://wp.saw.tw/" target="_blank" rel="noopener" target="_blank">SAW 部落格學院</a>」使用的是遠振資訊的 CPanel 主機,完全免費。</p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/saw/saw.png" alt="" width="1006" height="492" />
<p> </p>
<p>謝謝 <a href="https://45so.org/" target="_blank" rel="noopener" target="_blank">天才事務所</a> 願意讓我搬回 <a href="http://wp.saw.tw/" target="_blank" rel="noopener" target="_blank">SAW</a>,先前擅自搬出實在很不好意思QAQ。過去一年在 OpenShift 的風風雨雨,雖然架站技能點提昇了不少,但是速度真的很讓人受不了,自訂個 SSL 還要有信用卡才可以使用。</p>
<p>現在 <a href="https://wpbox.tips/google-seo-ssl-qa/" target="_blank" rel="noopener" target="_blank">Google 對於有 SSL 的網站排名漸漸提昇</a>,然而不能自訂 SSL 憑證,說實話還滿傷的,大家都有 SSL ,只有自己沒有真的會輸別人!!!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/saw/04.png" alt="" width="982" height="295" />
<p> </p>
<p>搬回去後,才知道台灣主機,是如此美好。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/saw/01.png" alt="" width="677" height="442" />
<p> </p>
<p>而且是完整的 CPanel 控制界面</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/saw/02.png" alt="" width="447" height="466" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/saw/03.png" alt="" width="600" height="2058" />
<p> </p>
<p>不需要FTP軟體,CPanel 上面有更快更好用的 WebFTP,不怕檔案傳到一半斷掉壞檔;不需要文字編輯軟體,CPanel 上面有,線上編輯直接存檔;安裝 SSL,上傳憑證,只要動手指頭,CPanel 幫你搞定。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/saw/05-1.jpg" alt="" width="640" height="432" />
<p> </p>
<p>想要擁有如此佛心好用的主機,可以到 <a href="http://wp.saw.tw/" target="_blank" rel="noopener" target="_blank">SAW 部落格學院</a> 獲得更詳細的情形,除了本站以外,目前在上面運行的網站有:<a href="https://45so.org/" target="_blank" rel="noopener" target="_blank">天才事務所</a>、<a href="http://wiiind.com/" target="_blank" rel="noopener" target="_blank">風揚名@Blog</a>…等網站,一起加入 WordPress 的行列吧~!</p>
<p> </p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/saw/" target="_blank" rel="noopener">https://becoder.org/saw/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網域] 新版 Godaddy 免費 DNS 代管設定,CloudFlare 無痛轉換 Godaddy
https://becoder.org/2015-cloudflare-to-godaddy-dns-free/
2022-07-08T21:38:16+08:00
2015-07-15T19:19:21+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Godaddy 和 CloudFlare 都有提供免費的 DNS 代管服務。最近 CloudFlare 對於中華電信時常出包,更新速度也不是很優,就決定把 DNS 代管從 CloudFlare 轉到 Godaddy 了。Godaddy 的界面已經和以前有很大的差別,以前的教學文和現在的網頁配置差了十萬八千里,在寫這篇文章的時候也是摸了很久才知道要怎麼使用 DNS 代管,有需要的人可以參考看看。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/" target="_blank" rel="noopener">https://becoder.org/2015-cloudflare-to-godaddy-dns-free/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Godaddy 和 CloudFlare 都有提供免費的 DNS 代管服務。最近 CloudFlare 對於中華電信時常出包,更新速度也不是很優,就決定把 DNS 代管從 CloudFlare 轉到 Godaddy 了。Godaddy 的界面已經和以前有很大的差別,以前的教學文和現在的網頁配置差了十萬八千里,在寫這篇文章的時候也是摸了很久才知道要怎麼使用 DNS 代管,有需要的人可以參考看看。</p>
<p> </p>
<h2 id="註冊帳號"><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#註冊帳號" class="anchor-link" aria-label="註冊帳號"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#contents:註冊帳號" class="headings">註冊帳號</a></h2>
<p>進入 <a href="https://www.godaddy.com/" target="_blank" rel="noopener" target="_blank">Godaddy</a> 的網站後,點右上角「Sing in」之後可以看到左邊有個「CREAT MY ACCOYNT」,點下去就可以開始填資料了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/01.png" alt="" width="577" height="340" />
<p> </p>
<p>表格依序填上 <span style="color: #ff0000;">Email</span>、<span style="color: #ff0000;">帳號</span>、<span style="color: #ff0000;">密碼</span>、<span style="color: #ff0000;">call-in PIN</span>,Email 的部份填入常用的 Email 就可以了,帳號部份我是直接用 Email 當帳號,比較不會忘記XD,密碼需要<span style="color: #ff0000;">英數大小寫</span>混合,call-in PIN 的部份填 <span style="color: #ff0000;">4 個不連續的數字</span>就可以了(例:生日),可以牢記比較重要,完成後點「Creat Account」建立帳號。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/02.png" alt="" width="527" height="599" />
<p> </p>
<p>再來會轉跳到管理頁面,會出現一個視窗,直接點 No thanks 就可以了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/03.png" alt="" width="440" height="207" />
<p> </p>
<h2 id="設定個人資訊"><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#設定個人資訊" class="anchor-link" aria-label="設定個人資訊"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#contents:設定個人資訊" class="headings">設定個人資訊</a></h2>
<p>可以先設定一下個人資訊再進行下一步,點小齒輪「Settings」進入設定畫面。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/04.png" alt="" width="693" height="237" />
<p> </p>
<p>有紅色<span style="color: #ff0000;">*</span>字的再填就好,其他可以留空,電話的部份要全部都填才能過,我是全部都填自己的手機號碼,請注意國碼和手機號碼間有個空格(+886 912345678),不然的話系統會顯示沒有選擇國家,完成後點「Save Changes」,存檔成功會有一個小畫面提醒。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/05.png" alt="" width="1024" height="768" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/06.png" alt="" width="346" height="130" />
<p> </p>
<h2 id="設定代管-dns"><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#設定代管-dns" class="anchor-link" aria-label="設定代管-dns"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#contents:設定代管-dns" class="headings">設定代管 DNS</a></h2>
<p>個人資訊設定完成即可回來這個頁面,點右邊的「Manage」進入管理界面。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/06-2.png" alt="" width="1000" height="541" />
<p> </p>
<p>進入後,點擊左上角「BUY & SELL」的下拉是選單內的「Premium Listings」。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/07.png" alt="" width="384" height="305" />
<p> </p>
<p>進去後就是熟悉的畫面了,這部份跟以前一樣沒什麼變,但還是把全部流程寫完。點「Tools」內的「Off-site DNS」進入。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/08.png" alt="" width="382" height="313" />
<p> </p>
<p>「Standard DNS Dashboard 」裡面的「Off-site」選單可以新增網域,點擊「Add Off-site」。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/09.png" alt="" width="355" height="198" />
<p> </p>
<p>在這個表格內填上想讓 Godaddy 代管的網域後點「Next」就可以了,再來會顯示ns伺服器讓我們去網域商那邊設定對應。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/10.png" alt="" width="565" height="312" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/11.png" alt="" width="543" height="312" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/12.png" alt="" width="547" height="305" />
<p> </p>
<p> </p>
<h2 id="匯出-cloudflare-zone-file"><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#匯出-cloudflare-zone-file" class="anchor-link" aria-label="匯出-cloudflare-zone-file"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#contents:匯出-cloudflare-zone-file" class="headings">匯出 CloudFlare Zone File</a></h2>
<p>如果不是從 CloudFlare 轉過去 Godaddy 的話可以跳過這個步驟,Zone File 就是 DNS 設定匯出的檔案,裡面紀錄這個網域所有已經設定的紀錄,匯出後就不用手動一個一個輸入到 Godaddy 了,直接把檔案匯入就好。</p>
<p>先打開 CloudFlare 的 DNS控制界面,拉到 DNS 設定表單的下面有個「adsense」,進去後有選項可以匯出 Zone File,點「Export」會下載一個 .txt 文字檔,那就是 Zone File。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/13.png" alt="" width="428" height="153" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/14.png" alt="" width="706" height="345" />
<p> </p>
<h2 id="在-godaddy-匯入-zone-file新版界面"><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#在-godaddy-匯入-zone-file新版界面" class="anchor-link" aria-label="在-godaddy-匯入-zone-file新版界面"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#contents:在-godaddy-匯入-zone-file新版界面" class="headings">在 Godaddy 匯入 Zone File(新版界面)</a></h2>
<p>目前 Godaddy 有兩種管理界面,一個是舊版一個是新版,新版的叫做「<a href="https://dcc.godaddy.com/manage/" target="_blank" rel="noopener" target="_blank">MY DOMAINS</a>」,網域右上角有個齒輪,裡面有個「Domain Details」就是新版的控制界面。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/22.png" alt="" width="489" height="531" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/23.png" alt="" width="664" height="585" />
<p> </p>
<p>再來點「More」內的 「Import Zone File」,會出現上傳界面,選擇剛剛下載下來的 Zone File 後打勾同意「此動作會合併現有的紀錄」就可以上傳了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/24-1.png" alt="" width="624" height="465" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/25.png" alt="" width="652" height="523" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/26.png" alt="" width="639" height="361" />
<p> </p>
<p>成功後即可看到原本在 CloudFlare 的紀錄全部都回來了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/27.png" alt="" width="639" height="523" />
<p> </p>
<p> </p>
<h2 id="在-godaddy-匯入-zone-file舊版界面"><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#在-godaddy-匯入-zone-file舊版界面" class="anchor-link" aria-label="在-godaddy-匯入-zone-file舊版界面"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#contents:在-godaddy-匯入-zone-file舊版界面" class="headings">在 Godaddy 匯入 Zone File(舊版界面)</a></h2>
<p>進入 <a href="https://dns.godaddy.com/" target="_blank" rel="noopener" target="_blank">Standard DNS Dashboard</a> ,網域下面有個「Edit Zone」,進去之後找到「Import/Export」按鈕內的「Import」可以匯入 Zone File,選擇剛剛下載下來的檔案並打勾同意,大概內容是指匯入後會和原先已有的紀錄合併,按確定就可以匯入了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/15.png" alt="" width="391" height="288" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/16.png" alt="" width="603" height="321" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/17.png" alt="" width="592" height="318" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/18.png" alt="" width="587" height="293" />
<p> </p>
<p>匯入成功會看到原先在 CloudFlare 的紀錄都過來了,已經告一段落了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/19.png" alt="" width="425" height="530" />
<p> </p>
<h2 id="修改-dns-主機"><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#修改-dns-主機" class="anchor-link" aria-label="修改-dns-主機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/#contents:修改-dns-主機" class="headings">修改 DNS 主機</a></h2>
<p>紀錄搞定後,請到購買網域廠商的控制界面尋找設定 DNS 主機的地方,把原有的主機改成</p>
<p><code>mns01.domaincontrol.com<br /> mns02.domaincontrol.com</code></p>
<p>存檔就可以驗收成果了。</p>
<p>可以使用 <a href="http://www.intodns.com/" target="_blank" rel="noopener" target="_blank">intoDNS</a> 檢查是不是真的轉過去了,打上網域按 「Report」 就可以檢查了,確認 Domain NS records 有變成 <code>mns01.domaincontrol.com</code>、<code>mns02.domaincontrol.com</code> 就可以收工囉!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/2015-cloudflare-to-godaddy-dns-free/21.png" alt="" width="1006" height="392" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/2015-cloudflare-to-godaddy-dns-free/" target="_blank" rel="noopener">https://becoder.org/2015-cloudflare-to-godaddy-dns-free/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[系統] Ubuntu 14.04.2 Server LTS 安裝紀錄
https://becoder.org/ubuntu-14-04-2-server-lts-install/
2022-07-08T21:38:16+08:00
2015-07-14T11:14:42+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>今天要來寫的是 Ubuntu Server 安裝紀錄,完全圖解、一步一步讓你清楚如何安裝。因為玩網樂通才認識 Linux,沒有玩網樂通的話我根本不會去摸 Linux 這個一堆指令的作業系統,一開始覺得很麻煩,學了以後才知道 Linux 的好XD。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ubuntu-14-04-2-server-lts-install/" target="_blank" rel="noopener">https://becoder.org/ubuntu-14-04-2-server-lts-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>今天要來寫的是 Ubuntu Server 安裝紀錄,完全圖解、一步一步讓你清楚如何安裝。因為玩網樂通才認識 Linux,沒有玩網樂通的話我根本不會去摸 Linux 這個一堆指令的作業系統,一開始覺得很麻煩,學了以後才知道 Linux 的好XD。</p>
<p>Ubuntu LTS 支援的時間比較長,維基百科上面寫支援五年,支援久<del>感覺起來</del>比較穩定,所以就選這個版本了。目前最新的 Ubuntu LTS 好像是 14.04.2,網路上很多地方可以下載,不過 <a href="http://ubuntu-tw.org" target="_blank" rel="noopener" target="_blank">ubuntu-tw.org</a> 上面的下載連結點了以後卻是 404 Not Found ,找了一下才發現是因為最新的是 Ubuntu 14.04<span style="color: #ff0000;">.2</span>,但是網站上面的連結依舊是 14.04 。不過沒差,可以用就好,可以從<a href="http://ftp.yzu.edu.tw/Linux/ubuntu-cdimage/ubuntu/14.04.2/" target="_blank" rel="noopener" target="_blank">元智大學的 Ubuntu 鏡像站</a>下載 Ubuntu 14.04.2 Server。</p>
<p>現今的電腦記憶體很多都是 4GB 起跳,可以直接抓 64 位元 的 ISO(<a href="http://ftp.yzu.edu.tw/Linux/ubuntu-cdimage/ubuntu/14.04.2/ubuntu-14.04.2-server-amd64.iso" target="_blank" rel="noopener" target="_blank">ubuntu-14.04.2-server-amd64.iso</a>),如果是老電腦要裝的話可以抓 32 位元的就好(<a href="http://ftp.yzu.edu.tw/Linux/ubuntu-cdimage/ubuntu/14.04.2/ubuntu-14.04.2-server-i386.iso" target="_blank" rel="noopener" target="_blank">ubuntu-14.04.2-server-i386.iso</a>)(通常伺服器都裝64位元,升級記憶體的話就不用再重新安裝了),本篇紀錄是專門執行 Ubuntu 的電腦,不適用於雙系統(雙系統要設定 Grub,懶得搞)</p>
<p> </p>
<h2 id="製作開機碟"><a href="https://becoder.org/ubuntu-14-04-2-server-lts-install/#製作開機碟" class="anchor-link" aria-label="製作開機碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-14-04-2-server-lts-install/#contents:製作開機碟" class="headings">製作開機碟</a></h2>
<p><del>抓好以後就可以開始製作開機碟了,為了愛護地球大家都用 USB 隨身碟安裝了,製作教學可以看一下重灌狂人大大的「<a href="http://briian.com/7214/unetbootin.html" target="_blank" rel="noopener" target="_blank">UNetbootin 製作 Live USB 開機隨身碟!(支援Ubuntu..等Linux系統)</a>」,<span style="color: #ff0000;">開始安裝前建議電腦只插上要安裝系統的硬碟,太多顆不小心選錯資料就完了</span>,插上電腦開機後直接選 Install Ubuntu 就可以了。</del></p>
<p>Server版只支援光碟安裝,用隨身碟有點麻煩,比較簡單的方法就是乖乖燒光碟吧~</p>
<h2 id="安裝作業系統"><a href="https://becoder.org/ubuntu-14-04-2-server-lts-install/#安裝作業系統" class="anchor-link" aria-label="安裝作業系統"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ubuntu-14-04-2-server-lts-install/#contents:安裝作業系統" class="headings">安裝作業系統</a></h2>
<p>語言選繁中即可。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/01.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>安裝 Ubuntu 伺服器。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/02.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>這裡也是選繁中。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/03.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>翻譯未完全,別理它,看得懂就好,直接 <code>Enter</code> 。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/04.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>住台灣當然選台灣。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/05.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>通常不用偵測,直接 <code>Ennter</code> 。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/06.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>選「漢語」。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/07.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>再選「漢語」。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/08.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>讓它設定一下~。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/09.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>幫這台電腦取個名字。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/10.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>電腦主人的名字,填自己的英文名上去就可以了。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/11.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>帳號名稱,登入管理要用的,這個帳號有 <code>sudo</code> 權限。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/12.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>設定密碼,要重複兩次。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/13.png" alt="" width="800" height="600" /><br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/14.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>應該是不用特別加密家目錄,除非裡面有很機密的東西。<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/15.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>原來是這裡沒翻譯到,時區是 Asia/Taipei 正確,直接 <code>Enter</code> 。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/16.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>直接照預設就可以了,LVM 我也不太懂,只知道方便分割硬碟而已。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/17.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>找到要安裝的硬碟,在這篇是只有一顆硬碟。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/18.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>硬碟的東西都會不見,選「是」。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/19.png" alt="" width="800" height="600" /></p>
<p> </p>
<p> </p>
<p>這裡我直接照預設,有其他需求請自行研究一下。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/20.png" alt="" width="800" height="600" /></p>
<p> </p>
<p><span style="color: #ff0000;">確定寫入分割,進行格式化後硬碟原有的檔案會全部消失,請注意。</span><span style="color: #ff0000;"><br /> <img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/22.png" alt="" width="800" height="600" /></span></p>
<p> </p>
<p> </p>
<p>安裝中。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/23.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>這裡通常直接留白就可以了。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/24.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>「自動安裝安全更新」隨時保有最新的軟體對伺服器來說比較安全。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/25.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>選「OpenSSH server」就可以了,如果要架站的話可以選「LAMP server」,使用空白鍵選取, <code>Enter</code> 確認。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/26.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>安裝軟體中。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/27.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>直接安裝到 MBR 就可以了,因為只有灌 Ubuntu,家裡沒有支援 UEFI 的電腦,只有裝過 BIOS 的電腦。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/28.png" alt="" width="800" height="600" /></p>
<p> </p>
<p>按 <code>Enter</code> 重開機,<span style="color: #ff0000;">記得把開機碟拔出來</span>,不然又會跑到安裝畫面。開機完成後,輸入剛剛設定的帳號密碼登入,輸入密碼的時候不會顯示任何東西,打完直接按 Enter 就可以登入了,登入後需要設定一下 <code>tty</code> 的語系,什麼是 <code>tty</code> 呢?<code>tty</code> 就是你現在看到的畫面,由於預設的 <code>tty</code> 不支援中文,只要有中文就會亂碼,想顯示中文的話就又要裝一堆東西,為了省麻煩就直接讓 <code>tty</code> 顯示英文,輸入 <code>export LANGUAGE=en_US.UTF-8</code> 讓 <code>tty</code> 顯示英文。<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/29.png" alt="" width="800" height="600" /><br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/31.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>因為有裝 OpenSSH server ,所以可以直接用 Pietty 之類的軟體連線。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/ubuntu-14-04-2-server-lts-install/32.png" alt="" width="675" height="444" />
<p> </p>
<p>安裝完成後,就可以開始做想做的事情了,可以架站、架 VPN、當NAS用,想做什麼事就請自行規劃囉!</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ubuntu-14-04-2-server-lts-install/" target="_blank" rel="noopener">https://becoder.org/ubuntu-14-04-2-server-lts-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 網樂通 XBMC 播放PPS、風行網、bilibili 等各大網站的影片
https://becoder.org/nextvod-xbmc-addons-chinese/
2022-07-08T21:38:16+08:00
2015-07-09T01:48:50+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>網樂通 XBMC 安裝完成後就可以開始玩 XBMC 的各種附加元件 ( Addons ) 了,YouTube、Twitch 等網站都沒問題,中國網站上面的影片更不 用說。<a class="" href="https://github.com/taxigps/xbmc-addons-chinese" data-branch="master" data-pjax="true">xbmc-addons-chinese</a> 是一套XBMC 上常用的中文網站附加元件,各種知名的網站都可以直接使用網樂通 XBMC 播放,例如人們熟知的 PSS 、風行網、優酷都可以播放,以下紀錄教大家如何安裝這個插件。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-xbmc-addons-chinese/" target="_blank" rel="noopener">https://becoder.org/nextvod-xbmc-addons-chinese/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>網樂通 XBMC 安裝完成後就可以開始玩 XBMC 的各種附加元件 ( Addons ) 了,YouTube、Twitch 等網站都沒問題,中國網站上面的影片更不 用說。<a class="" href="https://github.com/taxigps/xbmc-addons-chinese" data-branch="master" data-pjax="true">xbmc-addons-chinese</a> 是一套XBMC 上常用的中文網站附加元件,各種知名的網站都可以直接使用網樂通 XBMC 播放,例如人們熟知的 PSS 、風行網、優酷都可以播放,以下紀錄教大家如何安裝這個插件。</p>
<p>還沒改機的可以參考這些文章,改好的就直接開始了。</p>
<p><a href="http://becoder.org/nextvod-xbmc/" target="_blank" rel="noopener" target="_blank">[網樂通] 網樂通 XBMC 安裝紀錄</a></p>
<p><a href="http://becoder.org/nextvod-xbmc-setting/" target="_blank" rel="noopener" target="_blank">[網樂通] 網樂通 XBMC 首次設定</a></p>
<h2 id="電腦操作部份"><a href="https://becoder.org/nextvod-xbmc-addons-chinese/#電腦操作部份" class="anchor-link" aria-label="電腦操作部份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc-addons-chinese/#contents:電腦操作部份" class="headings">電腦操作部份</a></h2>
<p>首先,請準備一隻隨身碟 ,裡面要放附加元件的檔案供網樂通安裝,可以直接拿開機碟來用。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/01.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
再戰10年
</p>
</div>
<p> </p>
<p>有了隨身碟後,就可以下載附加元件的檔案了, <a href="https://github.com/taxigps/xbmc-addons-chinese" target="_blank" rel="noopener" target="_blank">xbmc-addons-chinese</a> [ <a href="https://github.com/taxigps/xbmc-addons-chinese/raw/master/repo/repository.xbmc-addons-chinese/repository.xbmc-addons-chinese-1.2.0.zip" target="_blank" rel="noopener" target="_blank">點我下載</a> ] ,<span style="text-decoration: underline;">如果遇到損壞可以到<a href="https://github.com/taxigps/xbmc-addons-chinese/tree/master/repo" target="_blank" rel="noopener">這裡</a>自行下載比較新的 zip 安裝</span></p>
<p>下載好了以後,把檔案拖進隨身碟就大功告成啦!完成後請從電腦退出隨身碟,並將隨身碟插入<span style="color: #ff0000;">已開機完畢</span>的網樂通。</p>
<div style="width: 720px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/01-1.png" alt="" width="710" height="377" />
<p class="wp-caption-text">
複製進隨身碟
</p>
</div>
<p> </p>
<div style="width: 720px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/02-1.png" alt="" width="710" height="378" />
<p class="wp-caption-text">
完成,退出隨身碟
</p>
</div>
<p> </p>
<p> </p>
<h2 id="網樂通操作部份"><a href="https://becoder.org/nextvod-xbmc-addons-chinese/#網樂通操作部份" class="anchor-link" aria-label="網樂通操作部份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc-addons-chinese/#contents:網樂通操作部份" class="headings">網樂通操作部份</a></h2>
<p>把隨身碟插入網樂通後,使用遙控器選擇:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/01.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
系統設定 > 系統設定
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/02.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
附加元件
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/03.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
從 zip 檔案安裝
</p>
</div>
<p> </p>
<p>這時候找到你的隨身碟代號,通常是 sdb1:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/04.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
sdb1
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/05.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
找到 repository.xbmc-addons-chinese-1.2.0.zip 按確定
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/06.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
已啟用附加元件
</p>
</div>
<p> </p>
<p>安裝完畢後就可以來測試了,以下用風行網做測試:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/07.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
視訊 > 附加元件
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/08.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
取得更多
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/09.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
按 ↑ 就可以看到滿滿的附加元件了,以風行網作範例
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/10.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
選擇風行網,按安裝
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/11.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
啟用
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/12.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
返回後,就可以看到風行網了
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/13.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
進入後可以看到許多影片分類
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/14.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
這裡用蠟筆小新做測試
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/15.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
成功播放風行網
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-addons-chinese/16.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
成功播放風行網
</p>
</div>
<p> </p>
<p>其他附加元件也是使用相同方法安裝,請各位自行發揮囉!請記得接上網路線,否則無法播放網路上的內容,基本上都可以順利播放,有些插件在網樂通上面有BUG就要靠運氣了,祝各位改機愉快。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-xbmc-addons-chinese/" target="_blank" rel="noopener">https://becoder.org/nextvod-xbmc-addons-chinese/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 網樂通 XBMC 首次設定
https://becoder.org/nextvod-xbmc-setting/
2022-07-08T21:38:16+08:00
2015-07-07T08:17:27+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>暨上篇 <a href="http://becoder.org/nextvod-xbmc/" target="_blank">[網樂通] 網樂通 XBMC 安裝紀錄</a> ,接下來就是首次設定了,剛裝好的時候畫面可能會超出螢幕、界面語言不是中文、無法使用 Kore 遙控器等問題,下面會一步一步圖解設定給大家看。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-xbmc-setting/" target="_blank" rel="noopener">https://becoder.org/nextvod-xbmc-setting/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>暨上篇 <a href="http://becoder.org/nextvod-xbmc/" target="_blank" rel="noopener" target="_blank">[網樂通] 網樂通 XBMC 安裝紀錄</a> ,接下來就是首次設定了,剛裝好的時候畫面可能會超出螢幕、界面語言不是中文、無法使用 Kore 遙控器等問題,下面會一步一步圖解設定給大家看。</p>
<p><span style="color: #ff0000;">在開始前,如果沒有遙控器或是有問題的話,請先向下看到 「Kore 遙控器」的部份,即可使用手機操控網樂通 XBMC,不須使用網樂通遙控器 。</span></p>
<h2 id="設定語言"><a href="https://becoder.org/nextvod-xbmc-setting/#設定語言" class="anchor-link" aria-label="設定語言"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc-setting/#contents:設定語言" class="headings">設定語言</a></h2>
<p>安裝後首次開機一定是英文界面,其實網樂通 XBMC 是有中文界面的,不過設定有點細不好找,照著以下做就可以順利設定囉!</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/01-1.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
System > Setting
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/02.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
Appearance
</p>
</div>
<p> </p>
<p><span style="color: #ff0000;">[ 補充 ]字型一定要改,不然會亂碼</span></p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/02.5.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
Skin > Fonts 選擇 Arial based
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/03.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
International > Language
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/04.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
完成
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/05.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
「時區國家」 可以調整時區
</p>
</div>
<p> </p>
<p> </p>
<h2 id="字幕字體"><a href="https://becoder.org/nextvod-xbmc-setting/#字幕字體" class="anchor-link" aria-label="字幕字體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc-setting/#contents:字幕字體" class="headings">字幕字體</a></h2>
<p>字幕字體請使用 wqy-microhei.ttf 檔案小字數又多,對於網樂通來說是比較好的選擇:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/23.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
視訊
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/24.jpg" alt="" width="800" height="594" />
<p class="wp-caption-text">
字幕設定 > 文字字幕字型 > wqy-microhei.ttf
</p>
</div>
<p> </p>
<p> </p>
<h2 id="螢幕校正"><a href="https://becoder.org/nextvod-xbmc-setting/#螢幕校正" class="anchor-link" aria-label="螢幕校正"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc-setting/#contents:螢幕校正" class="headings">螢幕校正</a></h2>
<p>第一次畫面通常會超出螢幕,不過這也是可以設定的,設定好就可以正常顯示了:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/08.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
系統設定
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/09.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
視訊輸出 > 解析度 可以設定螢幕解析度,網樂通支援 1080P
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/09.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
進入下方的「視訊校正」
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/10.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
透過遙控器移動藍色直角,讓他在螢幕邊緣即可
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/11.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
透過遙控器移動藍色直角,讓他在螢幕邊緣即可
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/12.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
字幕位置
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/13.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
調整成正方形,字體比例才會對
</p>
</div>
<p> </p>
<p> </p>
<h2 id="kore-遙控器"><a href="https://becoder.org/nextvod-xbmc-setting/#kore-遙控器" class="anchor-link" aria-label="kore-遙控器"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc-setting/#contents:kore-遙控器" class="headings">Kore 遙控器</a></h2>
<p>網樂通原廠的遙控器效能不是很好,有可能會有延遲的現象,這時候可以用 Android 的 Kore 軟體使用,使用前需要先設定網樂通,讓網樂通支援遙控器:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/06.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
服務
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/07.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
網站伺服器 > 允許通過 HTTP 控制 XBMC
</p>
</div>
<p> </p>
<p>[ <span style="color: #ff0000;">補充 </span>] 感謝 <a href="https://www.facebook.com/dlin.tw" target="_blank" rel="noopener" target="_blank">林原志</a> 大大尋找設定檔,如果不想拆鍵盤來裝或是沒有遙控器,也可以直接使用指令修改,請先 telnet 連線進入網樂通後跟著以下操作:</p>
<p><code>vi /media/hdd/.xbmc/userdata/guisettings.xml</code></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/21.png" alt="" width="659" height="348" />
<p> </p>
<p>找到 <code><webserver><span style="color: #ff0000;">false</span></webserver></code> ,將 <code>false</code> 改為 <code>true</code> 後存檔即可。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/22.png" alt="" width="659" height="348" />
<p> </p>
<p>設定後就可以使用 Kore 遙控器了,請在 Play 商店搜尋 Kore 或是<a href="https://play.google.com/store/apps/details?id=org.xbmc.kore" target="_blank" rel="noopener" target="_blank">點這裡進入</a>。開始前,<span style="color: #ff0000;">請確定手機和網樂通是在同一個區域網路下</span>,不然的話怎麼做都沒有辦法使用。</p>
<p>安裝完成後設定請看圖解:</p>
<div style="width: 460px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/14.jpg" alt="" width="450" height="800" />
<p class="wp-caption-text">
Next
</p>
</div>
<p> </p>
<div style="width: 460px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/15.jpg" alt="" width="450" height="800" />
<p class="wp-caption-text">
一開始會自動掃描
</p>
</div>
<p> </p>
<div style="width: 460px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/16.jpg" alt="" width="450" height="800" />
<p class="wp-caption-text">
找不到,Next
</p>
</div>
<p> </p>
<div style="width: 460px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/17.jpg" alt="" width="450" height="800" />
<p class="wp-caption-text">
在表格內填入以下資訊,IP 請改成網樂通的 IP ,完成後 Test
</p>
</div>
<p> </p>
<div style="width: 460px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/18.jpg" alt="" width="450" height="800" />
<p class="wp-caption-text">
可以連線囉!
</p>
</div>
<p> </p>
<p>安裝完成後,相關功能請自行摸索,這是個很強大的遙控器程式!~方便又好用!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/19.jpg" alt="" width="450" height="800" />
<p> </p>
<div style="width: 460px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc-setting/20.jpg" alt="" width="450" height="800" />
<p class="wp-caption-text">
可以取代網樂通遙控器
</p>
</div>
<p> </p>
<p>網樂通 XBMC 是目前唯一可以順暢播放影片的版本,不過目前尚有一點 BUG ,請持續關注新版本 網樂通 XBMC 的發布,基本上有更新都會在 [ <a href="https://www.facebook.com/groups/477359555618518/" target="_blank" rel="noopener" target="_blank">網樂通改機俱樂部</a> ] 看到,歡迎加入研究~!請看下一篇 <a href="http://becoder.org/nextvod-xbmc-addons-chinese/" target="_blank" rel="noopener" target="_blank">[網樂通] 網樂通 XBMC 播放風行網、bilibili、PPS等各大網站的影片</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-xbmc-setting/" target="_blank" rel="noopener">https://becoder.org/nextvod-xbmc-setting/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 網樂通 XBMC 安裝紀錄
https://becoder.org/nextvod-xbmc/
2022-07-08T21:38:16+08:00
2015-07-04T13:32:13+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>網樂通 XBMC 是由社團內 <span data-reactid=".3f.1:4:1:$comment983466198341182_983477098340092:0.0.$right.0.$left.0.0.0.0.0"><a id="js_1l" class=" UFICommentActorName" dir="ltr" href="https://www.facebook.com/chinghanyu?fref=ufi" data-ft="{"tn":";"}" data-hovercard="/ajax/hovercard/hovercard.php?id=100000259904484&extragetparams=%7B%22hc_location%22%3A%22ufi%22%7D" data-reactid=".3f.1:4:1:$comment983466198341182_983477098340092:0.0.$right.0.$left.0.0.0.0">Hans Yu</a> 大大開發,感謝大大的付出,網樂通才有 XBMC 可以裝!由於安裝 XBMC 不像 Debian 那樣容易,方便以後裝機就紀錄起來了~</span></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-xbmc/" target="_blank" rel="noopener">https://becoder.org/nextvod-xbmc/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>網樂通 XBMC 是由社團內 <span data-reactid=".3f.1:4:1:$comment983466198341182_983477098340092:0.0.$right.0.$left.0.0.0.0.0"><a id="js_1l" class=" UFICommentActorName" dir="ltr" href="https://www.facebook.com/chinghanyu?fref=ufi" data-ft="{"tn":";"}" data-hovercard="/ajax/hovercard/hovercard.php?id=100000259904484&extragetparams=%7B%22hc_location%22%3A%22ufi%22%7D" data-reactid=".3f.1:4:1:$comment983466198341182_983477098340092:0.0.$right.0.$left.0.0.0.0">Hans Yu</a> 大大開發,感謝大大的付出,網樂通才有 XBMC 可以裝!由於安裝 XBMC 不像 Debian 那樣容易,方便以後裝機就紀錄起來了~</span></p>
<p><span style="color: #ff0000;">[ 公告 ] uboot.sh 內容有變動,請按照教學使用 mkfs.ext3 重新格式化 /dev/sda1、/dev/sda2、/dev/sda3 ,並重新寫入 uboot.sh 存檔。</span></p>
<h2 id="事前準備"><a href="https://becoder.org/nextvod-xbmc/#事前準備" class="anchor-link" aria-label="事前準備"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc/#contents:事前準備" class="headings">事前準備</a></h2>
<p>隨身碟:大概2GB就夠了,請用<span style="color: #ff0000;">USB 2.0</span>的。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/01.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
從別台網樂通拆下來的,科科
</p>
</div>
<p>網樂通:一台就夠了,多台也是可以。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/02.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
網樂通一台
</p>
</div>
<p>sh4twbox 0.9.2:開機碟,安裝必備![ <a href="https://sh4twbox.googlecode.com/files/sh4twbox-0.9.2.7z" target="_blank" rel="noopener" target="_blank">點我下載</a> ]</p>
<p>網路線:一條</p>
<p>Pietty:連線控制網樂通用 [ <a href="https://download.becoder.org/putty/" target="_blank" rel="noopener">點我下載</a> ]</p>
<h2 id="製作開機碟"><a href="https://becoder.org/nextvod-xbmc/#製作開機碟" class="anchor-link" aria-label="製作開機碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc/#contents:製作開機碟" class="headings">製作開機碟</a></h2>
<p>這個開機碟是一個跑在 RamDisk 中的系統,讓我們方便在網樂通中直接工作,分割 DOM 、安裝系統都可以直接在網樂通中完成,開機碟對於網樂通改機是一個很重要的部份,沒有它一切都幹不了。</p>
<p>首先將下載好的 sh4twbox-0.9.2.7z 解壓縮到一個資料夾,把隨身碟格式化成 FAT32 後再把所有檔案拉入隨身碟中,嚴禁使用快速格式化,<span style="color: #ff0000;">格式化後隨身碟檔案會消失,請記得備份</span>。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/07.png" alt="" width="267" height="431" />
<p> </p>
<div style="width: 777px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/08-1.png" alt="" width="767" height="527" />
<p class="wp-caption-text">
解壓縮到資料夾
</p>
</div>
<p> </p>
<p>完成後,開機碟就製作完成了!</p>
<p> </p>
<h2 id="使用開機碟讓網樂通開機"><a href="https://becoder.org/nextvod-xbmc/#使用開機碟讓網樂通開機" class="anchor-link" aria-label="使用開機碟讓網樂通開機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc/#contents:使用開機碟讓網樂通開機" class="headings">使用開機碟讓網樂通開機</a></h2>
<p>開機很簡單,只需要將隨身碟插上網樂通後面的 USB 孔,並且按住 RESET 鍵開機就可以了。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/03.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
按住RESET鍵
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/04.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
插上隨身碟
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/05.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
對了,還有網路線
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/06.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
按住RESET、插上開機碟,通電!
</p>
</div>
<p> </p>
<p>網樂通一開始會顯示**<span style="color: #e600bf;">紫燈</span><strong>,再轉</strong><span style="color: #ff0000;">紅燈</span>**,再轉<span style="color: #0000ff;">藍燈</span>,變成<span style="color: #0000ff;">藍燈</span>就是開機完成了,由於不好拍就不放圖片了。</p>
<p> </p>
<h2 id="連線進入網樂通"><a href="https://becoder.org/nextvod-xbmc/#連線進入網樂通" class="anchor-link" aria-label="連線進入網樂通"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc/#contents:連線進入網樂通" class="headings">連線進入網樂通</a></h2>
<p>開機完成就可以連線進網樂通了,連線的方法即是使用 Pietty telnet 連線,網樂通的 IP 請去查分享器查,可以利用網樂通外殼的 MAC 位址尋找,連線後輸入帳號 <code>root</code> 密碼 <code>twpdatwpda</code> 即可順利登入:</p>
<div style="width: 441px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/09.png" alt="" width="431" height="311" />
<p class="wp-caption-text">
輸入IP後連線
</p>
</div>
<p> </p>
<div style="width: 653px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/10.png" alt="" width="643" height="396" />
<p class="wp-caption-text">
輸入密碼時不會有文字顯示,打就對了
</p>
</div>
<p> </p>
<p>開機的步驟就完成了。</p>
<p> </p>
<p> </p>
<h2 id="分割-dom"><a href="https://becoder.org/nextvod-xbmc/#分割-dom" class="anchor-link" aria-label="分割-dom"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc/#contents:分割-dom" class="headings">分割 DOM</a></h2>
<p><span style="color: #ff0000;">分割 DOM:此步驟中「磁碟代號」僅供參考,或許會和您的環境有所差異,請不要全盤照抄</span></p>
<p>在LINUX內,分割磁碟大多使用 <code>fdisk</code> 指令,在網樂通內也是如此,首先輸入 <code>fdisk -l</code> 來看目前的磁碟代號分配情況:</p>
<div style="width: 653px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/11.png" alt="" width="643" height="396" />
<p class="wp-caption-text">
fdisk -l
</p>
</div>
<p> </p>
<p>原廠的 DOM 會看到兩個磁碟,其中一個有四個分割區,直接切有四個分割區的磁碟就可以了。而我的 DOM 曾經修改過,要掛載看看裡面放了什麼來判斷哪一個是安裝在網樂通的 DOM :</p>
<p><span style="color: #ff0000;">(此步驟中「磁碟代號」僅供參考,或許會和您的環境有所差異,請不要全盤照抄)</span></p>
<div style="width: 653px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/12.png" alt="" width="643" height="396" />
<p class="wp-caption-text">
/dev/sdb1 是我的開機碟,/dev/sda 就是 DOM
</p>
</div>
<p> </p>
<p>找到目標磁碟就可以開始工作了,工作前卸載已掛載的兩個磁區 <code>umount /dev/sda1 /dev/sda2</code> ,然後先下 <code>fdisk /dev/sda</code> 來分割 DOM ,輸入 <code>p</code> 可以看到目前的分割狀況,輸入 <code>d</code> 刪除現有的分割區:</p>
<p><span style="color: #ff0000;">(此步驟中「磁碟代號」僅供參考,或許會和您的環境有所差異,請不要全盤照抄)</span></p>
<div style="width: 653px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/13.png" alt="" width="643" height="396" />
<p class="wp-caption-text">
刪除分割區
</p>
</div>
<p> </p>
<p>網樂通 XBMC 所需的分割區參考 <a href="http://chinghanyu.twbbs.org/redmine/projects/open-duckbox-project-on-sh4-platform/wiki" target="_blank" rel="noopener" target="_blank">Installation Guide</a> ,需要三個主分割區跟一個延伸分割區,輸入 <code>n</code> 開始建立分割,接著請照圖片做:</p>
<p><span style="color: #ff0000;">(此步驟中「磁碟代號」僅供參考,或許會和您的環境有所差異,請不要全盤照抄)</span></p>
<p><strong>第一分割區:</strong></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/14-1.png" alt="" width="643" height="252" />
<p> </p>
<p><strong>第二分割區:</strong></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/15.png" alt="" width="643" height="252" />
<p> </p>
<p><strong>第三分割區:</strong></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/16.png" alt="" width="643" height="252" />
<p> </p>
<p><strong>第四分割區:</strong></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/17.png" alt="" width="643" height="252" />
<p> </p>
<p><strong>第五分割區:</strong></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/18.png" alt="" width="643" height="460" />
<p> </p>
<p>確認無誤後輸入 <code>w</code> 儲存,可以用 <code>fdisk -l</code> 檢查一次:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/19.png" alt="" width="643" height="460" />
<p> </p>
<p>分割完成後,接著就是格式話分割區,需要格式化的分割區有三個:/dev/sda1、/dev/sda2、/dev/sda3 ,依序輸入 <code><span style="color: #ff0000;">mkfs.ext3</span> -I 128 /dev/sda1</code> 、 <code><span style="color: #ff0000;">mkfs.ext3</span> -I 128 /dev/sda2</code> 、 <code><span style="color: #ff0000;">mkfs.ext3</span> -I 128 /dev/sda3</code></p>
<p><span style="color: #ff0000;">(此步驟中「磁碟代號」僅供參考,或許會和您的環境有所差異,請不要全盤照抄)</span></p>
<p> </p>
<h2 id="安裝-xbmc"><a href="https://becoder.org/nextvod-xbmc/#安裝-xbmc" class="anchor-link" aria-label="安裝-xbmc"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc/#contents:安裝-xbmc" class="headings">安裝 XBMC</a></h2>
<p>以上準備好之後就可以開始安裝 XBMC 了, 先掛載 /dev/sda1 、 /dev/sda2,輸入 <code>mount /dev/sda1 /mnt/sda1</code> 、 <code>mount /dev/sda2 /mnt/sda2</code></p>
<p><span style="color: #ff0000;">(此步驟中「磁碟代號」僅供參考,或許會和您的環境有所差異,請不要全盤照抄)</span></p>
<div style="width: 653px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/20.png" alt="" width="643" height="156" />
<p class="wp-caption-text">
掛載
</p>
</div>
<p> </p>
<p>接著,進入 /mnt/sda2 下載 rootfs, <code>cd /mnt/sda2</code> 、</p>
<p><code>wget http://chinghanyu.twbbs.org/redmine/attachments/download/97/nextvod-pdk7105-215-xbmc-12.3-Frodo-20150209.tar.xz<br /> or<br /> wget http://fuyuanli.github.io/nextvod-pdk7105-215-xbmc-12.3-Frodo-20150209.tar.xz</code></p>
<p><code>tar Jxvf nextvod-pdk7105-215-xbmc-12.3-Frodo-20150209.tar.xz</code></p>
<p><span style="color: #ff0000;">(此步驟中「磁碟代號」僅供參考,或許會和您的環境有所差異,請不要全盤照抄)</span></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/21.png" alt="" width="643" height="252" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/22.png" alt="" width="643" height="252" />
<p> </p>
<p>刪除檔案壓縮檔,也可以放著就好:</p>
<p><code>rm -rf nextvod-pdk7105-215-xbmc-12.3-Frodo-20150209.tar.xz</code></p>
<p>新增 uboot.sh:<code>vi /mnt/sda1/uboot.sh</code> ,按 <code>i</code> 開始編輯,貼上以下內容後,按鍵盤 <code>ESC</code> ,輸入 <code>:wq</code> 後 <code>Enter</code> 存檔:</p>
<p><span style="color: #ff0000;">(此步驟中「磁碟代號」僅供參考,或許會和您的環境有所差異,請不要全盤照抄,<strong>uboot.sh 請確認有完全複製,勿做任何修改</strong>)</span></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/23.png" alt="" width="699" height="364" />
<p> </p>
<p> </p>
<p> </p>
<p>完成後,輸入 <code>sync</code> 確認檔案寫入後就可以輸入 <code>poweroff</code> 關機了,關機後<span style="color: #ff0000;">拔電源</span>、<span style="color: #ff0000;">拔隨身碟</span>後,插電源開機繼續下一步!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/25.png" alt="" width="467" height="204" />
<p> </p>
<h2 id="設定-swap"><a href="https://becoder.org/nextvod-xbmc/#設定-swap" class="anchor-link" aria-label="設定-swap"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xbmc/#contents:設定-swap" class="headings">設定 SWAP</a></h2>
<p>開機後~藍色燈就會開始閃啦!!第一件事即是使用 telnet 連線進入網樂通設定 SWAP,這樣記憶體不夠的話才不會當機唷!</p>
<div style="width: 441px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/09.png" alt="" width="431" height="311" />
<p class="wp-caption-text">
連線進入網樂通
</p>
</div>
<p> </p>
<p>連線進入後,輸入 <code>mkswap /dev/sda5</code> 、<code>swapon /dev/sda5</code> 後,輸入 <code>poweroff</code> 關機,然後就可以接 HDMI 螢幕開機使用囉!(<a href="https://gist.github.com/fuyuanli/54d7baab6d6e161699df" target="_blank" rel="noopener" target="_blank">開機LOG</a>)</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/07/nextvod-xbmc/26-1.png" alt="" width="539" height="348" />
<p> </p>
<p>安裝完成後,請看下一篇 <a href="http://becoder.org/nextvod-xbmc-setting/" target="_blank" rel="noopener">[網樂通] 網樂通 XBMC 首次設定</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-xbmc/" target="_blank" rel="noopener">https://becoder.org/nextvod-xbmc/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[VPS] 免空分流大法!使用國外 VPS 將檔案高速上傳至 Google Drive!
https://becoder.org/vps-upload-google-drive/
2022-07-08T21:38:16+08:00
2015-06-10T08:07:10+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>什麼是 VPS !? VPS 就是放在國外的虛擬機器啦,擁有超高速的寬頻以及獨立 IP ,網路速度是用 Gbps 在算的~可以 SSH 連線進入後用指令做任何事情,當然就可以拿來上傳檔案囉XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vps-upload-google-drive/" target="_blank" rel="noopener">https://becoder.org/vps-upload-google-drive/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>什麼是 VPS !? VPS 就是放在國外的虛擬機器啦,擁有超高速的寬頻以及獨立 IP ,網路速度是用 Gbps 在算的~可以 SSH 連線進入後用指令做任何事情,當然就可以拿來上傳檔案囉XD</p>
<p>筆者用的是 DigitalOcean $5 新加坡節點的 VPS ,規格為 1 core CPU 、 512MB Ram 、20GB SSD ,這是因為有 Github Education 送的 100美元可以用,才有機會玩到 VPS XDD</p>
<p>Speedtest 測速的結果:<br>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/speed.jpg" alt="" width="300" height="135" /></p>
<p> </p>
<p>一整個神速XD,不過 Speedtest是用國外的節點去測試,台灣不一定可以這麼快 @@</p>
<p>台灣的話可以用 HINET的檔案來測試:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/01.jpg" alt="" width="720" height="284" />
<p>一秒大概 22MB ,用來抓檔案很方便,一下子就好了~XDD</p>
<p>重點是分流~!用 VPS 的好處就是~上傳也超快~把抓下來的檔案上傳到 Google Drive 再載回家是很不錯的方法,因為 Google 對台灣速度很穩,在台灣有數據中心,人人都可滿速,而且永遠不會死檔~!</p>
<p>那為什麼不直接在 VPS 架檔案伺服器直接抓回家呢!?這是因為 VPS 有容量、流量限制,筆者的方案只有20GB的空間,放太多東西一下子就爆了,而且需要將 VPS開機才能下載,DigitalOcean 是使用小時計費的 VPS~沒有開機就不算費用,為了省錢就放 Google 啦!想體驗 VPS 的威力就跟著我一起做吧!!</p>
<p> </p>
<p> </p>
<h2 id="註冊-digitalocean"><a href="https://becoder.org/vps-upload-google-drive/#註冊-digitalocean" class="anchor-link" aria-label="註冊-digitalocean"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vps-upload-google-drive/#contents:註冊-digitalocean" class="headings">註冊 DigitalOcean</a></h2>
<p>DigitalOcean 是一間美國的 VPS 公司,在以下地點都有數據中心:紐約、阿姆斯特丹、舊金山、倫敦、新加坡、法蘭克福。不必購買伺服器、軟體等網路設備,即可控制作業系統、儲存裝置、已安裝的軟體,簡單來說就是一台放在國外有獨立IP的虛擬機~!因為 DigitalOcean 是用小時來計費的,需要的時候再開機即可,可以說是又方便又省錢XD。</p>
<p> </p>
<p>首先來到 <a href="https://www.digitalocean.com/?refcode=b11c5593b131" target="_blank" rel="noopener" target="_blank">註冊頁面</a> ,輸入想要註冊帳號密碼就可以去收信了:</p>
<div style="width: 983px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/02.png" alt="" width="973" height="403" />
<p class="wp-caption-text">
填入帳號、密碼,再點擊 「CREAT ACCOUNT」
</p>
</div>
<p> </p>
<div style="width: 560px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/03.png" alt="" width="550" height="303" />
<p class="wp-caption-text">
驗證信
</p>
</div>
<p> </p>
<p>收完信後,需要輸入信用卡、或是使用 PayPal 儲值才能開通帳號,<span style="text-decoration: underline;"><strong>請在安全的電腦填信用卡,要是電腦有病毒被盜刷的話請自行負責</strong></span>,若不想申請信用卡的話可以去中華郵政申請 <a href="http://www.post.gov.tw/post/internet/Visa/index.jsp?ID=1387695667603" target="_blank" rel="noopener" target="_blank">郵政VISA金融卡</a>。</p>
<div style="width: 700px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/04.png" alt="" width="690" height="432" />
<p class="wp-caption-text">
輸入信用卡資訊
</p>
</div>
<p> </p>
<p>填完後就開通惹~!一開始應該會送 10 美元,5美元的方案可以使用兩個月,<span style="text-decoration: underline;"><strong>額度用完就會開始扣信用卡的錢了,請注意</strong></span>,如果你有學生Email帳號 ( @*.edu.tw的信箱 ) 的話,可以到 Github申請 <a href="https://gist.github.com/qas612820704/c72639928b732103a138" target="_blank" rel="noopener" target="_blank">Student Developer Pack</a>,會送 100 美金~我就是用這個方案~</p>
<p> </p>
<h2 id="新建虛擬機"><a href="https://becoder.org/vps-upload-google-drive/#新建虛擬機" class="anchor-link" aria-label="新建虛擬機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vps-upload-google-drive/#contents:新建虛擬機" class="headings">新建虛擬機</a></h2>
<p>帳號搞定後就可以新增虛擬機了,進入 <a href="https://cloud.digitalocean.com/droplets/new" target="_blank" rel="noopener" target="_blank">這個連結</a> 新增虛擬機,請在 Droplet Hostname 填入一些<span style="text-decoration: underline;"><strong>英文</strong></span>作為辨認,這裡用 VPS 為例:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/05.png" alt="" width="434" height="245" />
<p> </p>
<p>這裡是選擇主機規格的地方,選最便宜的就可以了,這個規格已經夠用了,雖然流量只有 1000 GB ,不過現在 ( 2015/06 ) 超過的話是不會怎樣的, DigitalOcean 流量不計費:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/06.png" alt="" width="450" height="242" />
<p> </p>
<p>主機地點請選新加坡,因為距離台灣最近:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/07.png" alt="" width="748" height="210" />
<p> </p>
<p>建議把 IP v6 打勾, 現在越來越多 網站都用 IP v6 了:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/08.png" alt="" width="572" height="112" />
<p> </p>
<p>作業系統的部份可以選自己習慣的系統,筆者以前玩網樂通才學 Linux ,所以選親 Debian 的 Ubuntu:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/09.png" alt="" width="751" height="436" />
<p> </p>
<p>預載程式可以選 LAMP ,若是要架站的話會比較方便:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/10.png" alt="" width="366" height="385" />
<p> </p>
<p>按下 Creat Droplet 就可以開始新建主機囉! DigitalOcean 使用 SSD 硬碟,大概一分鐘就完成了,完成後會收到一封信,裡面有 root 帳號的預設密碼:</p>
<div style="width: 585px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/11.png" alt="" width="575" height="281" />
<p class="wp-caption-text">
建立主機
</p>
</div>
<p> </p>
<div style="width: 858px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/12.png" alt="" width="848" height="225" />
<p class="wp-caption-text">
建立中
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/13.png" alt="" width="547" height="339" />
<p> </p>
<p>第一次登入會要求修改密碼,在 Windows 推薦使用 Putty [ <a href="http://dl.becoder.org/2014/08/piettyportable_34.html" target="_blank" rel="noopener" target="_blank">點我下載</a> ] 登入主機,Mac 或 Linux 直接使用 SSH 指令就可以了:</p>
<div style="width: 431px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/14.png" alt="" width="421" height="301" />
<p class="wp-caption-text">
連線
</p>
</div>
<p> </p>
<div style="width: 466px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/15.png" alt="" width="456" height="319" />
<p class="wp-caption-text">
按下「是」
</p>
</div>
<p> </p>
<div style="width: 869px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/16.png" alt="" width="859" height="328" />
<p class="wp-caption-text">
修改預設密碼
</p>
</div>
<p> </p>
<p>建立主機告一段落,下面介紹安裝 Google Drive 同步軟體!</p>
<p> </p>
<h2 id="安裝-gdrive"><a href="https://becoder.org/vps-upload-google-drive/#安裝-gdrive" class="anchor-link" aria-label="安裝-gdrive"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vps-upload-google-drive/#contents:安裝-gdrive" class="headings">安裝 gdrive</a></h2>
<p><a href="https://github.com/prasmussen/gdrive" target="_blank" rel="noopener" target="_blank">gdrive</a> 是一套非官方的 Google Drive 同步軟體,因為 Google 並沒有推出官方的 Linux 客戶端,所以神人們就開發出來了~!!XDD,上傳下載都可以~不過我們只需要上傳的功能~安裝方法請照以下指令動作,以下是使用 <a href="https://drive.google.com/uc?id=0B3X9GlR6EmbnMHBMVWtKaEZXdDg" target="_blank" rel="noopener">drive-linux-amd64</a> ,有特殊需求請到 <a href="https://github.com/prasmussen/gdrive" target="_blank" rel="noopener" target="_blank">gdrive</a> 自行選擇:</p>
<p><img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/17.png" alt="" width="739" height="492" /> 好了以後就可以開始設定了 gdrive 了! </p>
<h2 id="設定-gdrive"><a href="https://becoder.org/vps-upload-google-drive/#設定-gdrive" class="anchor-link" aria-label="設定-gdrive"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vps-upload-google-drive/#contents:設定-gdrive" class="headings">設定 gdrive</a></h2>
<p>設定的方法很簡單,直接在命令列中輸入 drive 執行,會出現一大串的網址,該網址是為了讓 gdrive 擁有上傳權限,請把這串網址複製起來用瀏覽器打開,請記得確認右上角是正確的帳號:</p>
<div style="width: 474px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/18.png" alt="" width="464" height="391" />
<p class="wp-caption-text">
按下接受
</p>
</div>
<p> 把這串授權碼複製起來,貼在連線的視窗並按下Enter設定就完成了:</p>
<div style="width: 491px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/19.png" alt="" width="481" height="283" />
<p class="wp-caption-text">
複製授權碼
</p>
</div>
<p> </p>
<div style="width: 492px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/20.png" alt="" width="482" height="207" />
<p class="wp-caption-text">
貼上後按下 Enter
</p>
</div>
<p> </p>
<div style="width: 749px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/21.png" alt="" width="739" height="492" />
<p class="wp-caption-text">
完成囉!
</p>
</div>
<p> </p>
<h2 id="上傳檔案到-google-drive"><a href="https://becoder.org/vps-upload-google-drive/#上傳檔案到-google-drive" class="anchor-link" aria-label="上傳檔案到-google-drive"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/vps-upload-google-drive/#contents:上傳檔案到-google-drive" class="headings">上傳檔案到 Google Drive</a></h2>
<p>這裡我用 <a href="http://speed.hinet.net/httptest.htm" target="_blank" rel="noopener" target="_blank">Hinet 測速檔</a>作範例,使用 wget 指令將測速檔下載下來:</p>
<p> </p>
<div style="width: 685px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/22.png" alt="" width="675" height="300" />
<p class="wp-caption-text">
速度還可以
</p>
</div>
<p> </p>
<p>下載好就可以測試上傳了,請使用以下指令來上傳:</p>
<div style="width: 685px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/23.png" alt="" width="675" height="284" />
<p class="wp-caption-text">
每秒 15 MB的極速上傳
</p>
</div>
<p> </p>
<p>傳完打開Google Drive 應該就能看到結果了</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/vps-upload-google-drive/24.png" alt="" width="786" height="507" />
<p> </p>
<p>其他應用就靠各位自己發揮囉~!不建議安裝 BT 下載軟體在 VPS 中,因為這很可能會讓自己的 VPS 被停用,請小心使用,歡迎在下面留言討論。</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vps-upload-google-drive/" target="_blank" rel="noopener">https://becoder.org/vps-upload-google-drive/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[送修] 小米行動電源 5000 mAh 送修紀錄
https://becoder.org/xiaomi-5000-repair/
2022-07-08T21:38:16+08:00
2015-06-09T12:13:42+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>人稱機王的我這次要來送修的是小米行動電源,這幾天要充電的時候發現用了四個月的行動電源怪怪的:原本充紅米NOTE 4G的時候可以從 0 % 充到 100 % ,最近發現充飽只到 4X % ;上個星期把行動電源充飽後,放兩、三天沒用竟然只剩下一格,過了半個小時再打開來看變成三格,這詭異的情況讓我燃起送修的念頭。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xiaomi-5000-repair/" target="_blank" rel="noopener">https://becoder.org/xiaomi-5000-repair/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>人稱機王的我這次要來送修的是小米行動電源,這幾天要充電的時候發現用了四個月的行動電源怪怪的:原本充紅米NOTE 4G的時候可以從 0 % 充到 100 % ,最近發現充飽只到 4X % ;上個星期把行動電源充飽後,放兩、三天沒用竟然只剩下一格,過了半個小時再打開來看變成三格,這詭異的情況讓我燃起送修的念頭。</p>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/01.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
一開始剩下一格
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/02.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
又變成兩格
</p>
</div>
<p> </p>
<p>送修前上網查了一下送修需要攜帶什麼文件,一下子在 PTT 上面看到說以發票作購買證明,一下子在論壇上看到說只需要訂單號,保險起見直接問線上客服比較準 (一開始就該這麼做了XDD)。</p>
<p> </p>
<h2 id="線上客服"><a href="https://becoder.org/xiaomi-5000-repair/#線上客服" class="anchor-link" aria-label="線上客服"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-5000-repair/#contents:線上客服" class="headings">線上客服</a></h2>
<p>工作時間: 週一至週日 9:00 – 18:00<br>
網址:<a href="http://www.mi.com/tw/service/online/" target="_blank" rel="noopener" target="_blank"><a href="http://www.mi.com/tw/service/online/" target="_blank" rel="noopener">http://www.mi.com/tw/service/online/</a></a></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/11.png" alt="" width="315" height="200" />
<p>有事情找小米客服建議用線上客服,打電話只會多受氣而已,因為電話客服人員不是台灣人,在溝通上面可能會有點問題,而且還要多付電話費,直接用文字溝通比較沒有障礙。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/03.jpg" alt="" width="800" height="600" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/04.jpg" alt="" width="800" height="600" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/05.jpg" alt="" width="800" height="600" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/06.jpg" alt="" width="800" height="600" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/07.jpg" alt="" width="800" height="600" />
<p> </p>
<p>問完了XDD,只需要訂單編號就可以了,因為行動電源上面並沒有任何的編號,所以只能靠訂單編號來作為購買的依據~!</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/08.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
學測考完馬上下單的XD
</p>
</div>
<p> </p>
<p> </p>
<h2 id="送修行動電源"><a href="https://becoder.org/xiaomi-5000-repair/#送修行動電源" class="anchor-link" aria-label="送修行動電源"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-5000-repair/#contents:送修行動電源" class="headings">送修行動電源</a></h2>
<p><strong>名稱:震旦通訊 嘉義民族二店 嘉義維修中心</strong>**<br>
地址:60045 嘉義市西區民族路188號2樓<br>
電話:(05)227-0565<br>
營業時間:11:00~19:00 週一~週五**</p>
<p> </p>
<p> </p>
<p>剛剛看了一下 Google 地圖的地址有錯誤,應該是搬過家,最新的地址請去震旦 <a href="http://goo.gl/NhX86V" target="_blank" rel="noopener" target="_blank">查詢</a> 哦!然後,行動電源只能到維修中心送修,一般<span style="text-decoration: underline;"><strong>震旦門市是不代送的</strong></span>!嘉義的維修中心在店面的二樓,需要從左邊的鐵門進去XD,一樓只是銷售店面,二樓才是維修中心~!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/12.jpg" alt="" width="800" height="594" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/13.jpg" alt="" width="594" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/14.jpg" alt="" width="594" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/15.jpg" alt="" width="594" height="800" />
<p> </p>
<p>在櫃台坐一下跟櫃台人員說要送修行動電源,並且<span style="text-decoration: underline;"><strong>詳述問題</strong></span>就可以了,這樣工程師比較好找問題,<strong><span style="text-decoration: underline;">否則很可能會得到測試正常的答覆</span></strong>。</p>
<p>櫃台人員會跟你要 <strong>訂單號 <strong>,把從官網上面抄下來的號碼給櫃台人員就可以了~!如果需要測試的話需要留下行動電源,若是<span style="text-decoration: underline;"><strong>現場可以馬上看出問題在哪裡</strong></span>的話好像會</strong><span style="text-decoration: underline;">現場拿一顆新的行動電源給你</span></strong>,我則是需要測試所以需要留下電源,確認資料後會給一張 **服務單 ,**然後就可以回家啦!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/09.jpg" alt="" width="800" height="594" />
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/xiaomi-5000-repair/10.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
服務單~
</p>
</div>
<p> </p>
<p> </p>
<h2 id="取回行動電源"><a href="https://becoder.org/xiaomi-5000-repair/#取回行動電源" class="anchor-link" aria-label="取回行動電源"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-5000-repair/#contents:取回行動電源" class="headings">取回行動電源</a></h2>
<p>過一兩天測試後,就會接到維修中心的電話了,工程師會在電話中說明測試結果,我接到電話後跟我說測試正常,如果得到不滿意的答案建議直接跟工程師溝通,取回的時候需要記得帶著 <strong>服務單</strong> 唷~!祝各位送修順利~!!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xiaomi-5000-repair/" target="_blank" rel="noopener">https://becoder.org/xiaomi-5000-repair/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Android] 讓 Chrome 使用 Google DNS 伺服器上網
https://becoder.org/chrome-change-dns-data-saver/
2022-07-08T21:38:16+08:00
2015-06-04T13:10:49+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這幾天陸續把這個網站遷移至 DigitalOcean ,有個問題讓我困擾很久,那就是中華電信的 DNS 更新速度慢得讓人無法相信,只有靠 Google 才能解決了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/chrome-change-dns-data-saver/" target="_blank" rel="noopener">https://becoder.org/chrome-change-dns-data-saver/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這幾天陸續把這個網站遷移至 DigitalOcean ,有個問題讓我困擾很久,那就是中華電信的 DNS 更新速度慢得讓人無法相信,只有靠 Google 才能解決了。</p>
<p>修改 A 記錄已經將近一個星期了,使用 nslookup 指令去查中華電信的 DNS Server (168.95.1.1) 依舊會跳出舊的記錄。會特別去查是因為我使用手機 4G 連線之下瀏覽本站的時候會一直連到舊的網站,直覺就是 DNS 的問題。</p>
<p>因為 Android 手機修改 DNS 伺服器不容易 ( 不然誰想用中華的 DNS ),因為這樣還特別打電話去給中華電信客服,跟客服喇賽快半個小時,換了三個客服人員沒有一個人知道 DNS 是什麼,每換一個客服就要跟他們解釋一次什麼是 DNS ,( 還用電話教他們怎麼用nslookup… )。我只是想問問更新要多久而已啊…QAQ。</p>
<p>就在剛才想到了 Chrome 內建的 Data Saver 功能是用 Proxy達成的,既然是 Google 的 Proxy,那 DNS 應該就是用 Google的吧!!!測試了一下果然成功,心裡有個聲音告訴我一定要記錄下來XD。</p>
<h2 id="設定-chrome"><a href="https://becoder.org/chrome-change-dns-data-saver/#設定-chrome" class="anchor-link" aria-label="設定-chrome"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/chrome-change-dns-data-saver/#contents:設定-chrome" class="headings">設定 Chrome</a></h2>
<p>打開 Chrome 後,到設定找到 Data Saver 的選項:</p>
<div style="width: 370px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/chrome-change-dns-data-saver1/02.jpg" alt="" width="360" height="640" />
<p class="wp-caption-text">
設定
</p>
</div>
<p> </p>
<div style="width: 370px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/chrome-change-dns-data-saver1/03.jpg" alt="" width="360" height="640" />
<p class="wp-caption-text">
Data Saver
</p>
</div>
<p> </p>
<div style="width: 370px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/chrome-change-dns-data-saver1/04.jpg" alt="" width="360" height="640" />
<p class="wp-caption-text">
打開開關
</p>
</div>
<p> </p>
<div style="width: 370px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/chrome-change-dns-data-saver1/05.jpg" alt="" width="360" height="640" />
<p class="wp-caption-text">
啟用!!
</p>
</div>
<p> </p>
<div style="width: 370px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/06/chrome-change-dns-data-saver1/06.jpg" alt="" width="360" height="640" />
<p class="wp-caption-text">
重新整理,完成!
</p>
</div>
<p>如果幸運的話是每個人都會正常連線到新站的,運氣不好可能就需要這個方法了,最後還是希望中華電信趕快更新他家的 DNS 伺服器,不過就算更新了我也不會想要用的XDD,還是 Google比較值得信賴~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/chrome-change-dns-data-saver/" target="_blank" rel="noopener">https://becoder.org/chrome-change-dns-data-saver/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[Google] 直接在 Google Drive 中查詢檔案 MD5
https://becoder.org/google-drive-md5/
2022-07-08T21:38:16+08:00
2015-05-24T10:13:30+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>使用雲端軟體上傳完檔案時,難免會擔心檔案是否完全。使用 Google Drive 的同步軟體應該不用擔心壞檔,重要的檔案筆者還是會檢查一下 MD5 ,但要怎麼讓 Google 算檔案的 MD5 呢?其實只需要幾個步驟就可以了!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/google-drive-md5/" target="_blank" rel="noopener">https://becoder.org/google-drive-md5/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>使用雲端軟體上傳完檔案時,難免會擔心檔案是否完全。使用 Google Drive 的同步軟體應該不用擔心壞檔,重要的檔案筆者還是會檢查一下 MD5 ,但要怎麼讓 Google 算檔案的 MD5 呢?其實只需要幾個步驟就可以了!</p>
<p> </p>
<h2 id="在-google-drive-中查詢-md5"><a href="https://becoder.org/google-drive-md5/#在-google-drive-中查詢-md5" class="anchor-link" aria-label="在-google-drive-中查詢-md5"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/google-drive-md5/#contents:在-google-drive-中查詢-md5" class="headings">在 Google Drive 中查詢 MD5</a></h2>
<p> </p>
<p>一)首先進入 Google 的 <a href="https://developers.google.com/drive/v2/reference/files/list#try-it" target="_blank" rel="noopener" target="_blank">Drive REST API</a> 網頁,找到 <strong>Try it!</strong> 標題,點擊 <code>Authorize requests using OAuth 2.0</code> 旁邊的 <strong>OFF</strong>:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/google-drive-md5/01.png" alt="" width="825" height="202" />
<p> </p>
<p>二)取消勾選其他選項,只勾 <code>https://www.googleapis.com/auth/drive.metadata.readonly</code> 就好,並按下 <strong>Authorize</strong> :</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/google-drive-md5/02.png" alt="" width="564" height="362" />
<p> </p>
<p>三)出現授權視窗,按下 <strong>接受</strong> :</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/google-drive-md5/03.png" alt="" width="479" height="376" />
<p> </p>
<p>四)回到 <a href="https://developers.google.com/drive/v2/reference/files/list#try-it" target="_blank" rel="noopener" target="_blank">Drive REST API</a> 網頁,找到 <strong>fields</strong> 表格,在裡面填入 <code>items(md5Checksum,originalFilename)</code> 點擊 <strong>Execude</strong>:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/google-drive-md5/04.png" alt="" width="390" height="188" />
<p> </p>
<p>五)找到 <strong>Response</strong> 表格就可以看到結果囉! <code>originalFilename</code> 是上傳時檔案的名稱,如果曾經修改過檔案名稱,表格依舊會顯示修改前的名字;<code>md5Checksum</code> 就是我們要的 MD5 啦!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/google-drive-md5/05.png" alt="" width="495" height="363" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/google-drive-md5/" target="_blank" rel="noopener">https://becoder.org/google-drive-md5/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[開箱] 嘉義高中68屆畢業紀念背包
https://becoder.org/cysh-68-backpack/
2022-07-08T21:38:16+08:00
2015-05-20T16:40:48+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>6月將至,離畢業的日子越來越近,生活在嘉義高中的日子剩不到幾天。學校在畢業前夕都會送畢業生一個背包,每年的樣式都不同,今年的設計讓畢業生們都驚呆了!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cysh-68-backpack/" target="_blank" rel="noopener">https://becoder.org/cysh-68-backpack/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>6月將至,離畢業的日子越來越近,生活在嘉義高中的日子剩不到幾天。學校在畢業前夕都會送畢業生一個背包,每年的樣式都不同,今年的設計讓畢業生們都驚呆了!</p>
<p>包包用的是透明塑膠袋裝的,就不廢話直接上圖片啦~~~!</p>
<p> </p>
<h2 id="正面"><a href="https://becoder.org/cysh-68-backpack/#正面" class="anchor-link" aria-label="正面"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-68-backpack/#contents:正面" class="headings">正面</a></h2>
<p>霸氣嘉中制服褲的顏色讓你一眼就被看出是嘉中人!樸素的配色更顯沉著穩重,不會有屁孩潮包的感覺。<del>我的藍白拖入鏡了QAQQQ</del></p>
<div style="width: 3130px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/01.jpg" alt="" width="3120" height="4208" />
<p class="wp-caption-text">
正面
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/09.jpg" alt="" width="3120" height="4208" />
<h2 id="背面"><a href="https://becoder.org/cysh-68-backpack/#背面" class="anchor-link" aria-label="背面"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-68-backpack/#contents:背面" class="headings">背面</a></h2>
<p>背包背面<del>讓人一眼就看出他是背面!</del>背帶上面的黃色線條其實是「cysh」的濃縮,閃亮亮的金黃色配上黑色的肩帶有著強烈的對比,刺繡的意思不外乎就是想表達<del>恁北嘉中人辣!</del>我來自嘉中的意思。</p>
<div style="width: 3130px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/02.jpg" alt="" width="3120" height="4208" />
<p class="wp-caption-text">
背面
</p>
</div>
<p> </p>
<p>學校送的紀念背包<del>其實高一高二的時候繳過錢了</del>很有紀念意義,一輩子也只能拿到這一個來自嘉義高中的背包,好好珍惜自己的背包吧~!我們需要以「尊重、友善、包容」來欣賞每一件事物哦!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/04.jpg" alt="" width="300" height="300" />
<p> </p>
<p> </p>
<h2 id="畢冊封面"><a href="https://becoder.org/cysh-68-backpack/#畢冊封面" class="anchor-link" aria-label="畢冊封面"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-68-backpack/#contents:畢冊封面" class="headings">畢冊封面</a></h2>
<p>畢畢業紀念冊的封面是由高三學生投稿及票選出來的,背面則是Q版教官:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/03.jpg" alt="" width="807" height="1089" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/05.jpg" alt="" width="3120" height="4208" />
<p> </p>
<p>這個小本子「嘉中人進化論」則是放畢業證書用的,空白的地方可以簽名留念:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/06.jpg" alt="" width="3120" height="4208" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/07.jpg" alt="" width="3120" height="4208" />
<p> </p>
<p>紀念光碟筆者還沒開過裡面有什麼東西:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/cysh-68-backpack/08.jpg" alt="" width="4208" height="3120" />
<p> </p>
<p>開箱文又多了一篇XD,不過這次是畢業紀念品,和3C產品的開箱文差好多XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cysh-68-backpack/" target="_blank" rel="noopener">https://becoder.org/cysh-68-backpack/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[軟體] 解決 Xposed 綠色守護「 深度休眠 」導致 Evernote 閃退
https://becoder.org/xposed-greenify-evernote-crash/
2022-07-08T21:38:16+08:00
2015-05-20T01:21:26+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>前幾天遇到了 Evernote 閃退的問題,後來查了一下只找到前幾年的資料。後來想了想,在裝 Xposed 之前並不會這樣,在煩惱之際就在 <a href="https://www.ptt.cc/bbs/Android/M.1431614664.A.407.html" target="_blank">PTT</a> 看到解法啦!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xposed-greenify-evernote-crash/" target="_blank" rel="noopener">https://becoder.org/xposed-greenify-evernote-crash/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前幾天遇到了 Evernote 閃退的問題,後來查了一下只找到前幾年的資料。後來想了想,在裝 Xposed 之前並不會這樣,在煩惱之際就在 <a href="https://www.ptt.cc/bbs/Android/M.1431614664.A.407.html" target="_blank" rel="noopener" target="_blank">PTT</a> 看到解法啦!</p>
<p> </p>
<h2 id="深度休眠"><a href="https://becoder.org/xposed-greenify-evernote-crash/#深度休眠" class="anchor-link" aria-label="深度休眠"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xposed-greenify-evernote-crash/#contents:深度休眠" class="headings">深度休眠</a></h2>
<p>綠色守護付費<del>破解</del>版有一個「深度休眠 」的功能,如果是免費在 Google Play 下載的版本就不會有這個問題,只要取消勾選「深度休眠」就可以解決 Evernote 閃退的問題囉~!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/xposed-greenify-evernote-crash/01.png" alt="" width="720" height="1280" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xposed-greenify-evernote-crash/" target="_blank" rel="noopener">https://becoder.org/xposed-greenify-evernote-crash/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 如何在 WordPress 手機頁面加入 LINE 分享按鈕?
https://becoder.org/wordpress-line-share/
2022-07-08T21:38:16+08:00
2015-05-17T02:28:38+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>用手機瀏覽本站的網友可能會發現多了 LINE 分享按鈕,為了達成這個目標參考了一些方法,網路教學加入按鈕大部分都說加在手機板佈景,那RWD佈景要加在哪裡?其實RWD佈景只需要一點小技巧就能限定手機顯示分享按鈕了喔!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wordpress-line-share/" target="_blank" rel="noopener">https://becoder.org/wordpress-line-share/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>用手機瀏覽本站的網友可能會發現多了 LINE 分享按鈕,為了達成這個目標參考了一些方法,網路教學加入按鈕大部分都說加在手機板佈景,那RWD佈景要加在哪裡?其實RWD佈景只需要一點小技巧就能限定手機顯示分享按鈕了喔!</p>
<p> </p>
<h2 id="安裝外掛post-layout"><a href="https://becoder.org/wordpress-line-share/#安裝外掛post-layout" class="anchor-link" aria-label="安裝外掛post-layout"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wordpress-line-share/#contents:安裝外掛post-layout" class="headings">安裝外掛 Post Layout</a></h2>
<p>「Post Layout」這個外掛可以判斷使用者是用手機瀏覽或是電腦瀏覽,判斷裝置後再顯示特定裝置才有的程式碼,可以用來插入廣告,因為LINE分享按鈕是手機限定的,所以想要這個按鈕只在手機顯示就需要這個外掛的幫助!</p>
<p>首先到 WordPress 後台安裝外掛,尋找「Post Layout」後安裝並啟用外掛:</p>
<div style="width: 442px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/wordpress-line-share/00.png" alt="" width="432" height="457" />
<p class="wp-caption-text">
點選立即安裝
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/wordpress-line-share/01.png" alt="" width="480" height="244" />
<p class="wp-caption-text">
啟用外掛
</p>
</div>
<p> </p>
<p>這樣就完成外掛安裝的部份了~!</p>
<p> </p>
<p> </p>
<h2 id="line-分享按鈕程式碼"><a href="https://becoder.org/wordpress-line-share/#line-分享按鈕程式碼" class="anchor-link" aria-label="line-分享按鈕程式碼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wordpress-line-share/#contents:line-分享按鈕程式碼" class="headings">LINE 分享按鈕程式碼</a></h2>
<p>裝好外掛之後,再來需要的是 LINE 分享的程式碼,可以到<a href="http://media.line.me/howto/ja/" target="_blank" rel="noopener" target="_blank">官方教學</a>自行研究或是參考本站的用法:</p>
<p><code><p align=center><a href="http://line.naver.jp/R/msg/text/?<?php the_title(); ?>%20%0a<?php the_permalink(); ?>"><img src="圖片網址"></a></p></code></p>
<p>程式碼中圖片網址的圖片即是按鈕的形狀,可以自行取用 <a href="http://media.line.me/img/linebutton.zip" target="_blank" rel="noopener" target="_blank">LINE 官方提供的圖片</a>,或是自行製作有特色的按鈕,以下為筆者自製的按鈕版圖片,歡迎自行取用,但是請自行尋找圖床或是上傳到自己的主機:</p>
<img loading="lazy" class="alignnone" src="https://i.imgur.com/pbq49Tq.png" alt="" width="193" height="63" />
<p>筆者已經先將圖片上傳至Imgur了,可以直接套取用以下程式碼:</p>
<p><code><p align=center><a href="http://line.naver.jp/R/msg/text/?<?php the_title(); ?>%20%0a<?php the_permalink(); ?>"><img src="https://i.imgur.com/pbq49Tq.png"></a></p></code></p>
<p> </p>
<p> </p>
<h2 id="將代碼插入手機板頁面"><a href="https://becoder.org/wordpress-line-share/#將代碼插入手機板頁面" class="anchor-link" aria-label="將代碼插入手機板頁面"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wordpress-line-share/#contents:將代碼插入手機板頁面" class="headings">將代碼插入手機板頁面</a></h2>
<p>再來請到設定進入「Post Layout」設定頁面設定:</p>
<div style="width: 305px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/wordpress-line-share/02.png" alt="" width="295" height="313" />
<p class="wp-caption-text">
Post Layout
</p>
</div>
<p> </p>
<p>進入後,看到「Mobile configuration」點擊前面的小箭頭:</p>
<div style="width: 496px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/wordpress-line-share/03.png" alt="" width="486" height="268" />
<p class="wp-caption-text">
小箭頭
</p>
</div>
<p> </p>
<p>請將「Enable mobile user agents detection」打勾,並在<strong>Single post code blocks</strong>、<strong>Page code blocks</strong>中的「Code to add after the post content」加入程式碼,或是其他想顯示分享按鈕的地方加入程式碼,這樣就可以在文章及頁面顯示分享按鈕:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/wordpress-line-share/04.png" alt="" width="554" height="452" />
<p>加入以下程式碼(圖片建議自行上傳):</p>
<p><code><p align=center><a href="http://line.naver.jp/R/msg/text/?<?php the_title(); ?>%20%0a<?php the_permalink(); ?>"><img src="http://i.imgur.com/pbq49Tq.png"></a></p><br /> </code></p>
<p> </p>
<h2 id="hyper-cache-設定"><a href="https://becoder.org/wordpress-line-share/#hyper-cache-設定" class="anchor-link" aria-label="hyper-cache-設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wordpress-line-share/#contents:hyper-cache-設定" class="headings">Hyper Cache 設定</a></h2>
<p>如果沒有裝快取外掛可以跳過這一步,筆者習慣使用Hyper Cache這套快取外掛,如果是 WP Super Cache 的話設定步驟應該都大同小異;需要特別設定是因為安裝使用「Post Layout」插入程式碼後,RWD佈景電腦以及手機的顯示頁面就會不同,因此需要將「手機版網頁」及「電腦版網頁」分開快取,否則「電腦版網頁」可能會出現分享按鈕,或「手幾版網頁」卻沒有分享按鈕。</p>
<p>來到 Hyper Cache 設定頁面,進入「Mobile」分頁後,將 **Working mode **選項改為 **Cache Separately **後按下Save存檔,並點擊上方 <strong>Clean the whole cache</strong> 以重新產生快取:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/wordpress-line-share/05.png" alt="" width="628" height="524" />
<p> </p>
<p>用手機打開文章就可以看到效果囉!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/wordpress-line-share/06.png" alt="" width="360" height="640" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wordpress-line-share/" target="_blank" rel="noopener">https://becoder.org/wordpress-line-share/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[嘉義神腦維修中心] 紅米Note 4G接觸不良送修記錄
https://becoder.org/senao-redmi-note-4g-auto-reboot/
2022-07-08T21:38:16+08:00
2015-05-07T12:29:24+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近在使用紅米Note 4G的時候,發現稍有撞擊就會自行重新啟動,例如:手機放在桌上時的碰撞就會重新啟動…,難道我就擺脫不了機王的命運嗎QAQQ</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/senao-redmi-note-4g-auto-reboot/" target="_blank" rel="noopener">https://becoder.org/senao-redmi-note-4g-auto-reboot/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近在使用紅米Note 4G的時候,發現稍有撞擊就會自行重新啟動,例如:手機放在桌上時的碰撞就會重新啟動…,難道我就擺脫不了機王的命運嗎QAQQ</p>
<p>身為3C完美主義者,這已經可以讓我頭痛好幾天了,趁這幾天有時間就前往嘉義神腦維修中心送修囉,住學校其實還滿方便的,可以自行前往維修,不用再找神腦門市代送</p>
<h2 id="送修手機"><a href="https://becoder.org/senao-redmi-note-4g-auto-reboot/#送修手機" class="anchor-link" aria-label="送修手機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/senao-redmi-note-4g-auto-reboot/#contents:送修手機" class="headings">送修手機</a></h2>
<img class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/senao-redmi-note-4g-auto-reboot/01.jpg" alt="" />
<p><strong>名稱:神腦國際嘉義忠義客服中心<br>
地址:嘉義市西區忠義街12後(嘉女麥當勞旁邊的巷子進去)<br>
電話:05-2290052轉9 客服下班5:30後一樣會接電話<br>
營業時間:8:00~17:30 週一~週日全年無休</strong></p>
<p> </p>
<p>到那裡後~是一大片的停車場,似乎是嘉義市中華電信工程車的根據地<img class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/senao-redmi-note-4g-auto-reboot/06.jpg" alt="" /></p>
<p> </p>
<p>外表看起來很大,其實只有一小間的鐵門是開著的,其他好像是辦公室的樣子<img class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/senao-redmi-note-4g-auto-reboot/05.jpg" alt="" /><img class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/senao-redmi-note-4g-auto-reboot/04.jpg" alt="" /></p>
<p> </p>
<p>進去後先按左邊的機器領取號碼牌並等候叫號(好像郵局XD),跟櫃台說明問題後,會叫你在便條紙上面寫上姓名及電話,以便送修單印製並送修後會拿到一張單子,修復完成後會簡訊通知,取機時不要忘了帶這張:<img src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/senao-redmi-note-4g-auto-reboot/03.jpg" alt=""></p>
<p> </p>
<p>後來看了看發現注意事項上面竟然寫著 <strong>「故障品外殼是否有刮傷、脫漆? ■是 □否」</strong> 覺得有點傻眼,我的手機外面明明就沒有任何刮痕以及脫漆,雖然我有購買鈦金會員,不知道這樣寫是不是會造成使用者的損失呢?明天取回手機的時候去問看看好了~ 我是在今天下午4:30左右完成送修,但在5:40就簡訊通知我檢修完畢:<img class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/senao-redmi-note-4g-auto-reboot/02.jpg" alt="" /> 速度讓我有點嚇到,於是就打電話過去問了,客服說是清理電池接觸點,但是我覺得事情應該沒有那麼簡單,就等明天下午取回手機再作測試囉~</p>
<p> </p>
<h2 id="取回手機"><a href="https://becoder.org/senao-redmi-note-4g-auto-reboot/#取回手機" class="anchor-link" aria-label="取回手機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/senao-redmi-note-4g-auto-reboot/#contents:取回手機" class="headings">取回手機</a></h2>
<p>過了一天就去拿手機了~帶著單子去抽號碼牌局,拿到手機順便問了櫃台**「故障品外殼是否有刮傷、脫漆? ■是 □否」**的問題,他說是打單子的時候預設值忘記改了,還好不是什麼嚴重的情況,不過還是確認清楚以免權益受損。<img class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/senao-redmi-note-4g-auto-reboot/07.jpg" alt="" /></p>
<p>單子上面的時間真的不到一個小時就完成了XD後來測試了一下,目前是沒有出現重開機的問題,如果之後依舊出現的話就必須再跑一趟嚕! 送修手機是消費者應有的權利,不要因為麻煩而懶得去,因為買手機的時候代表已經買了售後服務,為了讓手機的CP值達到最高,在保固期內有問題就盡量送修吧,不要讓自身的權益睡著了~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/senao-redmi-note-4g-auto-reboot/" target="_blank" rel="noopener">https://becoder.org/senao-redmi-note-4g-auto-reboot/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Google PageSpeed 將在8/3停止服務,4年半的 Google 免費 CDN 即將終止
https://becoder.org/google-pagespeed-turned-off/
2022-07-08T21:38:16+08:00
2015-05-06T17:25:43+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在睡覺前收到了一份令人震驚的Email,Google即將停止旗下 PageSpeed CDN服務!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/google-pagespeed-turned-off/" target="_blank" rel="noopener">https://becoder.org/google-pagespeed-turned-off/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在睡覺前收到了一份令人震驚的Email,Google即將停止旗下 PageSpeed CDN服務!</p>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/google-pagespeed-turned-off/01.png" alt="" width="540" height="960" />
<p class="wp-caption-text">
PageSpeed 公告
</p>
</div>
<p> </p>
<p> </p>
<p>「<strong>Announcing the Turn Down of PageSpeed Service</strong>」</p>
<p>全文:</p>
<blockquote>
<p><em><strong>On July 28, 2011 we announced PageSpeed Service, an online service to automatically speed up web pages. In the last 4½ years, PSS has delivered millions of pages for thousands of sites, all for free. While a number of sites continue to enjoy the benefits of PageSpeed Service, we see much broader adoption of PageSpeed technology through our open-source products and have therefore decided to focus our efforts on improving those.</strong></em> _ <strong>Today we are announcing that PageSpeed Service will be turned off on 3rd August 2015. Users must change their DNS to point away from the service by this time, or their sites will cease to function. We have created a migration page that includes assistance for changing DNS as well as information on other ways PageSpeed technology can be employed on websites. Please see <a href="https://developers.google.com/speed/pagespeed/service/Deprecation" target="_blank" rel="noopener">https://developers.google.com/speed/pagespeed/service/Deprecation</a>.</strong>_ <em><strong>At the same time we are also announcing the deprecation of PageSpeed integration with Google App Engine. If you are using PageSpeed integration on Google App Engine, it will continue to function until 1st December 2015, after which PageSpeed optimizations will no-longer be applied to your app. No action is required on the part of App Engine users; after this date apps will continue to operate, except without the benefit of the PageSpeed optimisations. Users that wish to pre-emptively disable PageSpeed can follow the instructions at <a href="https://cloud.google.com/appengine/docs/adminconsole/pagespeed#disabling-pagespeed" target="_blank" rel="noopener">https://cloud.google.com/appengine/docs/adminconsole/pagespeed#disabling-pagespeed</a>.</strong></em> <em><strong>The open source PageSpeed server modules mod_pagespeed and ngx_pagespeed and the PageSpeed Optimization Libraries are unaffected by this announcement and development on these will continue.</strong></em> <em><strong>The PageSpeed team.</strong></em> <em><strong>Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043</strong></em> <em><strong>You have received this mandatory service announcement to update you about important changes to Google PageSpeed Service or your account.</strong></em></p></blockquote>
<p> </p>
<p>信件的意思就是~ Google PageSpeed不玩了,請趕快更改DNS記錄以免到時候網站進不去。</p>
<p>繼 <strong>Google Reader</strong> 又一項眾多用戶的服務關閉,Google PageSpeed 曾經是許多免空玩家首選的免費 CDN 服務,因為有了 Google 加持,再怎麼廢的免費主機只要套上 PageSpeed ,彷彿成了放在 Google 機房的高級主機,速度更是不用說。</p>
<p>這次因關閉 PageSpeed 而受影響的用戶應該不少,沒有收入的服務總是活得不久,就連 Google 的服務也是如此,也許下一個關服務的就是 <strong>Blogger 了</strong>,任何事情都是有可能的,趕快奔向 WordPress 的懷抱吧XDD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/google-pagespeed-turned-off/" target="_blank" rel="noopener">https://becoder.org/google-pagespeed-turned-off/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[廢文] 推坑 WordPress ,中央大學高材生 SuBow 的個人網站
https://becoder.org/wordpress-subowxd/
2022-07-08T21:38:16+08:00
2015-05-06T16:16:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>雖然筆者身處指考的水深火熱之中,但若同學有電腦相關問題還是很樂意解答的,特別是推坑 WordPress 這件事。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wordpress-subowxd/" target="_blank" rel="noopener">https://becoder.org/wordpress-subowxd/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>雖然筆者身處指考的水深火熱之中,但若同學有電腦相關問題還是很樂意解答的,特別是推坑 WordPress 這件事。</p>
<p>架設一個專屬的 WordPress 很簡單,但是入門就需要一點時間磨練了,安裝外掛、修改佈景、設定網址、找圖床…等,都不是輕鬆的事情,一開始覺得很困難,想放棄是初學者常常內心出現的OS,初學者一點一滴累積實作經驗,會漸漸出現自己的一套做法,久而久之就成為令人敬佩架站好手啦。</p>
<h2 id="網站介紹"><a href="https://becoder.org/wordpress-subowxd/#網站介紹" class="anchor-link" aria-label="網站介紹"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wordpress-subowxd/#contents:網站介紹" class="headings">網站介紹</a></h2>
<p>介紹個新網站:「<a href="http://subow.becoder.org" target="_blank" rel="noopener" target="_blank" rel="noopener">SuBow的窩</a>」,乃是我們班上<strong>嘉中強者中央資管躺著上之 SuBow</strong> 的個人網站,聽說未來會出現很多蘋果電腦的文&在中央電同學的故事,連我也不禁期待了一下。</p>
<p>一開始是希望他可以自己看筆者的文章一步一步操作,看在超級初學者的份上就幫他遠端了,叫一個沒摸過 Linux 、沒架過網站的人用 PaaS 其實還滿殘忍的XDDD</p>
<p>那就一起期待 Subow的窩 裡面會有什麼新內容囉~XDD說不定會踩到什麼也說不定XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wordpress-subowxd/" target="_blank" rel="noopener">https://becoder.org/wordpress-subowxd/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 如何把 Blogger 網域轉址到 WordPress 或任意連結?
https://becoder.org/blogger-blogspot-redirect-to-any-link/
2022-07-08T21:38:16+08:00
2015-05-02T08:58:06+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Blogger 是本站的發源地,雖然到現在已經搬家很久了,但還是可以看到一些流量來源是從舊站來的,當時是使用每篇文章都作meta轉跳,後來發現效果不是很好,就把腦筋動到「範本」的html了。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/blogger-blogspot-redirect-to-any-link/" target="_blank" rel="noopener">https://becoder.org/blogger-blogspot-redirect-to-any-link/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Blogger 是本站的發源地,雖然到現在已經搬家很久了,但還是可以看到一些流量來源是從舊站來的,當時是使用每篇文章都作meta轉跳,後來發現效果不是很好,就把腦筋動到「範本」的html了。</p>
<p> </p>
<h2 id="修改範本"><a href="https://becoder.org/blogger-blogspot-redirect-to-any-link/#修改範本" class="anchor-link" aria-label="修改範本"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/blogger-blogspot-redirect-to-any-link/#contents:修改範本" class="headings">修改範本</a></h2>
<p> </p>
<div style="width: 789px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/05/blogger-blogspot-redirect-to-any-link/01.png" alt="" width="779" height="481" />
<p class="wp-caption-text">
範本 html
</p>
</div>
<p>原本的程式碼有一大串,到了搬家後要轉址的時候,這些東西已經沒有什麼作用了,在Blogger上能用的轉址應該就只有meta了,很簡單的html轉:</p>
<pre><meta content='0; url=http://目標連結/' http-equiv='refresh'/></pre>
<p> </p>
<p>簡單歸間單,要把他塞進範本裡面可不只有這樣,Blogger範本的規定挺嚴格的,單純的html程式碼是不允許的,需要有一些範本的基本架構才能順利過關,如下表格:</p>
<pre><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<b:section id='0'/>
<head><b:skin><![CDATA[]]></b:skin>
<title>我是標題</title>
</head>
<body>
</body>
</html></pre>
<p>有這些程式碼就可以了過關了,不過這樣的話進入Blogger網址絕對是一片空,什麼都沒有的純白世界XD,別忘了重頭戲,<strong>HTML轉址</strong></p>
<p> </p>
<h2 id="置入轉址程式碼"><a href="https://becoder.org/blogger-blogspot-redirect-to-any-link/#置入轉址程式碼" class="anchor-link" aria-label="置入轉址程式碼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/blogger-blogspot-redirect-to-any-link/#contents:置入轉址程式碼" class="headings">置入轉址程式碼</a></h2>
<p>改好基本架構之後~再把轉址code塞進</head>之前就可以囉~</p>
<p> </p>
<pre><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<b:section id='0'/>
<head><b:skin><![CDATA[]]></b:skin>
<title>我是標題</title>
<span style="color: #ff0000;"> <meta content='0; url=http://目標連結/' http-equiv='refresh'/>
</span> </head>
<body>
</body>
</html></pre>
<p> </p>
<p>可以測試看看這個連結是不是真的會轉到關於本站吧~<br>
<a href="http://fuyuanli.blogspot.com/" target="_blank" rel="noopener">http://fuyuanli.blogspot.com/</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/blogger-blogspot-redirect-to-any-link/" target="_blank" rel="noopener">https://becoder.org/blogger-blogspot-redirect-to-any-link/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[公告] 本站網域改為 「samantw.com」
https://becoder.org/samantw-com/
2022-07-08T21:38:16+08:00
2015-04-25T09:00:17+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>終於換網址了~!其實很久以前就想做這件事情了XD 兩年前買了.tw之後,發現.tw網域真的是有點貴,既然功能都一樣幹嘛不買便宜一點的呢?</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/samantw-com/" target="_blank" rel="noopener">https://becoder.org/samantw-com/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>終於換網址了~!其實很久以前就想做這件事情了XD 兩年前買了.tw之後,發現.tw網域真的是有點貴,既然功能都一樣幹嘛不買便宜一點的呢?</p>
<p>這個想法在我腦裡繞了好久,然而,又因為高中生涯快要結束了,就決定換比較有意義一點的網址:samantw.com</p>
<p> </p>
<h2 id="samantwcom"><a href="https://becoder.org/samantw-com/#samantwcom" class="anchor-link" aria-label="samantwcom"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/samantw-com/#contents:samantwcom" class="headings">samantw.com</a></h2>
<p>換成這個網址的意義跟我們學校還蠻有關的,最能代表嘉義高中的東西有什麼?是BRUSH嗎<del>應該買的</del>?還是大笨鳥?這些都不夠,最能代表我們學校的東西那就是雨豆樹啦!</p>
<p>同學建議我,因為嘉中的雨豆樹還蠻有代表性的,中庭滿滿的雨豆樹</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/04/samantw.com/saman.jpg" alt="" width="1024" height="760" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/04/samantw.com/saman2.jpg" alt="" width="1024" height="760" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/04/samantw.com/saman3.jpg" alt="" width="1024" height="760" />
<p>雨豆樹的學名是 <strong>_<a href="http://zh.m.wikipedia.org/zh-tw/雨豆樹" target="_blank" rel="noopener" target="_blank">Samanea Saman</a> _</strong>,那就取Saman了~可是Saman.com早就被註走了,那就加個tw好了XDDD,samantw.com就出生啦~!</p>
<p>舊網域應該還會再續約一年以作轉址緩衝時間~各位記得使用新網域來瀏覽本站哦~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/samantw-com/" target="_blank" rel="noopener">https://becoder.org/samantw-com/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 將系統打包為「.tgz」,分享、備份都方便
https://becoder.org/nextvod-backup-system-tgz/
2022-07-08T21:38:16+08:00
2015-04-19T07:28:35+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p><code>.tgz</code>,是一個Linux常用的壓縮格式(就像Windows常用的RAR), 網樂通 的開發者、整合系統軟體的玩家,常常用這個格式的檔案來提供使用者安裝系統。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-backup-system-tgz/" target="_blank" rel="noopener">https://becoder.org/nextvod-backup-system-tgz/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p><code>.tgz</code>,是一個Linux常用的壓縮格式(就像Windows常用的RAR), 網樂通 的開發者、整合系統軟體的玩家,常常用這個格式的檔案來提供使用者安裝系統。</p>
<h2 id="網樂通使用sh4twbox092開機碟開機"><a href="https://becoder.org/nextvod-backup-system-tgz/#網樂通使用sh4twbox092開機碟開機" class="anchor-link" aria-label="網樂通使用sh4twbox092開機碟開機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-backup-system-tgz/#contents:網樂通使用sh4twbox092開機碟開機" class="headings">網樂通使用sh4twbox0.9.2開機碟開機</a></h2>
<p>為何要再使用開機碟開機呢?不能直接在現有的系統做嗎?因為當網樂通裝好軟體的時候,無法完全確定是否所有的軟體都已經關閉,有太多的程式正在運作,為了確保檔案完全,關機後再進行打包動作是最安全的作法。 使用開機碟完成開機以後使用<code>telnet</code>進入往樂通,進行以下步驟:</p>
<p> </p>
<h3 id="掛載隨身碟"><a href="https://becoder.org/nextvod-backup-system-tgz/#掛載隨身碟" class="anchor-link" aria-label="掛載隨身碟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-backup-system-tgz/#contents:掛載隨身碟" class="headings">掛載隨身碟</a></h3>
<p> </p>
<p><code>root@sh4twbox~# <span style="color: #ff0000;">mkdir USB</span> #建立名為USB的資料夾<br /> root@sh4twbox~# <span style="color: #ff0000;">mount /dev/sdb1 /root/USB</span> 將隨身碟掛載到USB資料夾</code> 為什麼要掛載呢?這是因為sh4twbox0.9.2開機碟是Ramdisk系統,運行於網樂通記憶體內,類似PE、Ubuntu Live DVD,重開機之後所有的資料都會消失,所有改變只會保存於外接的儲存裝置,為了有地方可以儲存等等要備份的”.tgz”檔,所以需要如此的動作。</p>
<p> </p>
<h3 id="掛載sda2rootfs位置"><a href="https://becoder.org/nextvod-backup-system-tgz/#掛載sda2rootfs位置" class="anchor-link" aria-label="掛載sda2rootfs位置"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-backup-system-tgz/#contents:掛載sda2rootfs位置" class="headings">掛載sda2(rootfs位置)</a></h3>
<p><code>root@sh4twbox~# <span style="color: #ff0000;">mkdir /mnt_system</span> #如果/mnt_system存在可以略過這個步驟<br /> root@sh4twbox~# <span style="color: #ff0000;">mount /dev/sda2 /mnt_system<br /> </span>root@sh4twbox~# <span style="color: #ff0000;">cd /mnt_system</span><br /> root@sh4twbox:/mnt_system# <span style="color: #ff0000;">rm -rf etc/udev/rules.d/70-persistent-net.rules</span> #刪除此檔以免mac位址不同導致網路無法使用<br /> root@sh4twbox:/mnt_system# <span style="color: #ff0000;">cd ~ </span></code></p>
<p>sh4twbox的安裝腳本內,會將 <code>mnt_system</code> 資料夾內的檔案移動到 <code>sda2</code>,因此需要在根目錄建立 <code>/mnt_system</code> 資料夾,以便掛載存有 <strong>rootfs(Root File System)</strong> 的 sda2 ,如果將 <code>mnt_system</code> 建在家目錄的話,打包出來的檔案會有三層資料夾:<code>root/mnt_system/</code>這是因為打包tgz會把真實路徑都包進去。</p>
<p><code>/etc/udev/rules.d/70-persistent-net.rules</code> 內有網樂通網卡的mac位置,當機器沒有這個檔案的時候開機會自動產生,但如果裡面mac位址和機器不同的話就會抓不到網卡,所以要刪掉讓它在新機器開機後自動重新產生。</p>
<p> </p>
<h3 id="掛載sda1kernel位置"><a href="https://becoder.org/nextvod-backup-system-tgz/#掛載sda1kernel位置" class="anchor-link" aria-label="掛載sda1kernel位置"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-backup-system-tgz/#contents:掛載sda1kernel位置" class="headings">掛載sda1(Kernel位置)</a></h3>
<p><code>root@sh4twbox~# <span style="color: #ff0000;">mkdir sda1</span> #建立sda1資料夾<br /> root@sh4twbox~# <span style="color: #ff0000;">mount /dev/sda1 /root/sda1</span> #掛載<br /> root@sh4twbox~# <span style="color: #ff0000;">cp /root/sda1/* /mnt_system/boot/</span> #複製kernel以及uboot.sh至/mnt_system/boot/<br /> root@sh4twbox~# <span style="color: #ff0000;">tar cvzf /root/USB/target.tgz /mnt_system</span> #將/mnt_system打包成target.tgz後儲存於外接USB,因為網樂通CPU不夠力所以可能要等上30分鐘</code></p>
<p>sh4twbox安裝腳本的最後步驟即是移動 <code>/boot/</code> 資料夾內的Kernel 到 <code>sda1</code>,因為 sh4twbox0.9.2 的 uboot 不支援系統 Kerbel 從 ext4 格式開機,所以需要移動Kernel到FAT格式的 <code>sda1</code> 讓 uboot 讀取 Kernel 後開機。</p>
<p> </p>
<h3 id="最後步驟"><a href="https://becoder.org/nextvod-backup-system-tgz/#最後步驟" class="anchor-link" aria-label="最後步驟"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-backup-system-tgz/#contents:最後步驟" class="headings">最後步驟</a></h3>
<p><code>root@sh4twbox~# <span style="color: #ff0000;">sync</span> #確保資料寫入磁碟<br /> root@sh4twbox~# <span style="color: #ff0000;">poweroff</span> #關機</code></p>
<p>關機之後,拔掉隨身碟後插入電腦就可以看到備份好的target.tgz了,可以使用sh4twbox0.9.2開機碟p2選項進行測試安裝~</p>
<p><em><code>參考文章:https://code.google.com/p/sh4twbox/wiki/BackupSda2</code></em></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-backup-system-tgz/" target="_blank" rel="noopener">https://becoder.org/nextvod-backup-system-tgz/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 編譯 cifs-utils ,讓網樂通掛載 Samba 伺服器
https://becoder.org/nextvod-compile-cifs-utils-mount-samba/
2022-07-08T21:38:16+08:00
2015-04-17T13:55:33+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>近日有網友請教筆者要如何解決網樂通掛載外部 Samba 伺服器失敗的問題,那就寫篇文章記錄一下解決方法。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-compile-cifs-utils-mount-samba/" target="_blank" rel="noopener">https://becoder.org/nextvod-compile-cifs-utils-mount-samba/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>近日有網友請教筆者要如何解決網樂通掛載外部 Samba 伺服器失敗的問題,那就寫篇文章記錄一下解決方法。</p>
<p> </p>
<p>更新:感謝<a href="https://www.facebook.com/tw.sean?fref=ufi" target="_blank" rel="noopener">Sean Lin</a> 提供:其實 apt-get install smbclient 就可以用了</p>
<p>掛載會失敗的原因是因為網樂通缺少<code>cifs-utils</code>套件,使用<code>apt-get install cifs-utils</code>卻找不到這個套件。當套件庫找不到該套件的時候,就需要自己編譯啦!</p>
<p> </p>
<p> </p>
<h2 id="編譯cifs-utils"><a href="https://becoder.org/nextvod-compile-cifs-utils-mount-samba/#編譯cifs-utils" class="anchor-link" aria-label="編譯cifs-utils"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-compile-cifs-utils-mount-samba/#contents:編譯cifs-utils" class="headings">編譯cifs-utils</a></h2>
<p>編譯套件的首要步驟即是下載原始碼(廢話)後編譯,然而編譯 cifs-utils 相當簡單,在網樂通上面照著以下五個步驟執行就可以了</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cd ~</span> #進入家目錄<br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">wget https://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-6.4.tar.bz2</span> #下載 cifs-utils 原始碼<br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">tar jxvf cifs-utils-6.4.tar.bz2</span> #解壓縮<br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cd cifs-utils-6.4</span> #進入原始碼目錄<br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">./configure --prefix=/usr \</span><br /> <span style="color: #ff0000;"> --disable-pam \</span><br /> <span style="color: #ff0000;"> --disable-systemd &&</span><br /> <span style="color: #ff0000;"> make</span> #產生設定參數&編譯<br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">make install</span> #安裝</code></p>
<p> </p>
<p> </p>
<p>完成後,即可使用<br>
<code>mount -t cifs //IP/資料夾 /資料夾<br /> </code><br>
掛載囉</p>
<div style="width: 730px" class="wp-caption aligncenter">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/04/nextvod-compile-cifs-utils-mount-samba/00.png" alt="" width="720" height="1280" />
<p class="wp-caption-text">
掛載成功
</p>
</div>
<p>檔案下載:<a href="https://download.becoder.org/nextvod-mount-cifs/" target="_blank" rel="noopener" target="_blank">下載連結</a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-compile-cifs-utils-mount-samba/" target="_blank" rel="noopener">https://becoder.org/nextvod-compile-cifs-utils-mount-samba/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 非固定制Ping Cloudflare速度也太慢了,中華電信發生了什麼問題!?
https://becoder.org/ping-high-cloudflare-jt-jp-gw-hinet-net/
2022-07-08T21:38:16+08:00
2015-04-12T03:29:51+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這幾些日子大家都在準備備審以及面試,我就只能和幾位指考戰士窩在一塊…指考心得文就等考完以後看心情再寫惹,有點悶就決定上來寫個最近發生的事情…</p>
<p>有一天…</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ping-high-cloudflare-jt-jp-gw-hinet-net/" target="_blank" rel="noopener">https://becoder.org/ping-high-cloudflare-jt-jp-gw-hinet-net/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這幾些日子大家都在準備備審以及面試,我就只能和幾位指考戰士窩在一塊…指考心得文就等考完以後看心情再寫惹,有點悶就決定上來寫個最近發生的事情…</p>
<p>有一天…</p>
<p><del>丁丁走在路上被打了一拳就變成ㄎㄎㄎㄎ(不</del></p>
<p> </p>
<p>突然想到來Ping看看自己年久失修的網站好了,有CloudFlare的加持應該滿快的,後來才發現Ping竟然飆到400~500ms..</p>
<div style="width: 575px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/04/ping-high-cloudflare-jt-jp-gw-hinet-net/00.png" alt="" width="565" height="246" />
<p class="wp-caption-text">
太高了吧..
</p>
</div>
<p> </p>
<p>靠,太神啦,這一定不正常,就用<code>traceroute</code>指令來查看看節點之中到底發生了什麼事情..</p>
<p>後來發現了一個驚人的事實…!!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/04/ping-high-cloudflare-jt-jp-gw-hinet-net/01.png" alt="" width="690" height="246" />
<p> </p>
<p> </p>
<p><code>6 r11-hk.hinet.net (220.128.3.61) 38.185 ms 40.156 ms 40.195 ms<br /> 7 <span style="color: #ff0000;">jt-jp-gw.hinet.net</span> (211.22.33.53) <span style="color: #ff0000;">492.446 ms 492.816 ms 491.708 ms</span></code></p>
<p> </p>
<p>從有用CloudFlare到現在,第一次Ping出來這麼慢,<code>jt-jp-gw.hinet.net</code>主機究竟是何方神聖?問了一下Google大神之後,查到一篇M01的文章[<a href="http://www.mobile01.com//topicdetail.php?f=507&t=4267913&p=1" target="_blank" rel="noopener" target="_blank">Hinet 香港連接到日本ping爆掉啦</a>],拜讀神人們的文章後才了解那好像是中華電信放在香港要接往日本的節點?這部份我也不太了解,這是因為CloudFlare在台灣沒有設立CDN的點,所以才需要連到國外使用外國的CDN主機提供CDN服務。</p>
<p> </p>
<p>文章中提到,使用<strong>固定制</strong>IP即可解決這個問題,有固定制那應該就會有非固定制,什麼事<strong>固定制/非固定制</strong>呢?非固定制其實就是俗稱的<strong>浮動IP</strong>,固定制就是<strong>固定IP</strong>囉!</p>
<p> </p>
<p>固定制IP是中華電信提供給特殊需求用戶使用的,例如:自行架站就是需要一個固定的IP,這樣才能讓瀏覽器知道現在要瀏覽的是哪部主機裡面的網站;雖然現在有類似NO-IP的DDNS服務可以使用,但是固定制還是相對穩定,因為是提供給用戶架站專用的,所以可能會有比較良好的連線品質,申請固定制可以參考<a href="http://service.hinet.net/2004/adslstaticip.php" target="_blank" rel="noopener" target="_blank">這個網頁</a>。</p>
<p> </p>
<p>然而,固定制在國中國小時老早就申請起來玩了,申請完成之後通常會馬上生性,連線的時候只需要把<code>@hinet.net</code>改成@<code>ip.hinet.net</code>後連線就是固定制了,改為固定制後,再去Ping一次,有著驚人的差別:</p>
<div style="width: 581px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/04/ping-high-cloudflare-jt-jp-gw-hinet-net/02.png" alt="" width="571" height="246" />
<p class="wp-caption-text">
差了約15倍
</p>
</div>
<p> </p>
<p>固定制/非固定制相差竟然高達約15倍,這真的差很多,不知道中華電信固定制/非固定制為何會有如此大的差距,也曾經聽說過用固定制抓百度雲可以滿速,固定制真的有這麼神嗎!?!?</p>
<p>後來又連回非固定制再Ping一次,有正常了一些,但卻沒有固定制那麼快,在170ms左右,還算可以接受QAQ</p>
<div style="width: 579px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2015/04/ping-high-cloudflare-jt-jp-gw-hinet-net/03.png" alt="" width="569" height="246" />
<p class="wp-caption-text">
還算可接受範圍
</p>
</div>
<p> </p>
<p>總之,希望中華電信可以讓非固定制Ping使用CloudFlare的主機可以快一點,不然只有我改固定制的話,其他讀者瀏覽網站可能是在5XXms~170ms之間飄動…QAQQ<del>人體感受不到這些延遲吧XDDDD</del></p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ping-high-cloudflare-jt-jp-gw-hinet-net/" target="_blank" rel="noopener">https://becoder.org/ping-high-cloudflare-jt-jp-gw-hinet-net/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] Cloudflare 快取設定,避免 WordPress 的「wp-admin/」被快取而造成資安漏洞!
https://becoder.org/cloudflare-cache-bypass-wordpress/
2022-07-08T21:38:16+08:00
2015-02-24T14:57:01+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>就在昨天~分享上一篇文章的時候,小站竟然被<a href="http://blog.flyx.tw/" target="_blank">花花</a>挖到漏洞,不用帳號密碼直接進去後台…</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cloudflare-cache-bypass-wordpress/" target="_blank" rel="noopener">https://becoder.org/cloudflare-cache-bypass-wordpress/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>就在昨天~分享上一篇文章的時候,小站竟然被<a href="http://blog.flyx.tw/" target="_blank" rel="noopener" target="_blank">花花</a>挖到漏洞,不用帳號密碼直接進去後台…</p>
<p>真不愧是</p>
<p><a href="http://blog.flyx.tw/" target="_blank" rel="noopener" target="_blank"><del>黑客</del>花花</a>QAQ</p>
<p>這個問題真的非常危險,因為其他人可以直接看到管理帳號,以及裝了哪些外掛…等。後來直覺是快取的問題~把後台的快取外掛全部停用並清空快取資料夾,結果還是一樣可以任意檢視,搞了好久才發現是 Cloudflare Cache 的問題,去 <a href="https://www.cloudflare.com" target="_blank" rel="noopener" target="_blank">Cloudflare</a> 清快取後就正常了~</p>
<p>但這並非完美解決之道,一旦後台使用次數變頻繁,這個問題就會再度浮現。其實 Cloudflare 有提供額外的路徑設定,可以指定那些路徑使用哪些設定,這個功能就叫做 <strong>Page rules。</strong></p>
<p> </p>
<h2 id="新增個別設定"><a href="https://becoder.org/cloudflare-cache-bypass-wordpress/#新增個別設定" class="anchor-link" aria-label="新增個別設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cloudflare-cache-bypass-wordpress/#contents:新增個別設定" class="headings">新增個別設定</a></h2>
<p><strong>Page rules</strong> 設定在新版控制界面登入後的最上面:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/cloudflare-cache-bypass-wordpress/01-1.png" alt="" width="722" height="103" />
<p> </p>
<p>點進去以後可以看到 <strong>Add new rule</strong> ,這就是指定網頁路徑的地方,填入 <code>http://domain/wp-*</code> 並且將 <strong>Custom caching</strong> 設為 <code>Bypass cache</code> 後 <strong>Add rule</strong>。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/cloudflare-cache-bypass-wordpress/02-1.png" alt="" width="691" height="382" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/cloudflare-cache-bypass-wordpress/03-1.png" alt="" width="283" height="177" />
<p>如此一來,這些路徑就不會被 Cloudflare 給快取了,其他人就不會看到管理頁面了。</p>
<p> </p>
<h2 id="快取整個網站"><a href="https://becoder.org/cloudflare-cache-bypass-wordpress/#快取整個網站" class="anchor-link" aria-label="快取整個網站"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cloudflare-cache-bypass-wordpress/#contents:快取整個網站" class="headings">快取整個網站</a></h2>
<p>設定例外的網址後,就可以設定快取整個網站了!這麼做的好處很多,一來可以加快瀏覽速度,也可以節省網站的流量,等於就是把檔案放在 CloudFlare 主機,速度很快很快。優點很多但也是有缺點,編輯過任何東西後需要到 CloudFlare 清除快取,不然更新完文章,瀏覽到的東西依舊會是更新前的舊內容,不過這可以靠 <a href="https://wordpress.org/plugins/sunny/" target="_blank" rel="noopener" target="_blank">Sunny</a> 外掛來達成自動清除快取的功能,基本上是沒有影響XD</p>
<div style="width: 735px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/cloudflare-cache-bypass-wordpress/05.png" alt="" width="725" height="459" />
<p class="wp-caption-text">
Cache everything
</p>
</div>
<p> </p>
<p>此時此刻,WordPress 已經又快又安全囉!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/cloudflare-cache-bypass-wordpress/04.png" alt="" width="705" height="138" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cloudflare-cache-bypass-wordpress/" target="_blank" rel="noopener">https://becoder.org/cloudflare-cache-bypass-wordpress/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[系統] Windows 10 測試人員預覽 10162 繁體中文版下載(MEGA空間、Google Drive)
https://becoder.org/windows-10-technical-preview-zh-tw-9926-mega/
2022-07-08T21:38:16+08:00
2015-02-23T08:56:20+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Windows 10 Insider Preview 是微軟提供給大家試用新版Windows 10系統的免費版本,將持續更新,以下皆為官方原版檔案,絕無修改,請安心下載!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows-10-technical-preview-zh-tw-9926-mega/" target="_blank" rel="noopener">https://becoder.org/windows-10-technical-preview-zh-tw-9926-mega/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Windows 10 Insider Preview 是微軟提供給大家試用新版Windows 10系統的免費版本,將持續更新,以下皆為官方原版檔案,絕無修改,請安心下載!</p>
<p><span style="color: #ff0000;">此版本並非7/29正式版,剛剛發現很多人在看這篇文章<br /> 正式版請去友站下載:</span><a href="https://45so.org/win10-iso.45so" target="_blank" rel="noopener" target="_blank">Windows 10 台灣繁體正式版 ISO 下載 (官方/Google載點)</a></p>
<p> </p>
<h2 id="檔案下載"><a href="https://becoder.org/windows-10-technical-preview-zh-tw-9926-mega/#檔案下載" class="anchor-link" aria-label="檔案下載"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/windows-10-technical-preview-zh-tw-9926-mega/#contents:檔案下載" class="headings">檔案下載</a></h2>
<p><a href="http://becoder.org/wp-content/uploads/2015/02/8867.Microsoft_5F00_Logo_2D00_for_2D00_screen.jpg" target="_blank" rel="noopener"><img loading="lazy" class="alignnone wp-image-1361" src="http://becoder.org/wp-content/uploads/2015/02/8867.Microsoft_5F00_Logo_2D00_for_2D00_screen-300x110.jpg" alt="" width="458" height="168" srcset="https://becoder.org/wp-content/uploads/2015/02/8867.Microsoft_5F00_Logo_2D00_for_2D00_screen-300x110.jpg 300w, https://becoder.org/wp-content/uploads/2015/02/8867.Microsoft_5F00_Logo_2D00_for_2D00_screen-1024x376.jpg 1024w, https://becoder.org/wp-content/uploads/2015/02/8867.Microsoft_5F00_Logo_2D00_for_2D00_screen-1025x377.jpg 1025w" sizes="(max-width: 458px) 100vw, 458px" /></a></p>
<p><em>更新日期:2015/07/04</em></p>
<p><code>檔案名稱:<span style="color: #ff0000;">Windows 10 Insider Preview ZH-TW 10162</span><br /> 官方網站:<a href="http://www.microsoft.com/" target="_blank">http://www.microsoft.com/</a><br /> 檔案下載: x32(<a href="http://go.microsoft.com/fwlink/p/?LinkId=522183">官方載點</a>)(<a href="http://file.becoder.org/Windows10_InsiderPreview_x32_ZH-TW_10162.iso">Google Drive</a>) x64(<a href="http://go.microsoft.com/fwlink/p/?LinkId=522182">官方載點</a>)(<a href="http://file.becoder.org/Windows10_InsiderPreview_x64_ZH-TW_10162.iso">Google Drive</a>)<br /> 軟體序號:8N67H-M3CY9-QT7C4-2TR7M-TXYCV</code></p>
<p><code><br /> </code><br>
<code>檔案名稱:Windows 10 Technical Preview ZH-TW 9926<br /> 官方網站:<a href="http://www.microsoft.com/" target="_blank">http://www.microsoft.com/</a><br /> 檔案下載: x32(<a href="https://mega.co.nz/#!9IYzmKrY!k0Flu9BDGZSTsfomBHQGmEodXPv-D63LwsRBqV0Uu50">分流1</a>)(<a href="https://mega.co.nz/#!JcZUlShR!k0Flu9BDGZSTsfomBHQGmEodXPv-D63LwsRBqV0Uu50">分流2</a>) x64(<a href="https://mega.co.nz/#!pIoyQYiJ!v9qK_8p6JZ_Y7cFwTTc-tVfZ8IqJiSHM3xVWhccnYrU">分流1</a>)(<a href="https://mega.co.nz/#!pVYmgDiJ!v9qK_8p6JZ_Y7cFwTTc-tVfZ8IqJiSHM3xVWhccnYrU">分流2</a>)<br /> 軟體序號:NKJFK-GPHP7-G8C3J-P6JXR-HQRJR<br /> 備註:似乎是因為正體中文9926版有BUG才撤下檔案的,但是官方並沒有解釋原因<br /> </code></p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows-10-technical-preview-zh-tw-9926-mega/" target="_blank" rel="noopener">https://becoder.org/windows-10-technical-preview-zh-tw-9926-mega/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 直接使用網樂通編譯驅動,免架Cross Compiler環境
https://becoder.org/nextvod-driver-without-cross-compiler/
2022-07-08T21:38:16+08:00
2015-02-18T06:39:48+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>如果時間用不完,或是懶得架Cross Compiler環境的話,可以試試用網樂通編譯驅動,不過缺點是編譯速度有點慢,只是小驅動的話其實只需要在網樂通上面直接編譯就可以了~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-driver-without-cross-compiler/" target="_blank" rel="noopener">https://becoder.org/nextvod-driver-without-cross-compiler/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>如果時間用不完,或是懶得架Cross Compiler環境的話,可以試試用網樂通編譯驅動,不過缺點是編譯速度有點慢,只是小驅動的話其實只需要在網樂通上面直接編譯就可以了~</p>
<p> </p>
<h2 id="查詢核心版本並下載kernel原始碼"><a href="https://becoder.org/nextvod-driver-without-cross-compiler/#查詢核心版本並下載kernel原始碼" class="anchor-link" aria-label="查詢核心版本並下載kernel原始碼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-driver-without-cross-compiler/#contents:查詢核心版本並下載kernel原始碼" class="headings">查詢核心版本並下載Kernel原始碼</a></h2>
<p>首先需要知道核心版本為多少,並且將原始碼放入裡面才能順利編譯:</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">uname -r</span><br /> <span style="color: #ff0000;"> 2.6.32.59_stm24_0211-PDK7105-32BITS</span><br /> </code></p>
<p>由此可知~網樂通的Kernel版本名稱是<code>2.6.32.59_stm24_0211-PDK7105-32BITS</code>,所以就在<code>/usr/src/</code>放入原始碼並且資料夾名稱改為<code>2.6.32.59_stm24_0211-PDK7105-32BITS</code></p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cd /usr/src/</span><br /> root@debian-wheezy-sh4:/usr/src# <span style="color: #ff0000;">wget https://github.com/suzuke/kernel-pdk7105/archive/master.zip</span><br /> root@debian-wheezy-sh4:/usr/src# <span style="color: #ff0000;">unzip master.zip #如果找不到unzip請自行安裝:apt-get install unzip</span><br /> root@debian-wheezy-sh4:/usr/src# <span style="color: #ff0000;">mv kernel-pdk7105-master 2.6.32.59_stm24_0211-PDK7105-32BITS #更名資料夾</span></code></p>
<p> </p>
<h2 id="整理原始碼"><a href="https://becoder.org/nextvod-driver-without-cross-compiler/#整理原始碼" class="anchor-link" aria-label="整理原始碼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-driver-without-cross-compiler/#contents:整理原始碼" class="headings">整理原始碼</a></h2>
<p>再來~進入原始碼的資料夾並且執行<code>make mrproper</code>來確保原始碼的乾淨~</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cd /usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS/</span><br /> root@debian-wheezy-sh4:/usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS# <span style="color: #ff0000;">make mrproper</span></code></p>
<p>執行完畢後,原本需要使用<code>make menuconfig</code>來設定Kernel,但是本人太懶了,直接去網樂通Debian系統裡面抓「<a href="http://s1.becoder.org/nextvod/config.gz" target="_blank" rel="noopener" target="_blank">.config</a>」過來編譯核心:</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cd /usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS/</span><br /> root@debian-wheezy-sh4:/usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS# <span style="color: #ff0000;">wget http://s1.becoder.org/nextvod/config.gz</span><br /> root@debian-wheezy-sh4:/usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS# <span style="color: #ff0000;">gunzip config.gz</span><br /> root@debian-wheezy-sh4:/usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS# <span style="color: #ff0000;">mv config .config</span><br /> root@debian-wheezy-sh4:/usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS# <span style="color: #ff0000;">make headers_install INSTALL_HDR_PATH= /usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS/ <a style="color: #ff0000;" href="http://next.fishome.tw/bbs/read.php?tid=248&fid=37&page=1#449" target="_blank">#產生header檔</a>,建議多下幾次指令避免缺檔</span><br /> </code></p>
<p> </p>
<h2 id="準備編譯"><a href="https://becoder.org/nextvod-driver-without-cross-compiler/#準備編譯" class="anchor-link" aria-label="準備編譯"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-driver-without-cross-compiler/#contents:準備編譯" class="headings">準備編譯</a></h2>
<p>網樂通原始碼已經整理得差不多了,再來是編譯驅動模組的準備:</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">mkdir /lib/modules/2.6.32.59_stm24_0211-PDK7105-32BITS/</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">ln -s /usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS/ /lib/modules/2.6.32.59_stm24_0211-PDK7105-32BITS/build</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">ln -s /usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS/ /lib/modules/2.6.32.59_stm24_0211-PDK7105-32BITS/src</span></code></p>
<p>完成後~就可以使用網樂通直接編譯驅動了~不過~需要用些方法繞過Vermagic的驗證才能順利掛載驅動喔(.ko檔)</p>
<p> </p>
<h2 class="font-headlines" id="修改vermagic字串">修改Vermagic字串</h2>
<p>如果沒有修改Vermagic,這樣編出來 .ko 的Vermagic和編出來核心的字串會不同,這部份還要再請教其他先進,不過目前我使用的方法是直接繞過Vermagic,直接修改Kernel原始碼,讓編譯出來.ko的Vermagic和核心相同:</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cd /usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS/</span><br /> root@debian-wheezy-sh4:/usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS# <span style="color: #ff0000;">cp include/linux/vermagic.h include/linux/vermagic.h.bak #備份檔案</span><br /> root@debian-wheezy-sh4:/usr/src/2.6.32.59_stm24_0211-PDK7105-32BITS# <span style="color: #ff0000;">vi include/linux/vermagic.h</span></code></p>
<p> </p>
<p>進入後應該會看到像這樣的文字,找到「UTS_RELEASE」:</p>
<p><code><span style="color: #ff00ff;">#define VERMAGIC_STRING<br /> </span><span style="color: #ff0000;"><em><strong>UTS_RELEASE</strong></em> " "<br /> </span><span style="color: #ff00ff;">MODULE_VERMAGIC_SMP<br /> MODULE_VERMAGIC_PREEMPT</span><br /> <span style="color: #ff00ff;">MODULE_VERMAGIC_MODULE_UNLOAD<br /> MODULE_VERMAGIC_MODVERSIONS </span><br /> <span style="color: #ff00ff;">MODULE_ARCH_VERMAGIC</span></code></p>
<p>修改為:</p>
<p><code><span style="color: #ff00ff;">#define VERMAGIC_STRING</span><br /> <span style="color: #ff0000;"><strong><em>"2.6.32.59_stm24_0211-PDK7105-32BITS"</em></strong> " " #網樂通uname -r出現的版本</span><br /> <span style="color: #ff00ff;">MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT</span><br /> <span style="color: #ff00ff;">MODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_MODVERSIONS</span><br /> <span style="color: #ff00ff;">MODULE_ARCH_VERMAGIC</span><br /> </code></p>
<p>存檔後就可以用網樂通開始編譯驅動了~!</p>
<p> </p>
<p>例如這篇~<a href="http://becoder.org/nextvod-xiaomi-wifi/" target="_blank" rel="noopener" target="_blank">[網樂通] 使用Cross Compiler編出網樂通核心&小米隨身WIFI驅動</a> 直接去抓驅動包進網樂通後~解壓縮後就可以直接make了:<code>make ARCH=sh4</code>,不需要修改Makefile,只不過要記得新增小米隨身WIFI的ID進去:</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">wget http://cdn-cw.mediatek.com/Downloads/linux/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2</span><br /> (http://s1.becoder.org/nextvod/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2)<br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">tar jxvf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913</span><br /> root@debian-wheezy-sh4:~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913# <span style="color: #ff0000;">vi common/rtusb_dev_id.c</span></code></p>
<p><code><span style="color: #ff00ff;">#ifdef MT7601U</span><br /> {USB_DEVICE(<span style="color: #ff0000;">0x148f,0x6370</span>)}, <span style="color: #0000ff;">/* Ralink 6370 */</span><br /> {USB_DEVICE(<span style="color: #ff0000;">0x148f,0x7601</span>)}, <span style="color: #0000ff;">/* MT 6370 */</span><br /> <em><strong>{USB_DEVICE(<span style="color: #ff0000;">0x2717,0x4106</span>)}, <span style="color: #0000ff;">/* Xiaomi Wifi */</span> </strong></em>#新增這行<br /> <span style="color: #ff0000;">#endif</span> <span style="color: #0000ff;">/* MT7601U */</span></code></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-driver-without-cross-compiler/" target="_blank" rel="noopener">https://becoder.org/nextvod-driver-without-cross-compiler/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 自製網樂通NAS,AirPlay,抓BT、百度雲,區網直接取檔案!
https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/
2022-07-08T21:38:16+08:00
2015-02-12T10:58:57+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>昨天好朋友生日,突然想到可以改一台網樂通送他玩,搞了好久終於完成啦,基於網樂通Debain系統製作(其實只是程式裝一裝設定檔弄好再包起來),整合的功能有AirPlay、Samba、Aria2、Transmission~~<del>因為不會打包成<code>target.tgz</code></del>,所以就用再生龍備份起來囉XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/" target="_blank" rel="noopener">https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>昨天好朋友生日,突然想到可以改一台網樂通送他玩,搞了好久終於完成啦,基於網樂通Debain系統製作(其實只是程式裝一裝設定檔弄好再包起來),整合的功能有AirPlay、Samba、Aria2、Transmission~~<del>因為不會打包成<code>target.tgz</code></del>,所以就用再生龍備份起來囉XD</p>
<p><del>安裝教學可以參考這篇<a href="http://becoder.org/nextvod-debian-restore/" target="_blank" rel="noopener" target="_blank"> [網樂通] 使用再生龍還原網樂通Dom (Debian系統)</a>,但是映像檔請在這邊下載[<a href="http://dl.becoder.org/2015/02/airnasv2_87.html" target="_blank" rel="noopener" target="_blank">點我下載</a>]</del>年久失修,請使用tgz法安裝</p>
<p><span style="color: #ff0000;">[更新04/12]</span><br>
<span style="color: #ff0000;">修復抓不到eth0問題</span><br>
<span style="color: #ff0000;">修復apt軟體源</span><br>
<span style="color: #ff0000;">修復transmission下載路徑至/media/sdb1<br /> 已安裝 cifs-utils ,支援掛載 Samba </span></p>
<p><strong>[更新] 已打包成<code>target.tgz</code>,可以使用sh4twbox0.9.2開機碟的<code>p2</code>選項進行安裝 [<a href="http://s1.becoder.org/nextvod/airnas/target.tgz" target="_blank" rel="noopener">target.tgz</a>] [<a href="https://drive.google.com/open?id=0B2mETuClVWw-OTNWb1BmQmhGOXc" target="_blank" rel="noopener" target="_blank">Google Drive</a> (請將檔案名稱改為target.tgz)](Md5sum: 5b281d73603cfb7a9f5eea733486b7f4</strong><strong style="font-size: 20px; line-height: 1.5;">) (<a href="https://github.com/fuyuanli/nextvod-linux-manual/blob/master/doc/02.01.md" target="_blank" rel="noopener" target="_blank">安裝教學</a>)</strong></p>
<blockquote>
<p>建議抓 Google Drive 的載點,檔案我放 OpenShift 可能會抓到一半斷掉,把 target.tgz 放在 sh4twbox 0.9.2 安裝碟內,在 p2 選項的時候不用輸入網址,直接按 Enter 就可以直接從隨身碟的檔案安裝系統了,不需要再下載</p></blockquote>
<p> </p>
<h2 id="事前準備"><a href="https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/#事前準備" class="anchor-link" aria-label="事前準備"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/#contents:事前準備" class="headings">事前準備</a></h2>
<p>準備一個USB2.0儲存裝置,格式化成<span style="color: #ff0000;">EXT4</span>,也可以使用網樂通進行格式化,插上USB儲存裝置,SSH登入網樂通(或HDMI Console),帳號密碼為 <code>root:root</code> ,格式化成一個分區就可以了[ <a href="http://linux.vbird.org/linux_basic/0230filesystem.php#disk" target="_blank" rel="noopener" target="_blank">請參考鳥哥教學</a> ],有其他分區的話整合的程式會出錯!</p>
<p> </p>
<h2 id="整合內容"><a href="https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/#整合內容" class="anchor-link" aria-label="整合內容"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/#contents:整合內容" class="headings">整合內容</a></h2>
<p>IPmailer:在網樂通根目錄如果有<code>/mail.txt</code>,並且在裡面加入你的Email,每次網樂通開機就會寄送區網IP給你唷~!</p>
<p> </p>
<p>Samba:無密碼,免登入,Windows 在檔案管理的路徑列直接輸入<code>\\網樂通IP\share</code>就可以看到分享的檔案了~請安裝USB EXT4格式儲存裝置使用~設定檔位置為/etc/samba/smb.conf,可參考鳥哥的<a href="http://linux.vbird.org/linux_server/0370samba/0370samba-centos4.php#server_smb.conf" target="_blank" rel="noopener" target="_blank">設定教學</a></p>
<p> </p>
<p>USB自動掛載:建議在開機後插入儲存裝置,檔案格式請用EXT4(LINUX系統使用EXT4效能最好,也可以使用FAT32,不過單檔限制4GB,NTFS微軟格式沒試過),因為Samba分享的目錄為<code>/media/sdb1</code>~建議安裝USB EXT4格式儲存裝置使用!</p>
<p> </p>
<p>AirPlay:開機自啟,可使用Apple產品搜尋找到名為「AirPlay」的機器,可以接網樂通外面的紅白RCA端子輸出音樂,<span style="color: #ff0000;">目前只能輸出音樂</span>~可以到外面買轉接線轉成3.5mm接喇叭~想修改這個名稱可以編輯<code>/etc/init.d/shairport</code>,找到<code>SHAIRPORT_NAME="<span style="color: #ff0000;">AirPlay</span>"</code>,將 <span style="color: #ff0000;"><code><span style="color: #ff0000;">AirPlay</span></code></span>改成自己喜歡的名字後<code>reboot</code>系統即可!</p>
<p> </p>
<p>Aria2:控制路徑為<code>http://網樂通IP:9091/transmission/web/aria2/index.html</code>下載目錄預設為<code>/media/sdb1</code>,帳號密碼分別為 <code>airnas:airnasbt</code> ,為Samba的分享目錄,東西下載完取檔很方便,請安裝USB EXT4格式儲存裝置使用~想修改儲存路徑可以編輯<code>/etc/rc.local</code>,找到<code>/usr/bin/aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --dir=/media/sdb1 --file-allocation=none -s 32 -j 32 -x 5 -c -D</code>,如果要下載到USB儲存裝置將<span style="color: #ff0000;"><code>/media/sdb1</code></span>改成自己喜歡的地方後<code>reboot</code>即可。</p>
<p> </p>
<p>Transmission:控制路徑為<code>http://網樂通IP:9091/transmission/web/</code>,帳號密碼分別為 <code>airnas:airnasbt</code> ,下載目錄預設為<code>/media/sdb1</code>,為Samba的分享目錄,東西下載完取檔很方便,請安裝USB EXT4格式儲存裝置使用~設定檔位置在<code>/etc/transmission-daemon/settings.json</code>,修改後執行<code>/etc/init.d/transmission-daemon reload</code>即可~</p>
<p> </p>
<p>HDMI Console:開機接上HDMI螢幕就可以看到登入畫面了,預設帳號密碼:<code>root:root</code> ,可以裝 X Window 來玩。</p>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/01.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
RCA to 3.5mm
</p>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/" target="_blank" rel="noopener">https://becoder.org/nextvod-clonezilla-airpaly-samba-aria2-transmission-ipmailer-hdmiconsole/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 網樂通安裝X Window(LXDE),使用圖形界面操作
https://becoder.org/nextvod-x-window-lxde/
2022-07-08T21:38:16+08:00
2015-02-09T15:27:07+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>網樂通安裝X Window其實沒什麼用處,有點吃資源,不過好玩就好啦~做個筆記提供有興趣的朋友玩玩~</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-x-window-lxde/" target="_blank" rel="noopener">https://becoder.org/nextvod-x-window-lxde/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>網樂通安裝X Window其實沒什麼用處,有點吃資源,不過好玩就好啦~做個筆記提供有興趣的朋友玩玩~</p>
<p>一開始你需要先安裝好 網樂通Debain ,可以參考</p>
<p><a href="https://github.com/fuyuanli/nextvod-linux-manual/blob/master/doc/02.01.md" target="_blank" rel="noopener" target="_blank">本人撰寫的教學</a>~</p>
<p> </p>
<p> </p>
<h2 id="更換kernel以及安裝modules"><a href="https://becoder.org/nextvod-x-window-lxde/#更換kernel以及安裝modules" class="anchor-link" aria-label="更換kernel以及安裝modules"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:更換kernel以及安裝modules" class="headings">更換Kernel以及安裝modules</a></h2>
<p>由於剛安裝好網樂通內建的Kernel好像沒有支援HDMI輸出,所以需要換成有支援的版本~由<a href="https://sites.google.com/site/debiansh4/application/wangletongbianshenairplaywuxianboge" target="_blank" rel="noopener" target="_blank">Chia-Cheng Huang</a>大大釋出~</p>
<p>首先下載檔案回家並且解壓縮,再取代目前的核心~</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">wget http://s1.becoder.org/nextvod/kernel_modules-stmfb-1003.tgz</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">tar -xvzf kernel_modules-stmfb-1003.tgz</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cd kernel_modules-stmfb/</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">mkdir /lib/modules</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">tar -xvzf 2.6.32.59_stm24_0211-PDK7105-32BITS.tgz -C /lib/modules<br /> </span><span style="color: #ff99cc;">===================↓↓重要↓↓===================</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cp vmlinux.ub / #取代核心<br /> </span>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">mkdir /mnt/sda1/</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">mount /dev/sda1 /mnt/sda1</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">cp vmlinux.ub /mnt/sda1</span><br /> root@debian-wheezy-sh4:~# <span style="color: #ff0000;">depmod -a</span><br /> <span style="color: #ff99cc;">===================↑↑重要↑↑===================</span><br /> </code></p>
<p>編輯<code>/etc/modules</code>:</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">vi /etc/modules</span></code></p>
<p>打開後應該會看到像這樣的畫面:</p>
<p>`# /etc/modules: kernel modules to load at boot time.<br />
#<br /></p>
<h1 id="this-file-contains-the-names-of-kernel-modules-that-should-be-loaded"><a href="https://becoder.org/nextvod-x-window-lxde/#this-file-contains-the-names-of-kernel-modules-that-should-be-loaded" class="anchor-link" aria-label="this-file-contains-the-names-of-kernel-modules-that-should-be-loaded"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:this-file-contains-the-names-of-kernel-modules-that-should-be-loaded" class="headings">This file contains the names of kernel modules that should be loaded<br /></a></h1>
<h1 id="at-boot-time-one-per-line-lines-beginning-with--are-ignored"><a href="https://becoder.org/nextvod-x-window-lxde/#at-boot-time-one-per-line-lines-beginning-with--are-ignored" class="anchor-link" aria-label="at-boot-time-one-per-line-lines-beginning-with--are-ignored"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:at-boot-time-one-per-line-lines-beginning-with--are-ignored" class="headings">at boot time, one per line. Lines beginning with "#" are ignored.<br /></a></h1>
<h1 id="parameters-can-be-specified-after-the-module-name"><a href="https://becoder.org/nextvod-x-window-lxde/#parameters-can-be-specified-after-the-module-name" class="anchor-link" aria-label="parameters-can-be-specified-after-the-module-name"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:parameters-can-be-specified-after-the-module-name" class="headings">Parameters can be specified after the module name.`</a></h1>
<p> </p>
<p>按下<code>i</code>,貼上下面這段:</p>
<p><span style="color: #ff0000;"><code><span style="color: #ff0000;">stmfb display0=640x480-16@60:3M:0:PAL:RGB</span><br />
<span style="color: #ff0000;">stm_v4l2</span><br />
<span style="color: #ff0000;">stmcore-display-sti7105 hdmi0=enable</span><br />
<span style="color: #ff0000;">stmvbi</span><br />
<span style="color: #ff0000;">stmvout</span></code></span></p>
<p> </p>
<p>完成後應該會像這樣,可以輸入<code>:wq</code>作存檔動作~</p>
<p>`# /etc/modules: kernel modules to load at boot time.<br />
#<br /></p>
<h1 id="this-file-contains-the-names-of-kernel-modules-that-should-be-loaded-1"><a href="https://becoder.org/nextvod-x-window-lxde/#this-file-contains-the-names-of-kernel-modules-that-should-be-loaded-1" class="anchor-link" aria-label="this-file-contains-the-names-of-kernel-modules-that-should-be-loaded-1"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:this-file-contains-the-names-of-kernel-modules-that-should-be-loaded-1" class="headings">This file contains the names of kernel modules that should be loaded<br /></a></h1>
<h1 id="at-boot-time-one-per-line-lines-beginning-with--are-ignored-1"><a href="https://becoder.org/nextvod-x-window-lxde/#at-boot-time-one-per-line-lines-beginning-with--are-ignored-1" class="anchor-link" aria-label="at-boot-time-one-per-line-lines-beginning-with--are-ignored-1"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:at-boot-time-one-per-line-lines-beginning-with--are-ignored-1" class="headings">at boot time, one per line. Lines beginning with "#" are ignored.<br /></a></h1>
<h1 id="parameters-can-be-specified-after-the-module-name-1"><a href="https://becoder.org/nextvod-x-window-lxde/#parameters-can-be-specified-after-the-module-name-1" class="anchor-link" aria-label="parameters-can-be-specified-after-the-module-name-1"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:parameters-can-be-specified-after-the-module-name-1" class="headings">Parameters can be specified after the module name.<br /></a></h1>
<p><span style="color: #ff0000;">stmfb display0=640x480-16@60:3M:0:PAL:RGB</span><br />
<span style="color: #ff0000;"> stm_v4l2</span><br />
<span style="color: #ff0000;"> stmcore-display-sti7105 hdmi0=enable</span><br />
<span style="color: #ff0000;"> stmvbi</span><br />
<span style="color: #ff0000;"> stmvout</span>`</p>
<p> </p>
<p>重新開機一下~</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">reboot</span></code></p>
<p> </p>
<p>可以接上HDMI囉!!</p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/nextvod-x-window-lxde/01.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
網樂通HDMI Console
</p>
</div>
<p> </p>
<h2 id="更新套件庫升級程式"><a href="https://becoder.org/nextvod-x-window-lxde/#更新套件庫升級程式" class="anchor-link" aria-label="更新套件庫升級程式"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:更新套件庫升級程式" class="headings">更新套件庫&升級程式</a></h2>
<p><span style="color: #ff0000;">[更新4/12]剛剛發現 apt repositry 改了,請作以下修改,否則將無法安裝新的軟體</span></p>
<p><span style="color: #ff0000;">將原本的</span><br>
<span style="color: #ff0000;"><code>deb <a href="http://ftp.yzu.edu.twdebian" target="_blank" rel="noopener">http://ftp.yzu.edu.twdebian</a>-sh4/ wheezy all</code></span></p>
<p><span style="color: #ff0000;">改為</span><br>
<span style="color: #ff0000;"><code>deb <a href="http://ftp.yzu.edu.tw/Linux/debian-sh4-for-nextvod/" target="_blank" rel="noopener">http://ftp.yzu.edu.tw/Linux/debian-sh4-for-nextvod/</a> wheezy all</code></span></p>
<p> </p>
<p> </p>
<p>安裝任何程式的第一步都是先更新一下套件庫以確保最新的來源:</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">apt-get update</span></code></p>
<p>更新一下程式也好,不然漏洞有點多(Bash漏洞以及GHOST漏洞)</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">apt-get upgrade</span></code></p>
<p> </p>
<p> </p>
<h2 id="安裝lxde"><a href="https://becoder.org/nextvod-x-window-lxde/#安裝lxde" class="anchor-link" aria-label="安裝lxde"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-x-window-lxde/#contents:安裝lxde" class="headings">安裝LXDE</a></h2>
<p>更新好了以後~就可以來安裝LXDE了~檔案有點多,大概300MB需要一點時間</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">apt-get install xorg xserver-xorg lxde-core #需要一點間,有問答請選Y</span></code></p>
<p> </p>
<p>裝好之後需要編輯<code>~/.xinitrc</code>:</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">vi ~/.xinitrc</span></code></p>
<p>按下i,新增這行後按下<code>:wq</code>存檔:</p>
<p><code><span style="color: #ff0000;">exec ck-launch-session startlxde</span></code></p>
<p> </p>
<p>修改一下 <code>/etc/hosts</code>,新增一行<code>127.0.0.1 debian-wheezy-sh4</code>:</p>
<p><code>127.0.0.1 localhost<br /> ::1 localhost ip6-localhost ip6-loopback<br /> fe00::0 ip6-localnet<br /> ff00::0 ip6-mcastprefix<br /> ff02::1 ip6-allnodes<br /> ff02::2 ip6-allrouters</code></p>
<p>新增一行<code>127.0.0.1 debian-wheezy-sh4</code></p>
<p><code>127.0.0.1 localhost<br /> <span style="color: #ff0000;">127.0.0.1 debian-wheezy-sh4</span><br /> ::1 localhost ip6-localhost ip6-loopback<br /> fe00::0 ip6-localnet<br /> ff00::0 ip6-mcastprefix<br /> ff02::1 ip6-allnodes<br /> ff02::2 ip6-allrouters</code></p>
<p>接上HDMI螢幕,啟動LXDE~</p>
<p><code>root@debian-wheezy-sh4:~# <span style="color: #ff0000;">startx</span></code></p>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/nextvod-x-window-lxde/02.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
網樂通HDMI LXDE
</p>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-x-window-lxde/" target="_blank" rel="noopener">https://becoder.org/nextvod-x-window-lxde/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 使用Cross Compiler編出網樂通核心&小米隨身WIFI驅動
https://becoder.org/nextvod-xiaomi-wifi/
2022-07-08T21:38:16+08:00
2015-02-08T11:27:47+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>長假來了,當然就要先拿網樂通出來玩~由於小米隨身WIFI的價格實在太便宜,不到100元新台幣就能到手,買了以後就想試試看能不能餵網樂通吃。Google了許多在Linux上實現小米隨身WIFI的方法,方法就是上 <a href="http://www.mediatek.com/zh-TW/" target="_blank">Mediatek</a> 下載驅動的原始碼後編譯囉~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-xiaomi-wifi/" target="_blank" rel="noopener">https://becoder.org/nextvod-xiaomi-wifi/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>長假來了,當然就要先拿網樂通出來玩~由於小米隨身WIFI的價格實在太便宜,不到100元新台幣就能到手,買了以後就想試試看能不能餵網樂通吃。Google了許多在Linux上實現小米隨身WIFI的方法,方法就是上 <a href="http://www.mediatek.com/zh-TW/" target="_blank" rel="noopener" target="_blank">Mediatek</a> 下載驅動的原始碼後編譯囉~!</p>
<p> </p>
<p>不過,想要讓網樂通吃這張USB網卡可沒那麼容易,因為網樂通使用SuperH架構,而不是家裡平常的普通電腦,所以需要使用交叉編譯環境來讓網樂通可以順利執行編譯出來的檔案,架設交叉編譯環境可以先看<a href="http://becoder.org/nextvod-stlinux-cross-compile/" target="_blank" rel="noopener" target="_blank">這篇文章</a></p>
<p>有了編譯環境以後,還需要網樂通原始碼來作為編譯驅動的來源,因為各方的原始碼不盡相同,每個人編的核心也都不一樣,所以需要自己重編一次(LINUX的樂趣?)</p>
<p> </p>
<h2 id="準備網樂通的原始碼"><a href="https://becoder.org/nextvod-xiaomi-wifi/#準備網樂通的原始碼" class="anchor-link" aria-label="準備網樂通的原始碼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xiaomi-wifi/#contents:準備網樂通的原始碼" class="headings">準備網樂通的原始碼</a></h2>
<p>Ubuntu 開機完畢後,下載<a href="https://github.com/suzuke/kernel-pdk7105/archive/master.zip" target="_blank" rel="noopener" target="_blank">網樂通的原始碼</a>,解壓縮後放入 <code>/usr/src/</code> :</p>
<p><code>root@ubuntu:~# <span style="color: #ff0000;">wget https://github.com/suzuke/kernel-pdk7105/archive/master.zip</span><br /> root@ubuntu:~# <span style="color: #ff0000;">unzip master.zip</span><br /> root@ubuntu:~# <span style="color: #ff0000;">mv kernel-pdk7105-master/ /usr/src/</span></code></p>
<p> </p>
<p>解壓縮完以後,原始碼的路徑是 <code>/usr/src/kernel-pdk7105-master/</code> ,進入這個資料夾以後先使用<code>make ARCH=sh CROSS_COMPILE=sh4-linux- mrproper</code>指令確保原始碼的乾淨:</p>
<p><code>root@ubuntu:~# <span style="color: #ff0000;">cd /usr/src/kernel-pdk7105-master/</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">make ARCH=sh CROSS_COMPILE=sh4-linux- mrproper</span></code></p>
<p> </p>
<p>執行完畢後,原本需要使用<code>make ARCH=sh CROSS_COMPILE=sh4-linux- menuconfig</code>來設定Kernel,但是本人太懶了,直接去網樂通Debian系統裡面抓「<a href="http://s1.becoder.org/nextvod/config.gz" target="_blank" rel="noopener" target="_blank">.config</a>」過來編譯核心:</p>
<p><code>root@ubuntu:~# <span style="color: #ff0000;">cd /usr/src/kernel-pdk7105-master/</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">wget http://s1.becoder.org/nextvod/config.gz</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">gunzip config.gz</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">mv config .config</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">make ARCH=sh CROSS_COMPILE=sh4-linux- headers_install INSTALL_HDR_PATH= /usr/src/kernel-pdk7105-master/<span style="color: #ff0000;"> <span style="color: #3366ff;"><a style="color: #3366ff;" href="http://next.fishome.tw/bbs/read.php?tid=248&fid=37&page=1#449" target="_blank">#產生header檔</a>,建議多下幾次指令避免缺檔</span></span></span><br /> </code></p>
<p> </p>
<p>網樂通原始碼已經整理得差不多了,再來是編譯驅動模組的準備:</p>
<p><code>root@ubuntu:~# <span style="color: #ff0000;">mkdir /lib/modules/kernel-pdk7105-master/</span><br /> root@ubuntu:~# <span style="color: #ff0000;">ln -s /usr/src/kernel-pdk7105-master/ /lib/modules/kernel-pdk7105-master/build</span><br /> root@ubuntu:~# <span style="color: #ff0000;">ln -s /usr/src/kernel-pdk7105-master/ /lib/modules/kernel-pdk7105-master/src</span></code></p>
<p> </p>
<p> </p>
<h2 id="編譯核心"><a href="https://becoder.org/nextvod-xiaomi-wifi/#編譯核心" class="anchor-link" aria-label="編譯核心"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xiaomi-wifi/#contents:編譯核心" class="headings">編譯核心</a></h2>
<p>原始碼準備好可以先把kernel編譯起來放著:</p>
<p><code>root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">make ARCH=sh CROSS_COMPILE=sh4-linux- vmlinux #編譯需要花一點時間</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">sh4-linux-objcopy -O binary vmlinux vmlinux.bin</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">gzip --best --force vmlinux.bin</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">mkimage -A sh -O linux -T kernel -C gzip -a 0x80800000 -e 0x80801000 \</span><br /> <span style="color: #ff0000;">-n "Linux 2.6" -d vmlinux.bin.gz vmlinux.ub [按Enter]</span></code></p>
<p> </p>
<p> </p>
<h2 id="修改驅動"><a href="https://becoder.org/nextvod-xiaomi-wifi/#修改驅動" class="anchor-link" aria-label="修改驅動"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xiaomi-wifi/#contents:修改驅動" class="headings">修改驅動</a></h2>
<p>準備好了以後呢,就可以下載小米隨身WIFI的驅動[ <a href="http://cdn-cw.mediatek.com/Downloads/linux/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2" target="_blank" rel="noopener" target="_blank">點我下載</a> ]回來修改了,抓好解壓以後必須修改 Makefile 來讓網樂通可以使用:</p>
<p><code>root@ubuntu:~# <span style="color: #ff0000;">wget http://cdn-cw.mediatek.com/Downloads/linux/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2<br /> </span>(http://s1.becoder.org/nextvod/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2)<br /> root@ubuntu:~# <span style="color: #ff0000;">tar jxvf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2</span><br /> root@ubuntu:~# <span style="color: #ff0000;">cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913</span><br /> root@ubuntu:~# <span style="color: #ff0000;">vi Makefile</span></code></p>
<p> </p>
<p>編輯 Makefile 的時候,必須使用「/」來搜尋(PTT鄉民應該很清楚)字串「PC」,因為 Makefile 預設是PC(一般電腦),所以直接修改 PC 的內容就好。找到<code>($(PLATFORM),PC)</code>,下方可以看到<code>LINUX_SRC</code>及<code>LINUX_SRC_MODULE</code>,將檔案修改改成如下:</p>
<p><code><span style="color: #ff00ff;">ifeq</span> ($(PLATFORM),PC)<br /> <span style="color: #0000ff;"># Linux 2.6</span><br /> <span style="color: #00ccff;">LINUX_SRC</span> = <span style="color: #ff0000;"><em><strong>/lib/modules/kernel-pdk7105-master/build</strong></em> #修改後結果</span><br /> <span style="color: #0000ff;"># Linux 2.4 Change to your local setting</span><br /> <span style="color: #0000ff;"> #LINUX_SRC = /usr/src/linux-2.4</span><br /> <span style="color: #00ccff;">LINUX_SRC_MODULE</span> = <span style="color: #ff0000;"><em><strong>/lib/modules/kernel-pdk7105-master/kernel/drivers/net/wireless/</strong></em> #修改後結果</span><br /> <span style="color: #00ccff;">CROSS_COMPILE</span> =<br /> <span style="color: #ff00ff;">endif</span></code></p>
<p> </p>
<p>存檔後,再編輯<code>common/rtusb_dev_id.c</code>以新增小米WIFI的ID,這樣系統才會知道這張網卡該使用這個驅動,找到並修改</p>
<p><code><span style="color: #ff00ff;">#ifdef MT7601U</span><br /> {USB_DEVICE(<span style="color: #ff0000;">0x148f</span>,<span style="color: #ff0000;">0x6370</span>)}, <span style="color: #0000ff;">/* Ralink 6370 */</span><br /> {USB_DEVICE(<span style="color: #ff0000;">0x148f</span>,<span style="color: #ff0000;">0x7601</span>)}, <span style="color: #0000ff;">/* MT 6370 */</span><br /> <em><strong>{USB_DEVICE(<span style="color: #ff0000;">0x2717</span>,<span style="color: #ff0000;">0x4106</span>)}, <span style="color: #0000ff;">/* Xiaomi Wifi */ </span></strong></em><span style="color: #0000ff;"><span style="color: #000000;">#新增這行</span></span><br /> <span style="color: #ff00ff;">#endif</span> <span style="color: #0000ff;">/* MT7601U */</span></code></p>
<p> </p>
<p> </p>
<h2 id="修改vermagic字串"><a href="https://becoder.org/nextvod-xiaomi-wifi/#修改vermagic字串" class="anchor-link" aria-label="修改vermagic字串"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-xiaomi-wifi/#contents:修改vermagic字串" class="headings">修改Vermagic字串</a></h2>
<p>修改完成後回到DPO_MT7601U_LinuxSTA_3.0.0.4_20130913,就開始可以編譯驅動了,但是有個問題,這樣編出來 .ko 的Vermagic和編出來核心的字串會不同,這部份還要再請教其他先進,不過目前我使用的方法是直接繞過Vermagic,直接修改Kernel原始碼,讓編譯出來.ko的Vermagic和核心相同:</p>
<p><code>root@ubuntu:~# <span style="color: #ff0000;">cd /usr/src/kernel-pdk7105-master/<br /> </span>root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">cp include/linux/vermagic.h include/linux/vermagic.h.bak #備份檔案</span><br /> root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">vi include/linux/vermagic.h</span></code></p>
<p> </p>
<p>進入後應該會看到像這樣的文字,找到「UTS_RELEASE」:</p>
<p><code><span style="color: #ff00ff;">#define VERMAGIC_STRING<br /> <span style="color: #ff0000;"><em><strong>UTS_RELEASE</strong></em> " "</span><br /> MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT<br /> MODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_MODVERSIONS<br /> MODULE_ARCH_VERMAGIC</span></code></p>
<p>修改為:</p>
<p><code><span style="color: #ff00ff;">#define VERMAGIC_STRING<br /> <span style="color: #ff0000;"><strong><em>"2.6.32.59_stm24_0211-PDK7105-32BITS"</em></strong> " " #網樂通uname -r出現的版本</span><br /> MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT<br /> MODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_MODVERSIONS<br /> MODULE_ARCH_VERMAGIC<br /> </span></code></p>
<p>存檔後,回到驅動資料夾就可以開始編譯了:</p>
<p><code>root@ubuntu:/usr/src/kernel-pdk7105-master# <span style="color: #ff0000;">cd</span><br /> root@ubuntu:~# <span style="color: #ff0000;">cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/</span><br /> root@ubuntu:~# <span style="color: #ff0000;">make ARCH=sh CROSS_COMPILE=sh4-linux-</span><br /> </code></p>
<p>慢慢等吧~</p>
<p> </p>
<p>編譯完成後,就可以在<code>DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/</code>裡面看到<span style="color: #ff0000;">mt7601Usta.ko</span>了~但是要讓網樂通使用的話,還需要再作一個動作:<span style="color: #ff0000;">將DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/RT2870STA.dat搬到網樂通的/etc/Wireless/RT2870STA裡面:</span></p>
<p><code>root@debian-wheezy-sh4:~# mkdir /etc/Wireless/RT2870STA/<br /> root@debian-wheezy-sh4:~# mv RT2870STA.dat /etc/Wireless/RT2870STA/</code></p>
<p> </p>
<p>測試一下成果 [<a href="http://dl.becoder.org/2015/02/wifidebian_45.html" target="_blank" rel="noopener" target="_blank">檔案下載</a>]</p>
<p> </p>
<div style="width: 717px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/nextvod-xiaomi-wifi/01.png" alt="" width="707" height="924" />
<p class="wp-caption-text">
成功囉
</p>
</div>
<p> </p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-xiaomi-wifi/" target="_blank" rel="noopener">https://becoder.org/nextvod-xiaomi-wifi/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[開箱] 小米行動電源 5000mAh 超薄聚合物台版首發!
https://becoder.org/xiaomi-5000/
2022-07-08T21:38:16+08:00
2015-02-05T05:24:24+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>小米行動電源接二連三的推出新款式,2/3(二)號考完英聽不小心看到小米粉絲團公告開賣新版的5000mAh聚合物版本的超薄行動電源,點進去竟然還有貨,當下馬上下了幾顆,反正有12個小時可以考慮要不要付款XDD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xiaomi-5000/" target="_blank" rel="noopener">https://becoder.org/xiaomi-5000/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>小米行動電源接二連三的推出新款式,2/3(二)號考完英聽不小心看到小米粉絲團公告開賣新版的5000mAh聚合物版本的超薄行動電源,點進去竟然還有貨,當下馬上下了幾顆,反正有12個小時可以考慮要不要付款XDD</p>
<p>不過最後因為經濟拮据所以只買了一個,其他都讓給親朋好友了QAQ,2/3(二)下訂後在晚上12點前付完款,過了一天就送過來了,這樣的運送速度還算可以接受,黑貓先生似乎已經記住<del>荒野</del>我家的位置了XDD</p>
<p> </p>
<h2 id="外盒"><a href="https://becoder.org/xiaomi-5000/#外盒" class="anchor-link" aria-label="外盒"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-5000/#contents:外盒" class="headings">外盒</a></h2>
<p>剛開始當然要先來個疊疊樂,不過只有一顆是我的有點哀傷QQ</p>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/01.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
只有一顆是我的QAQ
</p>
</div>
<p> </p>
<p>臺灣版的行動電源也開始有防偽<del>刮刮樂</del>標籤了,應該是盜版太過猖獗(Asus的ZenPower XDDDDDD)</p>
<div style="width: 778px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/02.JPG" alt="" width="768" height="1024" />
<p class="wp-caption-text">
一貫的包裝,臺灣版也開始有防偽標籤了
</p>
</div>
<p> </p>
<p>好難刮的刮刮樂XD</p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/03.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
我覺得他是刮刮樂XD
</p>
</div>
<p> </p>
<p> </p>
<h2 id="配件"><a href="https://becoder.org/xiaomi-5000/#配件" class="anchor-link" aria-label="配件"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-5000/#contents:配件" class="headings">配件</a></h2>
<p>取出電池後,裡面有個可以撕的小紙條,其實是為了拿傳輸線而設計的,因為實在是太薄了,直接用手指頭很難取出~</p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/04.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
怒撕
</p>
</div>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/05.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
傳輸線的家~~
</p>
</div>
<p> </p>
<p>說實在真的不太喜歡圓形的傳輸線,感覺很粗糙,還是比較喜歡麵條版本~不過兩種傳輸線一樣爛是真的,太暴力的話就接觸不良了QQ</p>
<div style="width: 778px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/06.JPG" alt="" width="768" height="1024" />
<p class="wp-caption-text">
圓形傳輸線
</p>
</div>
<p> </p>
<h2 id="本體"><a href="https://becoder.org/xiaomi-5000/#本體" class="anchor-link" aria-label="本體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-5000/#contents:本體" class="headings">本體</a></h2>
<div style="width: 778px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/07.JPG" alt="" width="768" height="1024" />
<p class="wp-caption-text">
本體!
</p>
</div>
<p> </p>
<p> </p>
<p>小米臺灣版的行動電源都已改為「XIAOMI」,而不是「MI」,不過沒關係,品質都一樣啦!</p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/23.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
正面
</p>
</div>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/08.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
背面
</p>
</div>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/09.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
正面LOGO
</p>
</div>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/10.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
背面網址
</p>
</div>
<p> </p>
<p> </p>
<p>由上而下拍起來感覺真的很高XD,最長的16000也有相同的感覺~!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/11.JPG" alt="" width="1024" height="768" />
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/12.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
撕掉保護貼紙
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/13.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<p>5000mah版本的按鈕說真的有點難按,需要大一點的力氣才有辦法順利按下</p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/14.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
不好按~
</p>
</div>
<p> </p>
<p>在暗處可以明顯看到白色的LED燈,個人覺得比其他品牌的燈號好看多了~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/15.JPG" alt="" width="1024" height="768" />
<p> </p>
<p>用一隻手拿著的時候真的很像在拿手機,收納也比較方便一些,可以和手機疊著一起收進口帶使用,這就是聚合物版本沒有形狀限制的優點</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/23.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<h2 id="說明書"><a href="https://becoder.org/xiaomi-5000/#說明書" class="anchor-link" aria-label="說明書"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-5000/#contents:說明書" class="headings">說明書</a></h2>
<p>說明書大同小異,主要是要教初次使用的人判讀燈號,有買過小米電源的人應該沒有必要特別去讀這張說明書 。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/16.JPG" alt="" width="1024" height="768" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/17.JPG" alt="" width="1024" height="768" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/18.JPG" alt="" width="1024" height="768" />
<p> </p>
<h2 id="疊疊樂"><a href="https://becoder.org/xiaomi-5000/#疊疊樂" class="anchor-link" aria-label="疊疊樂"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-5000/#contents:疊疊樂" class="headings">疊疊樂</a></h2>
<p>有那麼多的小米電源當然要來疊一下,可以明顯到個版本的差異</p>
<div style="width: 778px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/20.JPG" alt="" width="768" height="1024" />
<p class="wp-caption-text">
10400看起來最肥XD
</p>
</div>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/19.JPG" alt="" width="1024" height="768" />
<p class="wp-caption-text">
比身高當然是16000贏
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/21.JPG" alt="" width="1024" height="768" />
<p> </p>
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/xiaomi-5000/24.JPG" alt="" width="1024" height="768" />
<p> </p>
<p>小米這次推出的超薄版好像是要取代5200版的,中國官網已經看不到5200的購買選項,等到臺灣庫存賣完應該就會消失了XDDD ,5000版的行動電源真的好漂亮,不用「搶購」就可以買到特別令人開心。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xiaomi-5000/" target="_blank" rel="noopener">https://becoder.org/xiaomi-5000/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[系統] 手動更新萬用還原系統裡面的萬用驅動(WIM版)
https://becoder.org/wim-xp-driver-update/
2022-07-08T21:38:16+08:00
2015-02-04T05:14:53+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>GhostXP 是個經典的XP系統安裝方式,雖然XP已經退役很久了,但是好用的軟體不會因為微軟不支援就消失~以前大多是使用GHOST來作封裝,Win7推出以後就開始發展使用 .wim 來製作封裝。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wim-xp-driver-update/" target="_blank" rel="noopener">https://becoder.org/wim-xp-driver-update/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>GhostXP 是個經典的XP系統安裝方式,雖然XP已經退役很久了,但是好用的軟體不會因為微軟不支援就消失~以前大多是使用GHOST來作封裝,Win7推出以後就開始發展使用 .wim 來製作封裝。</p>
<p>好用的萬用系統常常會遭遇到年久失修的困擾,裡面的萬用驅動也是停留在很久以前的版本,為了讓他支援更多新驅動</p>
<p><del>新電腦沒有人會再安裝XP了XDD</del>,就突發奇想更新看看裡頭的萬用驅動囉!</p>
<h2 id="掛載wim檔"><a href="https://becoder.org/wim-xp-driver-update/#掛載wim檔" class="anchor-link" aria-label="掛載wim檔"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wim-xp-driver-update/#contents:掛載wim檔" class="headings">掛載WIM檔</a></h2>
<p>首先呢~首先需下載圖形化界面的WIM編輯軟體 Gimagex [<a href="https://download.becoder.org/gimagex-zip/" target="_blank" rel="noopener" target="_blank">點我下載</a>] ~</p>
<p> </p>
<p>抓好了嗎!?</p>
<p>那久挖出你珍愛的萬用系統吧!XDD</p>
<div style="width: 536px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/01.png" alt="" width="526" height="343" />
<p class="wp-caption-text">
找到惹!
</p>
</div>
<p> </p>
<p>再來~解壓剛剛下載好的 Gimagex,64位元請用x64版本,32位元請用x86版本~!由於我們是要編輯WIM裡面的內容,需要掛載(Mount) WIM 到電腦的資料夾作編輯,不是匯出(export)喔!</p>
<p>來到「mount」頁面後,首先找到你要掛載的資料夾,可以直接再桌面創一個新資料夾,注意要用空資料夾!再來找到自己的WIM選擇完畢後,記得將「Read and Write」、「Commit Changes」打勾,這樣等一下做的修改才會正確的回存~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/02.png" alt="" width="525" height="448" />
<p> </p>
<div style="width: 535px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/03.png" alt="" width="525" height="448" />
<p class="wp-caption-text">
Mount給他按下去~!
</p>
</div>
<div style="width: 522px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/04.png" alt="" width="512" height="433" />
<p class="wp-caption-text">
掛載完成!
</p>
</div>
<p> </p>
<p>掛載完成後~<span style="color: #ff0000;">Gimagex 直到完成編輯才能關閉,否則會悲劇唷XD</span>。打開剛剛掛載的資料夾,會發現WIM裡面的內容都出現在這個資料夾了!</p>
<div style="width: 535px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/05.png" alt="" width="525" height="459" />
<p class="wp-caption-text">
掛載完成!
</p>
</div>
<p> </p>
<h2 id="編輯檔案"><a href="https://becoder.org/wim-xp-driver-update/#編輯檔案" class="anchor-link" aria-label="編輯檔案"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wim-xp-driver-update/#contents:編輯檔案" class="headings">編輯檔案</a></h2>
<p>掛載完成後就可以開始進行編輯工作了,我們的目的是換掉舊版驅動,所以先找到驅動的資料夾吧~在根目錄就可以看到「EzDrv3」資料夾了,進入後可以看到「EasyDrv3.5」萬用驅動以及三張圖片(這是配置系統時的背景桌布,可以自己替換掉),把他換成最新的版本就可以完成這次的作業了~下載最新版的XP32BIT萬用驅動 [<a href="http://dl.becoder.org/2015/02/wandrv_35.html" target="_blank" rel="noopener" target="_blank">點我下載</a>] 吧!</p>
<p>下載好之後,將最新版的XP驅動解壓縮到「EzDrv3」資料夾內,並且將「[WinXP.x86]WanDrv6」改為「EasyDrv3.5」</p>
<div style="width: 536px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/06.png" alt="" width="526" height="442" />
<p class="wp-caption-text">
下載好了!改檔名吧!
</p>
</div>
<p> </p>
<div style="width: 535px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/07.png" alt="" width="525" height="442" />
<p class="wp-caption-text">
更名完畢!!
</p>
</div>
<p> </p>
<p>再來,把「EzDrv3」資料夾內的驅動刪除(EasyDrv3.5.exe、Files、Drivers),並將更名完成的新版萬用驅動放入~!由於萬用驅動會改變電腦的首頁,使用時可以<a href="http://azo-edu.blogspot.tw/2014/11/wandrv-v6220141109.html" target="_blank" rel="noopener" target="_blank">參考這個教學</a>(其實無大礙,裝完系統再改回即可)</p>
<div style="width: 535px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/08.png" alt="" width="525" height="459" />
<p class="wp-caption-text">
取代完畢!
</p>
</div>
<p> </p>
<p> </p>
<h2 id="儲存wim檔"><a href="https://becoder.org/wim-xp-driver-update/#儲存wim檔" class="anchor-link" aria-label="儲存wim檔"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wim-xp-driver-update/#contents:儲存wim檔" class="headings">儲存WIM檔</a></h2>
<p>取代完畢後~回到 Gimagex ,選取列表內的掛載清單,選點一下 [Unmount] 即可儲存~!</p>
<div style="width: 535px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/09.png" alt="" width="525" height="448" />
<p class="wp-caption-text">
選取列表後卸載!!
</p>
</div>
<div style="width: 549px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/10.png" alt="" width="539" height="473" />
<p class="wp-caption-text">
卸載中~~
</p>
</div>
<div style="width: 551px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/11.png" alt="" width="541" height="474" />
<p class="wp-caption-text">
卸載完成~!
</p>
</div>
<p> </p>
<p>完成後,看一下編輯好的WIM,容量是不是變大了、修改日期改變了呢~XD恭喜成功啦~!可以用虛擬機做測試了~!</p>
<div style="width: 536px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2015/02/wim-xp-driver-update/12.png" alt="" width="526" height="459" />
<p class="wp-caption-text">
更新成功~!
</p>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wim-xp-driver-update/" target="_blank" rel="noopener">https://becoder.org/wim-xp-driver-update/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[開箱] HTC Butterfly 2:HTC 防水旗艦機皇
https://becoder.org/butterfly2/
2022-07-08T21:38:16+08:00
2014-12-14T06:22:19+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>近日家人的ONE X用了三年就回了老家,電池嚴重老化,問了問認識店家都沒辦法處理,說換了的話以後其他零件以後還是會壞掉(?),剛好合約也已經到期了,就攜碼去申請新手機啦!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/butterfly2/" target="_blank" rel="noopener">https://becoder.org/butterfly2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>近日家人的ONE X用了三年就回了老家,電池嚴重老化,問了問認識店家都沒辦法處理,說換了的話以後其他零件以後還是會壞掉(?),剛好合約也已經到期了,就攜碼去申請新手機啦!</p>
<h2 id="包裝"><a href="https://becoder.org/butterfly2/#包裝" class="anchor-link" aria-label="包裝"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/butterfly2/#contents:包裝" class="headings">包裝</a></h2>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6503.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
蝴蝶2的三種顏色
</p>
</div>
<p> </p>
<p>手機外盒印製了Butterfly2的三種顏色,下方寫了蝴蝶2的主打規格:1300萬畫素的Duo相機、500萬畫素的前置鏡頭、<a href="http://zh.wikipedia.org/wiki/%E5%9B%BD%E9%99%85%E9%98%B2%E6%8A%A4%E7%AD%89%E7%BA%A7%E8%AE%A4%E8%AF%81" target="_blank" rel="noopener" target="_blank">IP57</a>的防水防塵等級:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6505.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
手機本體,下方為配件盒
</p>
</div>
<p> </p>
<p>打開後看見手機使用塑膠模包覆並放在一個凹陷紙板上,因為紙盒的空間大部份是要放配件(傳輸線、充電器、耳機、說明書)的:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6506.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
傳輸線
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6507.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
耳機
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6508.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
充電器
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6509.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
說明書
</p>
</div>
<p> </p>
<h2 id="本體"><a href="https://becoder.org/butterfly2/#本體" class="anchor-link" aria-label="本體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/butterfly2/#contents:本體" class="headings">本體</a></h2>
<p>手機本體使用霧面塑膠模包覆,可以防止不必要的異物刮損手機表面,膠膜正面使用白色字體印著「hTC Butterfly 2」,背面則印製SIM卡及MicroSD卡的安裝教學:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6511.jpg" alt="" width="600" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6513.jpg" alt="" width="600" height="800" />
<p> </p>
<p>拆掉膠膜後,光滑的外觀讓人一點就看出他是機皇,手機下方印有「hTC」的LOGO,LOGO下則是BoomSound喇叭,近期HTC手機皆是使用虛擬按鍵(海苔條),所以螢幕的空間增大了許多:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6516.jpg" alt="" width="600" height="800" />
<p> </p>
<p>手機上方則是電源開關及紅外線發射器,其實電源鍵用不太到,因為蝴蝶2有「雙擊喚醒」的功能,點螢幕兩次就可以直接開啟螢幕了:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6517.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
電源鍵(上)及紅外線發射器(下)
</p>
</div>
<p> </p>
<p> </p>
<p>手機左方的卡槽是供記憶卡使用,徒手就可以把卡槽摳出來:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6518.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
MicroSD
</p>
</div>
<p> </p>
<p>右方則是nano SIM卡的卡槽,一樣可以用指甲摳出,下方音量鍵使用同心圓設計,手指可以輕易摸到按鈕的位置,音量鍵可以設定為相機快門,可於水中照相:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6519.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
nsno SIM卡卡槽(上)、音量鍵(下)
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6521.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
同心圓設計
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6522.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
nano SIM卡
</p>
</div>
<p> </p>
<p> </p>
<p>手機下方為Micro USB插槽,蝴蝶2使用無蓋防水技術,不需要像前幾代的防水機還需要防水蓋,防水蓋長期使用下來相當容易損毀。朋友的Sony Z還沒下過水,但是防水蓋已經歸西了XDD</p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6520.jpg" alt="" width="800" height="600" />
<p>Butterfly 2跟M8一樣使用雙鏡頭,可以作照後對焦,煮鏡頭旁邊有補光燈:</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6524.jpg" alt="" width="800" height="600" />
<p> </p>
<h2 id="玻璃保護貼"><a href="https://becoder.org/butterfly2/#玻璃保護貼" class="anchor-link" aria-label="玻璃保護貼"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/butterfly2/#contents:玻璃保護貼" class="headings">玻璃保護貼</a></h2>
<p>現在手機大多使用玻璃保護貼來保護螢幕,因為硬度大於傳統的PVC保護貼,不易刮傷,沾點水擦一擦就跟新的一樣了。在貼保護貼之前需要先使用酒精清潔螢幕,否則入塵有點麻煩喔XD</p>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6526.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
玻璃保護貼
</p>
</div>
<p> </p>
<p>首先使用酒精清潔螢幕,把指紋、灰塵擦乾淨,等待酒精蒸發後就可以貼保護貼了。貼保護貼時需要把黏貼面朝下撕去塑膠膜,黏貼面朝上的話,空氣中的粉塵很容易黏在上面:</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6527.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
酒精擦拭螢幕
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6529.jpg" alt="" width="800" height="600" />
<p class="wp-caption-text">
玻璃貼自動吸附
</p>
</div>
<p> </p>
<div style="width: 610px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6532.jpg" alt="" width="600" height="800" />
<p class="wp-caption-text">
疏水疏油
</p>
</div>
<p> </p>
<h2 id="首次使用"><a href="https://becoder.org/butterfly2/#首次使用" class="anchor-link" aria-label="首次使用"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/butterfly2/#contents:首次使用" class="headings">首次使用</a></h2>
<p>HTC手機的首次使用方式都差不多,拍拍照片就好了XDD</p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6540.jpg" alt="" width="600" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6548.jpg" alt="" width="600" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6550.jpg" alt="" width="600" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6551.jpg" alt="" width="600" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6552.jpg" alt="" width="600" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6553.jpg" alt="" width="600" height="800" />
<p> </p>
<div style="width: 610px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6554.jpg" alt="" width="600" height="800" />
<p class="wp-caption-text">
贈送Google Drive 50GB 2年
</p>
</div>
<p> </p>
<h2 id="系統更新"><a href="https://becoder.org/butterfly2/#系統更新" class="anchor-link" aria-label="系統更新"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/butterfly2/#contents:系統更新" class="headings">系統更新</a></h2>
<p>新手就是要常常更新,這樣才能即時體驗最新的功能、修補相關的BUG以及漏洞:</p>
<div style="width: 610px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6539.jpg" alt="" width="600" height="800" />
<p class="wp-caption-text">
更新啦
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6541.jpg" alt="" width="600" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6542.jpg" alt="" width="600" height="800" />
<p> </p>
<div style="width: 610px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6544.jpg" alt="" width="600" height="800" />
<p class="wp-caption-text">
更新完畢
</p>
</div>
<p> </p>
<h2 id="安兔兔跑分"><a href="https://becoder.org/butterfly2/#安兔兔跑分" class="anchor-link" aria-label="安兔兔跑分"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/butterfly2/#contents:安兔兔跑分" class="headings">安兔兔跑分</a></h2>
<p>機皇拿來跑分是一定要做的事情啦,只拍了幾張,不過分數才是重點,跑分出來還不錯!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6537.jpg" alt="" width="800" height="600" />
<p> </p>
<div style="width: 610px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/12/butterfly2/SAM_6538.jpg" alt="" width="600" height="800" />
<p class="wp-caption-text">
跑分還不錯(針筒是那來灑水的XD)
</p>
</div>
<p> </p>
<p> </p>
<h2 id="感想"><a href="https://becoder.org/butterfly2/#感想" class="anchor-link" aria-label="感想"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/butterfly2/#contents:感想" class="headings">感想</a></h2>
<p>開完箱後,覺得自己用紅米後再拿這隻的落差真的很大,一分錢一分貨,尤其是那個相機…,以後慢慢存錢也來買一支機皇來玩啦,重度使用者拿小紅米真的好難受QAQ</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/butterfly2/" target="_blank" rel="noopener">https://becoder.org/butterfly2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[開箱] 小米行動電源 16000mAh 開箱!!
https://becoder.org/xiaomi-16000/
2022-07-08T21:38:16+08:00
2014-11-29T09:48:30+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>11/11是傳說中中國的「光棍節」,各地單身好漢的敗家日(?)小米也在這天推出了新版的行動電源,這次的容量比以往多出了不少,當然外觀也是有所改變,因為都是使用18650電池作為儲存空間。由於這次開賣僅限於中國,我們要買<a href="http://www.mi.com/dianyuan16000" target="_blank">16000mAh版本</a>的話就要麻煩一點(淘寶)了,東西終於在這個星期過送來啦,好久沒有寫開箱了,不知道還記不記得以前的寫法XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xiaomi-16000/" target="_blank" rel="noopener">https://becoder.org/xiaomi-16000/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>11/11是傳說中中國的「光棍節」,各地單身好漢的敗家日(?)小米也在這天推出了新版的行動電源,這次的容量比以往多出了不少,當然外觀也是有所改變,因為都是使用18650電池作為儲存空間。由於這次開賣僅限於中國,我們要買<a href="http://www.mi.com/dianyuan16000" target="_blank" rel="noopener" target="_blank">16000mAh版本</a>的話就要麻煩一點(淘寶)了,東西終於在這個星期過送來啦,好久沒有寫開箱了,不知道還記不記得以前的寫法XD</p>
<h2 id="外盒"><a href="https://becoder.org/xiaomi-16000/#外盒" class="anchor-link" aria-label="外盒"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-16000/#contents:外盒" class="headings">外盒</a></h2>
<p>小米行動電源包裝一概都是使用極簡包裝的白色紙盒,其實產品不用過度包裝就有該有的保護了,這樣的作法不僅環保也省了一點成本。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6463.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
極簡包裝
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6466.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
官方網址
</p>
</div>
<p> </p>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6465.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
顏料也是能省則省
</p>
</div>
<p> </p>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6464.JPG" alt="" width="800" height="1067" />
<p class="wp-caption-text">
疊疊樂XD
</p>
</div>
<p> </p>
<h2 id="開盒"><a href="https://becoder.org/xiaomi-16000/#開盒" class="anchor-link" aria-label="開盒"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-16000/#contents:開盒" class="headings">開盒</a></h2>
<p>鑑賞完外盒之後,再來就是拆盒了(廢話),因為16000版體積較大,所以內部需要再使用一個架子撐著,這次不再使用壓克力盒,一樣使用紙製的紙盒來作固定、緩衝撞擊,環保包裝大大減低了以往塑膠製外盒過度包裝所成的污染,個人還滿喜歡的XD。</p>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6467.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
電池使用紙盒固定
</p>
</div>
<p> </p>
<p>行動電源所附的傳輸線,中國版依舊是麵條式,臺版最近則改為傳統的傳輸線,不知道小米的用意為何?</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6468.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
麵條線
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6469.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
外殼依舊印製著 mi.com
</p>
</div>
<p> </p>
<p> </p>
<p>行動電源本體朝向紙盒的那面貼有一層透明塑膠貼紙作為保護,因為粗糙的紙盒可能會導致電源造成磨損~!</p>
<div style="width: 610px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6470.JPG" alt="" width="600" height="800" />
<p class="wp-caption-text">
透明貼紙
</p>
</div>
<p> </p>
<h2 id="本體"><a href="https://becoder.org/xiaomi-16000/#本體" class="anchor-link" aria-label="本體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-16000/#contents:本體" class="headings">本體</a></h2>
<p>電源本體的外殼一概使用陽極氧化作為保護,避免磨損以及腐蝕,這次的的外殼明顯變薄了一點,或許可以減輕一點重量。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6473.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
16000 mAh
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6475.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
用不到這層貼紙了,撕掉比較好看
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6476.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
貼紙似乎把Logo給黏下來了XDD
</p>
</div>
<p> </p>
<div style="width: 610px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6477.JPG" alt="" width="600" height="800" />
<p class="wp-caption-text">
拆完了~
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6478.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
Logo上面有點網紋,不知道是不是故意的?
</p>
</div>
<p> </p>
<p>16000版的行動電源擁有雙輸出,總電流輸出可以到3.6A,兩孔同時使用的話,每一孔可以輸出1.8A的電流,比市售的其他電源規格好了一點。</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6479.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
撕掉保護貼紙
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6480.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
雙USB輸出~
</p>
</div>
<p> </p>
<h2 id="說明書"><a href="https://becoder.org/xiaomi-16000/#說明書" class="anchor-link" aria-label="說明書"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-16000/#contents:說明書" class="headings">說明書</a></h2>
<p>一般人應該沒在看說明書的(?)不過第一次使用還是要稍微注意一下,以免看不懂燈號指示~!</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6481.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
說明書~
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6482.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
使用方法
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6483.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
防偽說明~
</p>
</div>
<p> </p>
<h2 id="比較52001040016000"><a href="https://becoder.org/xiaomi-16000/#比較52001040016000" class="anchor-link" aria-label="比較52001040016000"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-16000/#contents:比較52001040016000" class="headings">比較(5200、10400、16000)</a></h2>
<p>這三款行動電源皆是使用18650電池製作,所以容量變大外觀也需要作調整,意思就是在裡面多放幾顆18650而已XD~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6487.JPG" alt="" width="800" height="600" />
<p> </p>
<p>16000和10400的外殼厚度有點不同,16000比10400薄了一點</p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6486.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
10400(右)的外殼厚度比16000(左)厚了一點
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6491.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
排隊來一張
</p>
</div>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/11/xiaomi-16000/SAM_6490.JPG" alt="" width="800" height="600" />
<p class="wp-caption-text">
來個疊疊樂
</p>
</div>
<p> </p>
<h2 id="結論"><a href="https://becoder.org/xiaomi-16000/#結論" class="anchor-link" aria-label="結論"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/xiaomi-16000/#contents:結論" class="headings">結論</a></h2>
<p>5200、10400、16000各有優缺點,5200方便攜帶,個人使用;10400適合重度使用,但是借朋友、家人使用的話自己就不能充了XDDD;16000雙輸出可以解決10400所遇到的困擾,但是拿起來真的有點重,只要仔細評估自己的使用狀況,選擇適合自己的行動電源就是CP值最高的產品了!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xiaomi-16000/" target="_blank" rel="noopener">https://becoder.org/xiaomi-16000/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[越獄] Cydia 新增套件庫,免費安裝 Barrel 翻頁特效
https://becoder.org/cydia-barrel-free/
2022-07-08T21:38:16+08:00
2014-10-10T08:06:16+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>剛剛替iPod Touch 4 越獄並裝好 Cydia 了,想裝個 Barrel 來玩玩但是卻需要付費(<del>哪尼,越獄不就是要玩免費的嗎!</del>)!其實只需要新增個套件庫(原來IOS也是用.deb檔安裝軟體)就可以免費下載 Barrel 了!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cydia-barrel-free/" target="_blank" rel="noopener">https://becoder.org/cydia-barrel-free/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>剛剛替iPod Touch 4 越獄並裝好 Cydia 了,想裝個 Barrel 來玩玩但是卻需要付費(<del>哪尼,越獄不就是要玩免費的嗎!</del>)!其實只需要新增個套件庫(原來IOS也是用.deb檔安裝軟體)就可以免費下載 Barrel 了!</p>
<h2 id="新增套件庫"><a href="https://becoder.org/cydia-barrel-free/#新增套件庫" class="anchor-link" aria-label="新增套件庫"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cydia-barrel-free/#contents:新增套件庫" class="headings"> 新增套件庫</a></h2>
<p>打開 Cydia 後,點下面的「來源」新增套件庫</p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_00.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
點擊來源
</p>
</div>
<p> </p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_01.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
點「編輯」
</p>
</div>
<p> </p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_02.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
加入套件庫
</p>
</div>
<p> </p>
<p> </p>
<p>再這裡輸入 <code>http://cydia.xsellize.com/</code> 以新增套件庫</p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_03.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
輸入後加入來源
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_04.png" alt="" width="640" height="960" />
<p> </p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_05.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
裡面似乎充滿盜版的 JB 軟體,不放心的話可以取消
</p>
</div>
<p> </p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_06.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
更新套件庫
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_07.png" alt="" width="640" height="960" />
<p> </p>
<h2 id="安裝軟體"><a href="https://becoder.org/cydia-barrel-free/#安裝軟體" class="anchor-link" aria-label="安裝軟體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cydia-barrel-free/#contents:安裝軟體" class="headings">安裝軟體</a></h2>
<p>確定套件來源有出現 xSellize 就可以點搜尋了,也可以試試看付費的軟體</p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_08.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
點搜尋
</p>
</div>
<p> </p>
<p>搜尋「Barrel」</p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_09.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
輸入 Barrel
</p>
</div>
<p> </p>
<p>點擊來源為 xSellize 的 Barrel 即可</p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_10.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
點選來源為 xSellize 的 Barrel
</p>
</div>
<p> </p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_11.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
安裝!
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_12.png" alt="" width="640" height="960" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_13.png" alt="" width="640" height="960" />
<p> </p>
<h2 id="安裝完成"><a href="https://becoder.org/cydia-barrel-free/#安裝完成" class="anchor-link" aria-label="安裝完成"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cydia-barrel-free/#contents:安裝完成" class="headings">安裝完成</a></h2>
<p>解鎖滑看看頁面,完全不一樣了!只有256MB的RAM但是完全不會LAG,這點真的非常吸引我阿XDD,現在 Android 4.X 以後的系統,只有 512MB 已經算是有點卡了QAQ</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_14.png" alt="" width="640" height="960" />
<p> </p>
<p>在軟體選單找到 Barrel 可以作更多的設定,真的很多玩不完</p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_15.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
可以點 Barrel 作特效設定
</p>
</div>
<p> </p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/cydia-barrel-free/cydia-barrel-free_16.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
每個都可以自己試試看
</p>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cydia-barrel-free/" target="_blank" rel="noopener">https://becoder.org/cydia-barrel-free/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[越獄] 如何替 iPod Touch 4 越獄?(IOS 6.1.6)
https://becoder.org/ipod-touch4-jb-ios-6-1-6/
2022-07-08T21:38:16+08:00
2014-10-10T05:40:09+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>我本來以為沒機會玩IOS裝置了,多虧同學友情贊助(?)他的iPod讓我可以發這篇,用過IOS才知道Android是多麼的LAG,我想我已經不去Android手機了QAQ,以後一定要買iPhone來玩玩!!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ipod-touch4-jb-ios-6-1-6/" target="_blank" rel="noopener">https://becoder.org/ipod-touch4-jb-ios-6-1-6/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>我本來以為沒機會玩IOS裝置了,多虧同學友情贊助(?)他的iPod讓我可以發這篇,用過IOS才知道Android是多麼的LAG,我想我已經不去Android手機了QAQ,以後一定要買iPhone來玩玩!!</p>
<h2 id="行前準備"><a href="https://becoder.org/ipod-touch4-jb-ios-6-1-6/#行前準備" class="anchor-link" aria-label="行前準備"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ipod-touch4-jb-ios-6-1-6/#contents:行前準備" class="headings">行前準備</a></h2>
<p>一)首先準備好一台iPod Touch 4,並且更新到最新的系統(IOS 6.1.6)</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/ipod-touch4-jb-ios-6-1-6/ios-6.1.6-JB_01.png" alt="" width="640" height="960" />
<p> </p>
<p>二)至蘋果官方網站下載最新的 iTunes 並安裝 [ <a href="http://www.apple.com/tw/itunes/download/" target="_blank" rel="noopener" target="_blank">點我下載</a> ]</p>
<p>三)下載 p0sixspwn-v1.0.8 越獄工具 [ <a href="https://download.becoder.org/p0sixspwn-v1-0-8/" target="_blank" rel="noopener" target="_blank">點我下載</a> ]</p>
<h2 id="開始jb"><a href="https://becoder.org/ipod-touch4-jb-ios-6-1-6/#開始jb" class="anchor-link" aria-label="開始jb"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/ipod-touch4-jb-ios-6-1-6/#contents:開始jb" class="headings">開始JB</a></h2>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/ipod-touch4-jb-ios-6-1-6/ios-6.1.6-JB_02.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
如果有設定密碼請先關閉
</p>
</div>
<p> </p>
<p>請使用 USB傳輸線接上電腦以及 iPod ,記得要先裝 iTunes 才可以繼續下面的步驟。有 iTunes 了以後打開剛剛下載的越獄工具 p0sixspwn-v1.0.8.exe ,直接按下右邊的 Jailbreak ,等待進度條跑完即可。<span style="color: #ff0000;">JB過程中不要去摸你的 iPod</span> 唷,聽說會出問題,我沒有去摸它所以不知道會發生什麼事情XDD</p>
<div style="width: 463px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/ipod-touch4-jb-ios-6-1-6/ios-6.1.6-JB_03.png" alt="" width="453" height="325" />
<p class="wp-caption-text">
已經越獄過了所以不能點XDD
</p>
</div>
<p> </p>
<p>等待進度條跑玩之後會自動重開機, iPod就出現 Cydia啦!!首次開啟請選擇 <strong>使用者</strong> 即可,除非你是開發人員喔!</p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/ipod-touch4-jb-ios-6-1-6/ios-6.1.6-JB_04.png" alt="" width="640" height="960" />
<p class="wp-caption-text">
爽
</p>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ipod-touch4-jb-ios-6-1-6/" target="_blank" rel="noopener">https://becoder.org/ipod-touch4-jb-ios-6-1-6/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[免空推薦] solidfiles 不限流量、多線下載、免等待的高速免費雲端空間
https://becoder.org/solidfiles-free-space/
2022-07-08T21:38:16+08:00
2014-10-05T03:12:10+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>網路上面免空這麼多,到底有哪些好用、哪些速度快?最近上網抓軟體上發現了一個名為 「solidfiles」的免費空間,速度甚快。下載連結是直接連結,可以 <a title=" [網樂通] 筆記:網樂通Debian安裝Aria2,多線滿速下載百度雲、BT!" href="http://becoder.org/nextvod-debian-aria2/" target="_blank">直接用網樂通下載</a> ,電腦不用開機就可以把需要的資料下載到硬碟,真是太方便啦XDD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/solidfiles-free-space/" target="_blank" rel="noopener">https://becoder.org/solidfiles-free-space/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>網路上面免空這麼多,到底有哪些好用、哪些速度快?最近上網抓軟體上發現了一個名為 「solidfiles」的免費空間,速度甚快。下載連結是直接連結,可以 <a title=" [網樂通] 筆記:網樂通Debian安裝Aria2,多線滿速下載百度雲、BT!" href="http://becoder.org/nextvod-debian-aria2/" target="_blank">直接用網樂通下載</a> ,電腦不用開機就可以把需要的資料下載到硬碟,真是太方便啦XDD</p>
<p> </p>
<blockquote>
<p>網站名稱:solidfiles<br>
網站網址:<a href="http://www.solidfiles.com/" target="_blank" rel="noopener" target="_blank"><a href="https://www.solidfiles.com" target="_blank" rel="noopener">www.solidfiles.com</a><br /> </a>註冊網址:<a href="https://www.solidfiles.com/signup/" target="_blank" rel="noopener" target="_blank"><a href="https://www.solidfiles.com/signup" target="_blank" rel="noopener">www.solidfiles.com/signup</a></a><br>
空間大小:50GB<br>
單檔限制:500MB<br>
自動砍檔:90天無流量自動刪除<br>
流量限制:無限</p></blockquote>
<p> </p>
<p>一進入首頁,看到左上角的敘述,霸氣十足,果斷註冊!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_01.png" alt="" width="328" height="49" />
<p> </p>
<p>進入 <a href="https://www.solidfiles.com/signup/" target="_blank" rel="noopener" target="_blank">註冊頁面</a> 後,相信對大家來說,註冊一個帳號應該不是什麼難事,按下「Continue」就可以去信箱收信了</p>
<div style="width: 777px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_02.png" alt="" width="767" height="426" />
<p class="wp-caption-text">
右邊很清楚的寫上容量、限制
</p>
</div>
<p> </p>
<div style="width: 589px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_03.png" alt="" width="579" height="196" />
<p class="wp-caption-text">
去信箱收認證信吧!
</p>
</div>
<p> </p>
<div style="width: 565px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_04.png" alt="" width="555" height="333" />
<p class="wp-caption-text">
點那串很長的網址即可
</p>
</div>
<p> </p>
<div style="width: 395px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_05.png" alt="" width="385" height="186" />
<p class="wp-caption-text">
註冊完成,登入
</p>
</div>
<p> </p>
<p>登入後,會直接轉跳至管理界面,簡潔到一個不可思議的程度,也沒有任何廣告,實在是太神啦!</p>
<div style="width: 897px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_06.png" alt="" width="887" height="291" />
<p class="wp-caption-text">
簡潔!
</p>
</div>
<p> </p>
<h2 id="遠端上傳"><a href="https://becoder.org/solidfiles-free-space/#遠端上傳" class="anchor-link" aria-label="遠端上傳"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/solidfiles-free-space/#contents:遠端上傳" class="headings">遠端上傳</a></h2>
<p>這個空間支援http上傳,可以餵直接連結(例如:http://s1.becoder.org/xxxx.zip)上傳,不需要從電腦上傳,直接從遠端伺服器把檔案抓到你的solidfiles空間裡面,作分流相當方便,速度還蠻快的!</p>
<div style="width: 544px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_07.png" alt="" width="534" height="280" />
<p class="wp-caption-text">
Downloading的意思是將檔案下載至solidfiles空間
</p>
</div>
<p> </p>
<div style="width: 562px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_08.png" alt="" width="552" height="308" />
<p class="wp-caption-text">
上傳完會直接跳出下載連結
</p>
</div>
<p> </p>
<p>測試一下下載,建議使用免空軟體多線下載,這樣比較容易滿速</p>
<div style="width: 331px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_09.png" alt="" width="321" height="94" />
<p class="wp-caption-text">
阿..
</p>
</div>
<p> </p>
<div style="width: 914px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_11.png" alt="" width="904" height="336" />
<p class="wp-caption-text">
滿速囉!
</p>
</div>
<h2 id="本機上傳"><a href="https://becoder.org/solidfiles-free-space/#本機上傳" class="anchor-link" aria-label="本機上傳"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/solidfiles-free-space/#contents:本機上傳" class="headings">本機上傳</a></h2>
<p>用電腦上傳就沒有那麼快了QAQ,台灣網路對國外就都是慢慢的</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/solidfiles-free-space/solidfiles-free-space_10.png" alt="" width="532" height="224" />
<p> </p>
<h2 id="結論"><a href="https://becoder.org/solidfiles-free-space/#結論" class="anchor-link" aria-label="結論"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/solidfiles-free-space/#contents:結論" class="headings">結論</a></h2>
<p>這個空間的遠端上傳還不錯,對於分流很有幫助阿,不用再用自己的電腦慢慢上傳上去,使用免空下載軟體可以輕鬆滿速,對於常常分享檔案的朋友、部落客們有一定的幫助,想省錢、或是像我一樣是個學生,沒有經濟能力但卻有需求的人,這些免費資源真的用不完啊!零元架站才是王道!</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/solidfiles-free-space/" target="_blank" rel="noopener">https://becoder.org/solidfiles-free-space/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[廢文] 如何使用手機作微距攝影?
https://becoder.org/phone-macro-lens/
2022-07-08T21:38:16+08:00
2014-10-01T14:47:44+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>想要拍出清楚的微距畫面不需要用到高級的鏡頭,其實只需要你的智慧型手機和一點點水就可以了哦XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/phone-macro-lens/" target="_blank" rel="noopener">https://becoder.org/phone-macro-lens/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>想要拍出清楚的微距畫面不需要用到高級的鏡頭,其實只需要你的智慧型手機和一點點水就可以了哦XD</p>
<p>首先準備一隻手機(廢話)、幾滴水,僅此而已XDDDD</p>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/phone-macro-lens/a01.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
鉛筆、手機、水
</p>
</div>
<p> </p>
<p>原本拍起來像這樣~</p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/phone-macro-lens/a02.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
普通的攝影
</p>
</div>
<p> </p>
<p>為了讓手機擁有微距功能,需要在鏡頭上面滴一滴小水滴,小水滴的表面張力會讓他形成圓滾的珠子狀,變成一個小小的凸透鏡,也就是當放大鏡使用</p>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/phone-macro-lens/a03.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
水不能太多哦!可以用帶針的針筒做
</p>
</div>
<p> </p>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/phone-macro-lens/a04.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
滴上去了!
</p>
</div>
<p> </p>
<p>當水珠過大時,用衣服或是衛生紙吸有一點起來,不然鏡頭玻璃太滑,手機一拿起來就滑走了!</p>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/phone-macro-lens/a05.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
一點點就夠了,要對準鏡頭哦!
</p>
</div>
<p> </p>
<p> </p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/phone-macro-lens/a06.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
成功的話手機相機畫面會變成這樣
</p>
</div>
<p> </p>
<p>成功以後就可以拿東西來測試了XDDD</p>
<p>這是0.5的自動鉛筆筆芯所呈現的效果,大家可以自己試試看哦!</p>
<div style="width: 1034px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/10/phone-macro-lens/a07.jpg" alt="" width="1024" height="768" />
<p class="wp-caption-text">
微距相機大成功
</p>
</div>
<p> </p>
<p>錄些布料來看看</p>
<p> </p>
<p>0.5筆芯</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/phone-macro-lens/" target="_blank" rel="noopener">https://becoder.org/phone-macro-lens/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[手機] 拋棄 MIUI,替紅米刷上 AOSP Android 4.2.2 原生系統,簡單順暢的好系統
https://becoder.org/aosp-android422-xiaomi-redmi/
2022-07-08T21:38:16+08:00
2014-08-17T15:06:31+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近新聞一直看到<a href="http://www.appledaily.com.tw/realtimenews/article/international/20140810/449435/%E5%B0%8F%E7%B1%B3%E8%AD%89%E5%AF%A6%E8%B3%87%E6%96%99%E5%9B%9E%E5%82%B3%E5%8C%97%E4%BA%AC%E3%80%80%E6%80%A5%E6%8E%A8%E3%80%8C%E9%97%9C%E9%96%89%E3%80%8D%E5%8A%9F%E8%83%BD" target="_blank">小米</a>,雖然想玩 MIUI6 ,可是紅米更新要等到年底,所以讓我狠下心來把它刷掉了,不過聽說回傳機制好像是寫死在硬體(好猛)裡面….。還是先刷掉 MIUI 在說,第一次碰的時候感覺還滿帥氣的,用久了以後就覺得越來越卡,常常滑不動。我在使用LINE時電話常常打不進來,不知道有沒有人有相同經驗,常常因為這樣被家人罵得很慘…QAQ</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/aosp-android422-xiaomi-redmi/" target="_blank" rel="noopener">https://becoder.org/aosp-android422-xiaomi-redmi/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近新聞一直看到<a href="http://www.appledaily.com.tw/realtimenews/article/international/20140810/449435/%E5%B0%8F%E7%B1%B3%E8%AD%89%E5%AF%A6%E8%B3%87%E6%96%99%E5%9B%9E%E5%82%B3%E5%8C%97%E4%BA%AC%E3%80%80%E6%80%A5%E6%8E%A8%E3%80%8C%E9%97%9C%E9%96%89%E3%80%8D%E5%8A%9F%E8%83%BD" target="_blank" rel="noopener" target="_blank">小米</a>,雖然想玩 MIUI6 ,可是紅米更新要等到年底,所以讓我狠下心來把它刷掉了,不過聽說回傳機制好像是寫死在硬體(好猛)裡面….。還是先刷掉 MIUI 在說,第一次碰的時候感覺還滿帥氣的,用久了以後就覺得越來越卡,常常滑不動。我在使用LINE時電話常常打不進來,不知道有沒有人有相同經驗,常常因為這樣被家人罵得很慘…QAQ</p>
<p>在我買紅米之前,不管用哪個品牌的手機都會刷 CM 進去,喜歡原生簡潔的界面;買了紅米之後,終於瞭解沒 ROM 可刷的痛苦……,苦了一陣子之後勉強習慣了這界面,其實類似刷機大師早就有ROM可以刷了,但是本人生性龜毛差一點就處女座的我表示一定要自己來才放心,所以叫找到這個新玩具啦!</p>
<blockquote>
<p>經過4個月的測試(8/16~12/21),本人已線刷回MIUI,主要原因為等待MIUI6的更新,後來發現MIUI系統比AOSP順暢許多,使用LINE的時候訊息的速度幾乎是秒傳,以前使用AOSP時會稍微延遲(接收者也會),事實証明官方系統因為常常推出更新所以會越來越好用、順暢,但是刷機後就不一定了,可以請讀者自行斟酌。</p></blockquote>
<p> </p>
<p>原始連結:<a href="http://en.miui.com/thread-22893-1-1.html" target="_blank" rel="noopener" target="_blank">[ROMs] AOSP ROM for RedMi (WCDMA & TD)</a></p>
<p>台灣的紅米是WCDMA ,不要抓錯了嘿!</p>
<p><span style="color: #ff0000;">刷機有非常非常非常非常小的風險請自行負責</span></p>
<p><del><span style="color: #ff0000;">[已知BUG]關機後須拆電池後才有辦法再次開機,否則會卡小米LOGO,重新啟動則無影響(不會卡LOGO),研判為關機程式不完整,但是不影響手機系統運作,為小BUG。</span></del></p>
<p><span style="color: #ff0000;">經回報,只需取消快速開機即可解決卡LOGO問題:取消quick boot (settings, accessibility, quick boot)</span></p>
<h2 id="卡刷twrp-recovery"><a href="https://becoder.org/aosp-android422-xiaomi-redmi/#卡刷twrp-recovery" class="anchor-link" aria-label="卡刷twrp-recovery"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/aosp-android422-xiaomi-redmi/#contents:卡刷twrp-recovery" class="headings">卡刷TWRP Recovery</a></h2>
<p>首先呢,替紅米刷上TWRP Recovery,不然官方的太陽春了,什麼事情都不能做QAQ,這部份忘記截圖請仔細閱讀唷</p>
<p>一)首先,把 HM1W-TWRP-2.5.0.0-stas2z.zip [ <a href="https://download.becoder.org/aosp_wcdma_redmi/" target="_blank" rel="noopener" target="_blank">點我下載</a> ]、AOSP_WCDMA_RedMI V2.0.zip [ <a href="https://download.becoder.org/aosp_wcdma_redmi/" target="_blank" rel="noopener" target="_blank">點我下載</a> ] 放進記憶卡</p>
<p>二)設定→關於手機→系統更新→選單鍵→重啟到Recovery</p>
<p>三)看到 Android 機器人的時候,按一下電源鍵,正常的話會看到橘色字體的官方 Recovery (3E)</p>
<p><strong><span style="color: #ff0000;">注意:音量上是確認、音量下是選擇</span></strong></p>
<p> </p>
<p>四)請進入 Apply update from sdcard ,找到剛放進去的 HM1W-TWRP-2.5.0.0-stas2z.zip 安裝,安裝完成會回到橘色字體的官方 Recovery</p>
<p>重開機(reboot)後,如果還是官方的界面,請在按下重開機(reboot)後,立刻按音量下進入選單,選擇 Recovery 即可進入TWRP,這個動作只需要在第一次的時候做即可(<strong><span style="color: #ff0000;">注意:音量上是確認、音量下是選擇</span></strong>)</p>
<p> </p>
<h2 id="開始安裝"><a href="https://becoder.org/aosp-android422-xiaomi-redmi/#開始安裝" class="anchor-link" aria-label="開始安裝"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/aosp-android422-xiaomi-redmi/#contents:開始安裝" class="headings">開始安裝</a></h2>
<p>刷完 Recovery 後,如果還沒有將 AOSP 刷機檔放進手機的話,把手機開機再把檔案拉入手機記憶卡。</p>
<p><span style="color: #444444;">清除手機所有資料(Wipe Datw / Cache/ Dalvik / System),<span style="color: #ff0000;">這個動作會清空手機記憶卡、內建空間以外的所有資料</span>,請謹慎!!</span></p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a01.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
清光光
</p>
</div>
<p> </p>
<p>選擇 AOSP 刷機檔安裝,安裝完成第一次開機會比較久一點,不要怕它壞掉XDD</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a02.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
開始安裝
</p>
</div>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a03.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
安裝完成
</p>
</div>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a04.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
開機啦!
</p>
</div>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a05.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
眼熟的原生界面XD
</p>
</div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a06.jpg" alt="" width="960" height="720" />
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a07.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
Sony 的 Xperia 鍵盤,可惜好像只有英文
</p>
</div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a08.jpg" alt="" width="960" height="720" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a09.jpg" alt="" width="960" height="720" />
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a10.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
Sony 的 Xperia Launcher
</p>
</div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/a11.jpg" alt="" width="960" height="720" />
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/b06.jpg" alt="" width="540" height="960" />
<p class="wp-caption-text">
極致原生~
</p>
</div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/b07.jpg" alt="" width="540" height="960" />
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/b01.jpg" alt="" width="960" height="540" />
<p class="wp-caption-text">
這相機個人覺得比MIUI好用
</p>
</div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/b02.jpg" alt="" width="960" height="540" />
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/b03.jpg" alt="" width="540" height="960" />
<p class="wp-caption-text">
還有定時開關機功能
</p>
</div>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/b04.jpg" alt="" width="540" height="960" />
<p class="wp-caption-text">
這樣應該就沒有容量不足的問題了XD
</p>
</div>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/aosp-android422-xiaomi-redmi/b05.jpg" alt="" width="540" height="960" />
<p class="wp-caption-text">
版本資訊
</p>
</div>
<p> </p>
<p>補充1:如果距離感應器失效可到Factory mod校正,音量↑+電源鍵開機,開進去之後,音量↑是確認、音量↓是選擇,找到 <code>ALS/PS</code> 進入測試</p>
<p>補充2:新版YouTube出現LAG現象,安裝5.6.36版可解決,<a href="https://drive.google.com/uc?export=download&id=0B2mETuClVWw-VXZJZmNjaElSaEE" target="_blank" rel="noopener">點此下載</a></p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/aosp-android422-xiaomi-redmi/" target="_blank" rel="noopener">https://becoder.org/aosp-android422-xiaomi-redmi/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 筆記:使用 WinSCP 對 OpenShift 作 SFTP 連線,輕鬆傳輸檔案
https://becoder.org/openshift-sftp-winscp/
2022-07-08T21:38:16+08:00
2014-08-14T00:39:43+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>OpenShift 雖然有已經有 SSH 連線可以使用指令做一些事情,但是有時候編輯一些小檔案還是需要 FTP 來傳檔案比較方便,由於 OpenShift 沒有FTP 功能,但是有SSH就可以用 SFTP 來傳檔案啦!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/openshift-sftp-winscp/" target="_blank" rel="noopener">https://becoder.org/openshift-sftp-winscp/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>OpenShift 雖然有已經有 SSH 連線可以使用指令做一些事情,但是有時候編輯一些小檔案還是需要 FTP 來傳檔案比較方便,由於 OpenShift 沒有FTP 功能,但是有SSH就可以用 SFTP 來傳檔案啦!</p>
<p>Windows 上面的 SFTP 連線軟體個人還是比較推 WinSCP [ <a href="http://www.azofreeware.com/2008/03/winscp-41-beta.html" target="_blank" rel="noopener" target="_blank">點我下載</a> ],我自己用 FileZilla 對 OpenShift 連線一直出現錯誤連不上去,好像很多人也遇過這個問題, WinSCP 就沒有這個問題,最後就選擇它了XDD。</p>
<p>下載好之後呢~解壓縮後即可使用囉,檔案來源為 <a title="免費軟體下載" href="http://www.azofreeware.com/" target="_blank">阿榮福利味</a> ,感謝榮大對免費軟體的付出,所以不用特別擔心病毒的問題XDD。</p>
<div style="width: 674px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a01.jpg" alt="" width="664" height="382" />
<p class="wp-caption-text">
點擊 WinSCP.exe 即可!
</p>
</div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a02.jpg" alt="" width="640" height="430" />
<p>在開始之前需要有一個密鑰,如果你還沒有密鑰的話,可以參考 <a title="[網站] 筆記:使用Pietty對OpenShift連線,輕鬆擁有免費高速VPS" href="http://becoder.org/pietty-openshift/" target="_blank">這篇</a> 替自己的主機產生一個密鑰!</p>
<p>有了 WinSCP 以及密鑰之後,就可以開始連線了,可是主機名稱要打什麼呢?這些資訊其實就在你的主機管理畫面~把這裡的資料整串複製下來</p>
<div style="width: 422px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a03.jpg" alt="" width="412" height="233" />
<p class="wp-caption-text">
把這串複製下來~!
</p>
</div>
<p> </p>
<p>應該是像這樣:</p>
<p><code>ssh://<span style="color: #ff0000;">[email protected]</span>/~/git/wp.git/</code></p>
<p>只需要把紅色的部份留下,這些就是主機位置&登入帳號了~</p>
<p><code> <span style="color: #ff0000;">[email protected]</span> </code></p>
<p>把這些填進 WinSCP 就好了!</p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a04.jpg" alt="" width="640" height="430" />
<p class="wp-caption-text">
輸入即可~!
</p>
</div>
<p> </p>
<p> </p>
<p>可是….<span style="color: #ff0000;">沒密碼要怎麼登入啊</span>?前面不是有提到<span style="color: #ff0000;">密鑰</span>嘛?只要有這個就可以連線啦!其實這就是密碼,只是比純文字密碼安全好幾倍,只不過~要是<span style="color: #ff0000;">這個檔案被別人拿走就糟糕了</span>,所以在 <a title=" [網站] 筆記:使用Pietty對OpenShift連線,輕鬆擁有免費高速VPS" href="http://becoder.org/pietty-openshift/" target="_blank">這篇</a> 產生密鑰的時候請記得設定密碼啊!要是外流的話只能刪掉公鑰再重新產生了~</p>
<p> </p>
<p>在 WinSCP 中,輸入完登入帳號以及主機後,按下 [ <span style="color: #ff0000;">進階</span> ] ,找到左邊的 「<span style="color: #ff0000;">SSH >> 認證</span>」 ,可以在中間看到「認證參數」,把下面的「<span style="color: #ff0000;">私人金鑰檔案</span>」填入做好的密鑰就可以了XD</p>
<div style="width: 577px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a05.jpg" alt="" width="567" height="461" />
<p class="wp-caption-text">
點右邊的「…」來找到你的密鑰
</p>
</div>
<p> </p>
<p> </p>
<p>可以先儲存起設定,這樣下一次就不必再打這些資訊了,儲存好之後點擊登入就對啦!</p>
<p> </p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a06.jpg" alt="" width="640" height="430" />
<p class="wp-caption-text">
儲存後按下登入
</p>
</div>
<p> </p>
<p>這邊輸入密鑰的密碼即可順利登入,可以把「針對這個期間記憶密碼」句選起來,在關閉程式前都不會在向你詢問密碼了,不然在傳檔案的時候它會常常叫你輸入密鑰的密碼喔XD</p>
<p> </p>
<div style="width: 401px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a07.jpg" alt="" width="391" height="309" />
<p class="wp-caption-text">
輸入密碼~要不要打勾隨你囉!
</p>
</div>
<p> </p>
<p>成功登入後看到滿滿的檔案是不是眼花了!?沒關係,只要找到 <code>app-root/repo</code> 就可以進到網站根目錄了,想做什麼就做什麼~<span style="color: #ff0000;">沒有流量限制</span>XDD</p>
<div style="width: 525px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a08.jpg" alt="" width="515" height="381" />
<p class="wp-caption-text">
app-root 用力按下去
</p>
</div>
<p> </p>
<div style="width: 502px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a09.jpg" alt="" width="492" height="231" />
<p class="wp-caption-text">
找到repo
</p>
</div>
<p> </p>
<div style="width: 532px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-sftp-winscp/a10.jpg" alt="" width="522" height="373" />
<p class="wp-caption-text">
網站根目錄!
</p>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/openshift-sftp-winscp/" target="_blank" rel="noopener">https://becoder.org/openshift-sftp-winscp/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 筆記:使用 OpenShift SSH連線純手動安裝 WordPress
https://becoder.org/openshift-wordpress-command-line-ssh/
2022-07-08T21:38:16+08:00
2014-08-13T04:12:23+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在 <a title="[網站] 筆記:使用Pietty對OpenShift連線,輕鬆擁有免費高速VPS " href="http://becoder.org/pietty-openshift-ssh/" target="_blank">上一篇</a> 建好架站環境之後呢~要如何使用 Command Line (命令列)安裝WordPress呢?其實很簡單的~需要使用的指令其實不到五個呢!其實只要有一點點的 Linux 基礎就可以啦,從來沒有用過 Linux 的話也沒關係,這篇文章就是要來讓各位知道使用 Linux 指令在 OpenShift 上面架站是一件多麼簡單的事情XDDD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/openshift-wordpress-command-line-ssh/" target="_blank" rel="noopener">https://becoder.org/openshift-wordpress-command-line-ssh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在 <a title="[網站] 筆記:使用Pietty對OpenShift連線,輕鬆擁有免費高速VPS " href="http://becoder.org/pietty-openshift-ssh/" target="_blank">上一篇</a> 建好架站環境之後呢~要如何使用 Command Line (命令列)安裝WordPress呢?其實很簡單的~需要使用的指令其實不到五個呢!其實只要有一點點的 Linux 基礎就可以啦,從來沒有用過 Linux 的話也沒關係,這篇文章就是要來讓各位知道使用 Linux 指令在 OpenShift 上面架站是一件多麼簡單的事情XDDD</p>
<p> </p>
<h2 id="準備網站檔案"><a href="https://becoder.org/openshift-wordpress-command-line-ssh/#準備網站檔案" class="anchor-link" aria-label="準備網站檔案"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openshift-wordpress-command-line-ssh/#contents:準備網站檔案" class="headings">準備網站檔案</a></h2>
<p>首先連線到你的小小主機,如果還沒有主機、部會連線的話請參考<a href="http://becoder.org/pietty-openshift/" target="_blank" rel="noopener" target="_blank">這篇</a>。連線進入之後呢,會是這個畫面,上面一大堆字真的很礙眼,可以先輸入 <code>clear</code> 清光這些用不到的文字XDD</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a01.png" alt="" width="675" height="317" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a02.png" alt="" width="675" height="317" />
<p> </p>
<p>再來進入網站根目錄,基本上一個網站的檔案都是放在網站根目錄,位置在 <code>app-root/repo/</code> 裡面,要怎麼進入資料夾呢?很簡單,只需要用到 <code>cd</code> 這個指令就可以進去啦!要進入 <code>app-root/repo/</code> 只需要輸入</p>
<p><code>cd app-root/repo/</code></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a03.png" alt="" width="675" height="269" />
<p> </p>
<p>成功進入之後,輸入 <code>ls</code> 看一下目前根目錄有什麼東西,第一次建好的小主機應該只有 <code>index.html</code> 而已,可以輸入 <code>rm -rf *</code> <span style="color: #ff0000;">把所有的東西刪除</span>,注意,<span style="color: #ff0000;">這個動作是無法復原的</span>,使用前請三思。</p>
<p><code>*</code> 字是萬用字元,如果網站根目錄有其他檔案需要留下來,只想刪除 <code>index.html</code> 的話呢,輸入<code>rm -rf index.html</code> 即可</p>
<div style="width: 685px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a04.png" alt="" width="675" height="189" />
<p class="wp-caption-text">
檔案好多..
</p>
</div>
<div style="width: 685px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a05.png" alt="" width="675" height="237" />
<p class="wp-caption-text">
砍光光~
</p>
</div>
<p> </p>
<p> </p>
<p> </p>
<p>清完檔案之後,再來就是重頭戲了,安裝WordPRess!!!架站第一部是架好環境,第二部就是把檔案放進去啦XDDD。在虛擬主機架站的時候大多都是使用 FTP 來作連線,既然都有SSH命令的權限了,哪需要慢的要死的 FTP 呢?直接用指令把檔案抓回主機就行啦!</p>
<p>先來到 <a href="http://tw.wordpress.org/" target="_blank" rel="noopener" target="_blank">WordPress 台灣正體中文</a> 找到WordPress的最新下載點,把先給它複製起來吧!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a06.png" alt="" width="260" height="254" />
<p> </p>
<p>複製好以後,回到連線的畫面,在 Linux 想要下載檔案大概就是使用 <code>wget</code> 來下載了,<code>wget</code> 的用法如下:</p>
<p><code>wget http://檔案網址</code></p>
<p>所以只要把這串拿給主機吃,它就會把 WordPress 所需的檔案抓下來了!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a07.png" alt="" width="803" height="285" />
<p> </p>
<p>下載好了,再來的動作就是解壓縮,Linux中的解壓縮 zip 檔的指令是 <code>unzip</code> ,<code>unzip</code> 用法如下:</p>
<p><code>unzip 檔案名稱</code></p>
<p>記住,該檔案的格式需要是zip喔!否則會噴錯的XD</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a08.png" alt="" width="803" height="285" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a09.png" alt="" width="803" height="285" />
<p> </p>
<p>解壓縮完成捏,可以輸入 <code>ls</code> 看看目前是什麼根目錄情況。由於我們已經用不到 zip 檔了,使用 <code>rm -rf</code> 把它刪除吧!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a10.png" alt="" width="619" height="189" />
<p> </p>
<p>解壓縮完成的檔案放在 wordpress 資料夾裡面,可是我想要直接架在根目錄,不想要再有一個資料夾怎麼辦呢?這時候只需要使用 <code>mv</code> 指令就夠了!</p>
<p>首先使用 <code>cd</code> 進入 wordpress 資料夾,進入之後先用 <code>ls</code> 看看檔案室不是正常,再使用 <code>mv</code> 指令來移動檔案, <code>mv</code> 指令的用法如下:</p>
<p><code>mv 要移動的檔案 目的地</code></p>
<p>由於我們要移動全部的檔案,所以就又需要用到萬用字元 * 字囉,目的地是上一層資料夾,上層資料夾的位置是 <code>../</code> ,有了要的移動的檔案以及目的地,可以開始工作囉!</p>
<p> </p>
<div style="width: 629px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a11.png" alt="" width="619" height="269" />
<p class="wp-caption-text">
檔案都在這個資料夾裡面
</p>
</div>
<p> </p>
<div style="width: 629px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a12.png" alt="" width="619" height="141" />
<p class="wp-caption-text">
全部移到上一層
</p>
</div>
<p> </p>
<p> </p>
<p>移動完成後,用 <code>ls</code> 看看是不是全空了XDD,再來我們要回到上一層目錄,使用 <code>cd ../</code> 就可以上去啦!上去之後再 <code>ls</code> 看一下是不是所有檔案都在這邊呢XDDD,移動完之後會留下wordpress這個空目錄,用 <code>rm -rf</code> 把它刪除吧,反正以後也用不到了,WordPress差不多快架好了喔!!!</p>
<div style="width: 629px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a13.png" alt="" width="619" height="221" />
<p class="wp-caption-text">
砍掉空資料夾!
</p>
</div>
<p> </p>
<p> </p>
<p>來到你的網站網址,終於出現這個超熟悉的畫面了XDDD</p>
<div style="width: 803px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a14.png" alt="" width="793" height="292" />
<p class="wp-caption-text">
快成功了!
</p>
</div>
<p> </p>
<p> </p>
<h2 id="開始安裝wordpress"><a href="https://becoder.org/openshift-wordpress-command-line-ssh/#開始安裝wordpress" class="anchor-link" aria-label="開始安裝wordpress"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openshift-wordpress-command-line-ssh/#contents:開始安裝wordpress" class="headings">開始安裝WordPress</a></h2>
<p>安裝WordPress應該常識,詳細過程就不再多說了,重點在於資料庫的位置在哪裡呢?還記得<a href="http://becoder.org/pietty-openshift/" target="_blank" rel="noopener" target="_blank">上一篇</a>安裝資料庫時的畫面嘛?忘記了也沒關西,我們回到 <a href="https://openshift.redhat.com/app/console/applications" target="_blank" rel="noopener" target="_blank">OpenShift</a> 的網站來設定一下資料庫。</p>
<p>因為當初有安裝 phpMyadmin ,所以不必使用指令進行操作了,紅色框框是 phpMyadmin 的網址,點進去後會出現帳號密碼輸入的畫面,上面馬賽克的位置就是帳號密碼啦!輸入即可登入!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a15.png" alt="" width="635" height="221" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a16.png" alt="" width="385" height="304" />
<p> </p>
<p> </p>
<p>再來就建一個資料庫給WordPress使用啦!應該很簡單吧!注意,MySQL伺服器位置需要輸入上方紅色框框的IP,不是 <code>127.0.0.1</code> 或是 <code>localhost</code> 喔!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a17.png" alt="" width="905" height="589" />
<div style="width: 474px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a18.png" alt="" width="464" height="116" />
<p class="wp-caption-text">
建個資料庫
</p>
</div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a19.png" alt="" width="382" height="181" />
<p> </p>
<p>大力按下送出!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a20.png" alt="" width="745" height="444" />
<p> </p>
<p>接下來的資訊就交給你自己囉!輕鬆擁有 WordPress 大功告成!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a21.png" alt="" width="748" height="282" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a22.png" alt="" width="756" height="648" />
<p> </p>
<h2 id="設定網域"><a href="https://becoder.org/openshift-wordpress-command-line-ssh/#設定網域" class="anchor-link" aria-label="設定網域"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/openshift-wordpress-command-line-ssh/#contents:設定網域" class="headings">設定網域</a></h2>
<p>完成安裝WordPress後,首先一定要有個固定的網址,架好的WordPress直接上線Google可能不會收錄你的網站,設定網域可算是一件重要的事情,因為免空換空間後,所附加的免費網域也會跟著不見,為了不讓別人找不到自己,有專屬自己固定網域是一件重要的事情。</p>
<p> </p>
<p>首先來到OpenShift的控制面板,進入應用程式後找到最上方的「change 」後進入設定</p>
<div style="width: 640px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a23.png" alt="" width="630" height="245" />
<p class="wp-caption-text">
點擊「change」
</p>
</div>
<p> </p>
<p> </p>
<p>進入後找到「Domaon Name 」,填入網域並按下「Save」作儲存</p>
<div style="width: 631px" class="wp-caption alignnone">
<img loading="lazy" class="" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a24.png" alt="" width="621" height="369" />
<p class="wp-caption-text">
填完後按下「Save」
</p>
</div>
<p> </p>
<p> </p>
<p>完成後,來到你的網域管理界面作設定,本人使用 CloudFlare 作網域代管,因為有內建CDN服務所以相當推薦。進入控制界面後添加 CNAME 紀錄,網域名稱和剛剛填入 OpenShift 的相同,紀錄內容為原先 OpenShift 所提供的免費網址,如附圖:<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/openshift-install-wordpress-command-line/a26.png" alt="" width="970" height="60" /></p>
<p> </p>
<p>網域設定完成後,需要設定一下<code>wp-config.php</code></p>
<p>在 <code>wp-config.php</code> 加上</p>
<p><code>define('WP_SITEURL', 'http://新的網址');<br /> define('WP_HOME', 'http://新的網址');</code></p>
<p>完成後即可使用新網址進入網站,有了個人網址以後分享給別人也比較好記一些,搜尋引擎也比較快收錄,流量會越來越大!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/openshift-wordpress-command-line-ssh/" target="_blank" rel="noopener">https://becoder.org/openshift-wordpress-command-line-ssh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 筆記:使用 Pietty 對 OpenShift 作SSH連線,輕鬆擁有免費高速 VPS
https://becoder.org/pietty-openshift-ssh/
2022-07-08T21:38:16+08:00
2014-08-11T13:21:36+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>使用OpenShift架站架了一段時間,可以使用SSH連線控制真的非常方便,想要架站只需要打個指令,輕輕鬆鬆抓Zip回來解壓縮;想要搬家也只需要一行指令,簡簡單單把整個網站壓縮起來,直接讓新主機抓回去使用,真心覺得跟VPS很像XDDD剛開始自己一直找不到要怎麼連線,後來會用以後也一直忘記寫起來,今天就來寫個紀錄好了XDDD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/pietty-openshift-ssh/" target="_blank" rel="noopener">https://becoder.org/pietty-openshift-ssh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>使用OpenShift架站架了一段時間,可以使用SSH連線控制真的非常方便,想要架站只需要打個指令,輕輕鬆鬆抓Zip回來解壓縮;想要搬家也只需要一行指令,簡簡單單把整個網站壓縮起來,直接讓新主機抓回去使用,真心覺得跟VPS很像XDDD剛開始自己一直找不到要怎麼連線,後來會用以後也一直忘記寫起來,今天就來寫個紀錄好了XDDD</p>
<h2 id="openshift設定"><a href="https://becoder.org/pietty-openshift-ssh/#openshift設定" class="anchor-link" aria-label="openshift設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/pietty-openshift-ssh/#contents:openshift設定" class="headings">OpenShift設定</a></h2>
<p>如果還沒有OpenShift帳號的話就趕快去[<a href="https://www.openshift.com/app/account/new" target="_blank" rel="noopener" target="_blank">這裡</a>]辦一個吧!!</p>
<p>有了帳號以後呢~來到<a href="https://openshift.redhat.com/app/console/applications" target="_blank" rel="noopener" target="_blank">Applications</a>,第一次辦帳號的話就是空白的,按一下 [ Add Application… ] ,來新增一個應用程式,也就是你的小主機</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a01.jpg" alt="" width="515" height="271" />
<p> </p>
<p>找到PHP5.4之後,點進去再自訂自己需要的網址,完成之後按下 [ Create Application ] ,需要一點時間~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a02.jpg" alt="" width="525" height="365" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a03.jpg" alt="" width="680" height="103" />
<p>再來進入 [ Continue to the application overview page ] ,替小主機安裝MySQL資料庫以及phpMyadmin資料庫管理程式~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a04.jpg" alt="" width="707" height="236" />
<p> </p>
<p> </p>
<p>進入之後,進入下面的 [ Add MySQL 5.5 ] ,再點[ Add Cartridge ] 來安裝資料庫~</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a05.jpg" alt="" width="451" height="228" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a06.jpg" alt="" width="451" height="140" />
<p> </p>
<p>資料庫裝好後,進入 [ Add phpMyAdmin 4.0 ] 後,按 [ Add Cartridge ] 安裝 phpMyAdmin ,這樣就可以用輕輕鬆鬆用網頁來管理MySQL內容惹~XD</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a07.jpg" alt="" width="280" height="166" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a08.jpg" alt="" width="504" height="165" />
<p> </p>
<p>看到這個畫面就是安裝完成啦!上面綠色的資訊是給資料庫使用的root帳號,登入 phpMyadmin 也是使用這組,忘記的話可以點 MySQL 5.5 這欄的 show 得知密碼!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a09.jpg" alt="" width="634" height="336" />
<p> </p>
<h2 id="pietty-設定"><a href="https://becoder.org/pietty-openshift-ssh/#pietty-設定" class="anchor-link" aria-label="pietty-設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/pietty-openshift-ssh/#contents:pietty-設定" class="headings">Pietty 設定</a></h2>
<p>請先下載Pietty [ <a href="https://download.becoder.org/putty/" target="_blank" rel="noopener" target="_blank">點我下載</a> ]、PuTTYgen [ <a href="https://download.becoder.org/putty/" target="_blank" rel="noopener" target="_blank">點我下載</a> ] 。打開PuTTYgen,按下 [ Generate ] ,過程中需要到框框內任意移動滑鼠,否則進度條會卡住</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a10.jpg" alt="" width="483" height="468" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a11.jpg" alt="" width="483" height="468" />
<p> </p>
<p> </p>
<p>跑完之後,把馬賽克裡面的所有內容複製起來,設定好密碼之後,點 [ <span style="color: #666666;">Save Private key ] 儲存密鑰,記得設定密鑰的密碼~</span></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a12.jpg" alt="" width="483" height="468" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a13.jpg" alt="" width="625" height="480" />
<p>來到<a href="https://openshift.redhat.com/app/console/keys/new" target="_blank" rel="noopener" target="_blank">這裡</a>,把剛剛複製好的公鑰貼進來,並隨便取個名字,按下 [ Create ]</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a14.jpg" alt="" width="505" height="372" />
<p> </p>
<p>打開Pietty,進入 Putty 模式,到 Auth 選擇密鑰路徑。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a15.jpg" alt="" width="456" height="439" />
<p>回到上面 Session ,Host Name那邊填入的東西可以到這裡複製</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a16.jpg" alt="" width="412" height="233" />
<p>得到的結果應該是像這樣</p>
<p><code>ssh://[email protected]/~/git/wp.git/</code></p>
<p>留下這些並填入即可</p>
<p><code>[email protected]</code><br>
可以在 Saved Sessions 這邊填入喜歡的名字存檔,下次要用時比較不用那麼麻煩~再來按下 Open 就可以連線啦</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a17.jpg" alt="" width="456" height="439" />
<p> </p>
<p>進入之後,輸入剛才替密鑰設定的密碼就可以順利登入了</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a18.jpg" alt="" width="547" height="269" />
<p> </p>
<p>登入之後呢,輸入 <code>cd app-root/repo/</code> 就可以進入網站根目錄了</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/pietty-openshift/a19.jpg" alt="" width="707" height="269" />
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/pietty-openshift-ssh/" target="_blank" rel="noopener">https://becoder.org/pietty-openshift-ssh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[系統] 自製Windows 7 + Windows 8.1 整合光碟
https://becoder.org/gimagex-win7-win81-all-in-one/
2022-07-08T21:38:16+08:00
2014-08-03T07:16:43+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>把 Grub4Dos 拿來讓隨身碟做開機救援碟雖然方便,不過 7 和 8.1 卻沒辦法用簡單的方法直接放在同一個隨身碟裡面。就算放進去了,卻需要手動掛載映像檔,想到這點就很討厭,就把腦筋動到映像檔上面,把這兩個系統塞到同一個映像檔看看會怎樣,最後就成功了,Windows 7 還能原生支援 USB 3.0 安裝呢XDDDD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/gimagex-win7-win81-all-in-one/" target="_blank" rel="noopener">https://becoder.org/gimagex-win7-win81-all-in-one/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>把 Grub4Dos 拿來讓隨身碟做開機救援碟雖然方便,不過 7 和 8.1 卻沒辦法用簡單的方法直接放在同一個隨身碟裡面。就算放進去了,卻需要手動掛載映像檔,想到這點就很討厭,就把腦筋動到映像檔上面,把這兩個系統塞到同一個映像檔看看會怎樣,最後就成功了,Windows 7 還能原生支援 USB 3.0 安裝呢XDDDD</p>
<p>需要的工具程式有 Gimagex [<a href="https://download.becoder.org/gimagex-zip/" target="_blank" rel="noopener" target="_blank">點我下載</a>] 以及 Ultraiso (如果不想包回ISO映像檔就不需要了),Gimagex 是專門用來編輯 Windows 映像格式的圖形化軟體,其實就只是一個類似7-Zip的壓縮工具,不過好像只能拿來包.wim的檔案~</p>
<p>再來先準備好各版的 Windows 安裝ISO檔,建議<del>去Google下載</del>自己從正版光碟轉成ISO~</p>
<p>準備好之後捏,使用7-Zip把ISO打開後,進入 <code>sources/</code> 把 <code>install.wim</code> 解壓縮出來,取成喜歡的名字,Win7叫<code>install7.wim</code>、Win8.1就叫<code>install8.1.wim</code>好了!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a01.jpg" alt="" width="349" height="298" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a02.jpg" alt="" width="349" height="298" />
<p> </p>
<p>再來打下載好的 Gimagex.zip,解壓縮後會看到x86 x64 資料夾,如果目前使用的系統是32位元就使用 x86 資料夾內的程式,64位元就用x64囉!</p>
<p> </p>
<h2 id="匯入安裝版本"><a href="https://becoder.org/gimagex-win7-win81-all-in-one/#匯入安裝版本" class="anchor-link" aria-label="匯入安裝版本"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/gimagex-win7-win81-all-in-one/#contents:匯入安裝版本" class="headings">匯入安裝版本</a></h2>
<p>打開之後到「Export」匯出各個安裝版本,「Source」選擇從 Win7 或 Win8 提出來的 <code>install.wim</code> 檔案作為來源,選好之後點「Browse」下面的「select」來選擇要匯出的版本。匯出的意思是指從一個 <code>.wim</code> 裡面提取到另個 <code>.wim</code> 裡面,所以就可以把Winsdows 7 和 8.1 合在一起啦!<span style="color: #ff0000;">[補充] 為了檔案完全,請將Options內的Check打勾</span></p>
<div style="width: 789px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a03.jpg" alt="" width="779" height="610" />
<p class="wp-caption-text">
選擇來源
</p>
</div>
<div style="width: 695px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a04.jpg" alt="" width="685" height="550" />
<p class="wp-caption-text">
選擇版本
</p>
</div>
<p> </p>
<p>再來到「Destination」選擇要存檔的地方,先取個 <code>87.wim</code> 好了,「Compression」選「Maximum」,這樣檔案可以壓縮的小一點,可以自行取捨,隨身碟不夠大就要最大壓縮了!</p>
<div style="width: 623px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a05.jpg" alt="" width="613" height="500" />
<p class="wp-caption-text">
最大壓縮!
</p>
</div>
<p> </p>
<p>可以按下「Export」了,通常第一次匯出都會比較慢,請注意,版本的順序不能事後更改!需要在匯入時依序匯入QAQ</p>
<div style="width: 575px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a06.jpg" alt="" width="565" height="475" />
<p class="wp-caption-text">
開始匯出
</p>
</div>
<p> </p>
<div style="width: 565px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a07.jpg" alt="" width="555" height="472" />
<p class="wp-caption-text">
完成!
</p>
</div>
<div style="width: 522px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a08.jpg" alt="" width="512" height="414" />
<p class="wp-caption-text">
重複動作就可以做出19合1了XD
</p>
</div>
<div style="width: 522px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a09.jpg" alt="" width="512" height="414" />
<p class="wp-caption-text">
重複動作就可以做出19合1了XD
</p>
</div>
<p> </p>
<p>如果不知道怎麼看成果的話,可以把「Source」改成輸出的檔案,再按「select」即可XD</p>
<p> </p>
<p> </p>
<h2 id="修改名稱"><a href="https://becoder.org/gimagex-win7-win81-all-in-one/#修改名稱" class="anchor-link" aria-label="修改名稱"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/gimagex-win7-win81-all-in-one/#contents:修改名稱" class="headings">修改名稱</a></h2>
<p>匯入好了,但是各版的的名字或是敘述都很奇怪,如果不在意這個的話就不必改了,不影響系統運作,但是這種小細節卻會大大影響我的心情,當然要作有規律的修改…</p>
<p>首先切換到「Change」頁面作修改,「Source」選擇匯出完成的 .wim 作為來源,按「select」選選要修改名稱敘述的版本~</p>
<p><span style="color: #ff0000;">[補充]</span> <span style="color: #ff0000;">下方Display Name 也需要同時作修改,否則可能在安裝時無法正確顯示</span>,感謝網友指正!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a12a1.jpg?resize=525%2C449" alt="" width="525" height="449" />
<div style="width: 535px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a10.jpg" alt="" width="525" height="449" />
<p class="wp-caption-text">
選擇要更改的.wim
</p>
</div>
<p> </p>
<div style="width: 557px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a11.jpg" alt="" width="547" height="490" />
<p class="wp-caption-text">
選擇要更改的版本
</p>
</div>
<p> </p>
<p>修改完畢後按下按下「Change」,作存檔動作</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a12.jpg" alt="" width="525" height="449" />
<p> </p>
<div style="width: 485px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a13.jpg" alt="" width="475" height="403" />
<p class="wp-caption-text">
修改完畢
</p>
</div>
<p> </p>
<p>成功之後再一下「select」看看敘述是不是改變了XD</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a14.jpg" alt="" width="551" height="479" />
<h2 id="編輯eicfg"><a href="https://becoder.org/gimagex-win7-win81-all-in-one/#編輯eicfg" class="anchor-link" aria-label="編輯eicfg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/gimagex-win7-win81-all-in-one/#contents:編輯eicfg" class="headings"> 編輯EI.CFG<span style="font-size: 20px; color: #656565; font-family: 'Open Sans', Arial, sans-serif; font-weight: 400; line-height: 1.5;"> </span></a></h2>
<p>用文字編輯器將EI.CFG的內容改為以下的樣子,否則會錯誤喔!</p>
<p><code>[Channel]<br /> Retail<br /> [VL]<br /> 0</code></p>
<h2 id="放入iso"><a href="https://becoder.org/gimagex-win7-win81-all-in-one/#放入iso" class="anchor-link" aria-label="放入iso"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/gimagex-win7-win81-all-in-one/#contents:放入iso" class="headings">放入ISO</a></h2>
<p>全部都修好之後,使用 Ultraiso <span style="color: #ff0000;">開啟 Windows 8.1的ISO檔</span>(記得備份),進入 <code>sources/</code> 把原本的 <code>install.wim</code>、<code>EI.CFG</code> 刪除後再放入修改完成的檔案,<code>install.wim</code> 的檔名記得改回 <code>install.wim</code> 再存檔,不然會無法安裝喔!</p>
<div style="width: 694px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a15.jpg" alt="" width="684" height="543" />
<p class="wp-caption-text">
刪除install.wim
</p>
</div>
<div style="width: 694px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a16.jpg" alt="" width="684" height="542" />
<p class="wp-caption-text">
把修改後的版本拉近來
</p>
</div>
<div style="width: 694px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a17.jpg" alt="" width="684" height="542" />
<p class="wp-caption-text">
名字改回install.wim
</p>
</div>
<p> </p>
<p>因為 Windows 8.1 有原生支援 USB 3.0 ,使用 USB 3.0 隨身碟安裝系統就不必再另外放驅動了!存檔完成之後就可以用虛擬機做測試了!</p>
<div style="width: 267px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a18.jpg" alt="" width="257" height="149" />
<p class="wp-caption-text">
另存新檔
</p>
</div>
<div style="width: 556px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a19.jpg" alt="" width="546" height="346" />
<p class="wp-caption-text">
取個名字
</p>
</div>
<div style="width: 487px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a20.jpg" alt="" width="477" height="267" />
<p class="wp-caption-text">
等待吧!
</p>
</div>
<p> </p>
<p>這是我自己做的19 in 1,可以使用USB 3.0開機XDD真的很方便XD</p>
<div style="width: 677px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a21.jpg" alt="" width="667" height="511" />
<p class="wp-caption-text">
19 in 1 !!!
</p>
</div>
<div style="width: 678px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/gimagex-win7-win81-all-in-one/a22.jpg" alt="" width="668" height="502" />
<p class="wp-caption-text">
19 in 1 !!!
</p>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/gimagex-win7-win81-all-in-one/" target="_blank" rel="noopener">https://becoder.org/gimagex-win7-win81-all-in-one/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[開箱] Asus Zenfone 4 便宜好用的可愛小手機
https://becoder.org/asus-zenfone4-8g1g/
2022-07-08T21:38:16+08:00
2014-07-31T16:20:58+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近家裡大人受不了舊手機的小音量,憤而叫我幫他選一隻Android手機,廢話我當然是直接推Zenfone5,不過被嫌棄說太大隻出門不方便攜帶,最後就選便宜然後規格還可以的Zenfone4啦XDDDDD,第一次寫手機開箱文還請各位大大見諒<(_ _)></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/asus-zenfone4-8g1g/" target="_blank" rel="noopener">https://becoder.org/asus-zenfone4-8g1g/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近家裡大人受不了舊手機的小音量,憤而叫我幫他選一隻Android手機,廢話我當然是直接推Zenfone5,不過被嫌棄說太大隻出門不方便攜帶,最後就選便宜然後規格還可以的Zenfone4啦XDDDDD,第一次寫手機開箱文還請各位大大見諒<(_ _)></p>
<p>就在某個星期五,家長看到我的Zenfone5開箱文就受不了啦,星期五晚上訂貨之後,7-11取貨星期日早上就來了。不過這樣還不算快,朋友說用宅配可以隔天馬上到貨,感覺有點猛欸</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a01.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
嘿嘿貨來惹
</p>
</div>
<p> </p>
<p>扒掉<del>上衣</del>紙箱之後,手機盒的外面還有一圈很像枕頭的充氣軟墊包著,很怕運送時摔壞賠錢,不是隨便的報紙隨便揉一揉塞進去(好像網路拍賣才會這樣做齁)</p>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a02.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
是香蕉色還是向日葵阿!!!!
</p>
</div>
<p> </p>
<div style="width: 730px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a03.jpg" alt="" width="720" height="960" />
<p class="wp-caption-text">
Zenfone系列一貫的包裝~
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a04.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
現在手機的標配,沒有的話好像還會被罰錢
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a05.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
手機背蓋說明書,第一次拿就算有說明還是不會拆…
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a06.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
輸出是5.2V/1.35A,給小手機,夠用了!
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a07.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
1540mAh的電池,今年五月出廠~
</p>
</div>
<p> </p>
<h2 id="外觀"><a href="https://becoder.org/asus-zenfone4-8g1g/#外觀" class="anchor-link" aria-label="外觀"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/asus-zenfone4-8g1g/#contents:外觀" class="headings">外觀</a></h2>
<p>這隻是黃色版,下方一樣有同心圓拉絲,不過沒有Zenfone5那麼清楚,整體起來塑膠感重了一點,不過個人還蠻喜歡這個圓角風格0w0</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a09.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
細微的拉絲,沒有相當明顯
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a10.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
拿在手上~剛好沒腳架只好用左手拿了QQ
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a11.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
背面~黃色版的Intel inside和Zenfone比較沒那麼清楚
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a12.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
ASUS就很清楚啦XDDD 鏡頭的旁邊是喇叭孔~!
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a13.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
Zenfone系列滿滿的同心圓XDDDD
</p>
</div>
<p> </p>
<p> </p>
<h2 id="手機內部"><a href="https://becoder.org/asus-zenfone4-8g1g/#手機內部" class="anchor-link" aria-label="手機內部"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/asus-zenfone4-8g1g/#contents:手機內部" class="headings">手機內部</a></h2>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a14.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
放記憶卡的地方,可以支援到64GB
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a15.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
雙卡機~大卡進不去…..
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a16.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
手機上面寫1600mAh,和電池上面印的差不多
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/a17.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
裝上電池開機!!
</p>
</div>
<p> </p>
<p> </p>
<h2 id="開機"><a href="https://becoder.org/asus-zenfone4-8g1g/#開機" class="anchor-link" aria-label="開機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/asus-zenfone4-8g1g/#contents:開機" class="headings"> 開機</a></h2>
<div style="width: 730px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b01.jpg" alt="" width="720" height="960" />
<p class="wp-caption-text">
開機!!Google要求使用Android做為系統的手機都要加上「powered by ANDROID」
</p>
</div>
<p> </p>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b02.jpg" alt="" width="540" height="720" />
<p class="wp-caption-text">
Intel~~~
</p>
</div>
<p> </p>
<h3 id="首次設定"><a href="https://becoder.org/asus-zenfone4-8g1g/#首次設定" class="anchor-link" aria-label="首次設定"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/asus-zenfone4-8g1g/#contents:首次設定" class="headings">首次設定</a></h3>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b03.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
多國語言是一定要的
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b04.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
只會注音XDDD倉頡什麼的感覺好困難T_T
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b05.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
目前沒有申請3G上網的話就選WIFI吧,不然很貴滴
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b06.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
中華電信附的路由器,難以理解的是為什麼新手機會有Hinet的紀錄…
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b07.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
先登入Google就好,ASUS的帳號可以以後再申請
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b08.jpg" alt="" width="480" height="800" />
<p> </p>
<p> </p>
<h3 id="進入桌面"><a href="https://becoder.org/asus-zenfone4-8g1g/#進入桌面" class="anchor-link" aria-label="進入桌面"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/asus-zenfone4-8g1g/#contents:進入桌面" class="headings">進入桌面</a></h3>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b09.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
終於進入畫面啦!熟悉的ZenUI!
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b10.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
ZenUI上方的工具列按鈕~
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b11.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
通知欄
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b12.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
程式選單,跟原生桌面還蠻像的
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b13.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
右上角可以作軟體管理
</p>
</div>
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b14.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
安兔兔新機跑分~還不錯的分數,改天再來試試大型遊戲
</p>
</div>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b15.jpg" alt="" width="480" height="800" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b14.jpg" alt="" width="480" height="800" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b15.jpg" alt="" width="480" height="800" />
<p> </p>
<div style="width: 490px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b16.jpg" alt="" width="480" height="800" />
<p class="wp-caption-text">
輸紅米一點,但我的紅米分數卻沒有排名中那麼漂亮
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b17.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
解鎖畫面
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b18.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
解鎖啦
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b19.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
直接拖動解鎖畫面的軟體即可執行
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b20.jpg" alt="" width="800" height="480" />
<p class="wp-caption-text">
ZenUI的相機
</p>
</div>
<p> </p>
<div style="width: 810px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b21.jpg" alt="" width="800" height="480" />
<p class="wp-caption-text">
想不倒這隻手機也有時光機的功能阿XDDDD
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/08/asus-zenfone4-8g1g/b22.jpg" alt="" width="960" height="720" />
<p class="wp-caption-text">
500萬相機拍出來的照片,還可以接受,假日再補戶外實拍照XDDDD
</p>
</div>
<p> </p>
<p>小小開箱文結束,假日再作戶外實拍以及寫真照XDDDD</p>
<p>這個價格有8G的容量根本就屌打紅米3999元~還好我當初是跟朋友買二手的紅米,比這一台便宜一點點也算值得了XDDDD</p>
<p>這類型的高CP手機拿來孝親和學生使用真的很適合(茶),便宜好用、弄壞或是不見也不會那麼心疼,雖然已經拿紅米1了,但是我還是很想換Zenfone5阿QAQ</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/asus-zenfone4-8g1g/" target="_blank" rel="noopener">https://becoder.org/asus-zenfone4-8g1g/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[手機] 第一次摸 Zenfone 5 的感覺是…小米加把勁吧!
https://becoder.org/asus-zenfone5-16g2g/
2022-07-08T21:38:16+08:00
2014-07-24T15:20:16+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近在宿舍吃晚餐的時候,有人跟我說他買了,買啥??還真是一頭霧水,仔細一問才想起暑假前他問我說買哪隻手機好,因為他的手機已經到了該退休的年紀(螢幕有個超大撞痕),我推薦他入手了CP值爆表的Zenfone5 (16G/2G),原來他在暑輔前就買了,既然都摸到了這隻台灣CP王,當然要借來稍微評測一下…</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/asus-zenfone5-16g2g/" target="_blank" rel="noopener">https://becoder.org/asus-zenfone5-16g2g/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近在宿舍吃晚餐的時候,有人跟我說他買了,買啥??還真是一頭霧水,仔細一問才想起暑假前他問我說買哪隻手機好,因為他的手機已經到了該退休的年紀(螢幕有個超大撞痕),我推薦他入手了CP值爆表的Zenfone5 (16G/2G),原來他在暑輔前就買了,既然都摸到了這隻台灣CP王,當然要借來稍微評測一下…</p>
<p>這隻手機是紅色版~背面清楚可見Zenfon5背面清楚可見「Zenfone」以及「Intel Inside」!聽說Inetl的x86架構處理器輕鬆打爆arm架構的CPU,雖然只有雙核心,但是感覺起來卻比紅米手機1 MTK四核心流暢!</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/00.jpeg" alt="" width="960" height="720" />
<p class="wp-caption-text">
超美的啦…
</p>
</div>
<p> </p>
<p>Zenfone使用背光的觸控實體按鍵,不必受到海苔條拘束,夜晚可以輕易看到按鍵在哪,其實按鍵背光對於「剛換」手機的人影響比較大,要是上一隻手機的按鍵方向和新手機相反,沒有背光的話就會常常按錯,浪費時間再重來一次,不過用久就會習慣按鍵配置,甚至想把背光關掉XDD</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/01.jpeg" alt="" width="960" height="720" />
<p class="wp-caption-text">
這金屬髮絲…
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/02.jpeg" alt="" width="960" height="720" />
<p class="wp-caption-text">
同心圓金屬拉絲按鍵,具有止滑功能
</p>
</div>
<p> </p>
<p>ZenUI就沒有特別描述了,其實和原生Android差不了多少,多了客製化的顏色以及平面化的設計</p>
<div style="width: 730px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/03.jpeg" alt="" width="720" height="960" />
<p class="wp-caption-text">
Zen UI!改天再詳細測試
</p>
</div>
<p> </p>
<div style="width: 730px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/04.jpeg" alt="" width="720" height="960" />
<p class="wp-caption-text">
螢幕蓋的小洞可以做一些簡易的工作
</p>
</div>
<p> </p>
<div style="width: 730px" class="wp-caption alignnone">
<img loading="lazy" style="font-size: 20px; line-height: 1.5;" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/05.jpeg" alt="" width="720" height="960" />
<p class="wp-caption-text">
不是單純的小框框,可以用手指控制
</p>
</div>
<p> </p>
<p>16GB版本扣掉系統所佔用的容量還剩下12GB可以自由運用,日常必備軟體裝一裝應該還剩10GB可以裝一些像是2K14等大型遊戲,還是不夠用的話可能就需要用root權限來處理了,安裝Link2sd搭配64GB記憶卡幾乎天下無敵</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/06.jpeg" alt="" width="960" height="720" />
<p class="wp-caption-text">
16GB版扣掉系統大概剩下12GB可以安裝程式
</p>
</div>
<p> </p>
<p>手機有2GB的RAM似乎是新手機的趨勢,以前開SWAP的故事新手機大概都用不到了</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/07.jpeg" alt="" width="960" height="720" />
<p class="wp-caption-text">
RAM2G在平常開著常駐程式的時還有1.3GB可用
</p>
</div>
<p> </p>
<p>拍照功能沒詳測….時間不允許QAQ</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/08.jpeg" alt="" width="960" height="720" />
<p class="wp-caption-text">
相機還不錯,但是沒有詳細測試QAQ
</p>
</div>
<p> </p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/09.jpeg" alt="" width="960" height="720" />
<p class="wp-caption-text">
有多種模式可以選擇
</p>
</div>
<p> </p>
<p>時光機功能可以把畫面推回快門前2秒鐘,快門前一秒鐘,快速滑動的話其實還蠻歡樂的XDDD</p>
<div style="width: 970px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/10.jpeg" alt="" width="960" height="720" />
<p class="wp-caption-text">
傳說中的時光機功能!
</p>
</div>
<p>個人還蠻喜歡Zenfone5的,金屬髮絲增添美感,但是容易沾上一些污漬,手機四周的弧度讓握感好了很多,不像紅米四四方方的,再來保護套的小窗可以做不少事,像是看時鐘、簡訊,或是打電話都不用再打開蓋子了,這設計原來再Samsung以外的手機也能看到,重量也比紅米手機輕許多,早知道就不要那麼早買紅米機了QAQ,就當作我早買早享受吧XDDD</p>
<p> </p>
<p>其實這一篇是用紅米寫的,照片也是始用紅米的三星鏡頭拍的(相機光圈是紅米裡面我最喜歡的部份),回家使用電腦再作一些修改,用手機上傳照片、複製網址真的很痛苦,手機寫WordPress只能用字虐來形容了,手機想要取代電腦這是絕對不可的事情XDDDD</p>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/11.jpeg" alt="" width="540" height="960" />
<p class="wp-caption-text">
我竟然自虐用手機寫,一時手癢又沒電腦…
</p>
</div>
<p> </p>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/asus-zenfone5-16g2g/12.jpeg" alt="" width="540" height="960" />
<p class="wp-caption-text">
還好是用Dropbox當圖床,方便多了…
</p>
</div>
<p> </p>
<p> </p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/asus-zenfone5-16g2g/" target="_blank" rel="noopener">https://becoder.org/asus-zenfone5-16g2g/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網站] 懶人大法,利用FB壓縮網站圖片,加速網站載入速度
https://becoder.org/facebook-compress-picture/
2022-07-08T21:38:16+08:00
2014-07-18T14:52:20+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>為了節省圖床的流量以及加快網站速度,最好的方法應該就是壓縮圖片了,檔案越小載入越快(ㄈ話),最近找了幾個壓縮軟體來用,不過只要一換電腦或是系統這個軟體就不能用了….那就找其他方法囉XDD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/facebook-compress-picture/" target="_blank" rel="noopener">https://becoder.org/facebook-compress-picture/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>為了節省圖床的流量以及加快網站速度,最好的方法應該就是壓縮圖片了,檔案越小載入越快(ㄈ話),最近找了幾個壓縮軟體來用,不過只要一換電腦或是系統這個軟體就不能用了….那就找其他方法囉XDD</p>
<p>靈機一動想到,我三不五時常常抱怨FB的圖片畫質總是不如預期,風景照總是有股「朦朧美」,但這真的是個很不錯的「節流」方法,直到自己架站才知道流量真的相當寶貴,雖然免費服務不用花錢,但只要超過一定限度就準備吃叉燒包,為了避免這種事情發生就只好來壓縮圖片容量啦OwO</p>
<p>最快的方法就是直接把圖片丟到FB,之後再載下來放到到自己的圖床,手機拍照也可以這樣做,真的超方便XDDD</p>
<p> </p>
<div style="width: 466px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/facebook-compress-picture/00.jpg" alt="" width="456" height="434" />
<p class="wp-caption-text">
建一個社團~
</p>
</div>
<p> </p>
<p> </p>
<div style="width: 463px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/facebook-compress-picture/01.jpg" alt="" width="453" height="626" />
<p class="wp-caption-text">
上傳之後再另存新檔
</p>
</div>
<p> </p>
<p> </p>
<div style="width: 635px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/facebook-compress-picture/02.jpg" alt="" width="625" height="441" />
<p class="wp-caption-text">
取個方便的字,個人習慣數字名稱
</p>
</div>
<p> </p>
<p> </p>
<div style="width: 592px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/facebook-compress-picture/03.jpg" alt="" width="582" height="382" />
<p class="wp-caption-text">
同張圖片,前後容量差了三倍
</p>
</div>
<p> </p>
<p>妥善利用這個方法季方便又快速,不用再設定一堆參數了,省時省力省流量!!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/facebook-compress-picture/" target="_blank" rel="noopener">https://becoder.org/facebook-compress-picture/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[手機] 紅米更新MIUI JHBTWBD16.0(穩定版),當然要馬上ROOT!
https://becoder.org/redmi-jhbtwbd16-root/
2022-07-08T21:38:16+08:00
2014-07-12T07:41:24+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>今天拿起手機的時候就發現更新包出來了,當然是馬上就給他更新下去XDD,幸好ROOT大師可以用,二話不說直接ROOT了~!沒ROOT的手機能用嘛!?!?</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/redmi-jhbtwbd16-root/" target="_blank" rel="noopener">https://becoder.org/redmi-jhbtwbd16-root/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>今天拿起手機的時候就發現更新包出來了,當然是馬上就給他更新下去XDD,幸好ROOT大師可以用,二話不說直接ROOT了~!沒ROOT的手機能用嘛!?!?</p>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/redmi-jhbtwbd16-root/00.jpg" alt="" width="540" height="960" />
<p class="wp-caption-text">
JHBTWBD16.0!! 不知道更新了什麼東西=.=
</p>
</div>
<p> </p>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/redmi-jhbtwbd16-root/01.jpg" alt="" width="540" height="960" />
<p class="wp-caption-text">
更新成功
</p>
</div>
<p> </p>
<div style="width: 550px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/redmi-jhbtwbd16-root/02.jpg" alt="" width="540" height="960" />
<p class="wp-caption-text">
我要4.4阿阿!!!!
</p>
</div>
<p> </p>
<p>接上傳輸線打開<a href="http://dl.becoder.org/2014/08/root_49.html" target="_blank" rel="noopener" target="_blank">ROOT大師</a>!!!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/redmi-jhbtwbd16-root/clickvroot.jpg" alt="" width="106" height="76" />
<p> </p>
<p>欸????</p>
<p> </p>
<div style="width: 718px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/redmi-jhbtwbd16-root/vroot.jpg" alt="" width="708" height="480" />
<p class="wp-caption-text">
一下子就好了!!!
</p>
</div>
<p> </p>
<p> </p>
<p>由於我比較偏好使用SuperSU,所以就直接安裝然後取代ROOT大師的軟體啦~!!直接去Play商店下載SuperSU,打開後會叫你「更新二進位檔」,沒特別刷Recovery所以就選正常模式啦,當然要裝到system裡面XD</p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/redmi-jhbtwbd16-root/03.jpg" alt="" width="540" height="960" />
<p> </p>
<p>說實在真的不知道更新了什麼東西XD,有更新總比沒更新好,會有更新肯定是上一版有什麼問題嘛~!(茶) 所以有更新通知就建議盡量更新啦~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/redmi-jhbtwbd16-root/" target="_blank" rel="noopener">https://becoder.org/redmi-jhbtwbd16-root/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] Ubuntu安裝交叉編譯(Cross Compile)環境,使用電腦編譯網樂通可執行的程式
https://becoder.org/nextvod-stlinux-cross-compile/
2022-07-08T21:38:16+08:00
2014-07-11T16:53:58+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> </p>
<p>忍不住所以就又開始摸網樂通了(淚),最近為了讓網樂通XBMC放影片時受到網路線的束縛,所以就請教了許多大大要如何達到這個目標~!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-stlinux-cross-compile/" target="_blank" rel="noopener">https://becoder.org/nextvod-stlinux-cross-compile/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> </p>
<p>忍不住所以就又開始摸網樂通了(淚),最近為了讓網樂通XBMC放影片時受到網路線的束縛,所以就請教了許多大大要如何達到這個目標~!</p>
<p>======<br>
<span style="color: #ff6600;">2021/08/08 更新</span></p>
<div class="bi6gxh9e" data-block="true" data-editor="88tm" data-offset-key="9vajn-0-0">
<div class="_1mf _1mj" data-offset-key="9vajn-0-0">
<span data-offset-key="9vajn-0-0">聽說 </span><span data-offset-key="9vajn-1-0">STLinux</span><span data-offset-key="9vajn-2-0"> 網站可能快消失了,先包起來放…</span>
</div>
</div>
<div class="bi6gxh9e" data-block="true" data-editor="88tm" data-offset-key="750u1-0-0">
<div class="_1mf _1mj" data-offset-key="750u1-0-0">
<span data-offset-key="750u1-0-0">直接 docker run 就可以用了</span>
</div>
</div>
<div class="bi6gxh9e" data-block="true" data-editor="88tm" data-offset-key="67q26-0-0">
<div class="_1mf _1mj" data-offset-key="67q26-0-0">
<span data-offset-key="67q26-0-0">Github: </span><span class="py34i1dx"><span data-offset-key="67q26-1-0"><a href="https://github.com/fuyuanli/NextVOD-STLinux2.4-sh4-Cross-Compiler-Environment" target="_blank" rel="noopener" target="_blank" rel="noopener">fuyuanli/NextVOD-STLinux2.4-sh4-Cross-Compiler-Environment</a><br /> </span></span><span data-offset-key="67q26-2-0">Dockerhub: </span><a href="https://hub.docker.com/repository/docker/fuyuanli/nextvod-stlinux2.4-sh4" target="_blank" rel="noopener"><span class="py34i1dx"><span data-offset-key="67q26-3-0">fuyuanli/nextvod-stlinux2.4-sh4</span></span></a>
</div>
</div>
<div data-offset-key="67q26-0-0">
</div>
<div data-offset-key="67q26-0-0">
======
</div>
<div data-offset-key="67q26-0-0">
</div>
<p>其實可以直接在網樂通上面編譯的,不過因為它那杯具般的效能….所以還是用電腦來跑比較快,幸好stlinux(專為sh架構開發的linux)有提供完整的交叉編譯(Cross Compile)工具,當然就直接上啦~!建議~沒有Linux使用經驗的話就不要繼續下去了,因為會有滿滿的挫折感(O),不過會看這種文章的人應該不會有這個問題XDD</p>
<p> </p>
<div style="width: 650px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/nextvod-stlinux-cross-compile/07.jpg" alt="" width="640" height="480" />
<p class="wp-caption-text">
網樂通 紅米手機攝
</p>
</div>
<p> </p>
<p> </p>
<p>首先呢~把這些軟體下載完~!</p>
<blockquote>
<p><a title="檔案死掉的話可以提醒一下喔!" href="https://www.virtualbox.org/wiki/Downloads" target="_blank" rel="noopener">VirtualBox<br /> </a>請挑最新的!</p>
<p><a href="http://ftp.ubuntu-tw.org/mirror/ubuntu-releases/12.04/ubuntu-12.04.4-server-i386.iso" target="_blank" rel="noopener" target="_blank" rel="noopener">Ubuntu 12.04.4 Server 32位元<br /> </a>server版即可~桌面版只是多吃效能而已~!為什麼用12.04!?前輩推薦的,太新好像不太好!</p>
<p><a title="阿榮應該不會失連吧XD" href="http://www.azofreeware.com/2006/12/pietty-0327.html" target="_blank" rel="noopener">PieTTY<br /> </a>talnet & ssh軟體</p>
<p><a href="http://www.azofreeware.com/2008/03/winscp-41-beta.html" target="_blank" rel="noopener" target="_blank" rel="noopener">WinSCP<br /> </a>sftp~傳檔案很方便!</p></blockquote>
<address>
</address>
<address>
</address>
<address>
</address>
<p>下載完了嗎?那就把ubuntu裝起來吧!安裝ubuntu server可以參考<a title="Google一下!" href="http://goo.gl/lbV2zj" target="_blank" rel="noopener">相關文章</a>,安裝最後<span style="color: #ff0000;">記得選</span><span style="color: #3b3b3b;"><span style="color: #ff0000;">OpenSSH</span>嘿!這樣用SSH控制複製貼上比較方便~!</span></p>
<div style="width: 649px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/nextvod-stlinux-cross-compile/00.jpg" alt="" width="639" height="545" />
<p class="wp-caption-text">
安裝完應該像這樣
</p>
</div>
<p> </p>
<p> </p>
<p>再來呢~先登入你的ubuntu~然後輸入<br>
<code>root@ubuntu:~# ifconfig<br /> eth0 Link encap:Ethernet HWaddr 08:00:27:29:68:9b<br /> inet <span style="color: #ff0000;">addr:10.0.2.15</span> Bcast:10.0.2.255 Mask:255.255.255.0<br /> inet6 addr: fe80::a00:27ff:fe29:689b/64 Scope:Link<br /> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br /> RX packets:80 errors:0 dropped:0 overruns:0 frame:0<br /> TX packets:69 errors:0 dropped:0 overruns:0 carrier:0<br /> collisions:0 txqueuelen:1000<br /> RX bytes:9227 (9.2 KB) TX bytes:11967 (11.9 KB)<br /> ==========略==========<br /> root@ubuntu:~#</code></p>
<address>
註:為什麼是root帳號呢?因為懶的打sudo… 如果你也跟我一樣懶的話也可以替root設密碼<br /> <code><code>nextvod@ubuntu:~$ sudo passwd root #替root設定密碼<br />
[sudo] password for nextvod: #輸入你目前帳號的密碼,都不會顯示<br />
Enter new UNIX password: #輸入root的密碼<br />
Retype new UNIX password: #再一次<br />
passwd: password updated successfully<br />
nextvod@ubuntu:~$ su #進入root<br />
Password: #輸入岡設定的root密碼<br />
root@ubuntu:/home/nextvod# cd #回到root家目錄<br />
root@ubuntu:~#</code></code>
</address>
<address>
</address>
<p> </p>
<p> </p>
<p>看到了嗎?「<span style="color: #ff0000;">addr:10.0.2.15<span style="color: #333333;">」<span style="color: #000000;">這個就是安裝在虛擬機的ubuntu裡面的虛擬IP,每個人應該都不一樣,把你顯示的位置記下來!</span></span></span></p>
<p> </p>
<p>為了方便控制,設定一下vbox讓我們的電腦可以對虛擬機作SSH連線,把ubuntu關機後,來到「設定→網路→介面卡1→進階→連接埠轉送」,按下右上角的「+」,照這張圖片作設定,<span style="color: #ff0000;">10.0.2.15 <span style="color: #000000;">請記得不要照抄唷!!</span></span></p>
<div style="width: 648px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/nextvod-stlinux-cross-compile/01.jpg" alt="" width="638" height="339" />
<p class="wp-caption-text">
右邊IP不要照抄!!
</p>
</div>
<p> </p>
<p>設定完成之後,使用Pietty作SSH連線即可登入ubuntu,用SSH的好處就是複製貼上很方便啦XDD</p>
<div style="width: 450px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/nextvod-stlinux-cross-compile/02.jpg" alt="" width="440" height="322" />
<p class="wp-caption-text">
127.0.0.1:3022
</p>
</div>
<div style="width: 605px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/nextvod-stlinux-cross-compile/03.jpg" alt="" width="595" height="364" />
<p class="wp-caption-text">
登入成功
</p>
</div>
<p> </p>
<p><span style="color: #ff0000;">安裝前先更新套件庫</span><br>
<span style="color: #ff0000;"><code>root@ubuntu:~# apt-get update</code></span></p>
<p>參考<a href="http://stlinux.com/install/ubuntu" target="_blank" rel="noopener" target="_blank" rel="noopener">stlinux官方安裝教學</a>,先安裝bash<br>
<code>root@ubuntu:~# apt-get install bash</code></p>
<p>安裝完成後,設定把預設 shell 改成 bash<br>
<code>root@ubuntu:~# dpkg-reconfigure dash#會跳出一個畫面請選no</code></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/nextvod-stlinux-cross-compile/04.jpg" alt="" width="638" height="508" />
<p> </p>
<p>再安裝rpm<br>
<code>root@ubuntu:~# apt-get install rpm </code></p>
<p>安裝一下必備的程式<br>
<code>root@ubuntu:~# apt-get install python-urlgrabber python-rpm python-sqlitecachec</code></p>
<p> </p>
<p>這裡選擇安裝STLinux 2.4 因為現在(201407)都是用這個版本了XD</p>
<p>先在家目錄隨便建個資料夾(mkdir),進入(cd)之後再下載最新版的rpm<br>
<code>root@ubuntu:~# mkdir stlinux #隨便取<br /> root@ubuntu:~# cd stlinux #進去這個資料夾<br /> root@ubuntu:~/stlinux# wget http://download.stlinux.com/pub/stlinux/2.4/misc/stlinux24-host-STLinux_deps-20140120-1.i386.rpm #下載最新版的STLinux 2.4 rpm<br /> root@ubuntu:~/stlinux# rpm -ivh stlinux24-host-STLinux_deps-20140120-1.i386.rpm #安裝</code></p>
<p>再來下載自動安裝檔案!<br>
<code>root@ubuntu:~/stlinux# wget http://download.stlinux.com/pub/stlinux/2.4/install</code></p>
<p>直接執行install可能會權限不足,所以先設定一下檔案權限<br>
<code>root@ubuntu:~/stlinux# chmod +x install</code></p>
<p>開始安裝<br>
<code>./install -d all-sh4-glibc</code></p>
<p> </p>
<p> </p>
<p>(茶</p>
<p>====有939個檔案,大概有1.2GB,休息一下====</p>
<p> </p>
<div style="width: 649px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/nextvod-stlinux-cross-compile/05.jpg" alt="" width="639" height="481" />
<p class="wp-caption-text">
慢慢來
</p>
</div>
<p> </p>
<p> </p>
<p>====終於裝好了====</p>
<p> </p>
<div style="width: 649px" class="wp-caption alignnone">
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2014/07/nextvod-stlinux-cross-compile/06.jpg" alt="" width="639" height="345" />
<p class="wp-caption-text">
終於..
</p>
</div>
<p>進入stlinux的資料夾,更新一下裡面的檔案,如果有出現 <code>y/N</code>的話就選<code>y</code>吧<br>
<code>root@ubuntu:~# cd /opt/STM/STLinux-2.4/host/bin/<br /> root@ubuntu:/opt/STM/STLinux-2.4/host/bin# ./stmyum update</code></p>
<p>建立 Cross-Compile 指令的 PATH,就可以不用輸入絕對路徑了<br>
<code>root@ubuntu:~# <a title="鳥哥的 Linux 私房菜 -- vim 程式編輯器" href="http://linux.vbird.org/linux_basic/0310vi.php" target="_blank" rel="noopener">vi</a> ~/.profile #編輯~/.profile</code></p>
<p>加入以下內容後存檔<br>
<code># for STLinux Cross-Compile<br /> export PATH="$PATH:/opt/STM/STLinux-2.4/devkit/sh4/bin"</code></p>
<p>輸入<span style="color: #000000;">. ~/.profile</span>有以下結果才算成功喔!<br>
<code>root@ubuntu:~# . ~/.profile #<span style="color: #ff0000;">「.」和「~/.profile」之間有一個空格</span><br /> root@ubuntu:~# sh4-linux-gcc<br /> sh4-linux-gcc: fatal error: no input files<br /> compilation terminated.<br /> </code><br>
大功告成!完成Cross Compile環境架設!</p>
<p> </p>
<p>但是….我的網卡驅動模組還是編不起來…,請教前輩後才知道,因為這晶片的的年紀太老了…硬要編的話會很麻煩,只好放棄他了。不過也因為這樣才學會了模組、kernel編譯,昨天成功在XBMC上面開機了XDDDD,Linux真的還蠻有趣的XD</p>
<p> </p>
<p> </p>
<address>
參考網站
</address>
<address>
<a href="http://stlinux.com/install/ubuntu" target="_blank" rel="noopener" target="_blank" rel="noopener">Installing STLinux on Ubuntu | STLinux<br /> </a><a href="http://www.osslab.com.tw/Hardware/Open_Embedded_System/NextVOD_unit_Hacking_-_%E7%B6%B2%E6%A8%82%E9%80%9A%E6%94%B9%E6%A9%9F/NextPBX_%E9%96%8B%E7%99%BC%E8%AA%AA%E6%98%8E/%E5%AE%89%E8%A3%9D_STLinux_Cross-Compile_Enviroment(%E4%BA%A4%E5%8F%89%E7%B7%A8%E8%AD%AF%E7%92%B0%E5%A2%83)_%E8%87%B3_Ubuntu" target="_blank" rel="noopener" target="_blank" rel="noopener">安裝 STLinux Cross-Compile Enviroment(交叉編譯環境) 至 Ubuntu – OSSLab</a>
</address>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-stlinux-cross-compile/" target="_blank" rel="noopener">https://becoder.org/nextvod-stlinux-cross-compile/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
花了好多時間搞這個新Theme
https://becoder.org/ex-astris/
2022-07-08T21:38:16+08:00
2014-07-04T18:52:35+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<div style="width: 650px" class="wp-caption alignnone">
<a href="https://www.flickr.com/photos/fuyuanli/14410238982/"><img loading="lazy" src="https://farm4.staticflickr.com/3907/14410238982_b6322c816f_z.jpg" alt="" width="640" height="480" /></a>
<p class="wp-caption-text">
上次搭公車拍的。
</p>
</div>
<p>如你所見,我換了一個還不錯的佈景,不過本人覺得寫得很複雜讓我搞了很久,畢竟沒特別去研究WordPress。</p>
<p>Read More怪怪的,換行顯示不出來,字數太多顯示不出來,想一想其實大家應該都是直接點文章標題進來的,本人<del>懶性發作</del>就直接把Read More砍了XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ex-astris/" target="_blank" rel="noopener">https://becoder.org/ex-astris/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<div style="width: 650px" class="wp-caption alignnone">
<a href="https://www.flickr.com/photos/fuyuanli/14410238982/" target="_blank" rel="noopener"><img loading="lazy" src="https://farm4.staticflickr.com/3907/14410238982_b6322c816f_z.jpg" alt="" width="640" height="480" /></a>
<p class="wp-caption-text">
上次搭公車拍的。
</p>
</div>
<p>如你所見,我換了一個還不錯的佈景,不過本人覺得寫得很複雜讓我搞了很久,畢竟沒特別去研究WordPress。</p>
<p>Read More怪怪的,換行顯示不出來,字數太多顯示不出來,想一想其實大家應該都是直接點文章標題進來的,本人<del>懶性發作</del>就直接把Read More砍了XD</p>
<p>「有時間的話」再來學學怎麼自己寫Theme好了,離學測的日子越來越近,越來越不敢胡思亂想一些很花時間的東西,例如寫程式…。</p>
<p>偶爾發發廢文好像也不錯,抒發一下自己的心情,網域續約的日子快到了,是時候找一天去續約然後把這裡閒置了,雖然我很想生幾篇OpenShift的文章,不過心中有個壓力讓我寫不下去,然後Flickr最近好像更新讓我的3D相簿動不了….煩…。</p>
<p> </p>
<p>廢話結束,祝福各位學測戰士,一起加油!</p>
<p> </p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/ex-astris/" target="_blank" rel="noopener">https://becoder.org/ex-astris/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 筆記:網樂通Debian安裝Aria2,多線滿速下載百度雲、BT!
https://becoder.org/nextvod-debian-aria2/
2022-07-08T21:38:16+08:00
2014-06-15T05:19:32+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>沒有什麼特別需要圖片的地方就不特別截圖了,文字界面過程截圖也沒有什麼用(?),如果還不知道網樂通Debian系統的話可以參考下列文章<br>
:</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-debian-aria2/" target="_blank" rel="noopener">https://becoder.org/nextvod-debian-aria2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>沒有什麼特別需要圖片的地方就不特別截圖了,文字界面過程截圖也沒有什麼用(?),如果還不知道網樂通Debian系統的話可以參考下列文章<br>
:</p>
<ul>
<li><a href="http://becoder.org/nextvod-debian-github/" target="_blank" rel="noopener" target="_blank">網樂通] 使用Github建立網樂通Debian手冊</a></li>
</ul>
<p>再來這比較用不到,有需要再看就好:</p>
<ul>
<li><a href="http://becoder.org/nextvod-debian-restore/" target="_blank" rel="noopener" target="_blank">[網樂通] 使用再生龍還原網樂通Dom (Debian系統)</a></li>
<li><a href="http://becoder.org/nextvod-ip-mailer/" target="_blank" rel="noopener" target="_blank">[網樂通] 替網樂通Debian裝上raspbian-ip-mailer</a></li>
<li><a href="http://becoder.org/nextvod-apaceh2-mysql-php5/" target="_blank" rel="noopener" target="_blank">[網樂通] 筆記:網樂通Debian LAMP</a></li>
</ul>
<p>如果你沒有網樂通但是想滿速下載百度雲的話:</p>
<ul>
<li><a href="http://becoder.org/yun-baidu-cdn-download-faster/" target="_blank" rel="noopener" target="_blank">百度雲下載很慢?使用百度官方CDN,輕輕鬆鬆滿速下載~!</a></li>
</ul>
<ol>
<li>更新套件庫來源網址</li>
</ol>
<p><span style="color: #ff0000;">[更新4/12]剛剛發現 apt repositry 改了,請作以下修改,否則將無法安裝新的軟體</span></p>
<p><span style="color: #ff0000;">將原本的</span><br>
<span style="color: #ff0000;"><code>deb <a href="http://ftp.yzu.edu.twdebian" target="_blank" rel="noopener">http://ftp.yzu.edu.twdebian</a>-sh4/ wheezy all</code></span></p>
<p><span style="color: #ff0000;">改為</span><br>
<span style="color: #ff0000;"><code>deb <a href="http://ftp.yzu.edu.tw/Linux/debian-sh4-for-nextvod/" target="_blank" rel="noopener">http://ftp.yzu.edu.tw/Linux/debian-sh4-for-nextvod/</a> wheezy all</code></span></p>
<p><span style="font-size: 20px; line-height: 1.5;"> </span></p>
<ol start="2">
<li>更新套件庫</li>
</ol>
<p><code>apt-get update</code></p>
<p> </p>
<ol start="3">
<li>安裝Aria2</li>
</ol>
<p><code>apt-get install aria2</code></p>
<p>使用Command Line 控制可以直接參考<a href="http://aria2.sourceforge.net/" target="_blank" rel="noopener" target="_blank">官方網站</a></p>
<p> </p>
<p>4.安裝WebUI,使用網頁控制Aria2下載需要用到HTTP伺服器,為了簡單行事,我是安裝Transmission直接使用他所提供的HTTP功能:<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/nextvod-debian-aria2/01.jpg" alt="" width="707" height="233" /></p>
<p> </p>
<blockquote>
<p>使用SSH登入網樂通,使用</p>
<p><code>find . -name transmission</code> #找出資料夾位置</p>
<p> </p>
<p>找到Transmission的網頁路徑為</p>
<p><code>/usr/share/transmission/web/</code> #transmission的網頁資料夾</p>
<p> </p>
<p>進入該資料夾,下載YAAW後解壓縮</p>
<p><code>cd /usr/share/transmission/web/</code> #進入該資料夾</p>
<p> </p>
<p><code>wget --no-check-certificate https://github.com/binux/yaaw/archive/master.zip</code> #下載YAAW網頁控制界面,因為github.com的憑證有點問題所以直接加上 <code>--no-check-certificate</code> 略過。</p>
<p> </p>
<p><code>unzip master.zip</code> #解壓縮解壓縮後為yaaw-master,看人喜好更改名稱,我是改成aria2,master.zip可以先刪除。</p>
<p> </p>
<p><code>rm -rf master.zip</code> #刪除master.zip</p>
<p> </p>
<p><code>mv yaaw-master aria2</code> #將yaaw-master改為aria2</p></blockquote>
<p> </p>
<p>5.網頁界面安裝完畢,啟動aria2</p>
<p><code>/usr/bin/aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --dir=/mnt/sdb1/BT --file-allocation=none -s 32 -j 32 -x 5 -c -D</code></p>
<p> </p>
<p>6.開啟網頁,即可高速開始下載(網速20M可滿速!)。<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/nextvod-debian-aria2/02.jpg" alt="" width="699" height="475" /></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-debian-aria2/" target="_blank" rel="noopener">https://becoder.org/nextvod-debian-aria2/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
新玩具:「隨手拍拍」,「TiltViewer」免費3D相簿!
https://becoder.org/tiltviewer-free-pic/
2022-07-08T21:38:16+08:00
2014-06-08T06:52:37+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p><del>不知道有沒有人發現網站上面多了一個連結「隨手拍拍」,其實那是最近(昨天)架的Flash 3D相簿,曾經在很多網站上面看過,老早就想試試看了,這假日稍微研究了一下囉!</del></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/tiltviewer-free-pic/" target="_blank" rel="noopener">https://becoder.org/tiltviewer-free-pic/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p><del>不知道有沒有人發現網站上面多了一個連結「隨手拍拍」,其實那是最近(昨天)架的Flash 3D相簿,曾經在很多網站上面看過,老早就想試試看了,這假日稍微研究了一下囉!</del></p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/02.jpg" alt="" width="567" height="475" />
<p><span style="color: #ff0000;">[更新] 本站已關閉 Tiltviewer,不過各位仍可以自己架看看</span></p>
<p> </p>
<blockquote>
<h3 id="tiltviewer"><a href="https://becoder.org/tiltviewer-free-pic/#tiltviewer" class="anchor-link" aria-label="tiltviewer"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/tiltviewer-free-pic/#contents:tiltviewer" class="headings">TiltViewer</a></h3>
<p>軟體下載:<a href="http://www.simpleviewer.net/tiltviewer/" target="_blank" rel="noopener" target="_blank">Tiltviewer</a></p>
<p>軟體介紹:<a href="http://blog.soft.idv.tw/?p=313" target="_blank" rel="noopener" target="_blank">網路相簿太單調嗎?TiltViewer讓你的相簿「動」起來!</a></p></blockquote>
<p> </p>
<p>由於該軟體是可以和<a href="https://www.flickr.com/" target="_blank" rel="noopener" target="_blank">Flickr</a>做連結,只要是Flickr裡面的公開照片都會自動顯示在裡面,也可以使用手機直接上傳,不必再使用電腦囉!</p>
<ul>
<li> 就是這個啦!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/01.jpg" alt="" width="371" height="215" />
<p> </p>
<ul>
<li>進去之後,換看到4×4的照片宮格,這也是可以自行設定的~。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/02.jpg" alt="" width="567" height="475" />
<p> </p>
<ul>
<li>開始控制你的滑鼠吧!左上角可以關掉背景音樂!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/03.jpg" alt="" width="1021" height="643" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/04.jpg" alt="" width="1023" height="642" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/05.jpg" alt="" width="1024" height="642" />
<p> </p>
<ul>
<li>點選照片下方的圈圈可以看到這張照片的註解唷!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/06.jpg" alt="" width="1023" height="642" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/07.jpg" alt="" width="1024" height="643" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/08.jpg" alt="" width="1020" height="643" />
<p> </p>
<ul>
<li>換頁特效!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/09.jpg" alt="" width="607" height="426" />
<p> </p>
<ul>
<li>這裡的照片和「隨手拍拍」的完全一樣喔!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/06/tiltviewer-pic-mirai-tw/10.jpg" alt="" width="720" height="1280" />
<p> </p>
<p>個人真的覺得很有趣,相當<del>具有文藝青年的風格</del>,配上背景音樂更是<del>文青</del>,我會不定時的新增照片,大多數的照片都是紅米機拍的,<del>個人是使用OpenShift免費主機作為架設空間,有興趣的人也可以試試看,這種成就感是回不去的XD!</del></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/tiltviewer-free-pic/" target="_blank" rel="noopener">https://becoder.org/tiltviewer-free-pic/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[教學] 百度雲下載很慢?使用百度官方CDN,輕輕鬆鬆滿速下載~!
https://becoder.org/yun-baidu-cdn-download-faster/
2022-07-08T21:38:16+08:00
2014-04-04T06:12:26+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>昨天在下載百度雲的時候,速度真的很慢,只有10幾kb/s在跑<del>不意外</del>,唯獨一個載點竟然滿速,整個程式(IDM)差點當掉,下載完後當然去看了一下發生什麼事情。</p>
<p>仔細一看網址果然與眾不同,比其他載點多了「cdn」子域,稍微修改了一下,其他載點果然都全都滿速下載啦!!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/yun-baidu-cdn-download-faster/" target="_blank" rel="noopener">https://becoder.org/yun-baidu-cdn-download-faster/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>昨天在下載百度雲的時候,速度真的很慢,只有10幾kb/s在跑<del>不意外</del>,唯獨一個載點竟然滿速,整個程式(IDM)差點當掉,下載完後當然去看了一下發生什麼事情。</p>
<p>仔細一看網址果然與眾不同,比其他載點多了「cdn」子域,稍微修改了一下,其他載點果然都全都滿速下載啦!!</p>
<ul>
<li>慢到爆炸,不意外= =</li>
</ul>
<img loading="lazy" class="alignnone" style="line-height: 1.5em;" src="https://becoder.org//becoder.org/wp-content/uploads/2014/04/yun-baidu-cdn-download-faster/00.jpg" alt="" width="439" height="70" />
<p> </p>
<p> </p>
<ul>
<li>使用IDM的32連線數下載,速度有好了一些…</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/04/yun-baidu-cdn-download-faster/01.jpg" alt="" width="541" height="443" />
<p> </p>
<p> </p>
<ul>
<li>動個手腳後,滿速啦!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/04/yun-baidu-cdn-download-faster/02.jpg" alt="" width="523" height="453" />
<p> </p>
<h3 id="使用方法"><a href="https://becoder.org/yun-baidu-cdn-download-faster/#使用方法" class="anchor-link" aria-label="使用方法"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/yun-baidu-cdn-download-faster/#contents:使用方法" class="headings">使用方法</a></h3>
<p>使用方法其實不難,只要稍微改一下網址即可,例如原本下載網址為</p>
<p><code><span style="color: #ff0000;">http://qd.baidupcs.com</span>/file/ef2fc5ecde4b.....</code></p>
<p> </p>
<p>修改成</p>
<p><code><span style="color: #ff0000;">http://cdn.baidupcs.com</span>/file/ef2fc5ecde4b.....</code></p>
<p> </p>
<p>完成之後,把整串網址丟給IDM就可以啦!記得!IDM要設定32線下載!不然速度一樣悲劇喔!百度雲<del>迷片</del>爽爽抓啦!XDDDDD</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/04/yun-baidu-cdn-download-faster/03.jpg" alt="" width="436" height="267" />
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/yun-baidu-cdn-download-faster/" target="_blank" rel="noopener">https://becoder.org/yun-baidu-cdn-download-faster/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[開箱] 等好久的小米行動電源,終於到手啦!
https://becoder.org/xiaomi-10400/
2022-07-08T21:38:16+08:00
2014-04-03T15:39:03+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>星期一(3/31)中午的時候,小米官網終於釋出行動電源了,因為平日要上課,所以只好使用手機3G上網搶購,和同學沙盤推演幾十分鐘之後就上場啦!原本想說成功機率很低,3G網路反應實在比不上有線網路,我使用我的紅米手機去搶購沒有成功…,同學竟然用S3<del>蟑螂蛋</del>搶到啦~!!XDDD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xiaomi-10400/" target="_blank" rel="noopener">https://becoder.org/xiaomi-10400/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>星期一(3/31)中午的時候,小米官網終於釋出行動電源了,因為平日要上課,所以只好使用手機3G上網搶購,和同學沙盤推演幾十分鐘之後就上場啦!原本想說成功機率很低,3G網路反應實在比不上有線網路,我使用我的紅米手機去搶購沒有成功…,同學竟然用S3<del>蟑螂蛋</del>搶到啦~!!XDDD</p>
<ul>
<li> 整體質感超棒的啦,尤其是噴沙外殼的觸感>//<</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/04/xiaomi-10400/00.jpg" alt="" width="960" height="720" />
<p> </p>
<p> </p>
<ul>
<li>10400 mAh!!!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/04/xiaomi-10400/01.jpg" alt="" width="960" height="720" />
<p> </p>
<p> </p>
<ul>
<li>白色指示燈,個人相當喜歡!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/04/xiaomi-10400/02.jpg" alt="" width="960" height="720" />
<p> </p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2014/04/xiaomi-10400/03.jpg" alt="" width="960" height="720" />
<p> </p>
<p>目前還在充電中~以後再補使用感想囉~這價格如此品質真的是無話可說,也呼籲大家共同抵制黃牛,不然本來搶便宜的意義就都沒有囉!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/xiaomi-10400/" target="_blank" rel="noopener">https://becoder.org/xiaomi-10400/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 筆記:網樂通Debian LAMP
https://becoder.org/nextvod-apaceh2-mysql-php5/
2022-07-08T21:38:16+08:00
2014-03-29T07:35:18+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<ol>
<li>更新套件庫來源網址</li>
</ol>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-apaceh2-mysql-php5/" target="_blank" rel="noopener">https://becoder.org/nextvod-apaceh2-mysql-php5/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<ol>
<li>更新套件庫來源網址</li>
</ol>
<p><span style="color: #ff0000;">[更新4/12]剛剛發現 apt repositry 改了,請作以下修改,否則將無法安裝新的軟體</span></p>
<p><span style="color: #ff0000;">將原本的</span><br>
<span style="color: #ff0000;"><code>deb <a href="http://ftp.yzu.edu.twdebian" target="_blank" rel="noopener">http://ftp.yzu.edu.twdebian</a>-sh4/ wheezy all</code></span></p>
<p><span style="color: #ff0000;">改為</span><br>
<span style="color: #ff0000;"><code>deb <a href="http://ftp.yzu.edu.tw/Linux/debian-sh4-for-nextvod/" target="_blank" rel="noopener">http://ftp.yzu.edu.tw/Linux/debian-sh4-for-nextvod/</a> wheezy all</code></span></p>
<p> </p>
<p> </p>
<ol start="2">
<li>更新套件庫</li>
</ol>
<p><code>apt-get update</code></p>
<p> </p>
<ol start="3">
<li>在/etc/hosts 裡面加上一行</li>
</ol>
<p><code>127.0.0.1 debian-wheezy-sh4</code></p>
<p>``</p>
<ol start="4">
<li>安裝apache2</li>
</ol>
<p><code>apt-get install apache2</code></p>
<p>``</p>
<ol start="5">
<li>安裝php5</li>
</ol>
<p><code>apt-get install php5</code></p>
<p>``</p>
<ol start="6">
<li>安裝mysql,過程中會設定mysql的密碼</li>
</ol>
<p><code>apt-get install mysql-server</code></p>
<p> </p>
<ol start="7">
<li>安裝php5相依套件</li>
</ol>
<p><code>apt-get install php5-curl php5-gd php5-gmp php5-mcrypt php5-xmlrpc libapache2-mod-php5 php5-cgi php5-common</code></p>
<p> </p>
<ol start="8">
<li>安裝phpmyadmin,過程中需輸入MySQL的密碼、phpmyadmin的登入密碼</li>
</ol>
<p><code>apt-get install phpmyadmin</code></p>
<p>``</p>
<ol start="9">
<li>建立資料庫</li>
</ol>
<p><code>updatedb</code></p>
<p>``</p>
<p>10.尋找phpmyadmin的apache.conf的所在位置</p>
<p><code>cd /</code></p>
<p><code>find * -name apache.conf</code></p>
<p>我的結果為 <code>/etc/phpmyadmin/apache.conf</code></p>
<p>``</p>
<p>11.在「<code>/etc/apache2/apache2.conf</code> 」最下面加入「<code>Include /etc/phpmyadmin/apache.conf</code>」</p>
<p>(註:「<code>/etc/phpmyadmin/apache.conf</code>」是剛才找到的路徑)</p>
<ol start="12">
<li></li>
</ol>
<p><code>vi /etc/apache2/sites-available/default</code></p>
<p>在<code></VirtualHost></code>之前加入</p>
<p><code><Directory "/var/www/"></code></p>
<p>AllowOverride All</p>
</Directory>
<p> </p>
<p>``</p>
<p>12 . 重新啟動apache2</p>
<p><code>/etc/init.d/apache2 restart</code></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-apaceh2-mysql-php5/" target="_blank" rel="noopener">https://becoder.org/nextvod-apaceh2-mysql-php5/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 替網樂通Debian裝上raspbian-ip-mailer
https://becoder.org/nextvod-ip-mailer/
2022-07-08T21:38:16+08:00
2014-03-02T10:16:31+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這幾天幫朋友改造NextNAS(免費網樂通NAS),裝完Wonderbox、samba、rc.local掛載EXT4硬碟,因為進入後台需要網樂通的區域網路IP,我是使用MAC位址固定IP,想到大多數人應該不用這招,所以Google一下相關資料,果然找到相關方法。(<a href="https://github.com/shenjia/raspbian-ip-mailer" target="_blank"><a href="https://github.com/shenjia/raspbian-ip-mailer">https://github.com/shenjia/raspbian-ip-mailer</a></a>)</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-ip-mailer/" target="_blank" rel="noopener">https://becoder.org/nextvod-ip-mailer/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這幾天幫朋友改造NextNAS(免費網樂通NAS),裝完Wonderbox、samba、rc.local掛載EXT4硬碟,因為進入後台需要網樂通的區域網路IP,我是使用MAC位址固定IP,想到大多數人應該不用這招,所以Google一下相關資料,果然找到相關方法。(<a href="https://github.com/shenjia/raspbian-ip-mailer" target="_blank" rel="noopener" target="_blank"><a href="https://github.com/shenjia/raspbian-ip-mailer" target="_blank" rel="noopener">https://github.com/shenjia/raspbian-ip-mailer</a></a>)</p>
<p> </p>
<p>一)回到家目錄,下載環境部屬腳本。(其實放在哪裡都可以)</p>
<p><code>wget https://github.com/shenjia/raspbian-ip-mailer/raw/master/deploy.sh</code></p>
<p> </p>
<p>二)執行deploy.sh前,先編輯一下,把sudo拿掉,不然會報錯喔!!<br>
<code>chmod +x deploy.sh #給予執行權限<br /> ./deploy.sh #執行</code></p>
<p> </p>
<p>三)<br>
<code>vi /usr/local/bin/raspbian-ip-mailer.py</code> 設定Gmail帳號。</p>
<p>找到以下文字進行設定~!<br>
<code># Mail account settings<br /> send_to = '[email protected]' #要收信的帳號<br /> mail_user = '[email protected]' #負責寄信的帳號<br /> mail_password = 'password' #負責寄信帳號的密碼</code></p>
<p> </p>
<p>四)重新開機,收信啦!是網樂通小藍盒寄出的喔!<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/03/nextvod-ip-mailer/NAS.jpg" alt="" width="478" height="400" /></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-ip-mailer/" target="_blank" rel="noopener">https://becoder.org/nextvod-ip-mailer/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
原價屋「Razer黑寡婦蜘蛛競技潛行版」破千開箱!
https://becoder.org/coolpc-razer-nt990/
2022-07-08T21:38:16+08:00
2014-01-04T14:06:25+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>元旦晚上,碰巧看到朋友分享原價屋的優惠活動,雷蛇機械試鍵盤不到一千元就可以拿到了,因為活動當天(1/2)要上課,排在這種上班上時間只好拜託有空的人幫忙了,最後終於買到啦!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/coolpc-razer-nt990/" target="_blank" rel="noopener">https://becoder.org/coolpc-razer-nt990/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>元旦晚上,碰巧看到朋友分享原價屋的優惠活動,雷蛇機械試鍵盤不到一千元就可以拿到了,因為活動當天(1/2)要上課,排在這種上班上時間只好拜託有空的人幫忙了,最後終於買到啦!</p>
<blockquote>
<p><em>活動網址:<a href="http://www.coolpc.com.tw/phpBB2/viewtopic.php?f=52&t=132268" target="_blank" rel="noopener">http://www.coolpc.com.tw/phpBB2/viewtopic.php?f=52&t=132268</a></em></p></blockquote>
<p> </p>
<p>還真是這輩子第一次使用機械式鍵盤,以前都只有<a href="http://becoder.org/diy-osu-keyboard/" target="_blank" rel="noopener" target="_blank">玩吊飾</a>,遇到這把鍵盤後發現這一點都不划算=_=|||,用過機械式的真的回不去薄膜了哈哈XDDDD!</p>
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3539.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3540.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3542.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3543.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3544.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3545.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3547.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3548.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3549.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3550.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3553.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3554.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3556.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3560.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3561.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3563.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3564.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3565.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3566.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3568.JPG" alt="" width="1024" height="768" />
<img loading="lazy" class="alignleft" src="https://becoder.org//becoder.org/wp-content/uploads/2014/01/coolpc-razer-nt990/SAM_3569.JPG" alt="" width="1024" height="768" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/coolpc-razer-nt990/" target="_blank" rel="noopener">https://becoder.org/coolpc-razer-nt990/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[需root]神魔之塔,其實復活不用花石頭!?
https://becoder.org/root-tos-revive/
2022-07-08T21:38:16+08:00
2013-12-14T08:29:25+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近神魔之塔這個遊戲還蠻紅的,有時候難免失誤就死掉了,重來一次需要再花體力或是用魔法石復活,真的是不太高興。</p>
<p>最近在網路上看到一款自動備份還原的軟體,這個軟體的原理其實就只是自動備份整個遊戲的資料,死亡後進行還原,回覆死前的資料,即可實現復活不用花魔法石的效果。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/root-tos-revive/" target="_blank" rel="noopener">https://becoder.org/root-tos-revive/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近神魔之塔這個遊戲還蠻紅的,有時候難免失誤就死掉了,重來一次需要再花體力或是用魔法石復活,真的是不太高興。</p>
<p>最近在網路上看到一款自動備份還原的軟體,這個軟體的原理其實就只是自動備份整個遊戲的資料,死亡後進行還原,回覆死前的資料,即可實現復活不用花魔法石的效果。</p>
<p>但是,<strong>請當心這個備份檔案是否會被這個軟體上傳!<strong>任何事情都是有可能的發生的,尤其是</strong>來路不明</strong>、<strong>要求root權限</strong>的程式。要是被有心人士上利用,你的帳號可能就不保囉!應該沒有人想要自己的的卡被賣光吧!</p>
<p>這些動作其實可以自己手動完成,只需要簡單的複製貼上就可以實現了,我自己做了好多次,完全沒有問題,進入遊戲後,請盡量中斷網路連線,被鎖定的機率幾乎是微乎其微,要是不幸帳號被鎖定請自行負責喔!</p>
<p> </p>
<h2 id="必備軟體"><a href="https://becoder.org/root-tos-revive/#必備軟體" class="anchor-link" aria-label="必備軟體"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/root-tos-revive/#contents:必備軟體" class="headings">必備軟體</a></h2>
<blockquote>
<p>RE管理器</p>
<p>神魔之塔</p></blockquote>
<p> </p>
<ul>
<li>首先,請進入遊戲到你要打的關卡</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/01.jpg" alt="" width="480" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" style="line-height: 1.5em;" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/02.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>目前在第1關卡</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/03.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>跳出遊戲,打開你的RE管理器,進入「/data/data」,找到資料夾「com.madhead.tos.zh.ex」(官方下載版)或「com.madhead.tos.zh」(Play商店版),複製起來。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/05.jpg" alt="" width="480" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/06.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>貼到根目錄「/」或是其他你喜歡的地方。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/07.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>回到遊戲開始過關~!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/08.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>打到第2關了!還原看看!</li>
</ul>
<img loading="lazy" class="alignnone" style="line-height: 1.5em;" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/09.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li><span style="color: #ff0000;"><strong>重要!還原前請先從外面關閉遊戲!</strong></span></li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/10.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>複製剛才備份在「/」的資料夾。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/11.jpg" alt="" width="480" height="800" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/12.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>回到「/data/data」,把<span style="color: #ff0000;"><strong>和「備份檔案名稱相同名字」的資料夾刪除</strong></span>!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/13.jpg" alt="" width="480" height="800" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/14.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>刪除後,貼上備份檔案。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/15.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>打開遊戲,點「繼續」。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/16.jpg" alt="" width="480" height="800" />
<p> </p>
<ul>
<li>成功還原進度囉!當然也可以復活!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/root-tos-revive/17.jpg" alt="" width="480" height="800" />
<p> </p>
<h2 id="注意事項"><a href="https://becoder.org/root-tos-revive/#注意事項" class="anchor-link" aria-label="注意事項"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/root-tos-revive/#contents:注意事項" class="headings">注意事項</a></h2>
<p><span style="color: #ff0000;"><strong>如果你已經過關的話,千萬不要再還原再打一次了!不要異想天開想要洗經驗,被鎖請自行負責!!!</strong></span></p>
<p>以下為示範影片,可以先看過一次再自己測試測試,有什麼問題當然可以留言詢問!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/root-tos-revive/" target="_blank" rel="noopener">https://becoder.org/root-tos-revive/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 使用再生龍還原網樂通Dom (Debian系統)
https://becoder.org/nextvod-debian-restore/
2022-07-08T21:38:16+08:00
2013-12-08T06:25:30+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>網樂通的改機方法應該是不會很困難,如果你的機子自動安裝怎麼都不成功的話,你可以考慮拆機使用再生龍還原,<a href="http://clonezilla.nchc.org.tw/intro/" target="_blank">再生龍的簡介在這裡</a>,使用前可以先了解一下他有什麼功能、可以幹什麼,不要不知道功能就迷迷糊糊的跟著做喔!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-debian-restore/" target="_blank" rel="noopener">https://becoder.org/nextvod-debian-restore/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>網樂通的改機方法應該是不會很困難,如果你的機子自動安裝怎麼都不成功的話,你可以考慮拆機使用再生龍還原,<a href="http://clonezilla.nchc.org.tw/intro/" target="_blank" rel="noopener" target="_blank">再生龍的簡介在這裡</a>,使用前可以先了解一下他有什麼功能、可以幹什麼,不要不知道功能就迷迷糊糊的跟著做喔!</p>
<p> </p>
<h2 id="前提"><a href="https://becoder.org/nextvod-debian-restore/#前提" class="anchor-link" aria-label="前提"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-debian-restore/#contents:前提" class="headings">前提</a></h2>
<p>你的網樂通需要先升級sh4twbox uboot,不然只是白廢工,<a href="http://goo.gl/AhWs4Z" target="_blank" rel="noopener" target="_blank">如何升級請看這裡</a>。</p>
<p> </p>
<h2 id="拆機"><a href="https://becoder.org/nextvod-debian-restore/#拆機" class="anchor-link" aria-label="拆機"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-debian-restore/#contents:拆機" class="headings">拆機</a></h2>
<p> </p>
<p>網樂通的螺絲有兩種,舊版的是市面上常見的十字螺絲,新版的則是難拆到靠背的五角螺絲,五角螺絲的拆機方法有兩種,第一種方法是使用六腳扳手慢慢轉。</p>
<p> </p>
<ul>
<li>五角螺絲</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3506.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>十字螺絲</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3507.JPG" alt="" width="1024" height="768" />
<p> </p>
<p>不過呢,你的六腳扳手可能會就此報廢,如果不在意外殼的話可以使用電烙鐵,慢慢加熱螺絲,直接融化網樂通外殼直接推出。</p>
<p> </p>
<ul>
<li>電烙鐵加熱螺絲</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3508.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<h2 id="dom轉接線"><a href="https://becoder.org/nextvod-debian-restore/#dom轉接線" class="anchor-link" aria-label="dom轉接線"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-debian-restore/#contents:dom轉接線" class="headings">Dom轉接線</a></h2>
<p> </p>
<p>Dom簡單來說其實就只是一個隨身碟,直接用USB就可以讀取裡面的內容了,因為我沒有90度的USB公頭,不然的話直接裝上去就可以用了。如果你也想自己做一條的話,請注意顏色一定要和我一樣…5v接錯的話,燒掉的機率應該是100%。</p>
<ul>
<li>Dom</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3510.JPG" alt="" width="1024" height="768" />
<h2></h2>
<ul>
<li>Dom轉接線</li>
</ul>
<img loading="lazy" class="alignnone" style="font-size: 1.5em;" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3511.JPG" alt="" width="1024" height="768" />
<h2></h2>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3512.JPG" alt="" width="1024" height="768" />
<h2></h2>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3513.JPG" alt="" width="1024" height="768" />
<p> </p>
<img loading="lazy" class="alignnone" style="font-size: 1.5em;" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3514.JPG" alt="" width="1024" height="768" />
<h2></h2>
<h2></h2>
<h2 id="再生龍"><a href="https://becoder.org/nextvod-debian-restore/#再生龍" class="anchor-link" aria-label="再生龍"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-debian-restore/#contents:再生龍" class="headings">再生龍</a></h2>
<p> </p>
<blockquote>
<p>下載連結:<a href="http://goo.gl/EHeBlM" target="_blank" rel="noopener" target="_blank"><a href="http://goo.gl/EHeBlM" target="_blank" rel="noopener">http://goo.gl/EHeBlM</a></a><a href="http://clonezilla.nchc.org.tw/clonezilla-live/download/sourceforge/" target="_blank" rel="noopener"><br>
</a></p></blockquote>
<p> </p>
<p>再生龍應該是下載穩定發行版即可,完成之後使用燒錄錄體燒到CD中,電腦使用光碟機開機就可以進入再生龍了,如果你想用USB開機可以自己試試看,我是沒有測試過。XD</p>
<p> </p>
<h2 id="使用再生龍"><a href="https://becoder.org/nextvod-debian-restore/#使用再生龍" class="anchor-link" aria-label="使用再生龍"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/nextvod-debian-restore/#contents:使用再生龍" class="headings">使用再生龍</a></h2>
<p> </p>
<blockquote>
<p>檔案名稱:NextVod-Debian.zip</p>
<p>檔案大小: 181.8 MB</p>
<p>映像檔下載:<a href="http://dl.becoder.org/2014/08/nextvod-debianzip_79.html" target="_blank" rel="noopener" target="_blank">點我下載</a></p></blockquote>
<p> </p>
<p>在使用再生龍之前,建議你先把我備份的映像檔直接<span style="color: #ff0000;"><strong>解壓</strong></span>放到根目錄,然後把該槽的容量記下來,這樣工作起來等等會方便許多。注意,<span style="color: #ff0000;"><strong>再生龍的映像檔是整個資料夾</strong></span>喔!</p>
<p>光碟機開機進入之後,選第一個「預設設定」的選項進去即可,再來的步驟我直接拍圖帶過囉!除非有需要特別說明的地方~。XDDD</p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3515.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<ul>
<li>不知道為什麼會這樣,對於使用時沒有影響!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3516.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<ul>
<li>是台灣人應該都會選擇繁體中文。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3517.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<ul>
<li>預設即可。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3518.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3519.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3520.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3521.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>插入你的DOM,這樣電腦才能讀取到這個硬體</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3522.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>選擇「放映像檔的那個分割區」,我的檔案放在D槽,這時候可以用容量來判斷是哪一個分割區。(我是用舊筆電跑的,換過二手硬碟,所以硬碟有點小~)</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3523.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>我放在根目錄,所以就選根目錄。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3524.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>「還原映像擋到本機硬碟」,這裡相當重要,再生龍可以把分割的情況也一起備份起來,所以還原到本機硬碟後會有相同的分割區。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3525.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3526.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>我們要還原DOM所以選擇DOM!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/IMG_20131130_000747.jpg" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>輸入y確認,請確認是否正確,如果選到電腦的硬碟就完蛋了喔…。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3528.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>還原中</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3529.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>還原完成</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3530.JPG" alt="" width="1024" height="768" />
<p> </p>
<ul>
<li>看你要重開機還是關機,隨意!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/12/nextvod-debian-restore/SAM_3531.JPG" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<p>還原完成之後,將DOM裝回網樂通後即可開機,有問題可以留言詢問,自己疏忽做錯不要跑來怪我唷!XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-debian-restore/" target="_blank" rel="noopener">https://becoder.org/nextvod-debian-restore/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Google 注音輸入法!Google大神終於照顧到我們台灣啦!
https://becoder.org/g-zhuyin/
2022-07-08T21:38:16+08:00
2013-10-20T04:38:49+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>等了好久的日子,Google終於推出了注音輸入法,真的相當令人感動,我預感他以後可能會和超注音不相上下!看到朋友分享就馬上裝來用看看囉。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/g-zhuyin/" target="_blank" rel="noopener">https://becoder.org/g-zhuyin/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>等了好久的日子,Google終於推出了注音輸入法,真的相當令人感動,我預感他以後可能會和超注音不相上下!看到朋友分享就馬上裝來用看看囉。</p>
<p> </p>
<p> </p>
<blockquote>
<p>軟體名稱:Google 注音輸入法</p>
<p>下載網址:<a href="http://goo.gl/pfwF0x" target="_blank" rel="noopener" target="_blank"><a href="http://goo.gl/pfwF0x" target="_blank" rel="noopener">http://goo.gl/pfwF0x</a></a></p>
<img loading="lazy" class="alignnone" src="http://chart.googleapis.com/chart?cht=qr&chs=300x300&choe=UTF-8&chld=H&chl=http://goo.gl/pfwF0x" alt="" width="300" height="300" /></blockquote>
<p> </p>
<ul>
<li>當然就是先下載囉!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/00.jpg" alt="" width="480" height="854" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/01.jpg" alt="" width="480" height="854" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/02.jpg" alt="" width="480" height="854" />
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>打開後,好像真的蠻好用的(?</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/03.jpg" alt="" width="480" height="854" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/04.jpg" alt="" width="480" height="854" />
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>點一下**啟用Google注音輸入法、**選取Google注音輸入法****設定!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/05.jpg" alt="" width="480" height="854" />
<p> </p>
<p> </p>
<ul>
<li>按確定。</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/06.jpg" alt="" width="480" height="854" />
<p> </p>
<p> </p>
<ul>
<li>啟用囉!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/07.jpg" alt="" width="480" height="854" />
<p> </p>
<p> </p>
<ul>
<li>下面再做一次!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/08.jpg" alt="" width="480" height="854" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/09.jpg" alt="" width="480" height="854" />
<p> </p>
<p> </p>
<ul>
<li>設定還蠻多的呢!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/10.jpg" alt="" width="480" height="854" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/11.jpg" alt="" width="480" height="854" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/12.jpg" alt="" width="480" height="854" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/10/g-zhuyin/13.jpg" alt="" width="480" height="854" />
<p> </p>
<p>就先寫到這啦,我已經從超注音換成Google注音輸入法了,Google終於重視台灣的使用者了,希望可以越來越好!Google出品都有相當的品質!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/g-zhuyin/" target="_blank" rel="noopener">https://becoder.org/g-zhuyin/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 使用Github建立網樂通Debian手冊
https://becoder.org/nextvod-debian-github/
2022-07-08T21:38:16+08:00
2013-10-13T09:25:48+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近負責 <a href="https://www.facebook.com/groups/477359555618518/" target="_blank">網樂通改機俱樂部</a>中的Debian系統寫手冊,真不知道何時能夠完成!使用<a href="https://github.com/" target="_blank">githiub</a>作為界面、使用<a href="http://markdown.tw/" target="_blank">markdown語法</a>(<a href="http://markdownlivepreview.com/">markdownlivepreview.com</a>),這語法還真是蠻有趣的!不需要有什麼基礎,作者可以好好把心思放在文章之中呢!我也相當感謝社團裡的前輩教我使用github!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-debian-github/" target="_blank" rel="noopener">https://becoder.org/nextvod-debian-github/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近負責 <a href="https://www.facebook.com/groups/477359555618518/" target="_blank" rel="noopener" target="_blank">網樂通改機俱樂部</a>中的Debian系統寫手冊,真不知道何時能夠完成!使用<a href="https://github.com/" target="_blank" rel="noopener" target="_blank">githiub</a>作為界面、使用<a href="http://markdown.tw/" target="_blank" rel="noopener" target="_blank">markdown語法</a>(<a href="http://markdownlivepreview.com/" target="_blank" rel="noopener">markdownlivepreview.com</a>),這語法還真是蠻有趣的!不需要有什麼基礎,作者可以好好把心思放在文章之中呢!我也相當感謝社團裡的前輩教我使用github!</p>
<ul>
<li>這是章魚還是貓貓捏!?</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://github.global.ssl.fastly.net/images/modules/logos_page/Octocat.png" width="800" height="665" />
<p>過程中我看了這些教學來學習使用github,第一次接觸github真的感覺很難適應,過了這一段適應期就可以慢慢熟悉這個強大的系統了。</p>
<p> </p>
<ul>
<li>以下是我所參考看的文章,完完全全是第一次碰github。</li>
</ul>
<blockquote>
<p><a href="https://help.github.com/articles/set-up-git" target="_blank" rel="noopener">https://help.github.com/articles/set-up-git</a></p>
<p><a href="http://git-scm.com/book/zh" target="_blank" rel="noopener">http://git-scm.com/book/zh</a></p></blockquote>
<p> </p>
<p>第一個文件比較實用,第二個文件非常詳細,搭著一起看效果應該不錯!這份文件是由社團中熱情的朋友一起合作建立起來的,歡迎大家一同編輯!</p>
<p> </p>
<blockquote>
<p>網站名稱:NextVod Debian wheezy sh4使用手冊</p>
<p>網站網址:<a href="https://github.com/fuyuanli/nextvod-linux-manual" target="_blank" rel="noopener">https://github.com/fuyuanli/nextvod-linux-manual</a></p></blockquote>
<p> </p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod-debian-github/" target="_blank" rel="noopener">https://becoder.org/nextvod-debian-github/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
替中國限定手機Motorola ME632裝上Google完整服務
https://becoder.org/me632-google/
2022-07-08T21:38:16+08:00
2013-09-22T05:02:06+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>連假期間,又替人弄了一隻手機,<a title="詳細規格" href="http://tech.sina.com.cn/mobile/models/12180/detail.shtml" target="_blank">Motorola ME632</a>,這是一隻中國才有賣的手機(竟然有實體鍵盤),所以並無內建Google服務,Android手機沒有Google服務是要玩屁阿!身處中國的民眾還真是辛苦了!實體鍵盤真的是難用到了極點…..真的實用嘛=_=?</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/me632-google/" target="_blank" rel="noopener">https://becoder.org/me632-google/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>連假期間,又替人弄了一隻手機,<a title="詳細規格" href="http://tech.sina.com.cn/mobile/models/12180/detail.shtml" target="_blank">Motorola ME632</a>,這是一隻中國才有賣的手機(竟然有實體鍵盤),所以並無內建Google服務,Android手機沒有Google服務是要玩屁阿!身處中國的民眾還真是辛苦了!實體鍵盤真的是難用到了極點…..真的實用嘛=_=?</p>
<p>我Google了好久終於找到了相關的資源,在此作個紀錄以供有需要的人!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/me632-google/000.jpg" alt="" width="720" height="540" />
<h3></h3>
<p> </p>
<h3 id="必備下載"><a href="https://becoder.org/me632-google/#必備下載" class="anchor-link" aria-label="必備下載"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/me632-google/#contents:必備下載" class="headings">必備下載</a></h3>
<blockquote>
<p>驅動、root、Gapps:<a href="https://download.becoder.org/motorola-me632/" target="_blank" rel="noopener" target="_blank">下載連結</a></p></blockquote>
<p> </p>
<p>1)裝好驅動,解開root.zip,手機USB連結電腦執行runme.bat。</p>
<p>2)下載Gapps後解壓縮,使用Re管理器將裡面所有的檔案放到/system/app(可以先放到根目錄設完權限再搬到/system/app),並將權限設為如此。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/me632-google/001.jpg" alt="" width="436" height="468" />
<p> </p>
<p>3)重開機即可使用所有Google服務!</p>
<p> </p>
<h3 id="原廠rom教學"><a href="https://becoder.org/me632-google/#原廠rom教學" class="anchor-link" aria-label="原廠rom教學"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/me632-google/#contents:原廠rom教學" class="headings">原廠rom教學</a></h3>
<blockquote>
<p>RSDLite5.6、原廠rom:<a href="https://download.becoder.org/motorola-me632/" target="_blank" rel="noopener">下載連結</a><a href="https://app.box.com/s/cixy6tn7xvm312cqslww" target="_blank" rel="noopener" target="_blank"><br /> </a></p></blockquote>
<p> </p>
<p>1)按住手機的「音量上」+「開機鍵」,手機出現英文字後,按「音量下」選擇Fastboot後按下「音量上」。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/me632-google/002.jpg" alt="" width="490" height="653" />
<p> </p>
<p>2)接上傳輸線,RSDLite安裝完畢後打開,選擇下載的原廠rom,按下「Uncompress And Start Flashing」等到Progress顯示pass即可。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/me632-google/003.jpg" alt="" width="839" height="498" />
<p> </p>
<p>好好享受Google服務吧!想不到這台竟然可以跑神魔…這台價格台幣約為1800左右,只可惜沒有繁體中文,被官方精簡掉了~morelocal2也沒有用呢!不過倒是挺不錯的!比S5570好太多了!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/me632-google/" target="_blank" rel="noopener">https://becoder.org/me632-google/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
如何從無名搬家到WordPress部落格?
https://becoder.org/wretch-to-wordpress/
2022-07-08T21:38:16+08:00
2013-09-08T05:41:22+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>無名終於在9/3號提供大家下載備份了,不需要再用軟體慢慢砍照片下來了,Facebook讓這個十幾年的服務終究走向結束,但是我們在無名寫下的點點滴滴可是沒那麼容易完結的!找到另外一個好地方,繼續寫下屬於自己的歷史。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wretch-to-wordpress/" target="_blank" rel="noopener">https://becoder.org/wretch-to-wordpress/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>無名終於在9/3號提供大家下載備份了,不需要再用軟體慢慢砍照片下來了,Facebook讓這個十幾年的服務終究走向結束,但是我們在無名寫下的點點滴滴可是沒那麼容易完結的!找到另外一個好地方,繼續寫下屬於自己的歷史。</p>
<h4 id="備份"><a href="https://becoder.org/wretch-to-wordpress/#備份" class="anchor-link" aria-label="備份"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wretch-to-wordpress/#contents:備份" class="headings">備份</a></h4>
<ul>
<li>首先,先登入你的Yahoo帳號再到下列網址進行備份。</li>
</ul>
<blockquote>
<p>備份網址:<a href="http://download.wretch.cc/eol/index.html" target="_blank" rel="noopener">http://download.wretch.cc/eol/index.html</a></p></blockquote>
<ul>
<li>進入網址後,點擊備份下載,再滾動到最下方,按下匯出資料。(匯出後就再也不能編輯無名小站任何得文章和照片…等東西了!)</li>
</ul>
<p> </p>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/000.png" width="676" height="282" />
<p> </p>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/001.png" width="940" height="220" />
<p> </p>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/002.png" width="611" height="356" />
<p> </p>
<p> </p>
<ul>
<li>多重整幾次等到出現這個連結,點擊下載。</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/003.png" width="938" height="406" />
<p> </p>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/004.png" width="951" height="349" />
<p> </p>
<h4 id="匯入文章至wordpress"><a href="https://becoder.org/wretch-to-wordpress/#匯入文章至wordpress" class="anchor-link" aria-label="匯入文章至wordpress"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wretch-to-wordpress/#contents:匯入文章至wordpress" class="headings">匯入文章至WordPress</a></h4>
<ul>
<li>如果你還沒有WordPress的話可以<a href="http://becoder.org/saw-wordpress-bsp" target="_blank" rel="noopener">從這裡註冊一個</a>,登入後進入控制台,點擊 工具→匯入文章。</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/005.png" width="422" height="277" />
<p> </p>
<p> </p>
<ul>
<li>請回到剛剛下載的檔案,打開壓縮檔後把 **wretch_2013-月-日-movable-type.txt **這個檔案解壓放到桌面。</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/006.png" width="446" height="416" />
<p> </p>
<p> </p>
<ul>
<li>回到網頁,點擊 <strong>Movable Type and TypePad</strong> 後上傳你剛剛解壓縮出來的檔案。</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/007.png" width="460" height="341" />
<p> </p>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/008.png" width="593" height="255" />
<p> </p>
<p> </p>
<ul>
<li>如果你SAW的帳號和無名小站的不同的話會出現這個畫面,請把上面清空後選擇你現在的帳號!</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/009.png" width="402" height="347" />
<p> </p>
<ul>
<li>輕輕鬆鬆匯入完成。</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/010.png" width="522" height="429" />
<p> </p>
<ul>
<li>匯入完成後,你可以<a href="http://steachs.com/archives/932" target="_blank" rel="noopener">修改固定網址</a>,改成你喜歡的樣子吧!</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/011.png" width="856" height="384" />
<p> </p>
<p>再來照片的問題就比較麻煩了…<strong>需要一個一個修改網址</strong>…這是搬家最惱人的地方,不做的畫可是會「完全沒有畫面」的!快速的方法是<a href="http://www.azofreeware.com/2006/04/free-download-manager-fdm-20416.html" target="_blank" rel="noopener" target="_blank">使用軟體</a>下載完照片後再慢慢上傳了,你可以上傳到SAW的空間(免費500MB可以用!)或是使用 Picasa(Google的服務),圖不多的話放內建的500MB就夠用囉!</p>
<p> </p>
<h4 id="批次下載無名相簿"><a href="https://becoder.org/wretch-to-wordpress/#批次下載無名相簿" class="anchor-link" aria-label="批次下載無名相簿"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/wretch-to-wordpress/#contents:批次下載無名相簿" class="headings">批次下載無名相簿</a></h4>
<p>無名照片給的備份實在很不方便,如果有100本相簿不就要一個一個開來複製網址?其實不用這麼麻煩,我們可以使用dos指令來幫我們合併這一些.txt檔案,一次複製網址後透過<a href="http://www.azofreeware.com/2006/04/free-download-manager-fdm-20416.html" target="_blank" rel="noopener" target="_blank">下載軟體</a>自動下載即可。</p>
<p> </p>
<ul>
<li>那麼多檔案真的是會搞死人</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/012.png" width="446" height="376" />
<p> </p>
<ul>
<li>請先打開CMD</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/013.png" width="412" height="476" />
<p> </p>
<ul>
<li>再來,輸入以下指令後按下Enter。</li>
</ul>
<blockquote>
<p>cd “裡面放滿.txt的那個資料夾”</p></blockquote>
<ul>
<li>輸入以下指令後按下Enter,就會產生一個all.txt,那是含有全部路徑的.txt檔!(建議你用複製的才不會出錯)</li>
</ul>
<blockquote>
<p>copy *.txt all.txt</p></blockquote>
<p> </p>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/014.png" width="389" height="155" />
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/015.png" width="389" height="155" />
<p> </p>
<ul>
<li>這是有全部連結的文字檔,可以全部複製起來後使用<a href="http://www.azofreeware.com/2006/04/free-download-manager-fdm-20416.html" target="_blank" rel="noopener" target="_blank">這個軟體</a>下載。</li>
</ul>
<img loading="lazy" class="alignnone" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/wretch-to-wordpress/016.png" width="296" height="285" />
<p> </p>
<p>圖片的問題解決之後,你也可以考慮<a href="http://wp.saw.tw/host/" target="_blank" rel="noopener">考慮獨立架站</a>,我就是自己架的喔!以後想搬到哪家主機就搬到哪家主機,獨立架站後搬家的話,沒有發布公告根本就不會有人知道你搬家了!因為<a href="http://becoder.org/domain-mirai-tw" target="_blank" rel="noopener">網址是永遠是同一個</a>(ex: Mirai.tw),以後你搬到哪裡都是使用這個網址啦!各位可以<a href="http://sofree.cc/st-web-wehosting/" target="_blank" rel="noopener">先練習練習</a>再去<a href="http://wp.saw.tw/host/" target="_blank" rel="noopener">申請虛擬主機</a>囉!千萬不要使用000webhost去架站!拿來練習是沒問題,000的不穩定可是會煩死你的!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wretch-to-wordpress/" target="_blank" rel="noopener">https://becoder.org/wretch-to-wordpress/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
嘉義高中陽明監獄生存戰略
https://becoder.org/cysh-dorm-live/
2022-07-08T21:38:16+08:00
2013-09-06T17:23:52+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>九月的第一篇文章來寫寫學校好了,這個星期終於像個正式的開學了,過了第一個禮拜,突然想紀錄一下這一年來待在宿舍的心得,對於剛入住的學長、同學或是<del>新舍監</del>學弟有些幫助,幫助你好好<del>學會鑽鑽漏洞</del>適應宿舍的規範唷~!!以下是我親身經歷,如果需要詳細資料的話每個房間的門上面都有一本手冊可以看!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cysh-dorm-live/" target="_blank" rel="noopener">https://becoder.org/cysh-dorm-live/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>九月的第一篇文章來寫寫學校好了,這個星期終於像個正式的開學了,過了第一個禮拜,突然想紀錄一下這一年來待在宿舍的心得,對於剛入住的學長、同學或是<del>新舍監</del>學弟有些幫助,幫助你好好<del>學會鑽鑽漏洞</del>適應宿舍的規範唷~!!以下是我親身經歷,如果需要詳細資料的話每個房間的門上面都有一本手冊可以看!</p>
<h2 id="申請住宿"><a href="https://becoder.org/cysh-dorm-live/#申請住宿" class="anchor-link" aria-label="申請住宿"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-dorm-live/#contents:申請住宿" class="headings">申請住宿</a></h2>
<p>新生在新生訓練那天就會說明了,想進去住的話就到<del>舍辦</del>舍監辦公室拿申請表,裡面有人可以讓你問的,填好表單後讓父母、導師、教官簽名後交去舍辦即可,教官人很好,跟家裡哥哥姊姊說的那樣子完全不同,相當nice!</p>
<p>有認識的人在住宿的話可以問看看他願不願意、有沒有空位以及緣份和你當室友囉!願意的話可以跟舍監說<strong>要和誰同一寢室</strong>,否則就是找<strong>人比較少的房間</strong>塞了!</p>
<p> </p>
<h2 id="必帶用品"><a href="https://becoder.org/cysh-dorm-live/#必帶用品" class="anchor-link" aria-label="必帶用品"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-dorm-live/#contents:必帶用品" class="headings">必帶用品</a></h2>
<p>要搬到宿舍住了,一個星期有五天,想必有相當多的東西要帶,有些東西可以跟別人借是沒關係,但是如果一開始都不認識室友的話還是自己帶比較保險吧!</p>
<p>以下是我大約整理的必備物品:</p>
<p> </p>
<ul>
<li>服裝(用箱子裝)</li>
</ul>
<blockquote>
<p>制服、運動服各2套</p>
<p>泳裝1套(泳帽+泳褲+泳鏡)</p>
<p>便服*2套</p>
<p>內褲*3件</p>
<p>襪子*2雙</p>
<p>布鞋*1</p>
<p>拖鞋*1</p></blockquote>
<p> </p>
<p> </p>
<ul>
<li>餐具</li>
</ul>
<blockquote>
<p>碗*2(星期三特餐戰)</p>
<p>筷子*2雙(備用)</p>
<p>杯子</p></blockquote>
<p> </p>
<p> </p>
<ul>
<li>寢具</li>
</ul>
<blockquote>
<p>海綿床墊(單人床</p>
<p>枕頭*2</p>
<p>棉被*1(依照季節考慮厚度)</p>
<p><del>CG抱枕</del></p></blockquote>
<p> </p>
<p> </p>
<ul>
<li>清潔用具</li>
</ul>
<blockquote>
<p>牙刷牙膏</p>
<p>毛巾*2</p>
<p>洗碗精+菜瓜布</p>
<p>洗衣精+刷子</p>
<p>沐浴乳+洗髮精+洗面乳</p>
<p>衣架*10隻</p></blockquote>
<p> </p>
<p> </p>
<ul>
<li>其他</li>
</ul>
<blockquote>
<p>書包…課本,,,都要帶,因為你已經不會每天都回家了!</p></blockquote>
<p> </p>
<h2 id="晚間點名早上點名"><a href="https://becoder.org/cysh-dorm-live/#晚間點名早上點名" class="anchor-link" aria-label="晚間點名早上點名"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-dorm-live/#contents:晚間點名早上點名" class="headings">晚間點名、早上點名</a></h2>
<p>這些東西都準備的差不多了,入住的第一夜,舍監會找你去設定指紋點名系統,見完檔案之後就要開始養成好習慣了!看到指紋打卡機有亮燈就去按!看一次按一次,<strong>沒點到的話可是要吃上一隻週輔的</strong><del>我因為這個去了兩次週輔,硍!</del>喔!</p>
<p>早上的點名時間為6:30~7:00,晚上為10:30~11:00,一定要記得去按!雖然早上6:00~6:30會放音樂<del>老鳥通常都聽不到,幾乎都睡死了</del>,求心安的人還是訂個鬧鐘吧!再時間內室會有廣播機器人來提醒大家的!不要想些五四三的東西想去破解<del>研究不出來啦</del>打卡機,弄壞要賠錢的!</p>
<p> </p>
<h2 id="用餐時間"><a href="https://becoder.org/cysh-dorm-live/#用餐時間" class="anchor-link" aria-label="用餐時間"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-dorm-live/#contents:用餐時間" class="headings">用餐時間</a></h2>
<p>這些是<strong>一定可以拿到食物的時間</strong>,太晚去就不保證了<del>廚工臭臉</del>,早餐時間為6:30~6:45,午餐則是12:00~12:15,晚餐是5:10~5:20,每個考試日的前一天晚上10:00宿舍都會有宵夜,由學生自行投票選擇。</p>
<p>晚上吃完飯可以的話就儘快洗澡睡個覺,因為晚自習要稱3個小時喔!<del>如果你很認真的唸書的話</del></p>
<p> </p>
<h2 id="晚自習"><a href="https://becoder.org/cysh-dorm-live/#晚自習" class="anchor-link" aria-label="晚自習"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-dorm-live/#contents:晚自習" class="headings">晚自習</a></h2>
<p>在晚自習教室一定可以感受到相當的壓力,幾乎是沒有聲音的(偶爾會有手機響),無請假的話每個人一定都要參加,星期1、2、4的時間為晚上7:00~10:00,星期3只到9:00,1.5小時的時間可以出門<del>打咖</del>覓食覓食!</p>
<p>在晚自習時基本上可以出去<del>買飲料買宵夜</del>上廁所,只要在點名時有在位子上就好,出去<del>買東西</del>上廁所的話就快點回來<del>吃點心</del>讀書囉!出去亂晃實在不太好,缺席一樣吃週輔~!</p>
<p> </p>
<h2 id="供電時間"><a href="https://becoder.org/cysh-dorm-live/#供電時間" class="anchor-link" aria-label="供電時間"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-dorm-live/#contents:供電時間" class="headings">供電時間</a></h2>
<p>晚上11:00大日光燈會斷電,插座、書桌電燈供電正常,1:00整間寢室只剩冷氣和電風扇可以用。11:30浴室電燈應該會斷電舍<del>監有時不會關</del>!要好好把握時間嘿!</p>
<p> </p>
<h2 id="留宿"><a href="https://becoder.org/cysh-dorm-live/#留宿" class="anchor-link" aria-label="留宿"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-dorm-live/#contents:留宿" class="headings">留宿</a></h2>
<p>萬一真的很幸運的參與愛校服務了,不想早上搭車來的話那麼星期五晚上就就要住宿舍了,正常日子必須在星期四晚上7:00以前到舍辦簽寫留宿,寫完後就可以閃了,晚上一樣要點名,點名時間為10:00~10:15,早上要在8:00之前離開宿舍,書包之類的東西要一起帶出去囉!不然要等到下午5:00或是7:00才會開門了!星期日宿舍開啟的時間也是下午5:00或7:00。</p>
<p>7:00才開門是因為舍監請假,由教官值勤才會如此!平常都是5:00喔!</p>
<p> </p>
<h2 id="宿舍幹部"><a href="https://becoder.org/cysh-dorm-live/#宿舍幹部" class="anchor-link" aria-label="宿舍幹部"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/cysh-dorm-live/#contents:宿舍幹部" class="headings">宿舍幹部</a></h2>
<p>斯斯有兩種,宿舍幹部有學生長*1、副學生長*2、福利委員*8、工讀*2,除了學生長是用選舉的以外,其他都是由舍監找<del>順眼的</del>人來擔任或是自願的!</p>
<p> </p>
<p>以上這些是每日都會經過的事情,大約自己跑過一次就會瞭解了,我待在宿舍即將邁入第二年,這學期舍監也已經換了人,或許會有些改變吧!到時候再作修正了!再宿舍生活其實還蠻輕鬆的,生活相當的規律,上學也只需要步行,最晚7:30再出門就可以了,睡得舒服又可以交一些朋友,其實這生存戰略也還好,沒什麼特別的偷吃步<del>還沒寫</del>的XD!如果有問題、意見或是錯誤歡迎在下面發表你的看法~!</p>
<p> </p>
<p> </p>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/00.jpg" alt="" width="985" height="1307" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/02.jpg" alt="" width="840" height="635" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/03.jpg" alt="" width="840" height="635" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/04.jpg" alt="" width="840" height="635" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/05.jpg" alt="" width="635" height="840" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/06.jpg" alt="" width="635" height="840" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/07.jpg" alt="" width="1000" height="755" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/08.jpg" alt="" width="1000" height="755" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/09.jpg" alt="" width="1000" height="755" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/09/cysh-dorm-live/10.jpg" alt="" width="1000" height="755" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/cysh-dorm-live/" target="_blank" rel="noopener">https://becoder.org/cysh-dorm-live/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
無名小站、Yahoo部落格即將終止服務!快點搬家吧!
https://becoder.org/wretch-end/
2022-07-08T21:38:16+08:00
2013-08-31T04:55:24+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>昨天淋雨回家的時候,妹妹跟我說無名要關站了,知道這個消息的瞬間一點都不會意外,其實這個傳聞老早在幾個月前就聽說過了,只是Yahoo都沒有承認,告別<del>告白</del>的這一天終於來了,無名小站、Yahoo部落格這兩個曾經陪伴過我們童年的部落格,再見!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wretch-end/" target="_blank" rel="noopener">https://becoder.org/wretch-end/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>昨天淋雨回家的時候,妹妹跟我說無名要關站了,知道這個消息的瞬間一點都不會意外,其實這個傳聞老早在幾個月前就聽說過了,只是Yahoo都沒有承認,告別<del>告白</del>的這一天終於來了,無名小站、Yahoo部落格這兩個曾經陪伴過我們童年的部落格,再見!</p>
<ul>
<li>進入無名小站首頁,斗大的公告訴說著時代的變遷…。</li>
</ul>
<img loading="lazy" class="alignleft" alt="" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/wretch-end/001.png" width="640" height="374" />
<p> </p>
<p> </p>
<p>還留在無名小站的朋友,小弟勸你還是快點搬家吧,不然你寫好幾年的文章全部都會消失,<strong>沒有架站基礎</strong>或是<strong>不想花錢的朋友</strong>,小弟<strong>首推<a href="http://briian.com/?p=10534" target="_blank" rel="noopener" target="_blank">搬到Blogger</a></strong>,自由度真的很高很高,可以自己申請Google Adsense來放入廣告,廣告的收入可以自己賺,以前待在無名的時候都被無名小站賺走囉!Google還有無名小站幾十倍大的相簿空間呢!</p>
<p> </p>
<p>但是還是有風險,萬一某天Google突然不想玩Blogger的話,你可能就要再像無名小站結束營業那樣子<strong>再搬一次</strong>!這種折騰人的事情真的是發生一次就好了..。</p>
<p> </p>
<p>如果你想<strong>完完全全擁有自己的網站</strong>,就建議你先來這邊適應<a href="http://becoder.org/saw-wordpress-bsp" target="_blank" rel="noopener">適應Wordpress</a>、或是練習<a href="http://sofree.cc/st-web-wehosting/" target="_blank" rel="noopener" target="_blank">練習自己架設</a>。記住!000webhost絕對只能練習,千萬不要把他當成唯一,因為這個空間真的很糟糕,練習就好,熟悉步驟,再來就可以來去<a href="http://wp.saw.tw/host/" target="_blank" rel="noopener" target="_blank">申請SAW部落格學院的免費虛擬主機</a>自己當站長啦!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/wretch-end/" target="_blank" rel="noopener">https://becoder.org/wretch-end/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
DIY!自製土砲osu!觸盤 !百元擁有機械式鍵盤高規格享受!
https://becoder.org/diy-osu-keyboard/
2022-07-08T21:38:16+08:00
2013-08-23T19:33:49+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>其實,這個玩具很久以前就做出來了,只是都一直忘記寫…今天,我重新再做了一次,就為了寫文章啦XDDD,別忘了,我只寫獨創的東西,哈哈!巴哈姆特的朋友真是抱歉囉!遲了那麼久才寫這一篇!</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diy-osu-keyboard/" target="_blank" rel="noopener">https://becoder.org/diy-osu-keyboard/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>其實,這個玩具很久以前就做出來了,只是都一直忘記寫…今天,我重新再做了一次,就為了寫文章啦XDDD,別忘了,我只寫獨創的東西,哈哈!巴哈姆特的朋友真是抱歉囉!遲了那麼久才寫這一篇!</p>
<p> </p>
<p>觸盤,這個名字其實是從<a href="http://tieba.baidu.com/p/1097991831" target="_blank" rel="noopener" target="_blank">中國網友首先發明的名詞</a>,機械式鍵盤的手感好,但是,機械式鍵盤太貴了,所以我們這些窮窮的玩家只能另尋出路囉!**我們玩OSU只用到兩顆按鍵,為何要花2~3千圓台幣去買一手很貴的鍵盤呢? **兩顆鍵….滑鼠不就有兩顆鍵了嗎!?改上兩個機械式鍵盤的軸不就得了??是的!!這個想法是可行的!而且相當簡單,完全不需要有相關科系的底子!是因為滑鼠構造和軸的構造實在太簡單啦XD</p>
<p>目前,<a href="http://tieba.baidu.com/p/1097991831" target="_blank" rel="noopener" target="_blank">中國原版的觸盤</a>的研發已經快要接近商品化了..,真的很厲害!但是,DIY價值無限,我們就繼續看下去唄XDD!</p>
<p> </p>
<h2 id="diy材料"><a href="https://becoder.org/diy-osu-keyboard/#diy材料" class="anchor-link" aria-label="diy材料"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-osu-keyboard/#contents:diy材料" class="headings">DIY材料</a></h2>
<p>首先,你需要先準備以下的物品:</p>
<p> </p>
<blockquote>
<p>1顆便宜的滑鼠</p>
<p>2個機械式鍵盤的軸</p>
<p>電烙鐵、銲錫</p>
<p>適當長度的電線4條</p></blockquote>
<p> </p>
<p>材料之中,最難弄到的莫過於軸了,現在網路如此發達,網拍就買得到囉!但是,你買的到軸,買不到鍵帽也很麻煩阿…我是直接買機械式鍵盤的吊飾!因為他有鍵帽了XD,貴了好多,因為我真的找不到單賣鍵帽的!有古董機械式鍵盤的話可以直接拆下來用喔!</p>
<p>軸(無鍵帽):<a href="http://goods.ruten.com.tw/item/show?21007058835021" target="_blank" rel="noopener">http://goods.ruten.com.tw/item/show?21007058835021</a></p>
<p>吊飾(有鍵帽):<a href="http://goods.ruten.com.tw/item/show?21301075765502" target="_blank" rel="noopener">http://goods.ruten.com.tw/item/show?21301075765502</a></p>
<p> </p>
<h2 id="diy教學"><a href="https://becoder.org/diy-osu-keyboard/#diy教學" class="anchor-link" aria-label="diy教學"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-osu-keyboard/#contents:diy教學" class="headings">DIY教學</a></h2>
<p> </p>
<p>首先,滑鼠的外殼給拆掉,網路上便宜的滑鼠一顆只要50圓呢!</p>
<ul>
<li>1顆便宜的滑鼠,脫了她的衣服!(咦..衣服??)</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/000.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>可愛的青軸和鍵帽XD</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/001.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<p>準備好這些東西後呢,先把滑鼠上面的微動開關給拆了,以免誤觸。先拆開關<del>坐墊</del>!</p>
<p> </p>
<p> </p>
<ul>
<li>這就是微動開關</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/002.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>拆吧!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/003.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>拆拆拆!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/004.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>阿勒!<a href="http://becoder.org/domain-mirai-tw" target="_blank" rel="noopener" target="_blank">網域收據</a>在後面XD</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/005.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<h2 id="焊接"><a href="https://becoder.org/diy-osu-keyboard/#焊接" class="anchor-link" aria-label="焊接"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-osu-keyboard/#contents:焊接" class="headings">焊接</a></h2>
<p> </p>
<p>這一個階段我搞了很久很久很久….因為焊油不見,軸和電線都上不了錫,本人技術不佳….,敬請見諒><!不會焊的朋友,可以找相關科系的親朋好友幫忙唷!這花了我一個多小時阿…..可惡<del>想揉</del>!(你是要揉什麼啦!)</p>
<p> </p>
<ul>
<li>瞭解照片上的原理後,我們就可以把他接出來交給軸進行控制囉!簡單來說,軸,其實就只是一個小開關而已!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/006.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>焊焊焊!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/007.jpg" alt="" width="878" height="664" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/008.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>軸的背面,要把電線焊到上面去唷!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/009.jpg" alt="" width="878" height="664" />
<h2></h2>
<p> </p>
<p> </p>
<ul>
<li>做的太認真了,…過程忘記拍照…=_=,這段花了我超長的時間阿!完成後類似這樣</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/010.jpg" alt="" width="878" height="664" />
<p> </p>
<p> </p>
<ul>
<li>這樣看可能不清楚,我做了一張示意圖讓各位可以更清楚瞭解!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/011.jpg" alt="" width="485" height="464" />
<ul>
<li>真的焊得很爛阿….</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/012.jpg" alt="" width="878" height="664" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/diy-osu-keyboard/013.jpg" alt="" width="878" height="664" />
<h2 id="最大挑戰"><a href="https://becoder.org/diy-osu-keyboard/#最大挑戰" class="anchor-link" aria-label="最大挑戰"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/diy-osu-keyboard/#contents:最大挑戰" class="headings">最大挑戰</a></h2>
<p>軸和電線上錫,真的….超困難的,這裡卡住的朋友真的可以找朋友幫忙!不要像我浪費了那麼多時間><!如果你想學焊接的話那就自己做吧!不過真的很難…..。</p>
<p>如果各位有其他的材料來源、推薦店家,歡迎在底下留言,我會補充在這裡讓各位知道的!</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/diy-osu-keyboard/" target="_blank" rel="noopener">https://becoder.org/diy-osu-keyboard/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
網域收據來啦!
https://becoder.org/domain-mirai-tw/
2022-07-08T21:38:16+08:00
2013-08-20T13:46:07+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>其實我買網址已經過1個星期了,遲遲沒有發文,這幾天收據寄來家裡,今天一定要發表文章!我發現已經好幾天沒有更新網站了….是真的不知道要寫什麼呀> <。事實上,有想過寫一些教學文,但是網路上已經有很多資料了,讓我覺得這樣做沒什麼意義,想盡量寫一些獨創的東西!不然真的是浪費時間和精神!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/domain-mirai-tw/" target="_blank" rel="noopener">https://becoder.org/domain-mirai-tw/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>其實我買網址已經過1個星期了,遲遲沒有發文,這幾天收據寄來家裡,今天一定要發表文章!我發現已經好幾天沒有更新網站了….是真的不知道要寫什麼呀> <。事實上,有想過寫一些教學文,但是網路上已經有很多資料了,讓我覺得這樣做沒什麼意義,想盡量寫一些獨創的東西!不然真的是浪費時間和精神!</p>
<p>廢話不多說了,來介紹今天的重點,我買網址的收據來啦XD,我的網址是在 <a href="http://host.com.tw/" target="_blank" rel="noopener">遠振資訊</a>買的,因為聽朋友介紹就買囉!我是用7-11的ibon付款的,入賬速度真是超快啦!不過在付款後網域並沒有馬上註冊,我問了朋友後,原來需要摧他們才會動阿!(跟我妹妹好像!!=_=)</p>
<p> </p>
<p>沒關係,遠振有線上客服,告訴他們之後網址就註冊完成啦!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/domain-mirai-tw/000.jpg" alt="" width="638" height="214" />
<p> </p>
<p>不過,在台灣註冊的網址附加的DNS功能都很鳥…讓我想到了GoDaddy的免費DNS代管啦,免費用戶可以使用高達100個紀錄!完全免費XDD,在台灣,有些網址註冊商附帶完整的DNS管理需要額外收費= =,大多數收錢了之後功能還是很陽春呢!我們要感謝GoDaddy提供這種好服務給各位使用了。</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/domain-mirai-tw/001.jpg" alt="" width="697" height="265" />
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/domain-mirai-tw/002.jpg" alt="" width="719" height="452" />
<p>也有人問我為什麼要買.tw呢?比國際域貴上一倍耶!其實我也很想買便宜的國際域呀!不過我想要得名字都被註冊光了!而且沒有信用卡可以用!不然我早就用更便宜的國際域囉!</p>
<p> </p>
<p>最後一張啦!可愛的收據!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/domain-mirai-tw/003.jpg" alt="" width="719" height="452" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/domain-mirai-tw/" target="_blank" rel="noopener">https://becoder.org/domain-mirai-tw/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Photoshop筆記,替圖片增加外框、陰影!
https://becoder.org/photoshop-shadow/
2022-07-08T21:38:16+08:00
2013-08-16T11:16:25+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>一開始我是使用css語法來製作圖片陰影的,當圖片內的背景是白色的時候會比較好分辨一些,後來發現有點問題就…,後來直接把腦筋動在圖檔上面,有關於圖片的編輯當然要用PhotoShop啦!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/photoshop-shadow/" target="_blank" rel="noopener">https://becoder.org/photoshop-shadow/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>一開始我是使用css語法來製作圖片陰影的,當圖片內的背景是白色的時候會比較好分辨一些,後來發現有點問題就…,後來直接把腦筋動在圖檔上面,有關於圖片的編輯當然要用PhotoShop啦!</p>
<p>陰影附加在圖片上的好處只有一個,那就是當網站佈景主題改變的時候,不必再花時間重寫一次CSS,重複做同樣的事情感覺挺浪費時間的,所以就讓他黏在圖片上啦。</p>
<p> </p>
<img loading="lazy" class="alignnone" src=" //becoder.org/wp-content/uploads/2013/08/photoshop-shadow/-first-.jpg" alt="" width="663" height="534" />
<blockquote>
<p> 本例使用的圖片是這張,加框前的樣子</p>
<p>作者pixiv:<a href="http://www.pixiv.net/member.php?id=237953" target="_blank" rel="noopener">http://www.pixiv.net/member.php?id=237953</a></p>
<p> </p></blockquote>
<img loading="lazy" class="alignnone" src=" //becoder.org/wp-content/uploads/2013/08/photoshop-shadow/o.jpg" alt="" width="715" height="1000" />
<p> </p>
<ul>
<li>首先,打開你的ps(我是cs5),先載入隨便一張圖片後到視窗打開「動作」這個項目,ps預設是沒有顯示的唷!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/000.jpg" alt="" width="311" height="494" />
<p> </p>
<p> </p>
<ul>
<li>先新增一個動作,只勾剛新增的那個就好,按下「紀錄」就會開始錄製動作了!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/001.jpg" alt="" width="565" height="568" />
<p> </p>
<p> </p>
<ul>
<li> 開始錄製後,按下Ctrl+J複製一個圖層</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/002.jpg" alt="" width="817" height="608" />
<p> </p>
<p> </p>
<ul>
<li>點下「背景」,讓他變成藍色的(選取)</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/003.jpg" alt="" width="806" height="643" />
<p> </p>
<p> </p>
<ul>
<li>到 影像→版面尺寸開啟這個視窗來新增外框的寬度,我使用增加20像素,記得要把相對打勾喔!這樣才會增加20像素!輸入完畢後確定!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/004.jpg" alt="" width="830" height="708" />
<p> </p>
<p> </p>
<ul>
<li>Ctrl+A,全選整張圖片</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/005.jpg" alt="" width="852" height="659" />
<p> </p>
<p> </p>
<ul>
<li>到 編輯→畫筆 寬度1px,這是外框黑邊的粗細</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/006.jpg" alt="" width="987" height="741" />
<p> </p>
<p> </p>
<ul>
<li>確定後,點 圖層1</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/007.jpg" alt="" width="856" height="635" />
<p> </p>
<p> </p>
<ul>
<li>點 圖層→圖層樣式→陰影</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/008.jpg" alt="" width="856" height="715" />
<p> </p>
<p> </p>
<ul>
<li>陰影角度我設定135度,可以自行設定喜好的角度</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/009.jpg" alt="" width="602" height="519" />
<p> </p>
<p> </p>
<ul>
<li>另存新檔,哪裡都可以</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/010.jpg" alt="" width="1044" height="747" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/011.jpg" alt="" width="271" height="146" />
<p> </p>
<p> </p>
<ul>
<li>結束錄製囉</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/012.jpg" alt="" width="343" height="252" />
<p> </p>
<p> </p>
<ul>
<li>再來,已經可以批次處理圖片了 自動→批次處理</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/013.jpg" alt="" width="565" height="747" />
<p> </p>
<p> </p>
<ul>
<li>來源資料夾要選擇有圖片的資料夾唷!目的資料夾不要和來源相同即可, 忽略另存新檔 請打勾,不然會失去批次處理的意義!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/014.jpg" alt="" width="872" height="646" />
<p> </p>
<p> </p>
<p>按下確定後就會開始處理囉!如果有遇到錯誤的話請按繼續,不同的圖片格式會出錯,不然就是每種格式各錄一次囉!</p>
<p> </p>
<p>處理完成的圖片如下,目前本站的圖片都是使用這個方法唷!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/photoshop-shadow/015.jpg" alt="" width="735" height="1020" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/photoshop-shadow/" target="_blank" rel="noopener">https://becoder.org/photoshop-shadow/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Dropbox的Public公開連結不見了怎麼辦?沒關係,我教你開!
https://becoder.org/enable-dropbox-public-folder/
2022-07-08T21:38:16+08:00
2013-08-15T16:15:08+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>今天我原本在研究Dropbox當圖空,結果一直找不到Public資料夾在哪裡,我Google了好久,又有人貼了<a href="http://tw.tech.yahoo.com/news/%E8%AE%8A%E5%A5%BD%E5%A4%A7-dropbox-public%E8%B3%87%E6%96%99%E5%A4%BE%E5%B0%87%E8%A2%AB%E7%A0%8D%E9%99%A4-...-041100180.html" target="_blank">這個連結</a>給我看…我還是不放棄繼續Google….終於找到了…藏在這種地方誰會知道阿…..。</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/enable-dropbox-public-folder/" target="_blank" rel="noopener">https://becoder.org/enable-dropbox-public-folder/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>今天我原本在研究Dropbox當圖空,結果一直找不到Public資料夾在哪裡,我Google了好久,又有人貼了<a href="http://tw.tech.yahoo.com/news/%E8%AE%8A%E5%A5%BD%E5%A4%A7-dropbox-public%E8%B3%87%E6%96%99%E5%A4%BE%E5%B0%87%E8%A2%AB%E7%A0%8D%E9%99%A4-...-041100180.html" target="_blank" rel="noopener" target="_blank">這個連結</a>給我看…我還是不放棄繼續Google….終於找到了…藏在這種地方誰會知道阿…..。</p>
<p> </p>
<blockquote>
<p>啟用Public資料夾:<a href="https://www.dropbox.com/enable_public_folder" target="_blank" rel="noopener" target="_blank"><a href="https://www.dropbox.com/enable_public_folder" target="_blank" rel="noopener">https://www.dropbox.com/enable_public_folder</a></a></p></blockquote>
<p> </p>
<ul>
<li>進去後應該是這樣</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/enable-dropbox-public-folder/000.png" alt="" width="345" height="230" />
<p> </p>
<ul>
<li>就這樣!消失的公開連結出現啦!!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/enable-dropbox-public-folder/001.png" alt="" width="421" height="385" />
<p> </p>
<p><span style="color: #ff0000;">2015更新</span></p>
<p>現在竟然要專業版才能開啟了,有點可惜…,已經有開啟Public資料夾的帳號並不會消失,好好珍惜吧!</p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/enable-dropbox-public-folder/003.png" alt="" width="720" height="1280" />
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/enable-dropbox-public-folder/" target="_blank" rel="noopener">https://becoder.org/enable-dropbox-public-folder/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Mega第二彈!MegaMega上傳下載整合包!
https://becoder.org/mega-uploader-downloader-tool/
2022-07-08T21:38:16+08:00
2013-08-14T19:07:04+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>在很久很久以前,<a href="http://becoder.org/mega-co-nz-using" target="_blank">曾經提過Mega</a>吧?現在我找到了兩款分別是提供Mega上傳以及下載的工具唷!感覺相當方便呢!應該可以解決大眾對於網頁上傳&下載不穩定的不滿吧XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/mega-uploader-downloader-tool/" target="_blank" rel="noopener">https://becoder.org/mega-uploader-downloader-tool/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>在很久很久以前,<a href="http://becoder.org/mega-co-nz-using" target="_blank" rel="noopener" target="_blank">曾經提過Mega</a>吧?現在我找到了兩款分別是提供Mega上傳以及下載的工具唷!感覺相當方便呢!應該可以解決大眾對於網頁上傳&下載不穩定的不滿吧XD</p>
<blockquote>
<p>軟體名稱:MegaUploader</p>
<p>官方網站:<a href="http://megauploaderapp.blogspot.com" target="_blank" rel="noopener" target="_blank"><a href="http://megauploaderapp.blogspot.com" target="_blank" rel="noopener">http://megauploaderapp.blogspot.com</a></a></p>
<p>軟體名稱:MegaDownloader</p>
<p>官方網站:<a href="http://megadownloaderapp.blogspot.com" target="_blank" rel="noopener" target="_blank"><a href="http://megadownloaderapp.blogspot.com" target="_blank" rel="noopener">http://megadownloaderapp.blogspot.com</a></a></p>
<p>整合包:<a href="https://download.becoder.org/megamega-zip/" target="_blank" rel="noopener" target="_blank">下載連結</a></p>
<p> </p></blockquote>
<p> </p>
<ul>
<li> 解壓縮之後,沒意外的話內容應該是這些</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/000.png" alt="" width="444" height="272" />
<p> </p>
<p> </p>
<h2 id="megauploader"><a href="https://becoder.org/mega-uploader-downloader-tool/#megauploader" class="anchor-link" aria-label="megauploader"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/mega-uploader-downloader-tool/#contents:megauploader" class="headings">MegaUploader</a></h2>
<ul>
<li> 先介紹一下MegaUploader,嗚嗚,Mega以前的名字><,開啟後,來到「帳號」作一下設定,記得要儲存資訊唷!暱稱的功能是讓你方便判斷這是哪個帳號,帳號密碼就是Mega的囉!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/001.png" alt="" width="661" height="389" />
<p> </p>
<p> </p>
<ul>
<li>設定完成後,點擊程式上面的「+」符號新增檔案或是資料夾,封裝名稱也是助你判斷用的,選好之後在上傳啦!記住,上傳的檔案<span style="color: #ff0000;">一定要有副檔名</span>,不然會出錯喔!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/002.png" alt="" width="654" height="457" />
<p> </p>
<p> </p>
<ul>
<li>上傳速度還可以,急的人建議分割後再多線上傳,慢慢來也不錯啦!不拖上網速度!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/003.png" alt="" width="620" height="390" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/004.png" alt="" width="659" height="389" />
<p> </p>
<p> </p>
<ul>
<li>上傳完成後可以按右鍵直接拿到連結網址!可以給別人抓啦!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/005.png" alt="" width="624" height="393" />
<p> </p>
<h2 id="megadownloader"><a href="https://becoder.org/mega-uploader-downloader-tool/#megadownloader" class="anchor-link" aria-label="megadownloader"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/mega-uploader-downloader-tool/#contents:megadownloader" class="headings">MegaDownloader</a></h2>
<ul>
<li>一打開就超簡潔的啦!<span style="color: #ff0000;">一定</span>到「選項→設定」來選擇你的下載路徑,不然每次下載都要選一次資料夾=_=,帳號密碼可以不用填,填了應該也沒什麼用處!如果你右鍵複製到下載網址他也會有反應唷XDD對了,設定玩記得要<span style="color: #ff0000;">儲存</span>喔!想多線同時下載的話可以設多一點,我是照預設啦!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/006.png" alt="" width="620" height="392" />
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/007.png" alt="" width="659" height="469" />
<p> </p>
<p> </p>
<ul>
<li>下載檔案就跟上傳差不多啦!如果是影片檔還可以直接看呢!(沒試過,改天來試試好了)</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/008.png" alt="" width="765" height="465" />
<p> </p>
<p> </p>
<ul>
<li>加速連結後就開始下載了…什麼..我還沒截圖到就完成了!?真不愧是Mega阿XD!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/mega-uploader-downloader-tool/009.png" alt="" width="620" height="392" />
<p> </p>
<p>有問題或是有錯可以告訴我!我可以盡量替你解決的XDD</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/mega-uploader-downloader-tool/" target="_blank" rel="noopener">https://becoder.org/mega-uploader-downloader-tool/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
如何手動升級 Box 空間為50GB?(永久免費!)
https://becoder.org/box-free-50-email/
2022-07-08T21:38:16+08:00
2013-08-14T04:30:45+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近,我發現DELL的50GB已經失效了,其實我的帳號原本可以邀請親朋好友一起免費升級50GB,但因Box.com網頁上設計的問題,網頁失效,但是一樣可以免費升級到50GB!現在如果你想要免費升級的話,只需要寄一封Email到客服即可<img src="http://becoder.org/box-net-50gb" alt="Box.com申請方法在此">。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/box-free-50-email/" target="_blank" rel="noopener">https://becoder.org/box-free-50-email/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近,我發現DELL的50GB已經失效了,其實我的帳號原本可以邀請親朋好友一起免費升級50GB,但因Box.com網頁上設計的問題,網頁失效,但是一樣可以免費升級到50GB!現在如果你想要免費升級的話,只需要寄一封Email到客服即可<img src="http://becoder.org/box-net-50gb" alt="Box.com申請方法在此">。</p>
<ul>
<li><strong>登入後,這個選項可以讓別人一起擁有50GB。</strong></li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/box-free-50-email/000.png" alt="" width="733" height="136" />
<p> </p>
<ul>
<li><strong>但是點進去後,網頁卻發生錯誤。</strong></li>
</ul>
<hr>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/box-free-50-email/001.png" alt="" width="930" height="363" />
<p>我簡單的Google了一下,發現這個錯誤已經很久了,但是官方遲遲沒有修復,還叫已經辦好帳號的人可以寫Email給他,會幫你升級,不過,還是很爽啦XDDD免費的耶!</p>
<p> </p>
<blockquote>
<p>升級專用Email:<a href="mailto:[email protected]">[email protected]</a></p></blockquote>
<p> </p>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/box-free-50-email/002.png" alt="" width="710" height="269" />
<p> </p>
<ul>
<li><strong>我用一個以前只有5GB的帳號來試試看,超簡短的啦XDDD</strong></li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/box-free-50-email/003.png" alt="" width="602" height="133" />
<p> </p>
<p> </p>
<ul>
<li><strong>過了20個小時終於回信了!!!</strong></li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/box-free-50-email/004.png" alt="" width="596" height="332" />
<p> </p>
<ul>
<li><strong>成功升級50GB!!!</strong></li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/box-free-50-email/005.png" alt="" width="252" height="328" />
<p> </p>
<p>感覺有點矛盾,有問題不修(懶得修?)再叫使用者寫信給他們,或許這樣比較不會被濫用申請吧!最大的贏家應該還是使用者XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/box-free-50-email/" target="_blank" rel="noopener">https://becoder.org/box-free-50-email/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Saw部落格學院,免費的WordPress申請服務,高速台灣免費虛擬主機!
https://becoder.org/saw-wordpress-bsp/
2022-07-08T21:38:16+08:00
2013-08-12T10:01:40+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p><a href="http://wp.saw.tw/">SAW 部落格學院</a> 是一個由兩位知名部落客 <a href="http://wiiind.com/">風揚名</a>和 <a href="http://45so.org/">天才事務所</a>所管理的免費的Wordpress申請服務,他們都是使用Saw部落格學院提供的免費台灣虛擬主機,可以讓你不用花任何一毛錢就輕鬆擁有超華麗的全球知名部落格系統Wordpress!!其實我也是其一的用戶唷XDDD,在因緣際會之下認識了天才,才從尋找免費空間中脫離了苦海XD</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/saw-wordpress-bsp/" target="_blank" rel="noopener">https://becoder.org/saw-wordpress-bsp/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p><a href="http://wp.saw.tw/" target="_blank" rel="noopener">SAW 部落格學院</a> 是一個由兩位知名部落客 <a href="http://wiiind.com/" target="_blank" rel="noopener">風揚名</a>和 <a href="http://45so.org/" target="_blank" rel="noopener">天才事務所</a>所管理的免費的Wordpress申請服務,他們都是使用Saw部落格學院提供的免費台灣虛擬主機,可以讓你不用花任何一毛錢就輕鬆擁有超華麗的全球知名部落格系統Wordpress!!其實我也是其一的用戶唷XDDD,在因緣際會之下認識了天才,才從尋找免費空間中脫離了苦海XD</p>
<h1 id="saw部落格學院"><a href="https://becoder.org/saw-wordpress-bsp/#saw部落格學院" class="anchor-link" aria-label="saw部落格學院"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/saw-wordpress-bsp/#contents:saw部落格學院" class="headings">Saw部落格學院</a></h1>
<p> </p>
<blockquote>
<p>網站名稱:Saw部落格學院</p>
<p>網址:<a href="http://wp.saw.tw/" target="_blank" rel="noopener" title="http://wp.saw.tw/">http://wp.saw.tw/</a></p>
<p>申請頁面:<a href="http://wp.saw.tw/wp-signup.php" target="_blank" rel="noopener">http://wp.saw.tw/wp-signup.php</a></p></blockquote>
<p> </p>
<p> </p>
<ul>
<li>這速度…你能不心動嗎???完全免費! !</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/000.png" alt="" width="573" height="363" />
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>首先來到<a href="http://wp.saw.tw/wp-signup.php" target="_blank" rel="noopener" target="_blank">申請頁面</a>,填寫你的資料後點擊下一步XD!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/001.png" alt="" width="709" height="397" />
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>再來輸入你喜歡的網址和網站標題!此示範的網址將會是http://wp.saw.tw/sawdemo!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/002.png" alt="" width="669" height="382" />
<p> </p>
<p> </p>
<ul>
<li>去信箱收信啦~!!超簡易的註冊呀!!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/003.png" alt="" width="597" height="349" />
<p> </p>
<p> </p>
<ul>
<li>大力的點下去吧!不要按壞滑鼠唷!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/004.png" alt="" width="597" height="281" />
<p> </p>
<p> </p>
<ul>
<li>什麼@@這樣就完成了嗎!?是的!你已經擁有一個免費的Wordpress了!按登入修改一下密碼吧!如果你記得住又臭又長的亂數的話就不用了XD</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/005.png" alt="" width="367" height="231" />
<p> </p>
<p> </p>
<ul>
<li>WordPress的招牌!超乾淨超簡潔的燈入畫面!!輸入剛剛所得到的帳號密碼!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/006.png" alt="" width="291" height="343" />
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<ul>
<li>這…這就是Wordpress的後台嗎!?沒錯!!你可以想像一下自己和重灌狂人一樣使用同一個後台介面!!這是多麼的榮幸呀XDDD</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/007.png" alt="" width="1008" height="768" />
<p> </p>
<p> </p>
<ul>
<li> 這就是你的Wordpress啦!!目前最新的官方佈景呢!!</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/008.png" alt="" width="1008" height="768" />
<p> </p>
<p> </p>
<ul>
<li>如果不喜歡這佈景的的話怎麼辦呢!?沒關係!這是Wordpress耶!!怎麼可能那麼單調!!在後台可以作修改,換上自己喜歡的佈景吧XD</li>
</ul>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/08/saw-wordpress-bsp/009.png" alt="" width="1024" height="768" />
<p> </p>
<p> </p>
<p> </p>
<p>還是沒有喜歡的佈景怎麼辦呢!?可以到Google尋找各式各樣你喜歡的佈景,然後到<a href="http://wp.saw.tw/project/" target="_blank" rel="noopener" target="_blank">此頁面</a>申請!管理員覺得OK的話就會加入囉!</p>
<p> </p>
<h2 id="還是感覺不太自由怎麼辦呢"><a href="https://becoder.org/saw-wordpress-bsp/#還是感覺不太自由怎麼辦呢" class="anchor-link" aria-label="還是感覺不太自由怎麼辦呢"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon anchor-icon"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg></a><a href="https://becoder.org/saw-wordpress-bsp/#contents:還是感覺不太自由怎麼辦呢" class="headings">還是感覺不太自由怎麼辦呢?</a></h2>
<p>沒關係!還有<a href="http://wp.saw.tw/host/" target="_blank" rel="noopener" target="_blank">免費虛擬主機的方案</a>可以申請!我就是其中一員XDDD但是需要自行從頭到尾架設Wordpress呢!不會架設的朋友可以到香腸炒魷魚的<a href="http://sofree.cc/wordpress-install/" target="_blank" rel="noopener" target="_blank">WordPress安裝教學</a>學習唷!符合資格的話就可以大力的申請啦! <a href="http://wiiind.com/" target="_blank" rel="noopener">風揚名</a>和 <a href="http://45so.org/" target="_blank" rel="noopener">天才事務所</a>還有本站 <a href="http://becoder.org/" target="_blank" rel="noopener">ㄈㄈのSpace</a>都是使用此方案!完全免費!Wordpress真的很棒!大家真的可以來試試看,一起加入Wordpress吧!!!!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/saw-wordpress-bsp/" target="_blank" rel="noopener">https://becoder.org/saw-wordpress-bsp/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
FreeXperia刷機筆記
https://becoder.org/freexperia/
2022-07-08T21:38:16+08:00
2013-07-28T06:15:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<div>
<a href="http://freexperiaproject.com/">FreeXperia</a>是一個Sony官方支持的非官方系統,我也相當推薦這個版本,替別人刷機時我都使用<a href="http://freexperiaproject.com/">FreeXperia</a>,相當穩定,值得推薦!
</div>
<div>
</div>
<div>
<a href="http://freexperiaproject.com/">FreeXperia</a>每支手機的Rom都有一個特別的代號,不會直接寫那隻手機的型號,所以需要先查一下該手機的代號。
</div>
<div>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/freexperia/" target="_blank" rel="noopener">https://becoder.org/freexperia/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<div>
<a href="http://freexperiaproject.com/" target="_blank" rel="noopener">FreeXperia</a>是一個Sony官方支持的非官方系統,我也相當推薦這個版本,替別人刷機時我都使用<a href="http://freexperiaproject.com/" target="_blank" rel="noopener">FreeXperia</a>,相當穩定,值得推薦!
</div>
<div>
</div>
<div>
<a href="http://freexperiaproject.com/" target="_blank" rel="noopener">FreeXperia</a>每支手機的Rom都有一個特別的代號,不會直接寫那隻手機的型號,所以需要先查一下該手機的代號。
</div>
<div>
</div>
<img loading="lazy" class="alignnone" alt="" src="http://www.movilzona.es/wp-content/uploads/2012/12/cyanogenmod_freexperiateam.png" width="650" height="275" />
<p>首先請先來到<a href="https://sites.google.com/site/projectfreexperia/home/device-details" target="_blank" rel="noopener" target="_blank">Supported Legacy Devices</a>或<a href="https://sites.google.com/site/projectfreexperia/home/supported-devices" target="_blank" rel="noopener" target="_blank">Supported Devices</a>找你手機的製造年份。</p>
<p>S是2012的機子,我在 <a dir="ltr" href="https://sites.google.com/site/projectfreexperia/home/supported-devices">Supported Devices</a>裡找到” LT26i/LT26ii – S/SL – <span style="color: #ff0000;">nozomi <span style="color: #000000;">“ ,nozomi就是S的代號!</span></span></p>
<p>擇選你要的手機有支援的版本,CM10是<a href="http://freexperiaproject.com/" target="_blank" rel="noopener">F</a>reeXperia給S的最新版本!</p>
<div>
<a href="http://3.bp.blogspot.com/-TOS1NibyDqA/UfSxGdd0hnI/AAAAAAAAF2M/VuWBbYnfZqs/s1600/4.png" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://3.bp.blogspot.com/-TOS1NibyDqA/UfSxGdd0hnI/AAAAAAAAF2M/VuWBbYnfZqs/s400/4.png" width="191" height="400" border="0" /></a>
</div>
<div>
</div>
<p>接著右側會出現許多連結,最上面&數字最大的就是最新的版本, 圖中的”FXP”和”mirror”分別是兩個不同的空間!</p>
<div>
<a href="http://2.bp.blogspot.com/-PlZZJasyIsc/UfSxGo0sI6I/AAAAAAAAF2I/QKa8a4zjINI/s1600/5.png" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://2.bp.blogspot.com/-PlZZJasyIsc/UfSxGo0sI6I/AAAAAAAAF2I/QKa8a4zjINI/s400/5.png" width="400" height="305" border="0" /></a>
</div>
<div>
</div>
<div>
</div>
<p>進入後,會出現一堆連結,找到我們剛剛在CyanogenMod查到的代號,”nozomi”!</p>
<div>
<a href="http://1.bp.blogspot.com/-MUlHLwXHGZA/UfSxG6rE_hI/AAAAAAAAF2E/KSy3B7n5GUs/s1600/6.png" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://1.bp.blogspot.com/-MUlHLwXHGZA/UfSxG6rE_hI/AAAAAAAAF2E/KSy3B7n5GUs/s400/6.png" width="400" height="293" border="0" /></a>
</div>
<div>
</div>
<div>
</div>
<p>讓他慢慢下載,現在請到<a href="http://wiki.cyanogenmod.org/w/Gapps" target="_blank" rel="noopener">http://wiki.cyanogenmod.org/w/Gapps</a>下載所需的GoogleApps,GoogleApps就是GooglePlay,日曆..等得Google服務,因為有些地方的政府是不能使用Google的!(例如中國),進入連結後,請下載你需要的的GoogleApps,範例中是下載CM10的Gapps。</p>
<div>
<a href="http://2.bp.blogspot.com/-40n_C1Ebz8k/UfS1pgkzACI/AAAAAAAAF2k/IvjBJfgj-gE/s1600/7.png" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://2.bp.blogspot.com/-40n_C1Ebz8k/UfS1pgkzACI/AAAAAAAAF2k/IvjBJfgj-gE/s640/7.png" width="640" height="266" border="0" /></a>
</div>
<div>
</div>
<div>
下載完之後,把FreeXperia的.zip中的boot.img解壓縮出來,將GoogleApps和FreeXperia的.zip放進手機的儲存空間,使用fastboot將boot.img刷入已解鎖的手機,使用Kernel內建的的Recovery依序安裝CM10以及Gapps,這篇文章主要是介紹FreeXperia的下載方法,解鎖&root等請等待下篇文章!
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/freexperia/" target="_blank" rel="noopener">https://becoder.org/freexperia/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
換新佈景囉!
https://becoder.org/blogger-theme/
2022-07-08T21:38:16+08:00
2013-07-13T16:37:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>這個佈景我修改了好久呢!把他稍微繁體化了一下,不然原本是英文介面不習慣~推薦一下這位作者,<a href="http://djogzs.blogspot.com/" title="johanes djogan">Johanes Djogan</a>,他的作品都相當精美,幾乎都是時下熱門的動畫主題呢!</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/blogger-theme/" target="_blank" rel="noopener">https://becoder.org/blogger-theme/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>這個佈景我修改了好久呢!把他稍微繁體化了一下,不然原本是英文介面不習慣~推薦一下這位作者,<a href="http://djogzs.blogspot.com/" target="_blank" rel="noopener" title="johanes djogan">Johanes Djogan</a>,他的作品都相當精美,幾乎都是時下熱門的動畫主題呢!</p>
<p> </p>
<div>
<a href="http://2.bp.blogspot.com/-_qlgkDIKTw8/UeGBCmfqV2I/AAAAAAAAF0I/0gMJP1l0guo/s1600/1373567375008.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://2.bp.blogspot.com/-_qlgkDIKTw8/UeGBCmfqV2I/AAAAAAAAF0I/0gMJP1l0guo/s400/1373567375008.jpg" width="400" height="233" border="0" /></a>
</div>
<p><a href="http://djogzs.blogspot.tw/" target="_blank" rel="noopener">http://djogzs.blogspot.com</a><br>
有興趣的人可以去挖挖看喔!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/blogger-theme/" target="_blank" rel="noopener">https://becoder.org/blogger-theme/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
任立渝追蹤颱風 直接住進新聞台…咦??
https://becoder.org/typhoon-attack-on-titan/
2022-07-08T21:38:16+08:00
2013-07-13T07:52:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p> </p>
<p>早上看見這則新聞才發覺有點不太對勁,我仔細看了一下…發現…了一個驚人的事實….原來鼎鼎大名的氣象權威竟然…</p>
<p> </p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/typhoon-attack-on-titan/" target="_blank" rel="noopener">https://becoder.org/typhoon-attack-on-titan/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p> </p>
<p>早上看見這則新聞才發覺有點不太對勁,我仔細看了一下…發現…了一個驚人的事實….原來鼎鼎大名的氣象權威竟然…</p>
<p> </p>
<p> </p>
<p><a href="http://becoder.org/wp-content/uploads/2013/07/%E6%9C%AA%E5%91%BD%E5%90%8D.png" target="_blank" rel="noopener"><img loading="lazy" class="alignnone size-medium wp-image-205" alt="未命名" src="http://becoder.org/wp-content/uploads/2013/07/未命名-300x228.png" width="300" height="228" /></a></p>
<div>
<a href="http://3.bp.blogspot.com/-0i0pRNz5zwQ/UeEGjtv67BI/AAAAAAAAFyk/ihbHxeaKPpo/s1600/8022934-3108665.jpg" target="_blank" rel="noopener"><br /> <img alt="" src="http://3.bp.blogspot.com/-0i0pRNz5zwQ/UeEGjtv67BI/AAAAAAAAFyk/ihbHxeaKPpo/s1600/8022934-3108665.jpg" border="0" /></a>
</div>
<div>
</div>
<p><a name="more"></a></p>
<div>
原來任主播也有在追巨人阿,而且還是莎夏控!!
</div>
<div>
新聞連結..<a href="http://udn.com/NEWS/ENTERTAINMENT/ENT2/8022934.shtml" target="_blank" rel="noopener">http://udn.com/NEWS/ENTERTAINMENT/ENT2/8022934.shtml</a>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/typhoon-attack-on-titan/" target="_blank" rel="noopener">https://becoder.org/typhoon-attack-on-titan/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
[網樂通] 網樂通之超迷你電腦、安裝軟體成為省電網頁伺服器、BTdownloader!
https://becoder.org/nextvod/
2022-07-08T21:38:16+08:00
2013-07-05T16:39:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>回來部落格,才發線上次發文是5個月前…..我不是故意的阿!!!其實是最近都在搞這台藍色小盒子,壹電視送的往樂通….2011年的時候可以免費申請..我以為那是騙人的…想不到他過不久就收掉了,機子也沒回收,免費的電腦就這樣拿到了!</p>
<p> </p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod/" target="_blank" rel="noopener">https://becoder.org/nextvod/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>回來部落格,才發線上次發文是5個月前…..我不是故意的阿!!!其實是最近都在搞這台藍色小盒子,壹電視送的往樂通….2011年的時候可以免費申請..我以為那是騙人的…想不到他過不久就收掉了,機子也沒回收,免費的電腦就這樣拿到了!</p>
<p> </p>
<p> </p>
<div>
<a href="http://2.bp.blogspot.com/-XgKOLsf490Y/UdbybLRW6aI/AAAAAAAAFww/GFGUjQGZ7aw/s1600/100_2866.JPG" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://2.bp.blogspot.com/-XgKOLsf490Y/UdbybLRW6aI/AAAAAAAAFww/GFGUjQGZ7aw/s400/100_2866.JPG" width="400" height="300" border="0" /></a>
</div>
<p><a name="more"></a> 有人會好奇後面那顆橘色的東西是什麼嗎?那是我的隨身碟吊飾!刷機之後還可以掛上隨身碟呢!甚至行動硬碟也沒問題喔!</p>
<p>目前我安裝的是sh4twbox,由我們社團的高手所製作的系統!可以安裝的軟體全部有上萬種!<br>
在還沒結束營運之前,其實就有人開始搞這台小電腦了!因為他是由linux所寫的韌體,大家就幫他刷上了自製系統啦!!可以做很多事呢!現在可以做到的功能有非常多種,例如超省電BT下載機、超省電Proxy代理伺服器、超省電NAS、超省電網站伺服器、超省電網路電話伺服器、超省電網路收音機…等,總而言之就是超省電!真的是一台很棒的免費玩具!!!XDDD</p>
<p>如果你想玩玩看的話卻沒有機子,可以跟親朋好友或到網拍上面搜尋看看!很便宜,幾百塊就可以輕鬆擁有一台網頁伺服器!</p>
<p>有興趣的人可以到我們的社團 <a href="http://www.facebook.com/groups/477359555618518/" target="_blank" rel="noopener">網樂通改機俱樂部</a> 申請進入!裡面有許許多多的高手可以幫助你!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/nextvod/" target="_blank" rel="noopener">https://becoder.org/nextvod/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
手機小測試SAMSUNG GTS5570 vs. SONY X8
https://becoder.org/gts5570-vs-x8/
2022-07-08T21:38:16+08:00
2013-03-09T11:05:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<div>
三星的這隻手機是跟朋友借的,我媽也有一隻,三星的低階機真的是很低階…,雖然X8也差不多…但是螢幕感覺起來就比較細緻,不會看到有顆粒在上面,我替他刷上了<a href="http://forum.xda-developers.com/showthread.php?t=1672635">iXperiaA 8S v1.9.0</a>,相當的順暢,只是繁體中文支援不佳,美中不足!有x8的人可以去刷來玩玩~仿IOS的介面,可以拿出去唬唬朋友,一堆人以為我真的刷IOS進去呢=_=
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/gts5570-vs-x8/" target="_blank" rel="noopener">https://becoder.org/gts5570-vs-x8/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<div>
三星的這隻手機是跟朋友借的,我媽也有一隻,三星的低階機真的是很低階…,雖然X8也差不多…但是螢幕感覺起來就比較細緻,不會看到有顆粒在上面,我替他刷上了<a href="http://forum.xda-developers.com/showthread.php?t=1672635" target="_blank" rel="noopener">iXperiaA 8S v1.9.0</a>,相當的順暢,只是繁體中文支援不佳,美中不足!有x8的人可以去刷來玩玩~仿IOS的介面,可以拿出去唬唬朋友,一堆人以為我真的刷IOS進去呢=_=
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
SONY X8
</div>
<div>
<a href="http://3.bp.blogspot.com/-1DWh-LYdfCs/UTsUEn4MSPI/AAAAAAAAAU4/1jkRkRG5Uao/s1600/xperia-x8-black.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://3.bp.blogspot.com/-1DWh-LYdfCs/UTsUEn4MSPI/AAAAAAAAAU4/1jkRkRG5Uao/s640/xperia-x8-black.jpg" width="640" height="536" border="0" /></a>
</div>
<div>
</div>
<div>
SAMSUNG GTS5570
</div>
<div>
</div>
<div>
<a href="http://1.bp.blogspot.com/-21GL3T8BQ50/UTsT2JJCqWI/AAAAAAAAAUs/0RUQwZSJtk8/s1600/Samsung_GT-S5570_Galaxy_Mini_Black-Green.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://1.bp.blogspot.com/-21GL3T8BQ50/UTsT2JJCqWI/AAAAAAAAAUs/0RUQwZSJtk8/s640/Samsung_GT-S5570_Galaxy_Mini_Black-Green.jpg" width="640" height="498" border="0" /></a>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
本測試的<a href="https://play.google.com/store/apps/details?id=jp.culturejapan.mirai&feature=search_result#?t=W251bGwsMSwxLDEsImpwLmN1bHR1cmVqYXBhbi5taXJhaSJd" target="_blank" rel="noopener">軟體</a>:
</div>
<div>
純粹一個時鐘軟體..只是有點吃效能,可以看手機的流暢度,無聊時可以玩
</div>
<div>
<a href="http://1.bp.blogspot.com/-o-98hoDNRlQ/UTsVHg6kZvI/AAAAAAAAAVE/MRhnQJM9Nfg/s1600/unnamed.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://1.bp.blogspot.com/-o-98hoDNRlQ/UTsVHg6kZvI/AAAAAAAAAVE/MRhnQJM9Nfg/s640/unnamed.jpg" width="640" height="312" border="0" /></a>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
廢話不多說了,直接上影片啦!
</div>
<div>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/gts5570-vs-x8/" target="_blank" rel="noopener">https://becoder.org/gts5570-vs-x8/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
台日比賽的感想
https://becoder.org/taiwan-japan/
2022-07-08T21:38:16+08:00
2013-03-09T10:44:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<div>
</div>
<div>
雖然這次輸給了日本,但是台灣這次真的好厲害,和日本不相上下,我在看直播時竟然還有聽到日本人在替台灣加油的呢,日本人的品行真的太好了!
</div>
<div>
</div>
<div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/taiwan-japan/" target="_blank" rel="noopener">https://becoder.org/taiwan-japan/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<div>
</div>
<div>
雖然這次輸給了日本,但是台灣這次真的好厲害,和日本不相上下,我在看直播時竟然還有聽到日本人在替台灣加油的呢,日本人的品行真的太好了!
</div>
<div>
</div>
<div>
<p><a href="http://2.bp.blogspot.com/-dSV7j64O3zg/UTsQ5YBr0fI/AAAAAAAAAUY/GpEIS99T-Us/s1600/482834_476364029083881_177435009_n.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://2.bp.blogspot.com/-dSV7j64O3zg/UTsQ5YBr0fI/AAAAAAAAAUY/GpEIS99T-Us/s640/482834_476364029083881_177435009_n.jpg" width="484" height="640" border="0" /></a></p>
</div>
<p> </p>
<div>
<a href="http://3.bp.blogspot.com/-pKP2LhMRrSU/UTsRdIfsdsI/AAAAAAAAAUg/zvoHIx_2-TM/s1600/529671_10151589912061004_1305860347_n.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://3.bp.blogspot.com/-pKP2LhMRrSU/UTsRdIfsdsI/AAAAAAAAAUg/zvoHIx_2-TM/s640/529671_10151589912061004_1305860347_n.jpg" width="640" height="425" border="0" /></a>
</div>
<p>日本人..教育真的做的太好了…看到這些人,讓我心裡湧起了一股了溫馨的感覺</p>
<div>
</div>
<div>
</div>
<div>
下一場,台灣加油!和日本一起去美國!
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/taiwan-japan/" target="_blank" rel="noopener">https://becoder.org/taiwan-japan/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Vocaloid試聽心得
https://becoder.org/vocaloid-sound/
2022-07-08T21:38:16+08:00
2013-02-11T16:13:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>最近從朋友那裡弄到Vocaloid2、Vocaloid3全集,共16GB…,個人對音樂是完全外行,所以我只能把Vocaloid3的角色都試聽一次,發現有些的不錯,但是有部份則非…,男聲我個人是覺得…</p>
<div>
</div>
<div>
</div>
<div>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vocaloid-sound/" target="_blank" rel="noopener">https://becoder.org/vocaloid-sound/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>最近從朋友那裡弄到Vocaloid2、Vocaloid3全集,共16GB…,個人對音樂是完全外行,所以我只能把Vocaloid3的角色都試聽一次,發現有些的不錯,但是有部份則非…,男聲我個人是覺得…</p>
<div>
</div>
<div>
</div>
<div>
</div>
<p>.呵呵..,還是Vocaloid2的初音ミク最讚!(出那麼多角色是要做啥)</p>
<p><a href="http://1.bp.blogspot.com/-aO6eDX_TpfQ/URkWe6ShTwI/AAAAAAAAARY/B7vuIFFIq6E/s1600/%E6%9C%AA%E5%91%BD%E5%90%8D.png" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://1.bp.blogspot.com/-aO6eDX_TpfQ/URkWe6ShTwI/AAAAAAAAARY/B7vuIFFIq6E/s640/%E6%9C%AA%E5%91%BD%E5%90%8D.png" width="640" height="480" border="0" /></a></div></p>
<p>V3也出了中文版,北京腔有點重,不太喜歡,但還是高興了一下終於有了中文啊,如果有Vocaloid Taiwan肯定在台熱賣!</p>
<p>光是Luo Tianyi就佔了4GB多呀!可見中文是如此的困難…</p>
<p>讓各位聽一下Luo Tianyi的音色!</p>
<p>我還是比較喜歡日文<span style="text-decoration: line-through;">聽不懂</span>,還是比較喜歡那幾個初代Vocaloid!</p>
<div>
<a href="http://4.bp.blogspot.com/-O4ve8Qql8iw/URkZZmMzXjI/AAAAAAAAARo/uVxMiM5Arfc/s1600/Image0.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://4.bp.blogspot.com/-O4ve8Qql8iw/URkZZmMzXjI/AAAAAAAAARo/uVxMiM5Arfc/s640/Image0.jpg" width="640" height="600" border="0" /></a>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/vocaloid-sound/" target="_blank" rel="noopener">https://becoder.org/vocaloid-sound/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Box.com免費5GB終身雲端空間!!
https://becoder.org/box-net-50gb/
2022-07-08T21:38:16+08:00
2013-02-11T15:32:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<div>
</div>
<div>
<p>
Box.net是一個不錯用的雲端空間,它最近與知名廠商DELL合作,推出心註冊使用者可以享有50GB的免費空間!大家還沒註冊的可以去註一個來玩玩唷!
</p>
<p>
Box.net支援檔案預覽,像是office都可以再線上檢視,更強大的是他可以內嵌在網頁,直接再網站上看你的資料或報告!
</p>
<p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/box-net-50gb/" target="_blank" rel="noopener">https://becoder.org/box-net-50gb/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<div>
</div>
<div>
<p>
Box.net是一個不錯用的雲端空間,它最近與知名廠商DELL合作,推出心註冊使用者可以享有50GB的免費空間!大家還沒註冊的可以去註一個來玩玩唷!
</p>
<p>
Box.net支援檔案預覽,像是office都可以再線上檢視,更強大的是他可以內嵌在網頁,直接再網站上看你的資料或報告!
</p>
<p>
</p>
<p>
</p>
</div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/02/box-net-50gb/00.jpg" alt="" width="640" height="400" />
<ul>
<li>網站名稱:Box.net</li>
<li>免費空間:50GB</li>
<li>單檔限制:250MB</li>
<li>每月流量:10GB</li>
<li>註冊網址:<a href="https://app.box.com/signup" target="_blank" rel="noopener">https://app.box.com/signup</a></li>
</ul>
<p>以下為註冊方法,<a href="http://becoder.org/box-free-50-email" target="_blank" rel="noopener" target="_blank">最新50GB升級法在此</a>。</p>
<p>首先我們進入到<a href="https://app.box.com/signup" target="_blank" rel="noopener" target="_blank">註冊網頁</a>,就看到了左方寫的與DELL合作的免費50GB方案。</p>
<div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/02/box-net-50gb/01.jpg" alt="" width="640" height="224" />
</div>
<div>
</div>
<p>我們繼續看到右邊,依序輸入你的註冊資訊。</p>
<ul>
<li>First Name:名</li>
<li>Last Name:姓</li>
<li>Email:電子郵件</li>
<li>Password:密碼</li>
<li>Your Phone:你的手機號碼</li>
</ul>
<div>
</div>
<div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/02/box-net-50gb/02.jpg" alt="" width="320" height="311" />
</div>
<div>
點擊Continue(繼續)後,會到此頁面,意思就是叫你去收信囉~
</div>
<div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/02/box-net-50gb/03.jpg" alt="" width="640" height="346" />
</div>
<div>
</div>
<div>
到了你你的信箱後,開啟寄件人為Box的信,內容為下,請到以下網址完成註冊。
</div>
<div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/02/box-net-50gb/04.jpg" alt="" width="640" height="286" />
</div>
<div>
</div>
<div>
到這就差不多完成了!請點Lon in and Get Started完成註冊。
</div>
<div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/02/box-net-50gb/05.jpg" alt="" width="539" height="243" />
</div>
<div>
</div>
<div>
登入後,你會看到以下的介紹視窗,還有附加的同步軟體,可以選擇要不要使用。
</div>
<div>
</div>
<div>
<img loading="lazy" class="alignnone" src="https://becoder.org//becoder.org/wp-content/uploads/2013/02/box-net-50gb/06.jpg" alt="" width="640" height="510" />
</div>
<div>
在此測試一下嵌入Box的功能!
</div>
<div>
</div>
<div>
</div>
<p>Box.net雖有些許的流量和單檔限制,但是用在檔案備份是相當夠用,不是做大企業的話50GB的容量絕對用不完!如果有事突然需要傳檔案給朋友,這時Box,net就派上用場了!<br>
免費的空間請各位多加愛護!</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/box-net-50gb/" target="_blank" rel="noopener">https://becoder.org/box-net-50gb/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
目前Mega.co.nz推薦的上傳&下載方法
https://becoder.org/mega-co-nz-using/
2022-07-08T21:38:16+08:00
2013-02-10T16:56:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>Mega.co.nz剛推出不久,各位網友用起來問題多多,該怎麼辦呢?<br>
本人在此替各位整理我所瞭解的最佳使用方式唷!</p>
<div>
</div>
<div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/mega-co-nz-using/" target="_blank" rel="noopener">https://becoder.org/mega-co-nz-using/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>Mega.co.nz剛推出不久,各位網友用起來問題多多,該怎麼辦呢?<br>
本人在此替各位整理我所瞭解的最佳使用方式唷!</p>
<div>
</div>
<div>
</div>
<blockquote>
<h2><a href="http://becoder.org/mega-uploader-downloader-tool" target="_blank" rel="noopener"><span style="color: #ff0000;"><span style="color: #ff0000;">點我進入Mega最新教學</span></span></a></h2></blockquote>
<p> </p>
<p><a href="http://4.bp.blogspot.com/-u-plqTv5Nnw/URZvFHNGUAI/AAAAAAAAAOk/FNcPQ3eBCmc/s1600/Mega-800x417.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://4.bp.blogspot.com/-u-plqTv5Nnw/URZvFHNGUAI/AAAAAAAAAOk/FNcPQ3eBCmc/s640/Mega-800x417.jpg" width="640" height="337" border="0" /></a></p>
<div>
</div>
<div>
</div>
<p>上傳:</p>
<div>
</div>
<p>上傳我是推薦使用FireFox最新版</p>
<div>
</div>
<p>雖然Mega.co.nz官方是推薦Chrome (Google似乎是他們的靠山??<br>
我使用Chrome上傳時,幾MB的小小檔案是沒問題,但是遇到了幾百MB的檔案,剩下兩秒鐘會給你卡在那理…十分蛋疼,我使用火狐上傳則是一點問題都沒有,超級推薦使用火狐來上傳檔案,幾GB都沒問題喔!<br>
下載:</p>
<p>下載則是大力推薦[白馬下載器]MiPony,目前他有支援Mega.co.nz的下載唷!本音精使用時一開始會慢慢的大約幾秒鐘,之後就直接衝到滿速,下載完成後直接開啟下載資料夾,檔案就在那邊了唷!因為有些人用瀏覽器下載問題多多,使用白馬應該是可以解決的!</p>
<div>
<a href="http://1.bp.blogspot.com/-5IpRXegi5Xk/URZuX32V3GI/AAAAAAAAAOc/Qq8yzL9gALs/s1600/24UJEOh.png" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://1.bp.blogspot.com/-5IpRXegi5Xk/URZuX32V3GI/AAAAAAAAAOc/Qq8yzL9gALs/s640/24UJEOh.png" width="640" height="146" border="0" /></a>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
<div class="table-container"><table border="1" cellspacing="1" cellpadding="1">
<tr>
<td align="center">
連結支援
</td>
</tr>
<pre><code><tr>
<td>
<a href="https://mega.co.nz/" target="_blank">Mega.co.nz</a>
</td>
</tr>
<tr>
<td>
<a href="http://moztw.org/firefox/" target="_blank">FireFox最新版</a>
</td>
</tr>
<tr>
<td>
<div>
<a href="http://www.azofreeware.com/2010/04/mipony-108.html" target="_blank">[白馬下載器] MiPony 2.0.4 免安裝中文版(阿榮福利味)</a>
</div>
</td>
</tr>
</code></pre>
</table></div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<p>Google瀏覽器我覺得還是看網頁就好了~好用的話記得回復一下唷^^</p>
<div>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/mega-co-nz-using/" target="_blank" rel="noopener">https://becoder.org/mega-co-nz-using/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
色鼎燒肉&壽喜燒
https://becoder.org/eating-tsjh/
2022-07-08T21:38:16+08:00
2013-02-09T18:02:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>前幾天國中同學竟然邀說要去聚餐,久久沒有和他們交流的我怎麼可以沒有行動呢!?<br>
要出門時,我連要去哪都不知道,只知道集合地點…。<br>
到了目的我才明白要去哪裡,原來是色鼎啊!</p>
<div>
</div>
<div>
</div>
<div>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/eating-tsjh/" target="_blank" rel="noopener">https://becoder.org/eating-tsjh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>前幾天國中同學竟然邀說要去聚餐,久久沒有和他們交流的我怎麼可以沒有行動呢!?<br>
要出門時,我連要去哪都不知道,只知道集合地點…。<br>
到了目的我才明白要去哪裡,原來是色鼎啊!</p>
<div>
</div>
<div>
</div>
<div>
</div>
<p><a href="http://lh3.ggpht.com/-QHD3rEOKASQ/URUzyXggzpI/AAAAAAAAALI/_x0PIPM2Pt8/s1600-h/IMG_20130208_115928%25255B18%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_115928" alt="IMG_20130208_115928" src="http://lh5.ggpht.com/-F7HAiEukyHo/URUzzAvzqLI/AAAAAAAAALM/kSSkWWX9roQ/IMG_20130208_115928_thumb%25255B16%25255D.jpg?imgmax=800" border="0" /></a></p>
<p>真是太感動了!<br>
生平地一次和同學去嘉義市吃飯,而且還是這種沒去過看起來品質又很不錯得店!<br>
看起來很不賴,畢竟是第一次。<br>
進了色頂大門,一樓的人真是好多好多,一樓是燒烤區,本來以為是要去吃烤肉的,但卻是壽喜燒!沒關係,壽喜燒聽說也很棒!<br>
我們到了座位,負責人去忙,我就拍我的!<br>
<a href="http://lh5.ggpht.com/-G9iMlPLM3EI/URUzzomZyWI/AAAAAAAAALQ/J38zjNngw7E/s1600-h/IMG_20130208_120925%25255B5%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_120925" alt="IMG_20130208_120925" src="http://lh4.ggpht.com/--KLN9LUJ4Ng/URUz0X81s1I/AAAAAAAAALU/RoDImEsHBEI/IMG_20130208_120925_thumb%25255B3%25255D.jpg?imgmax=800" border="0" /></a><br>
第一次接觸到壽喜燒,原來裡面裝的都是高湯<span style="text-decoration: line-through;">醬油</span><br>
<a href="http://lh6.ggpht.com/-Wx37_mX8HmA/URUz1VL7SAI/AAAAAAAAALY/d5PHWmn54-U/s1600-h/IMG_20130208_121718%25255B4%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_121718" alt="IMG_20130208_121718" src="http://lh6.ggpht.com/-lzPIEId6Y3o/URUz2OjEDKI/AAAAAAAAALc/udPu0kwRDco/IMG_20130208_121718_thumb%25255B2%25255D.jpg?imgmax=800" border="0" /></a><br>
我看了一下旁邊的點單,第一次來到吃到飽是專人送過來的,感覺特別不錯,不像朴x的x品,堆積如山,看了食慾會慢慢下降的!</p>
<p>都是一些看起來蠻高檔的餐點,是吃到飽,所以都沒有寫價格。<br>
<a href="http://lh6.ggpht.com/-0cgt_31g0Bc/URUz2pJuSVI/AAAAAAAAALg/rV4KT1oO93c/s1600-h/IMG_20130208_122132%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_122132" alt="IMG_20130208_122132" src="http://lh4.ggpht.com/-bzpAFmaCA9k/URUz3EAKp_I/AAAAAAAAALk/Ch2g1TmZG78/IMG_20130208_122132_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><br>
<a href="http://lh6.ggpht.com/-W-KrAVqecWo/URUz3ls6hEI/AAAAAAAAALo/qsXfn2xeyWY/s1600-h/IMG_20130208_122145%25255B4%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_122145" alt="IMG_20130208_122145" src="http://lh6.ggpht.com/-S_FyMlOJ8q0/URUz4IzsddI/AAAAAAAAALs/sa1OXLnySbc/IMG_20130208_122145_thumb%25255B2%25255D.jpg?imgmax=800" border="0" /></a><br>
<a href="http://lh6.ggpht.com/-EqIrm2PxUdU/URUz5JrENdI/AAAAAAAAALw/m28xKJJL4UQ/s1600-h/IMG_20130208_122200%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_122200" alt="IMG_20130208_122200" src="http://lh6.ggpht.com/-haKoZJhWHoU/URUz5txC4MI/AAAAAAAAAL0/0T5DilGxM-w/IMG_20130208_122200_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><br>
<a href="http://lh3.ggpht.com/-FixaOEPS9c4/URUz6OD5YzI/AAAAAAAAAL4/hcNTS5OWe5A/s1600-h/IMG_20130208_122216%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_122216" alt="IMG_20130208_122216" src="http://lh3.ggpht.com/-x3BeemmuVII/URUz68eu1WI/AAAAAAAAAL8/I4tNqDq2Sdw/IMG_20130208_122216_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><br>
第一次來這裡,才知道醬料是生蛋汁!<br>
<a href="http://lh4.ggpht.com/-kSWXP8aKmos/URUz7h-kSqI/AAAAAAAAAMA/nwH2Q6TaOwo/s1600-h/IMG_20130208_122236%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_122236" alt="IMG_20130208_122236" src="http://lh5.ggpht.com/-Y6B0CO0tzms/URUz8KEnGsI/AAAAAAAAAME/jAgQ_jod-s4/IMG_20130208_122236_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><br>
還需加點蔥花和七味粉,拌一拌就成了這副德性<br>
<a href="http://lh3.ggpht.com/-vcBMHDrDf6o/URUz8xQmgvI/AAAAAAAAAMI/fZ5pkC1v8JQ/s1600-h/IMG_20130208_123244%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_123244" alt="IMG_20130208_123244" src="http://lh6.ggpht.com/-C847U-vOGNo/URUz9bq3AcI/AAAAAAAAAMM/C2V1EeiYRrM/IMG_20130208_123244_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><br>
肉片川燙好後,沾上蛋汁<br>
好ㄘ<br>
<a href="http://lh5.ggpht.com/-Fs0E9sSM7YI/URUz98tIAkI/AAAAAAAAAMQ/dxPVf-_jFDI/s1600-h/IMG_20130208_124914%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_124914" alt="IMG_20130208_124914" src="http://lh3.ggpht.com/-bUljnAZYosw/URUz-pqrO8I/AAAAAAAAAMU/t5sEeLmOG6g/IMG_20130208_124914_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><br>
咱解決掉了好多…一群笨蛋毫無節制的叫</p>
<p><a href="http://lh3.ggpht.com/-gvUWbDD_O3o/URUz_LXVBxI/AAAAAAAAAMY/ffhuC_mh0-w/s1600-h/IMG_20130208_130011%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_130011" alt="IMG_20130208_130011" src="http://lh4.ggpht.com/-ebFYPbwZPn8/URUz_nToExI/AAAAAAAAAMc/7tbPDLBgmMs/IMG_20130208_130011_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><br>
肚子根本就是被肉稱滿的…八盤啊!!<br>
後面的甜點我點了咖啡凍,還不錯,是自己做的呢!<br>
剩下的照片都是我隨處路上拍的啦!X8別太在意畫質!ㄏㄏ<br>
<a href="http://lh5.ggpht.com/-VwAn5UCpqqo/URU0AKQf_tI/AAAAAAAAAMg/XXYBrBMi8mU/s1600-h/IMG_20130208_143012%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_143012" alt="IMG_20130208_143012" src="http://lh6.ggpht.com/-nCAqVtoKwDg/URU0BvJO_9I/AAAAAAAAAMk/Qdo91M1lDeQ/IMG_20130208_143012_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><a href="http://lh6.ggpht.com/-ku52qhFgZ5w/URU0CSfXd2I/AAAAAAAAAMo/cKvNsTCgUc4/s1600-h/IMG_20130208_153952%25255B8%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_153952" alt="IMG_20130208_153952" src="http://lh5.ggpht.com/-EnXqdv6yVbA/URU0C4bwe4I/AAAAAAAAAMs/dfyHNERXCT4/IMG_20130208_153952_thumb%25255B6%25255D.jpg?imgmax=800" border="0" /></a> <a href="http://lh6.ggpht.com/-5XHOPdB_m1o/URU0Dt2m9hI/AAAAAAAAAMw/Uoc-JP3mW2E/s1600-h/IMG_20130208_153956%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_153956" alt="IMG_20130208_153956" src="http://lh5.ggpht.com/-pd_MQKv3Wcg/URU0ERIi6NI/AAAAAAAAAM0/5Z8WMe4-S0Q/IMG_20130208_153956_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><a href="http://lh3.ggpht.com/-co8g7_Iz5co/URU0E3ZOelI/AAAAAAAAAM4/HWoG3UVMVZs/s1600-h/IMG_20130208_154005%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154005" alt="IMG_20130208_154005" src="http://lh5.ggpht.com/-1RTTJbvuD_s/URU0FkTx_QI/AAAAAAAAAM8/mcIvyhgJ0wY/IMG_20130208_154005_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><a href="http://lh5.ggpht.com/-61BW8UxjkYY/URU0Gnxp75I/AAAAAAAAANA/A3SZ31-kRdQ/s1600-h/IMG_20130208_154034%25255B5%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154034" alt="IMG_20130208_154034" src="http://lh4.ggpht.com/-s4s0gsaLZzk/URU0HEk-cAI/AAAAAAAAANE/5FeGptBeYIc/IMG_20130208_154034_thumb%25255B3%25255D.jpg?imgmax=800" border="0" /></a> <a href="http://lh4.ggpht.com/-ZW8dt4pN7uk/URU0HmoQkaI/AAAAAAAAANI/bM-iuoeB44o/s1600-h/IMG_20130208_154124%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154124" alt="IMG_20130208_154124" src="http://lh6.ggpht.com/-JO--LPS_xmo/URU0IT5LydI/AAAAAAAAANM/OsNzRzWzZOE/IMG_20130208_154124_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a> <a href="http://lh6.ggpht.com/-PAZ7zIn23l4/URU0I-KFmtI/AAAAAAAAANQ/79V3LaBuA4M/s1600-h/IMG_20130208_154233%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154233" alt="IMG_20130208_154233" src="http://lh3.ggpht.com/-maAkc4_AZUY/URU0JcEACvI/AAAAAAAAANU/0cljXTxL9NY/IMG_20130208_154233_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a> <a href="http://lh5.ggpht.com/-rAtcUbP8u1M/URU0KIsvJhI/AAAAAAAAANY/zzqlpqR5ohM/s1600-h/IMG_20130208_154354%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154354" alt="IMG_20130208_154354" src="http://lh3.ggpht.com/-B2ZYWS_rkKw/URU0K-5acsI/AAAAAAAAANc/_YEHjYso98U/IMG_20130208_154354_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><a href="http://lh6.ggpht.com/-8HaED1m47WM/URU0LnhWAiI/AAAAAAAAANg/x6GbX-WAUWk/s1600-h/IMG_20130208_154536%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154536" alt="IMG_20130208_154536" src="http://lh6.ggpht.com/-XLznMDQNKFE/URU0MEb4AMI/AAAAAAAAANk/aCC6FqdWxB4/IMG_20130208_154536_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><a href="http://lh3.ggpht.com/-IXQ4pW3AxkU/URU0Mo9nWoI/AAAAAAAAANo/Rz5mEa7IuqQ/s1600-h/IMG_20130208_154555%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154555" alt="IMG_20130208_154555" src="http://lh3.ggpht.com/-rpmDuomJPG4/URU0NH3dakI/AAAAAAAAANs/CXVxHqHo2Ck/IMG_20130208_154555_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><a href="http://lh6.ggpht.com/-PHNNtY9BmPc/URU0N7CtHfI/AAAAAAAAANw/rLdKxf_6ucs/s1600-h/IMG_20130208_154717%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154717" alt="IMG_20130208_154717" src="http://lh5.ggpht.com/-2ndzSZX9Zt0/URU0OX2ybrI/AAAAAAAAAN0/OHaFrfj_hfE/IMG_20130208_154717_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a><a href="http://lh3.ggpht.com/-jlir3zJtV38/URU0PNGF1WI/AAAAAAAAAN4/Awn9y_5L1VQ/s1600-h/IMG_20130208_154724%25255B4%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_154724" alt="IMG_20130208_154724" src="http://lh6.ggpht.com/-61sEcqjV2DU/URU0P5NJtyI/AAAAAAAAAN8/7Uxv0bMlFhI/IMG_20130208_154724_thumb%25255B2%25255D.jpg?imgmax=800" border="0" /></a><a href="http://lh3.ggpht.com/-NL_iqEA8ET8/URU0QjjPKvI/AAAAAAAAAOA/SabaKJ6y5F4/s1600-h/IMG_20130208_155630%25255B3%25255D.jpg" target="_blank" rel="noopener"><img title="IMG_20130208_155630" alt="IMG_20130208_155630" src="http://lh4.ggpht.com/-mtfL0vu7luQ/URU0RbZ5MoI/AAAAAAAAAOE/HZOJOkcapjA/IMG_20130208_155630_thumb%25255B1%25255D.jpg?imgmax=800" border="0" /></a></p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/eating-tsjh/" target="_blank" rel="noopener">https://becoder.org/eating-tsjh/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
老電腦零件復活!
https://becoder.org/old-pc/
2022-07-08T21:38:16+08:00
2011-09-09T00:50:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>今天晚上,忽然想起放了快5個月老電腦,因為開不了機而組了一台新的,但是在今天晚上,我吃飽太閒地把他們組起來,奇蹟的事情發生了!!竟然開了起來…..感動阿…..幾乎不可能的事..(好像是因為把硬碟排線換成新的而復活)</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/old-pc/" target="_blank" rel="noopener">https://becoder.org/old-pc/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>今天晚上,忽然想起放了快5個月老電腦,因為開不了機而組了一台新的,但是在今天晚上,我吃飽太閒地把他們組起來,奇蹟的事情發生了!!竟然開了起來…..感動阿…<em class="emphasis-point">幾乎不可能的事</em>(好像是因為把硬碟排線換成新的而復活)</p>
<p> </p>
<p><a href="http://4.bp.blogspot.com/-yZpoMKA4DLk/URZ8uCVvHMI/AAAAAAAAAO0/k_fXw9ifL3o/s1600/%E5%BD%B1%E5%83%8F1326.jpg" target="_blank" rel="noopener"><img loading="lazy" src="http://4.bp.blogspot.com/-yZpoMKA4DLk/URZ8uCVvHMI/AAAAAAAAAO0/k_fXw9ifL3o/s640/%E5%BD%B1%E5%83%8F1326.jpg" alt="" width="480" height="640" border="0" /></a></p>
<p> </p>
<p>今天晚上,忽然想起放了快5個月老電腦,因為開不了機而組了一台新的,但是在今天晚上,我吃飽太閒地把他們組起來,奇蹟的事情發生了!!竟然開了起來…..感動阿…<em class="emphasis-point">幾乎不可能的事</em>(好像是因為把硬碟排線換成新的而復活) 有如坐著時光機,回到過去…..</p>
<p> </p>
<p><img loading="lazy" src="https://sites.google.com/a/fuyuanli.twbbs.org/home/photos/grtghr.bmp" alt="" width="491" height="368" /> 真是感動….</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/old-pc/" target="_blank" rel="noopener">https://becoder.org/old-pc/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Twbbs.org掛點啦!
https://becoder.org/twbbs-org-bad/
2022-07-08T21:38:16+08:00
2011-09-04T15:11:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>剛才,大約掛了5個小時,讓我嚇一跳…,幸好現在可以用了….,<a href="http://twbbs.org/" target="_blank">Twbbs.org</a>是個不錯的免費域名…,突然掛點真的好恐怖= =,改天我一定要買個網址和空間來用….,現在<a href="http://twbbs.org/" target="_blank">Twbbs.org</a>還進不去…,用買得比較有保障</p>
<p> </p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/twbbs-org-bad/" target="_blank" rel="noopener">https://becoder.org/twbbs-org-bad/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>剛才,大約掛了5個小時,讓我嚇一跳…,幸好現在可以用了….,<a href="http://twbbs.org/" target="_blank" rel="noopener" target="_blank">Twbbs.org</a>是個不錯的免費域名…,突然掛點真的好恐怖= =,改天我一定要買個網址和空間來用….,現在<a href="http://twbbs.org/" target="_blank" rel="noopener" target="_blank">Twbbs.org</a>還進不去…,用買得比較有保障</p>
<p> </p>
<div>
<a href="http://3.bp.blogspot.com/-2HvA2pD53Js/URZ-O697ymI/AAAAAAAAAPM/IyJo-ZD9axQ/s1600/399463_258140587630889_1600058202_n.jpg" target="_blank" rel="noopener"><img loading="lazy" alt="" src="http://3.bp.blogspot.com/-2HvA2pD53Js/URZ-O697ymI/AAAAAAAAAPM/IyJo-ZD9axQ/s640/399463_258140587630889_1600058202_n.jpg" width="640" height="432" border="0" /></a>
</div>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/twbbs-org-bad/" target="_blank" rel="noopener">https://becoder.org/twbbs-org-bad/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
Windows xp重灌方法
https://becoder.org/windows-xp-install/
2022-07-08T21:38:16+08:00
2009-08-17T11:23:00+00:00
Li, Fu-Yuan
https://becoder.org/
[email protected]
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
<p>首先進入 BIOS 修改開機的順序,可是不同的主機板的 BIOS 設定畫面差別頗大,而 提供畫面者僅能拍下自己電腦的 BIOS 畫面供你參考。你可要肯動腦筋,膽大心細才會成功哦! 常常聽人說,一開機按 Delete 即可進入 BIOS 。是的!大部份的主機板都是按 Delete 的;但也有標新立異的廠商,改用按 F1 或 F2 ,甚至按 Ctrl+Alt+Enter (DELL 的部份型號)和按 F10 (Compaq 的部份型號),因此還是根據螢光屏秀出的指示比較妥當。</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows-xp-install/" target="_blank" rel="noopener">https://becoder.org/windows-xp-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>
<p>首先進入 BIOS 修改開機的順序,可是不同的主機板的 BIOS 設定畫面差別頗大,而 提供畫面者僅能拍下自己電腦的 BIOS 畫面供你參考。你可要肯動腦筋,膽大心細才會成功哦! 常常聽人說,一開機按 Delete 即可進入 BIOS 。是的!大部份的主機板都是按 Delete 的;但也有標新立異的廠商,改用按 F1 或 F2 ,甚至按 Ctrl+Alt+Enter (DELL 的部份型號)和按 F10 (Compaq 的部份型號),因此還是根據螢光屏秀出的指示比較妥當。</p>
<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/bios8052.png" alt="" width="640" height="254" />
<p> </p>
<p>進入 BIOS 主頁,點選 BOOT 頁面,用鍵盤上的上下方向鍵反白第一個選項,按 Enter 鍵,就進入下一個頁面。有些主機板的 BIOS 沒有 BOOT 頁面,而將 Boot Sequence 收藏在 BIOS Features Setup 頁面之中,修改時只能選擇: A, CDROM, C ,只要選擇 CDROM 在 C(硬碟)的前面就行了,因為如果第一個選項是 A(軟碟機),而軟碟機之中沒有置入軟碟片,BIOS 就會自動進入第二個選項 CDROM 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/bios8001.png" alt="" width="640" height="210" /></p>
<p><img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/bios8002.png" alt="" width="640" height="210" /> <img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/bios8003.png" alt="" width="640" height="261" /></p>
<p> </p>
<p>在儲存離開之前--記得先將 Windows 安裝光碟片放入光碟機中--一按 Enter,就自動重新開機。此時要留意螢光屏出現,<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/bootcd2.png" alt="" width="640" height="100" /></p>
<p> </p>
<p>在五個句點出完之前,趕緊按鍵盤上的任一鍵,就正式進入由光碟片開機了。 再把上面的說明說一次;先進入 BIOS 設定開機順序--光碟機優先啟動;並將 Windows XP 安裝光碟片 置入光碟機中,當螢光屏出現 Press any key to boot from CD.. 時,趕緊按下鍵盤上的任一鍵,此時螢光屏上,顯示光碟片中的程式正忙碌地偵測電腦內的各個硬體裝備,直到以下第一張圖檔出現,安裝作業系統的工作--才正式開鑼!</p>
<p>(一)按鍵盤上的 Enter 鍵,表示 要安裝 Windows XP 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt001.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二)按鍵盤上的 F8 鍵,表示 接受授權合約 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt002.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三)按 D ,選擇 要刪除磁碟分割 。 Windows XP 會把整顆新硬碟的全部容量,預設為 C: 主要分割區 ,如果你不打算分割硬碟,就直接按 Enter。範例所使用的是一個已經分割過的舊硬碟(其中一部份屬於未配置空間),一樣可以按 D ,刪除原有的磁碟分割,以便重新規劃硬碟。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt003.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(四) 堅持要刪除分割 ,就按 Enter 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt004.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(五) 再次確定要刪除分割 ,按 L 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt005.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(六)原有的磁碟分割已經刪除,出現為 未分割空間 。接著按 C ,表示選擇 要在未分割的磁碟空間建立一個主要分割區 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt006.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(七)在這裡 填入你要的主要分割區容量數額 (單位是 MB,1 GB=1000 MB)。應該以硬碟的總容量,和打算分成幾個分割區作為分配的依據,請不要照抄範例的數值。舉個例子來說,假設你用的是 80 GB 的硬碟(實際容量大約為 76317 MB),你打算分割 25000 MB 為主要分割區,剩下來的當作邏輯磁碟,那麼,就在空格內填入 25000 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt007.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(八)顯示最新分割狀況,按 Enter 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt008.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(九)如果前一步,你填入的數額大於 32000,在這裡只能看到 NTFS(快速)及 NTFS 兩個選項,沒有 FAT 檔案系統供選擇。因為 FAT 的檔案系統無法支援容量超過 32000 MB 的磁碟區。用鍵盤的上下方向鍵 選擇(反白)你喜愛的檔案系統 (舊硬碟盡量避免選用快速),按 Enter 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt009.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十)範例所選的是 FAT 檔案系統(註一),才會出現此畫面;若選擇 NTFS,就直接進入下一個畫面。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt010.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十一)開始進行格式化。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt011.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十二)格式化之後,便開始複製檔案,安 裝 Windows XP 。在安裝過程中,經常需要重新開機,因為安裝光碟片還在光碟機裡,因此螢光屏一樣會秀出 Press any key to boot from CD….. 這行句子,請千萬 不要 按鍵盤上的任何鍵,讓句末的五個句點出完,進入硬碟,繼續未完成的工作。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt012.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十三)正在儲存設定<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt013.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十四)開始複製檔案了,複製完畢,進行初始化及儲存檔案,然後自動重新開機。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp06.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十五)因為你的安裝光碟片還在光碟機內,重開機時, 螢光屏 同樣會 秀出 Press any key to boot from CD.. ,此時千萬別碰鍵盤上的任何鍵,讓系統直接進入如下開機畫面。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp07.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十六) 正式進行安裝。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp08.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十七)在這裡,請根據你的需求進行設定。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp09.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十八)輸入 你的姓名,最好用英文字母或數字,儘量避免用中文字。非公司電腦,組織一欄可以留空。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp10.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(十九)接著輸入產品金鑰。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp11.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十)安裝程式已代你輸入 電腦名稱,不滿意的話,可以自行更改。此外,請考慮是否須要設定 Administrator(管理員)密碼;假如不打算設定密碼,這兩欄可以留空。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp12.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十一)確定日期、時間和時區。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp13n.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十二)暫時不要在這裡設定網路,直接按下一步可也。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp14.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十三)再按下一步。安裝程式繼續執行設定及複製檔案,並安裝開始功能表。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp15.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十四)重新開機,設定顯示器,按確定。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp16.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十五)略過註冊及網路設定,等全部安裝完畢,設定好網路才去註冊。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp19c.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十六)完成了!<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/sxp18.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十七) Windows XP 安裝完成後,開啟 我的電腦 和 檔案總管 都只發現 C: 磁碟機代號,還有另一部份容量遺失了?--哦,不,別擔心! 請從 開始 >> 控制台 >> 效能及維護 >> 系統管理工具 >> 電腦管理 >> 磁碟管理 ,在右邊窗格 磁碟 0 ,除了 C: 之外,還有另一部份 未配置的空間 。所謂未配置,就是沒有檔案系統,也沒有代號,因此 我的電腦 和 檔案總管 都無法發現它的存在。接下來我們必須先把它變成 可用空間 ,游標指著 未配置 空格按滑鼠右鍵,在彈出的快捷選單,選按 新增磁碟分割 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt014.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十八)啟動 磁碟分割精靈 ,按 下一步 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt015.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(二十九)點選 延伸磁區分割 ,按 下一步 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt016.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十)要將未配置的全部空間分配給 延伸分割區 ,因此請不要修改最大數值,直接按 下一步 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt017.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十一)顯示延伸分割區狀況,按 完成 鈕。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt018.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十二)請看,現在顯示為 可用空間 !但實際上還不能應用。游標指著 可用空間 空格按滑鼠右鍵,在彈出的快捷選單,選按 建立邏輯磁碟機 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt019.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十三)再次啟動 磁碟分割精靈 ,按 下一步 。在如下的新頁面裡,點選 邏輯磁碟 ,按 下一步 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt020.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十四)如果 打算建立多個邏輯磁碟 ,可以修改合適的 空間數值 。方法與用 FDISK 建立邏輯磁碟相似。以第七步所舉的例子,這裡大約剩下 51317 MB 的容量。注意:如準備採用 FAT32 檔案系統,就不能只建立一個邏輯磁碟。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt021.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十五)指定 磁碟機代號 ,按 下一步 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt022.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十六)選擇自己喜愛的 檔案系統 及 標籤名稱 ,按 下一步 。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt023.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十七)如果建立多個邏輯磁碟,游標指著 剩餘的可用空間 空格按滑鼠右鍵,重複(三十二)至(三十七)這幾步。完成建立磁碟分割,按 完成 鈕。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt024.png" alt="" width="640" height="480" /></p>
<p> </p>
<p>(三十八)請看結果!整顆硬碟的分割工作全部完成。<img loading="lazy" src="https://becoder.org//becoder.org/wp-content/uploads/2009/08/windows-xp-install/xp_pt025.png" alt="" width="640" height="480" /> 註一: FAT 檔案系統又分成 FAT16 及 FAT32 兩種,只要分割區容量大於 2048 MB ,安裝程式會自動選用 FAT32</p>
<blockquote>
<p>閱讀原文:<a href="https://becoder.org/windows-xp-install/" target="_blank" rel="noopener">https://becoder.org/windows-xp-install/</a><br>
網誌公告:網誌現已開通郵件訂閱,歡迎<a href="https://username.substack.com" target="_blank" rel="noopener">透過 Substack 訂閱</a>支援我的創作!</p></blockquote>