更新 知識庫
@@ -1,6 +1,51 @@
|
||||
# OpenWRT
|
||||
|
||||
## 1. 下載映像檔壓縮檔
|
||||
|
||||
```bash
|
||||
wget https://downloads.openwrt.org/releases/23.05.3/targets/x86/64/openwrt-23.05.3-x86-64-generic-ext4-combined.img.gz
|
||||
```
|
||||
|
||||
## 2. 解壓縮映像檔
|
||||
|
||||
```bash
|
||||
gzip -d openwrt-23.05.3-x86-64-generic-ext4-combined.img.gz
|
||||
```
|
||||
|
||||
## 3. 將映像檔移到 ISO
|
||||
|
||||
```bash
|
||||
cp openwrt-23.05.3-x86-64-generic-ext4-combined.img /var/lib/vz/template/iso
|
||||
```
|
||||
|
||||
## 4. 建立無硬碟的虛擬機,紀錄虛擬機編號
|
||||
## 5. 將映像檔指派到虛擬機
|
||||
|
||||
```bash
|
||||
qm disk import 201 /var/lib/vz/template/iso/openwrt-23.05.3-x86-64-generic-ext4-combined.img local-lvm
|
||||
```
|
||||
|
||||
## 6. 虛擬機選項: 開機順序全部取消
|
||||
## 7. 進入虛擬機,修改網路
|
||||
|
||||
```bash
|
||||
vi /etc/config/network
|
||||
```
|
||||
|
||||
```bash
|
||||
service network restart
|
||||
```
|
||||
|
||||
## 8. 嘗試連線OpenWRT
|
||||
|
||||
Username: root
|
||||
|
||||
Password:
|
||||
|
||||
# 相關參考紀錄
|
||||
|
||||
- [Proxmox VE 初始化硬碟分割區與配置ZFS儲存區(Raidz)](https://www.albert-yu.com/blog/proxmox-ve-%E5%88%9D%E5%A7%8B%E5%8C%96%E7%A1%AC%E7%A2%9F%E5%88%86%E5%89%B2%E5%8D%80%E8%88%87%E9%85%8D%E7%BD%AEzfs%E5%84%B2%E5%AD%98%E5%8D%80raidz/)
|
||||
- [Pimox - Proxmox V7 for the Raspberry Pi](https://github.com/pimox/pimox7)
|
||||
- [Installing Mikrotik RouterOS on Proxmox VE easily](https://www.apalrd.net/posts/2023/tip_routeros/)
|
||||
- [Linux VM Templates in Proxmox on EASY MODE using Prebuilt Cloud Init Images!](https://www.apalrd.net/posts/2023/pve_cloud/)
|
||||
- [Linux VM Templates in Proxmox on EASY MODE using Prebuilt Cloud Init Images!](https://www.apalrd.net/posts/2023/pve_cloud/)
|
||||
- [Proxmox PVE上安裝Openwrt的幾個重點:VM or LXC?哪個鏡像?網卡直通?一鍵安裝?](https://upsangel.com/openwrt/how-to-install-openwrt-on-proxmox/)
|
||||
Reference in New Issue
Block a user