最近在WSL编译L大的固件时遇到该问题,解决如下:
修改 package/feeds/packages/node/Makefile
中的 DEPENDS:=+node
为 DEPENDS:=+node +libcares
即可。
最近在WSL编译L大的固件时遇到该问题,解决如下:
修改 package/feeds/packages/node/Makefile
中的 DEPENDS:=+node
为 DEPENDS:=+node +libcares
即可。
编辑 /etc/resolvconf/resolv.conf.d/base
写入希望修改的DNS服务器:
nameserver 8.8.8.8
应用更改:
sudo resolvconf -u
在配置Unbound时遇到如下错误:
/etc/unbound/unbound.conf:16: error: unknown keyword 'tls-service-key'
/etc/unbound/unbound.conf:16: error: stray ':'
/etc/unbound/unbound.conf:16: error: stray '"'
/etc/unbound/unbound.conf:16: error: unknown keyword 'key.pem'
/etc/unbound/unbound.conf:16: error: stray '"'
/etc/unbound/unbound.conf:17: error: unknown keyword 'tls-service-pem'
/etc/unbound/unbound.conf:17: error: stray ':'
/etc/unbound/unbound.conf:17: error: stray '"'
/etc/unbound/unbound.conf:17: error: unknown keyword 'fullchain.pem'
/etc/unbound/unbound.conf:17: error: stray '"'
/etc/unbound/unbound.conf:18: error: unknown keyword 'tls-port'
/etc/unbound/unbound.conf:18: error: stray ':'
/etc/unbound/unbound.conf:18: error: unknown keyword '853'
read /etc/unbound/unbound.conf failed: 13 errors in configuration file [1579421749] unbound[17698:0] fatal error: Could not read config file: /etc/unbound/unbound.conf
搜寻后得知是官方文档有变更,将tls全部改为ssl即可。
管理员运行以下指令:
DISM.exe /Online /Get-TargetEditions
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
(指令中的密钥为Standard版密钥)
重启系统。如果先前已设置好激活服务器,系统即自动激活。
按F2开启控制台shell,启用后返回。按Alt+F1打开终端。
esxcfg-vmknic -a -i 192.168.1.10 -n 255.255.255.0 "Management Network"
*192.168.1.10为esxi控制面板IP。
用Firefox打开这个地址:
chrome://pippki/content/resetpassword.xul
如图,点击重置即可全部删除。
ifconfig
查看网络接口:
此处选择wlan0
编辑/etc/network/interfaces
修改或添加以下内容:
auto wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
注意不能写成iface wlan0 inet dhcp,否则dhcpcd不会生效。
编辑/etc/dhcpcd.conf
在文件末尾添加以下内容:
interface wlan0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
修改wlan0为你的网络接口,ip_address为你的IP地址,routers为你的网关,domain_name_servers为你的dns。
完成后重启系统即可。
可尝试设置WiFi地区为中国。
sudo raspi-config
即可搜索到地区为CN的5Ghz WiFi。
升级到Android 9.0后,在环聊应用中尝试输入任何字符都会导致应用奔溃。
搜寻后得知是因禁用了环聊的电话权限引起的奔溃,为其开启电话权限即可。
Thanks for: https://www.reddit.com/r/androidapps/comments/9k05fr/comment/e9gfwpd
Minecraft 1.14后Forge已逐渐被Fabric
替代。Fabric和Forge一样是一个模组API,1.14后的主流Mod都使用该API。
本文启动器使用MultiMC
,一款开源的版本分离式的MC启动器,也是Fabric官方推荐使用的启动器。你可以在https://multimc.org/ 下载到它。需要正版账号
如果你还没有创建1.14.4的实例,启动后点击添加实例
创建一个1.14.4的实例。
创建完成后选中新建的1.14.4实例,点击右侧的编辑实例
。
选择版本,点击右侧的安装Fabric
。
在弹出的窗口中选择推荐的版本(带星标)安装即可。
在https://www.curseforge.com/minecraft/mc-mods/fabric-api/files/all 下载Fabric jar文件,如图所示。
回到MiltiMC启动器,选择实例后点击右侧编辑实例
,选择左侧加载Mods
,加入刚才下载到的jar文件。
或者你也可以点击右侧的Minecraft文件夹
按钮,将jar文件手动加入mods
目录。
现在环境已经安装完成,如果想要安装Fabric Mod只需按上述方法添加下载好的jar文件即可。推荐在搜索mod时使用Minecraft 1.14.4 Fabric Mod + 关键字
的方式进行检索。Forge Mod与Fabric不兼容
如果需要在Fabric中载入Optifine,你需要安装两个模块:
全部安装后即可与其它Fabric模块共存