VMware ESXi 安装 OpenWrt
硬件
- HPE ProLiant MicroServer Gen10 Plus E-2224
- Crucial 32GB Single DDR4 2666 MT/s CL19 DIMM 288-Pin Memory - CT32G4DFD8266
软件
- VMware ESXi, 虚拟机
- openwrt-22.03.3-x86-64-generic-ext4-combined-efi.img.gz, openwrt镜像 64, 64-bit <— 使用这个版本 generic, 32-bit geode/, AMD Geode (e.g. https://www.pcengines.ch/alix.htm) legacy/, i.e. i386, i586…
- StarWind V2V Converter, 转换镜像格式(img to vmdk)
设置网络
root@OpenWrt:~# vi /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd71:7276:fcb6::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '2.2.2.25'
option netmask '255.255.255.0'
option ip6assign '60'
option gateway '2.2.2.1'
list dns '2.2.2.254'
使用国内镜像
https://mirrors.tuna.tsinghua.edu.cn/help/openwrt/
cp /etc/opkg/distfeeds.conf /etc/opkg/distfeeds.conf.20230309
sed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
修改时区
System - System - System Properties - General Settings - Timezone: Asia/Shanghai
修改NTP
System - System - System Properties - Time Synchronization - NTP server candidates
ntp.tuna.tsinghua.edu.cn
ntp.aliyun.com
time1.cloud.tencent.com
time.asia.apple.com
安装软件
opkg update
opkg install <package>
opkg install open-vm-tools
opkg install luci-i18n-base-zh-cn
opkg upgrade <package>
opkg remove <package>
opkg list-installed
opkg list-upgradable
opkg upgrade $(opkg list-upgradable | awk '{print $1}')