PHP 调用 COM 组件方法
0x00 开启 COM 组件扩展
打开 php.ini 配置文件,搜索 #extension=php_com_dotnet.dll
,将前面的 # 注释打开,然后重启 web 服务。
可以使用 phpinfo()
函数打印并搜索 com_dotnet
关键字,确认扩展是否成功加载。
打开 php.ini 配置文件,搜索 #extension=php_com_dotnet.dll
,将前面的 # 注释打开,然后重启 web 服务。
可以使用 phpinfo()
函数打印并搜索 com_dotnet
关键字,确认扩展是否成功加载。
无法提交根本原因是next主题也是一个repo。
1、剪切 themes/next/.git 文件夹到其他处
$ mv themes/next/.git ~/otherpath
ERROR: Cannot find the fakeroot binary required for building as non-root user.
ERROR: Cannot find the strip binary required for object file stripping.
访问 https://www.ipaddress.com/
查询下面三个域名的 IP 节点
github.com
github.global.ssl.fastly.net
codeload.github.com
首先通过命令 lspci -k | grep Wireless
看一下原因是否为缺少 wifi 驱动,如下,如果没有 Kernel driver in use,说明缺少驱动。
05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter
Kernel driver in use: rtl8821ce
Kernel modules: 8821ce
生成的新文件夹都在source下也就是和放文章的文件夹一块
以下所有命令都是在博客文件目录下执行
生成“分类”页并添加tpye属性,进入博客目录。执行命令下方命令
$ hexo new page categories
$ sudo vi /etc/default/grub
修改以下3处内容
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
,加#注释掉这一行配置GRUB_CMDLINE_LINUX=""
,修改为 GRUB_CMDLINE_LINUX="text"
#GRUB_TERMINAL=console
,去掉#注释