Windows创建默认共享
创建默认共享net share C$=C:\设置用户权限net share C$=C:\ /grant:admin,READ上面命令对用户admin授予了默认共享C$的只读权限其中READ为只读权限,可选的权限参数有READ(只读)、CHANGE(更改)、FULL(完全)禁止默认共享注册表HKLM\System\CurrentControlSet\Services\LanmanServer\...
阅读全文
创建默认共享net share C$=C:\设置用户权限net share C$=C:\ /grant:admin,READ上面命令对用户admin授予了默认共享C$的只读权限其中READ为只读权限,可选的权限参数有READ(只读)、CHANGE(更改)、FULL(完全)禁止默认共享注册表HKLM\System\CurrentControlSet\Services\LanmanServer\...
阅读全文
卸载当前安装的所有Office版本下载Office部署工具https://www.microsoft.com/en-us/download/details.aspx?id=49117将部署工具的exe程序进行解压,得到xml配置文件修改配置文件configuration-Office365-x64.xml配置文件主要内容如下<Add OfficeClientEdition="...
阅读全文
打开浏览器,新建一个空白书签,然后修改书签,将网址修改为以下内容javascript:var a=prompt(PLAYER._DownloadMonitor.context.dataset.title,PLAYER._DownloadMonitor.context.dataset.ckc?PLAYER._DownloadMonitor.context.dataset.currentVide...
阅读全文
修改PHP配置文件php.ini找到log_errors,如果没有开启,先修改为On在下面增加error_log = /home/php_error.log,然后重启PHP错误日志会输出到/home/php_error.log
阅读全文
添加rc-local.servicecat > /etc/systemd/system/rc-local.service <<EOF
[Unit]
Description=/etc/rc.local
ConditionPathExists=/etc/rc.local
[Service]
Type=forking
ExecStart=/etc/rc.local start
T...
阅读全文