<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vps &#8211; 中年韭菜的自我关爱</title>
	<atom:link href="https://www.muyunyying.top/tag/vps/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.muyunyying.top</link>
	<description>一枚番茄爹的碎碎念</description>
	<lastBuildDate>Sun, 09 Jul 2023 11:48:37 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
<site xmlns="com-wordpress:feed-additions:1">153092130</site>	<item>
		<title>azerothcore本体+npcbots+eluna模组安装备忘</title>
		<link>https://www.muyunyying.top/2023/07/08/azerothcore%e6%9c%ac%e4%bd%93npcbotseluna%e6%a8%a1%e7%bb%84%e5%ae%89%e8%a3%85%e5%a4%87%e5%bf%98/</link>
					<comments>https://www.muyunyying.top/2023/07/08/azerothcore%e6%9c%ac%e4%bd%93npcbotseluna%e6%a8%a1%e7%bb%84%e5%ae%89%e8%a3%85%e5%a4%87%e5%bf%98/#comments</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Sat, 08 Jul 2023 15:59:40 +0000</pubDate>
				<category><![CDATA[建站]]></category>
		<category><![CDATA[AzerothCore]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2321</guid>

					<description><![CDATA[1、环境：Debian12（23年7月），mariadb-server 2、azerothcore的安装方法有 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>1、环境：Debian12（23年7月），mariadb-server</p>
<p>2、azerothcore的安装方法有很多种，在ac的<a href="https://www.azerothcore.org/wiki/installation" rel="noopener" target="_blank">wiki</a>有非常详细的指引，为了将来升级服务器版本方便，我选择的是classic</p>
<p>3、跟随wiki，进入<a href="https://www.azerothcore.org/wiki/linux-requirements" rel="noopener" target="_blank">Linux Requirements</a>环节，安装需要的包：<br />
<code>sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mariadb-server libboost-all-dev</code><br />
请注意，此次安装要占用1.4G左右的磁盘空间</p>
<p>4、进入<a href="https://www.azerothcore.org/wiki/linux-core-installation">Core Installation</a>环节，下载源码：<br />
mkdir 源码目录<br />
cd 源码目录<br />
<code>git clone https://github.com/azerothcore/azerothcore-wotlk.git --branch master --single-branch azerothcore --depth 1</code><br />
github下载150MB左右，注意连接性，也可以手动去github下载上传到服务器解压缩</p>
<p>5、下载应用npcbots：<br />
去<a href="https://github.com/trickerer/Trinity-Bots/tree/master/AC">NPCBOTS项目</a>下载NPCBots.patch放入 源码目录/azerothcore<br />
坑：直接wget下来的NPCBots.patch文件大小不对<br />
<code>patch -p1 < NPCBots.patch</code></p>
<p>6、下载应用eluna模块：<br />
cd 源码目录/azerothcore/modules<br />
<code>git clone https://github.com/azerothcore/mod-eluna.git mod-eluna</code></p>
<p>7、去掉客户端登录时的付费提示：<br />
<code>\src\server\game\Handlers\AuthHandler.cpp</code><br />
找到<br />
<code>packet << uint8(0);                                    // BillingPlanFlags</code><br />
改为<br />
<code>packet << uint8(6);                                    // BillingPlanFlags</code></p>
<p>8、编译ac：<br />
cd 源码目录/azerothcore<br />
<code>cd azerothcore<br />
mkdir build<br />
cd build<br />
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static # 此处可修改ac安装目录<br />
make -j 8 # 8是编译使用的cpu核心数，这一步时间取决于cpu性能，e1265Lv2 8线程大约耗时20分钟，J4125 4线程要跑50多分钟，7945hx 16线程的话3分多钟（感受到了科技的进步）。eluna模块代码比较老一堆warning，无视即可。<br />
make install<br />
</code><br />
<strong>>>>>>>>>>>>>>>>>>>>注意，此处为坑<<<<<<<<<<<<<<<<<<<<</strong><br />
当版本更新重新编译源码时，有可能会在eluna模块编译处卡住，此时需要删除build目录重新编译</p>
<p>9、进入<a href="https://www.azerothcore.org/wiki/server-setup">server setup环节</a>：<br />
cd 安装目录<br />
<code>mkdir data<br />
cd data<br />
wget https://github.com/wowgaming/client-data/releases/download/v16/data.zip</code><br />
<strong>>>>>>>>>>>>>>>>>>>>注意，此处为坑<<<<<<<<<<<<<<<<<<<<</strong><br />
对于需要删除安装目录重编译的场景，建议使用软连接<br />
ln -s ./data 安装目录/azeroth-server/data</p>
<p>10、修改ac配置文件：<br />
cd 安装目录/etc<br />
<code>cp authserver.conf.dist authserver.conf<br />
cp worldserver.conf.dist worldserver.conf<br />
nano worldserver.conf</code><br />
修改：<br />
DataDir = 上面的data文件夹地址<br />
保存退出，其他设置可以后面改</p>
<p>11、进入<a href="https://www.azerothcore.org/wiki/database-installation">Database Installation环节</a><br />
下载<a href="https://github.com/azerothcore/azerothcore-wotlk/blob/master/data/sql/create/create_mysql.sql">用户和数据库创建sql文件</a><br />
放到任意目录<br />
<code>su - root # 以root用户登录mariadb<br />
mysql<br />
source create_mysql.sql<br />
</code><br />
为了方便管理数据库，创建一个可以远程登录mariadb的用户：<br />
<code>use mysql<br />
SELECT User, Password, Host FROM user; # 确认当前的用户情况<br />
CREATE USER 'root'@'%' IDENTIFIED BY 'password'; # 添加远程root用户<br />
grant all privileges on *.* to 'root'@'%' ; # 给远程root添加权限<br />
SELECT User, Password, Host FROM user; # 确认添加用户的情况<br />
flush privileges;</code><br />
退出mysql<br />
<strong>>>>>>>>>>>>>>>>>>>>注意，此处为坑<<<<<<<<<<<<<<<<<<<<</strong><br />
<code>nano /etc/mysql/mariadb.conf.d/50-server.cnf<br />
# 把这行注释掉：<br />
bind-address = 127.0.0.1<br />
systemctl restart mariadb</code><br />
打开数据库连接工具如heidisql，以root访问，ok</p>
<p>12、进入azeroth-server/bin首次运行authserver、worldserver</p>
<p>13、NPCBots的数据库额外处理：<br />
下载<a href="https://github.com/trickerer/Trinity-Bots/tree/master/AC/SQL">npcbots的sql文件</a><br />
对首次安装，可以直接执行<br />
merge_sqls_characters_windows.bat<br />
merge_sqls_world_windows.bat<br />
得到<br />
ALL_characters.sql<br />
ALL_world.sql<br />
以及locales/zhCN目录下的npc_text_locale.sql<br />
<code>su - root<br />
mysql<br />
use acore_world;<br />
source ALL_world.sql;<br />
source npc_text_locale.sql</code><br />
<strong>>>>>>>>>>>>>>>>>>>>注意，此处为坑<<<<<<<<<<<<<<<<<<<<</strong><br />
这里直接导入ALL_characters.sql会报错<br />
要先删掉acore_characters库里的所有npcbots开头5张表，再导入<br />
<code>use acore_characters;<br />
source ALL_characters.sql;</code></code></p>
<p>14、修改realmlist：<br />
打开acore_auth库，realmlist表，第一行address改成局域网地址或外网url</p>
<p>15、重新运行authserver、worldserver，这里推荐使用screen后台运行：<br />
<code>sudo apt-get install screen<br />
screen -S ac_auth<br />
./authserver<br />
ctrl-a+d # deattach终端<br />
screen -S ac_world<br />
./worldserver<br />
ctrl-a+d # deattach终端</code></p>
<p>16、修改客户端realmlist为ip地址或url，测试连接</p>
<p>17、进入worldserver控制台，创建账号、开gm权限<br />
<code>screen -r ac_world<br />
account create admin 123<br />
account set gmlevel admin 3 -1</code><br />
以admin账号登录游戏，聊天框输入.npcbot命令测试</p>
<p>18、使用eluna模块<br />
进入安装目录azeroth-server/bin/lua_scripts/<br />
将lua文件上传，重启worldserver</p>
<p>19、配置worldserver.conf<br />
游戏中可以使用.reload config重载配置</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/07/08/azerothcore%e6%9c%ac%e4%bd%93npcbotseluna%e6%a8%a1%e7%bb%84%e5%ae%89%e8%a3%85%e5%a4%87%e5%bf%98/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2321</post-id>	</item>
		<item>
		<title>debian12+lnmp+wow simple registration安装记录备忘</title>
		<link>https://www.muyunyying.top/2023/07/08/debian12lnmpwow-simple-registration%e5%ae%89%e8%a3%85%e8%ae%b0%e5%bd%95%e5%a4%87%e5%bf%98/</link>
					<comments>https://www.muyunyying.top/2023/07/08/debian12lnmpwow-simple-registration%e5%ae%89%e8%a3%85%e8%ae%b0%e5%bd%95%e5%a4%87%e5%bf%98/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Sat, 08 Jul 2023 06:05:40 +0000</pubDate>
				<category><![CDATA[建站]]></category>
		<category><![CDATA[AzerothCore]]></category>
		<category><![CDATA[lnmp]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2299</guid>

					<description><![CDATA[1、安装Debian12 2、安装mariadb-server：如果已安装过azeroth core，已完成  [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>1、安装Debian12</p>
<p>2、安装mariadb-server：如果已安装过azeroth core，已完成</p>
<p>3、安装nginx：<br />
<code>sudo apt-get update<br />
sudo apt-get install nginx<br />
sudo nginx-V  #检查是否安装带ssl版本</code><br />
访问http://ip测试连通性</p>
<p>4、安装php（23年7月，Debian12使用apt-get自动安装获得php版本为8.2）：<br />
<code>sudo apt-get install php-{common,fpm,mysql,xml,xmlrpc,curl,gmp,gd,imagick,cli,dev,imap,mbstring,opcache,soap,zip,intl,pdo,pdo-mysql}</code></p>
<p>5、配置php.ini，查询php状态：<br />
<code>sudo nginx -t #查询nginx配置文件位置，实际是site-enabled/default，获得root /var/www/html<br />
sudo nano /etc/php/8.2/fpm/php.ini<br />
# 去掉extension里 curl,mysqli,curl,gmp,gd,cli,mbstring,opcache,soap,intl,pdo-mysql的注释<br />
sudo systemctl restart php8.2-fpm<br />
sudo nano /var/www/html/info.php<br />
# 添加phpinfo代码</code><br />
遇到php文件被下载问题：<br />
<code>sudo nano /etc/nginx/sites-enabled/default</code><br />
取消代码注释：<br />
<code>location ~ \.php$ {<br />
                include snippets/fastcgi-php.conf;</p>
<p>                # With php-fpm (or other unix sockets):<br />
                fastcgi_pass unix:/run/php/php8.2-fpm.sock;<br />
                # With php-cgi (or other tcp sockets):<br />
                # fastcgi_pass 127.0.0.1:9000;<br />
        }</code><br />
nginx测试、载入配置文件，重启服务：<br />
<code>sudo nginx -t<br />
sudo nginx -s reload<br />
sudo systemctl restart nginx</code><br />
重新访问info.php，查看extensions是否正确载入</p>
<p>6、安装wow simple registration，项目：<a href="http://WoWSimpleRegistration" rel="noopener" target="_blank">WoWSimpleRegistration</a>，<br />
由于我的azeroth core是单独使用一个dedicated server(acore最低需要4g内存跑起来，若全部地图载入需要16g内存），所以项目直接下载文件解压缩放到/var/www/html。</p>
<p>7、配置wowsimplereg：<br />
<code>cd /var/www/html/application/config/<br />
sudo mv config.php.sample config.php<br />
sudo nano config.php<br />
# 按需修改<br />
# baseurl为web访问网址<br />
# server_core改为1<br />
# db_auth和realmlist按实际情况填写，以下是web服务与azeroth core装在同服务器下，默认情况的配置<br />
/*=====================================================================*/<br />
$config['db_auth_host'] = 'localhost';<br />
$config['db_auth_port'] = '3306';<br />
$config['db_auth_user'] = 'acore';<br />
$config['db_auth_pass'] = 'acore';<br />
$config['db_auth_dbname'] = 'acore_auth';<br />
/*=====================================================================*/<br />
$config['realmlists'] = array(<br />
    "1" => array(<br />
        'realmid' => 1, // Realm ID<br />
        'realmname' => "您的realm name", // Realm Name<br />
        'db_host' => "localhost", // MySQL Host IP<br />
        'db_port' => "3306", // MySQL Host Port<br />
        'db_user' => "acore", // MySQL username<br />
        'db_pass' => 'acore', // MySQL password<br />
        'db_name' => "acore_characters" // Characters database name<br />
    )</code><br />
访问index.php测试配置是否正确</p>
<p>8、配置https：<br />
<code>sudo nano /etc/nginx/sites-enabled/default<br />
# 加入配置<br />
        listen 443 ssl default_server;<br />
        listen [::]:443 ssl default_server;<br />
        server_name 您的域名;<br />
        ssl_certificate         /etc/nginx/cert/cf.pem; #key地址可以随意<br />
        ssl_certificate_key     /etc/nginx/cert/cf.key;<br />
        ssl_session_timeout     5m;<br />
        ssl_ciphers             ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;<br />
        ssl_protocols           TLSv1 TLSv1.1 TLSv1.2;<br />
        ssl_prefer_server_ciphers       on;</code><br />
重新载入nginx配置后测试连通性</p>
<p>9、外网访问，配置服务器443端口转发到网关任意端口（电信禁用80和443）</p>
<p>10、如需优雅的处理外部访问必须指定端口问题，请使用cf的ddns和origin rules功能，这里就不多说了</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/07/08/debian12lnmpwow-simple-registration%e5%ae%89%e8%a3%85%e8%ae%b0%e5%bd%95%e5%a4%87%e5%bf%98/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2299</post-id>	</item>
		<item>
		<title>准备上docker的服务备忘</title>
		<link>https://www.muyunyying.top/2023/06/24/%e5%87%86%e5%a4%87%e4%b8%8adocker%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%a4%87%e5%bf%98/</link>
					<comments>https://www.muyunyying.top/2023/06/24/%e5%87%86%e5%a4%87%e4%b8%8adocker%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%a4%87%e5%bf%98/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Fri, 23 Jun 2023 19:39:03 +0000</pubDate>
				<category><![CDATA[建站]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2292</guid>

					<description><![CDATA[1、portainer 2、宝塔 3、wow私服艾泽拉斯core 4、adguard home 5、smart [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>1、portainer<br />
2、宝塔<br />
3、wow私服艾泽拉斯core<br />
4、adguard home<br />
5、smartdns</p>
<p>J4125 ubuntu:docker portainer dns服务</p>
<p>nas debian azeroth core</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/06/24/%e5%87%86%e5%a4%87%e4%b8%8adocker%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%a4%87%e5%bf%98/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2292</post-id>	</item>
		<item>
		<title>J4125安装流程存档</title>
		<link>https://www.muyunyying.top/2023/05/31/j4125%e5%ae%89%e8%a3%85%e6%b5%81%e7%a8%8b%e5%ad%98%e6%a1%a3/</link>
					<comments>https://www.muyunyying.top/2023/05/31/j4125%e5%ae%89%e8%a3%85%e6%b5%81%e7%a8%8b%e5%ad%98%e6%a1%a3/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Wed, 31 May 2023 02:00:17 +0000</pubDate>
				<category><![CDATA[设备]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[net]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2141</guid>

					<description><![CDATA[1、 准备工具：烧U盘映像rufus，esxi 8.0u1的iso写入U盘 2、 系统安装iso： Esxi: [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>1、	准备工具：烧U盘映像rufus，esxi 8.0u1的iso写入U盘<br />
2、	系统安装iso：<br />
        Esxi: 搜iso<br />
        爱快：官网x86版<br />
        Istoreos：官网<br />
3、	BIOS设置：关闭板载声卡（否则安装ESXi时会卡在“Initializing IOV”，安装完毕后可以重新开启）。<br />
        修改启动顺序<br />
4、	esxi第一次安装的时候shift+o，添加systemMediaSize=min （注意空格），前面的内容cdromBoot runweasel不能删！！！！！<br />
5、	Esxi用户root密码***#VMWARE<br />
6、	U盘安装会提示性能下降，需要SSD虚拟分区<br />
7、	安装后按照<a href="https://zhuanlan.zhihu.com/p/76702425">https://zhuanlan.zhihu.com/p/76702425</a>将U盘重新分区<br />
8、	神秘代码：4V492-44210-48830-931GK-2PRJ4<br />
9、	切换网卡直通，管理口不能直通，修改虚拟交换机-安全-全接受<br />
        网口顺序 0:bd，1:bb，2:bc，3:be，对应关系：<br />
        物理机0:vmnic1:mac bb:ikuai wan1<br />
        物理机1：vmnic2:mac bc:ikuai lan1<br />
        物理机2：vmnic0：mac bd:istoreos lan1<br />
        物理机3：vmnic3：mac be:esxi管理口<br />
10、	存储-kc600 未使用空间分配为vmfs6<br />
11、	<a href="https://www.bilibili.com/video/BV1y14y1A7at/">https://www.bilibili.com/video/BV1y14y1A7at/</a> 按照此创建ikuai虚拟机，注意内存独占、取消uefi引导<br />
12、	启动ikuai虚拟机，注意控制台需要鼠标双击窗口才能输入<br />
13、	Ikuai eth1为mac地址bb，eth2为bc，设eth1为wan，eth2为lan<br />
14、	Ikuai用户admin，密码***#IKUAI<br />
15、	设置ikuai，wan拨号：18957150860/123456<br />
16、	Ikuai第一次web管理是需要网线连接到lan1口，进入后点击lan1，扩展网卡勾上eth0，就可以通过esxi管理口访问ikuai<br />
17、	Ikuai lan1设为66.1，作为全屋网关<br />
18、	Istoreos安装，下载最新img文件，用starwind v2v converter转vmdk并直接指定esxi地址上传到虚拟机<br />
19、	Istoreos第一次开机需要vi /etc/config/newwork，修改lan1地址为今后使用的网关地址，本次为66.2<br />
20、	首次登录密码password<br />
21、	禁用istoreos所有dhcp服务<br />
22、	禁用istoreos wan6接口<br />
23、	重新插拔ilo网线，可以dhcp到新的地址，使用hp ilo irc软件登录，用户administrator，密码B6WMUKBK<br />
24、	用ilo remote console开机hp gen8，登录win server修改网卡配置<br />
25、	Netgear gs108tv2交换机， 用netgear软件找到ip登上去，密码password<br />
26、	Ikuai：<br />
        重建ddns：muyunyying.f3322.net 3322.org muyunyying:fire09<br />
        Muyunyying.oicp.net oray.com 同<br />
        端口映射:rd3389->63389<br />
        开启upnp<br />
27、	Istoreos 科学，安装openclash，安装后登录dler账号，更新内核<br />
28、	Istoreos vlmcsd，插件：kms服务器，将66.2:1688映射到爱快wan1:1688	</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/05/31/j4125%e5%ae%89%e8%a3%85%e6%b5%81%e7%a8%8b%e5%ad%98%e6%a1%a3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2141</post-id>	</item>
		<item>
		<title>关于esxi和交换机的番外</title>
		<link>https://www.muyunyying.top/2023/05/23/%e5%85%b3%e4%ba%8eesxi%e7%9a%84%e7%95%aa%e5%a4%96/</link>
					<comments>https://www.muyunyying.top/2023/05/23/%e5%85%b3%e4%ba%8eesxi%e7%9a%84%e7%95%aa%e5%a4%96/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Tue, 23 May 2023 03:06:30 +0000</pubDate>
				<category><![CDATA[设备]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2132</guid>

					<description><![CDATA[esxi目前的槽点有几个： 1、直通显卡：win10ltsc下直通J4125核显报错代码43，装驱动以后马上就 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>esxi目前的槽点有几个：<br />
1、直通显卡：win10ltsc下直通J4125核显报错代码43，装驱动以后马上就掉了。查不到解决方法。破站有debian下的成功案例，但是太折腾了，我这是不停机的生产环境，就没有多尝试，反正文件服务器的cpu解码目前还够用。<br />
2、吃内存：J4125装了16g内存，给ikuai分配2g，istoreos分配1g，win10ltsc分配4g，全都设置预留全部内存，此时当我装第四个vm一个ubuntu22ltsc的时候，我点预留全部内存，esxi报错资源不足。2+1+4+4=11，不到11g就开不出新的vm了，当时我就震惊了？？？？后面又试了一下，大概预留3.8g内存能开出新的vm。也就是说esxi8.0u1的内存开销大概是5g左右。<br />
后来因为显卡直通做不出来，直接就把win10的预留内存给取消完事儿，反正也只是用来应急的远程桌面服务端而已。</p>
<p>关于单线复用的vlan设置：<br />
当年不知道为啥脑抽，在GS108Tv2和GS108Ev3上做vlan的时候，多设置了一个单独pvid=8的，只有8号口T的vlan<br />
这不有病吗。。。多此一举，然后把走pvid1的lan数据给过滤掉了，GS108Ev3自己只能收pvid=8的数据，其他端口倒是不受影响，去掉8号口pvid=8的绑定就能正常dhcp和访GS108Ev3了<br />
顺便把两个交换机的固件都更新到最新版，好了这次家里全套是真的都理顺了，目前没有任何遗留问题</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/05/23/%e5%85%b3%e4%ba%8eesxi%e7%9a%84%e7%95%aa%e5%a4%96/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2132</post-id>	</item>
		<item>
		<title>家庭网络折腾：应用服务进化</title>
		<link>https://www.muyunyying.top/2023/05/23/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e5%ba%94%e7%94%a8%e6%9c%8d%e5%8a%a1%e8%bf%9b%e5%8c%96/</link>
					<comments>https://www.muyunyying.top/2023/05/23/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e5%ba%94%e7%94%a8%e6%9c%8d%e5%8a%a1%e8%bf%9b%e5%8c%96/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Mon, 22 May 2023 16:17:35 +0000</pubDate>
				<category><![CDATA[设备]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2119</guid>

					<description><![CDATA[进行到这一步，底层的软硬件安装基本就结束了。配置好2台esxi的各自动启动，剩下的就是各项应用服务的迁移。 1 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>进行到这一步，底层的软硬件安装基本就结束了。配置好2台esxi的各自动启动，剩下的就是各项应用服务的迁移。<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/%E6%9C%8D%E5%8A%A1.png?ssl=1"><img data-recalc-dims="1" decoding="async" data-attachment-id="2111" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/%e6%9c%8d%e5%8a%a1/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/%E6%9C%8D%E5%8A%A1.png?fit=208%2C209&amp;ssl=1" data-orig-size="208,209" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="服务" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/%E6%9C%8D%E5%8A%A1.png?fit=208%2C209&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/%E6%9C%8D%E5%8A%A1.png?fit=208%2C209&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/%E6%9C%8D%E5%8A%A1.png?resize=208%2C209&#038;ssl=1" alt="" width="208" height="209" class="alignnone size-full wp-image-2111" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/%E6%9C%8D%E5%8A%A1.png?w=208&amp;ssl=1 208w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/%E6%9C%8D%E5%8A%A1.png?resize=150%2C150&amp;ssl=1 150w" sizes="(max-width: 208px) 100vw, 208px" /></a><br />
1、SMB共享：<br />
共享目录（pc到这里就可以了），添加guest，everyone组<br />
开启guest用户<br />
网络和共享中心，高级共享设置，所有网络，无密码保护的共享<br />
添加windows功能：smb1.0（电视盒子到这一步才解决）</p>
<p>2、Syncthing：备份文件夹归位，再安装一次<br />
C:\Users\Administrator.KERRIGAN-NAS\AppData\Local\Syncthing<br />
C:\Users\Administrator.KERRIGAN-NAS\AppData\Local\SyncTrayzor<br />
C:\Users\Administrator.KERRIGAN-NAS\AppData\Roaming\SyncTrayzor</p>
<p>3、qbittorrent：备份文件夹归位，再安装一次<br />
C:\Users\Administrator.KERRIGAN-NAS\AppData\Local\qBittorrent<br />
C:\Users\Administrator.KERRIGAN-NAS\AppData\Roaming\qBittorrent<br />
题外话：迁移之前我才发现可以无损把所有种子从utorrent导入qbittorrent，终于摆脱ut这个各种狂卡硬盘辣鸡了真好。</p>
<p>4、FileZilla ftp server：不需要迁移，重新安装即可，需要注意的是filezilla并不会自行去添加防火墙例外，所以要自己去手动添加。</p>
<p>5、dlna server：<br />
重头戏来了，早期影音服务用的是黑群，后来hyperv下黑群无法升级，nfs挂载麻烦外加群辉os也很智障，就早早的弃了。<br />
由于其他设备都能走smb，实际上需要用到影音服务的只有两台12年的sony bravia hx850电视机。<br />
这个特定的需求导致了特别的结果：使用dlna服务器。<br />
折腾之前用的一直是serviio 1.7，有比较大的问题：不转码没有字幕、转码后4k不转1080p直接推流给电视机，电视机无法播放。<br />
由于一直以来也就是看看1080p电影或者.ts的hdtv录制综艺，也就没去多折腾。<br />
这几年来pc也上了3080ti+4k144hz hdr显示器，收的片源是基本都是4k 10bit hdr，电视机播放就很成问题了。<br />
于是需求变成了：能转码4k hdr->1080p sdr，特效字幕正常显示，查了一下主流的plex，jellyfin，emby，kodi之类都有dlna服务功能。<br />
尝试jellyfin和plex均不支持ts的hdtv录制文件，直接扫描后不显示，不知道是什么原因。kodi没有显卡不能用。<br />
universal media player过于抽象没搞懂。jriver media center可以流畅播放16:9的视频，但是2.35:1会被拉伸，且不支持字幕<br />
晃荡一圈以后，别说4k转码了，就是正常播放1080p外加字幕支持和文件支持都没一个能用的</p>
<p>峰回路转<br />
回到serviio，试着装了一下最新的2.3，试用以后发现怪异的点：<br />
不开硬字幕的情况下，无字幕，可以支持4k 10bit h265 hdr转1080p sdr并且解码能力看着还够，看来当年投资的1265Lv2经过了8年还在兑现价值<br />
开硬字幕的时候，1080p电影特效字幕正常，4k视频老样子，输出不缩分辨率，推流后卡爆电视机<br />
一切看似回到了原点，但是在脑子清醒的状态下用电视机多次测试以后我的结论是，4k转码并没有吃光cpu性能，应该是设置问题导致的“if 开启硬字幕 then 4k转码不缩分辨率”。<br />
接下来的一个下午，先是放狗在serviio wiki和forum搜了半天，才搞明白包括转码在内的设置都在profile.xml里。<br />
server根据电视机型号走特定的profile，然后这个profile字段里，根据输入文件类型枚举判断需不需要转码、转码成什么格式<br />
在没有硬字幕的前提下，转码部分的枚举是这个画风<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?ssl=1"><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="2124" data-permalink="https://www.muyunyying.top/2023/05/23/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e5%ba%94%e7%94%a8%e6%9c%8d%e5%8a%a1%e8%bf%9b%e5%8c%96/trans2/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?fit=1640%2C1229&amp;ssl=1" data-orig-size="1640,1229" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="trans2" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?fit=1024%2C767&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?resize=1024%2C767&#038;ssl=1" alt="" width="1024" height="767" class="alignnone size-large wp-image-2124" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?resize=1024%2C767&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?resize=150%2C112&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?resize=1536%2C1151&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans2.png?w=1640&amp;ssl=1 1640w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
然后一旦加上hardsubs，这个转码就失去了特定profile的支撑。<br />
再接着搜，搞了什么hardsubs字段之类已经过时的信息，都不对。<br />
最终在<a href="https://serviio.org/index.php?option=com_content&#038;view=article&#038;id=16">这里</a>发现</p>
<blockquote><p>GenericTranscoding &#8211; defines transcoding configuration to be used in specific cases, like hard subs encoding and video stacking.</p></blockquote>
<p>hardsubs设置走的是GenericTranscoding，里面就一行代码，并且不能添加video之类的子属性，<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?ssl=1"><img data-recalc-dims="1" decoding="async" data-attachment-id="2125" data-permalink="https://www.muyunyying.top/2023/05/23/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e5%ba%94%e7%94%a8%e6%9c%8d%e5%8a%a1%e8%bf%9b%e5%8c%96/trans3/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?fit=1431%2C59&amp;ssl=1" data-orig-size="1431,59" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="trans3" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?fit=300%2C12&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?fit=1024%2C42&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?resize=1024%2C42&#038;ssl=1" alt="" width="1024" height="42" class="alignnone size-large wp-image-2125" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?resize=1024%2C42&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?resize=300%2C12&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?resize=150%2C6&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?resize=768%2C32&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?resize=820%2C34&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/trans3.png?w=1431&amp;ssl=1 1431w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
试了一下按照上面profile里widthGreaterThan=&#8221;1920&#8243;判断的输出，给<GenericTranscoding>简简单单加两个属性： maxWidth=”1920″ maxHeight=”1080″。<br />
然后好了。。。4K正常转码1080p，字幕正常，一切都正常了。。。<br />
看似简单的解决问题，花了一整个下午，吐血<br />
至此本次折腾过程完毕，基本都搞舒服了，撒花！</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/05/23/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e5%ba%94%e7%94%a8%e6%9c%8d%e5%8a%a1%e8%bf%9b%e5%8c%96/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2119</post-id>	</item>
		<item>
		<title>家庭网络折腾：win10ltsc&#038;直通还需谨慎</title>
		<link>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9awin10ltsc%e7%9b%b4%e9%80%9a%e8%bf%98%e9%9c%80%e8%b0%a8%e6%85%8e/</link>
					<comments>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9awin10ltsc%e7%9b%b4%e9%80%9a%e8%bf%98%e9%9c%80%e8%b0%a8%e6%85%8e/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Mon, 22 May 2023 15:27:53 +0000</pubDate>
				<category><![CDATA[设备]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2113</guid>

					<description><![CDATA[gen8装完hpe定制esxi6.7u3以后，驱动什么的都没有问题，nvme ssd直接识别，毫无压力。 ti [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>gen8装完hpe定制esxi6.7u3以后，驱动什么的都没有问题，nvme ssd直接识别，毫无压力。<br />
tiplus7100做虚拟机池，直接开装win10ltsc2021，安装过程略有小坑，注意点比较多：<br />
1、磁盘一定要用《厚置备，置零》，否则ssd性能降低<br />
2、选择bios引导，efi引导直接卡住黑屏（在esxi8.0u1上安装没有这个问题）<br />
3、1265Lv2是4核8线程，cpu单槽要4个或者8个，因为win10最多支持2cpu槽位数不能超过2，多了就不认<br />
4、装好以后首先安装vmware tools，检查各项驱动<br />
5、马上更新一次，不然会有wsappx占用cpu的bug<br />
6、有可能出现出现windows defender占1g以上内存的bug，我的办法是装了个火绒<br />
7、时区设置有问题，正确设置重新启动后还是会退回<br />
8、安装完成要关机一次把光盘退了<br />
这时候最大的傻卵操作来了，浪费我至少2小时。我有个5盘位usb硬盘扩展柜，所以肯定是要直通usb的，然后apc bk650的usb线接在2.0的usb口上。大半夜的脑子一抽，把设备里1个usb3.0控制器和2个intel usb2.0控制器都给直通掉了。好嘛装esxi的U盘也在里面，寄，查了查挂载磁盘改文件的办法麻烦的要死，还不如直接重装esxi。这时候已经凌晨3点了，睡先。<br />
第二天脑子清醒了，想了想就把bk650也接到了usb3.0口上，这样就不用试两个intel usb控制器哪个管主板上的usb2.0口，毕竟50%的机会还要重装一次。gen8前面板usb2.0x2，后面板usb2.0x2，usb3.0x2，主板usb2.0x1。其中3.0是Renesas USB 3.0 host，两个intel肯定是管2.0口的，具体是哪个控制器管哪个口要靠尝试。<br />
给win10ltsc直通了一个网口，sata控制器，usb3.0控制器以后，插上原来的hdd，插上usb5盘位扩展柜，终于9块盘家庭团圆了！<br />
顺便提一嘴离谱的tiplus7100，这个盘插在nvme转pcie卡，转到主板的pcie2.0x16插槽，并且自带虚拟磁盘和当时开着20个上传任务的debuff，跑出这么个数字<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/tiplus71invm.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2110" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/tiplus71invm/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/tiplus71invm.png?fit=718%2C522&amp;ssl=1" data-orig-size="718,522" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="tiplus71invm" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/tiplus71invm.png?fit=300%2C218&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/tiplus71invm.png?fit=718%2C522&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/tiplus71invm.png?resize=718%2C522&#038;ssl=1" alt="" width="718" height="522" class="alignnone size-full wp-image-2110" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/tiplus71invm.png?w=718&amp;ssl=1 718w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/tiplus71invm.png?resize=300%2C218&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/tiplus71invm.png?resize=150%2C109&amp;ssl=1 150w" sizes="auto, (max-width: 718px) 100vw, 718px" /></a><br />
接下来还有各种服务需要恢复。。。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9awin10ltsc%e7%9b%b4%e9%80%9a%e8%bf%98%e9%9c%80%e8%b0%a8%e6%85%8e/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2113</post-id>	</item>
		<item>
		<title>家庭网络折腾：HP Microserver Gen8尚能饭否？</title>
		<link>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/</link>
					<comments>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Mon, 22 May 2023 09:47:45 +0000</pubDate>
				<category><![CDATA[设备]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2098</guid>

					<description><![CDATA[我的gen8是2015年入手的，8年老员工，7&#215;24勤勤恳恳兢兢业业（其实是all in boom停 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>我的gen8是2015年入手的，8年老员工，7&#215;24勤勤恳恳兢兢业业（其实是all in boom停机就会断网）。当年直接给上了1265Lv2和16Geccram，也算是花了血本的。一直以来跑着各种服务和虚拟机，虽然像前面说的，用着不太爽有各种各样的问题，但也算是劳苦功高。<br />
这天等我换上了J4125，ikuai取代了LEDE，关掉了所有hyperv虚拟机，就想着从此舒服啦！<br />
然后我忽然发现utorrent寄了，完全断网。当时是凌晨1点，就。。。挺提神的，好在也不是什么特别急切的事情，几天不上传也不会怎么样，先不管了。<br />
接下来的几天没什么改变，到处搜索也没找到问题，浏览器能正常上网，防火墙设置通过，ikuai这边端口映射upnp还是dmz都试过了，一个鸟样，用其他电脑试了试qt是正常的，那就只能是2012R2的问题了，要不趁此机会干掉2012R2一劳永逸？这个念头一旦出现就完全无法停下来了。<br />
windows server 2012r2是当年gen8刚入手时候的简便选择，至少不用自己找驱动，这么多年用下来，吐槽肯定是有的：<br />
1、大、复杂且对我无用<br />
2、hyperv一言难尽，真的难搞<br />
3、我学艺不精，玩不来什么AD域之类的东西<br />
4、会有奇奇怪怪的问题并且很难找到解答</p>
<p>那就开始准备起来<br />
首先，gen8的各类固件需要更新一下，上一次更新还是17年，esxi6.7u3是21年11月发布的东西了。<br />
跟着这个<a href="https://blog.zfdang.com/2022/01/upgrade-HP-microserver-Gen8/" rel="noopener" target="_blank">gen8固件更新</a>走，去下载了ilo4和bios的更新，spp就是17年更新过的内容无需重复，而ip就会引出下一个环节。<br />
因为我之前是2012r2，所以更新都是在windows里做的，hp提供了win下升级的方案，比较保险。我试了一下ilo下刷入bin失败以后就不敢继续操作了，进了win用exe升级，bios还算快，重启生效，ilo4的升级时间非常漫长，让我以为多半是失败了，等了大约20分钟？终于提示升级成功，重启gen8以后进ilo发现版本号正确但是degraded？一查，好嘛gen8通病nand发作了，解决方法非常简单，但是很坑，进ilo，Information-Diagnostics，这时候顶部会有一个标黄的信息提示flash/sdcard有问题，点一下信息，会出格式化nand的按钮，点击就好了。这tm谁知道要点你一下才出选项，我选下面的reset ilo好几次都没发现上面还能点一下。<br />
顺便说一句，更新bios以后似乎风扇转速下降了。<br />
查询得知nand写入错误跟ip也有关系，不敢继续刷ip了，而且安装esxi也用不上。<br />
OS选择：搜索发现有很多gen8安装esxi案例，有<a href="https://www.hpe.com/us/en/servers/hpe-esxi.html" rel="noopener" target="_blank">hp定制esxi安装iso</a>。进一步查找以后看到有帖子说虽然hpe网站标注的最后支持gen8系列的是6.5u3，但是实际上装6.7u3也是没有问题的。gen8主板直接屏蔽核显，也就没有选择pve的必要了。<br />
客户机选择：windows server就算了，那些多出来的功能我根本用不到，win10 ltsc 2021那多精简，不香吗？<br />
然后就遇到了新的问题：hdd上都是有数据的ntfs分区，需要直通给win10ltsc接着用。之前的gen8安装方法是：U盘引导，通过grub启动sata5光驱口的2.5寸ssd。esxi直通分为控制器直通和rdm直通，研究<a href="https://www.bilibili.com/video/BV1tD4y1r7Lp/" rel="noopener" target="_blank">BV1tD4y1r7Lp（这位up的系列视频很好，给我解惑很多）</a>以后发现rdm直通不能看hdd smart信息，我有9块盘（本机4+usb扩展5）要监控健康信息，显然是不能接受的。那就只能sata控制器直通，这样就会把sata5也直通掉，不能再拿来装虚拟机了。<br />
解决问题的方案也是现成的：上一块nvme ssd和nvme转pcie卡，那还有什么好说的，致态tiplus7100走起。转接卡选了佳翼带半高挡板的一款，竟然还有跑马灯！装的时候忘记关开关了，导致我现在服务器机箱透着诡异的光。<br />
======================================================<br />
题外话：<br />
其实在等致态到货的时间点，我已经找到了解决2012r2无法访问tracker的解决办法<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2109" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/2012r2/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?fit=799%2C661&amp;ssl=1" data-orig-size="799,661" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="2012r2" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?fit=300%2C248&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?fit=799%2C661&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?resize=799%2C661&#038;ssl=1" alt="" width="799" height="661" class="alignnone size-full wp-image-2109" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?w=799&amp;ssl=1 799w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?resize=300%2C248&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?resize=150%2C124&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/2012r2.png?resize=768%2C635&amp;ssl=1 768w" sizes="auto, (max-width: 799px) 100vw, 799px" /></a><br />
2012r2里有这么一个ie增强安全配置的选项，都关掉就能正常访问了<br />
这个选项不在ie里，也不在防火墙里，在服务器管理器-本地服务器页面里面，这tm谁想得到啊，我是在n多2012r2无法正常上网的帖子里无意中翻到的。<br />
总之windows server就是屑。<br />
======================================================<br />
东西都到手了，总还是要按原计划继续折腾的<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2101" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/gen81/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gen81" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?fit=1024%2C768&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?resize=1024%2C768&#038;ssl=1" alt="" width="1024" height="768" class="alignnone size-large wp-image-2101" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?resize=150%2C113&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen81.jpg?w=2320&amp;ssl=1 2320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2102" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/gen82/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gen82" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?fit=1024%2C768&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?resize=1024%2C768&#038;ssl=1" alt="" width="1024" height="768" class="alignnone size-large wp-image-2102" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?resize=150%2C113&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen82.jpg?w=2320&amp;ssl=1 2320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><br />
装完散热片是这样的，捆绑play！<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2103" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/gen83/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gen83" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?fit=1024%2C768&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?resize=1024%2C768&#038;ssl=1" alt="" width="1024" height="768" class="alignnone size-large wp-image-2103" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?resize=150%2C113&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen83.jpg?w=2320&amp;ssl=1 2320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><br />
上机，8年老鸡灰真的很大，顺便把板载usb2.0插的u盘也换了一个<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2105" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/gen84/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gen84" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?fit=1024%2C768&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?resize=1024%2C768&#038;ssl=1" alt="" width="1024" height="768" class="alignnone size-large wp-image-2105" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?resize=150%2C113&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen84.jpg?w=2320&amp;ssl=1 2320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><br />
拔掉所有hdd，先装esxi，装完客户机再插hdd，免得数据灾难，一开机就发现了诡异的跑马灯，懒得再拿出来了。。。<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2107" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/gen86/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gen86" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?fit=1024%2C768&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?resize=1024%2C768&#038;ssl=1" alt="" width="1024" height="768" class="alignnone size-large wp-image-2107" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?resize=150%2C113&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/gen86.jpg?w=2320&amp;ssl=1 2320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><br />
开机也是一次点亮，直接按照之前J4125的流程开始装esxi6.7u3，rufus写的U盘读取报错，无妨，直接ilo挂esxi iso安装到U盘，一次成功。<br />
接下来发生了本次折腾最大的傻卵事件</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9ahp-microserver-gen8%e5%b0%9a%e8%83%bd%e9%a5%ad%e5%90%a6%ef%bc%9f/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2098</post-id>	</item>
		<item>
		<title>家庭网络折腾：拍死后浪的J4125</title>
		<link>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e9%80%86%e8%a2%ad%e7%9a%84j4125/</link>
					<comments>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e9%80%86%e8%a2%ad%e7%9a%84j4125/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Mon, 22 May 2023 08:35:35 +0000</pubDate>
				<category><![CDATA[设备]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2083</guid>

					<description><![CDATA[mini主机这个品类如今的口号是有钱hx没钱es，当然hx拿来做软路由也太浪费了。关注工控机一路从j1900开 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>mini主机这个品类如今的口号是有钱hx没钱es，当然hx拿来做软路由也太浪费了。关注工控机一路从j1900开始到现在的n100，总是有各种各样的理由可以阻止我剁手：各种发热、紫屏、断流、重启、大小核等等。站在今天往回看，梳理了一下我自己主要的需求，软路由应该是一个生产环境，而不是个折腾玩具。这个机器应该在装esxi以后保持相当的稳定性、低功耗、无噪音，换句话说应该像个高级光猫，毫无存在感，性能又足够，能提供一点额外的功能是惊喜，但非必须。<br />
于是在我的反复调查中，老将J4125凭借稳定性在一大堆的n5105, 7505, 8505, n95/100这些后浪中脱颖而出，逆袭上位。最终的选择是某G48机箱+双内存槽+226网卡x4的J4125。价格说实话不便宜要550R，跟我看到到处在说的某海鲜4xx入手相去甚远。不过在软路由这条路上，选定机型只是第一步，这毕竟是个准系统，裸的，还要往上添砖加瓦。<br />
于是继续调查，坑也一个个来：<br />
1、内存：商家注明此机挑内存，本来想搞最便宜的光威的，不敢了。去搜，人言海力士颗粒兼容性较好，就找了科赋（顺便说这品牌还是看阿庆折腾adie才知道的）。J4125不支持双通道，找商家一问，最大支持单挑8g，行吧32g内存破灭，乖乖8gx2。后续会证明16g真的不太够。<br />
2、ssd：这奇葩的主板只支持msata接口，或者外接一个sata2.5寸。2.5寸盘第一不便宜第二也太不优雅了，还是看msata口ssd，一看几乎没得选，就金士顿kc600一根独苗，要不就是奇怪的东西，这东西贼贵，贵的我只买得起256g。<br />
3、U盘：esxi需要弄个U盘安装，在esxi崩掉的时候就不至于带虚拟机一块儿全崩，主板上没有usb口，只能插外面，就选了个比较小的三丧fit。<br />
最终到家的就是这一堆东西，加起来相比J4125本体价格翻倍了：<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2092" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e9%80%86%e8%a2%ad%e7%9a%84j4125/attachment/41251/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="41251" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?fit=1024%2C768&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?resize=1024%2C768&#038;ssl=1" alt="" width="1024" height="768" class="alignnone size-large wp-image-2092" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?resize=150%2C113&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41251.jpg?w=2320&amp;ssl=1 2320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><br />
愉快开箱，额外弄了一根5米长的hdmi线，准备机器在弱电箱里仆街的时候拉到pc上救场用的，最后也没用上<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2093" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e9%80%86%e8%a2%ad%e7%9a%84j4125/attachment/41252/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="41252" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?fit=1024%2C768&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?resize=1024%2C768&#038;ssl=1" alt="" width="1024" height="768" class="alignnone size-large wp-image-2093" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?resize=150%2C113&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41252.jpg?w=2320&amp;ssl=1 2320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><br />
板子看着设计做工用料还行叭<br />
<a href="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2094" data-permalink="https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e9%80%86%e8%a2%ad%e7%9a%84j4125/attachment/41254/" data-orig-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="41254" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?fit=1024%2C768&amp;ssl=1" src="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?resize=1024%2C768&#038;ssl=1" alt="" width="1024" height="768" class="alignnone size-large wp-image-2094" srcset="https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?resize=150%2C113&amp;ssl=1 150w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?resize=820%2C615&amp;ssl=1 820w, https://i0.wp.com/www.muyunyying.top/wp-content/uploads/2023/05/41254.jpg?w=2320&amp;ssl=1 2320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><br />
接上电源、hdmi和键盘，开机轻松点亮，看来多花点钱买牌子货还是有收益的<br />
装系统选的esxi8.0u1，生产环境，稳定不折腾，就不搞pve和unraid了，安装主要跟着这个视频来的<a href="https://www.bilibili.com/video/BV1y14y1A7at/" rel="noopener" target="_blank">BV1y14y1A7at</a><br />
很详细了，这里说几个我遇到的不算坑的细节问题：<br />
1、esxi安装直接U盘启动就可以，不需要微pe和ventoy，rufus直接esxi的iso写入U盘正常引导即可；<br />
2、esxi启动第一屏shift-o添加参数这里，不要用autoPartitionOSDdataSize=8192，这个无效，装完U盘128被吃完。用systemMediaSize=min，并且前面原有的cdromBoot runweasel不能删！删了就不装os了直接给你u盘引导进一个esxi内存运行（搞J4125我在这里卡的时间最长）；<br />
3、安装后参照<a href="https://zhuanlan.zhihu.com/p/76702425" rel="noopener" target="_blank">某乎</a>给U盘剩余空间分区，多出的空间可以拿来放点安装文件啥的；<br />
4、物理网卡的mac和esxi里显示的虚拟网卡的对应关系不是顺序的，需要记一下，很重要，不记录管理口会出事的！<br />
接下来装ikuai和istoreos，istoreos实际就是我以前使用的LEDE替代品，作用也非常简单，懂的都懂<br />
安装过程跟着上面的视频来就可以，丝滑（简单）到无话可说<br />
ikuai重点：<br />
1、各虚拟机安装完成以后，一定要关机一次，把光盘退掉再开机！<br />
2、生产环境里，ikuai是不能关机的，不知道是不是扩展了虚拟网口的关系，一旦关机整个物理网和esxi虚拟交换机都会崩掉，只能用预留的管理口直接插网线本地pc上去，用其他服务器连接j4125的管理口也是不行的，因为服务器的局域网都崩了，一旦进了弱电箱，这个虚拟机是永远不能关机的，自动启动也要设置并排在第一位。<br />
装完了简单配一下网络设置，放进弱电箱对应网线插好开机拨号上网一次成功，大吉！<br />
然后就遇到了本次折腾的最大的坑：gen8的ut不能连接tracker。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e9%80%86%e8%a2%ad%e7%9a%84j4125/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2083</post-id>	</item>
		<item>
		<title>家庭网络折腾：旧日低语</title>
		<link>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e6%97%a7%e6%97%a5%e4%bd%8e%e8%af%ad/</link>
					<comments>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e6%97%a7%e6%97%a5%e4%bd%8e%e8%af%ad/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Mon, 22 May 2023 07:37:33 +0000</pubDate>
				<category><![CDATA[设备]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.muyunyying.top/?p=2077</guid>

					<description><![CDATA[家里一直用一台hp microserver gen8做的all in boom。当时给整了winserver  [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>家里一直用一台hp microserver gen8做的all in boom。当时给整了winserver 2012R2，因为15年刚入的时候能装的系统选择并不多，用HP server自带的Intelligent Provisioning（IP）部署OS算是一个方便不折腾的选项。然后通过hyperv整上了LEDE做主路由顺便科学、黑裙做同步和影音服务、centos做encypted dns和kms等等一堆服务。<br />
历史早已反复证明，all in boom不会这么美好，或多或少的都会存在些问题，通常能用但是用起来不是很爽。比如：LEDE多折腾几次就会出配置保存了没反应、商店里的vpn服务卸了再装也回不来。更要命的是hyperv这玩意儿真的难学，是我学艺不精，重新开个新的虚拟机装新版LEDE会不通网，只能用最初的那个凑合跑，不然频繁断网家庭成员会暴动。再比如hyperv的黑裙无法升级，黑裙不能直通磁盘，需要win开共享给黑裙，当时还无法挂载smb，只能给2012R2再装个第三方nfs服务，黑裙的photo会给目录里存一大堆预览图，机械硬盘咔咔咔，同步app也堪称智障。<br />
最可怕的是2012R2本身，挂utorrent早期还算正常，某个时间点之后访问tracker开始明显感觉受到干扰，各种连不上，于是搞encrypted dns，有用但是不完全有用，上行一直半死不活的吊着，反正电信只给35Mb上行，也就一直赖到了现在。<br />
最后总结一下演变至今实际需要的服务和部署情况：<br />
1、文件共享：2012R2 SMB<br />
2、同步：2012R2 Syncthing<br />
3、挂上传：2012R2 utorrent<br />
4、网络接入：LEDE<br />
5、科学：PC自代理+centos净化dns<br />
6、影音服务：2012R2 serviio dlna server<br />
7、ftp服务：给朋友下片用的，怎么搞都行<br />
时间长了，凑合的就很难受，尤其是路由这一块，以实际使用体验来说一定要跟存储服务分离，否则一折腾就断网太受限了。<br />
所以其实很早就开始关注工控机软路由了，在这个旗舰wifi路由器动不动两三千的时代，几百块买个x86路由性能又强还能折腾虚拟机，那不香吗？于是从j1900时代开始关注一直到j4125，n5105，到最近的7505,8505和n95/100系列。终于在漫长的长草期之后拔草了。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2023/05/22/%e5%ae%b6%e5%ba%ad%e7%bd%91%e7%bb%9c%e6%8a%98%e8%85%be%ef%bc%9a%e6%97%a7%e6%97%a5%e4%bd%8e%e8%af%ad/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2077</post-id>	</item>
	</channel>
</rss>
