关闭通过SSH登录到Ubuntu时的提示信息
通过SSH登录到Ubuntu时会提示更新提醒编辑/etc/pam.d/sshd找到下面两行session optional pam_motd.so motd=/run/motd.dynamic noupdate
session optional pam_motd.so # [1]前面加上#注释掉# session optional pam_motd...
阅读全文
通过SSH登录到Ubuntu时会提示更新提醒编辑/etc/pam.d/sshd找到下面两行session optional pam_motd.so motd=/run/motd.dynamic noupdate
session optional pam_motd.so # [1]前面加上#注释掉# session optional pam_motd...
阅读全文
运行PowerShell执行以下命令创建注册表项目\# Create keys in registry (not created by Windows out of the box)
md "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2"
md &qu...
阅读全文
安装服务D:\MySQL\bin\mysqld.exe --install MySQL(服务名) --defaults-file=C:\Windows\my.ini(配置文件路径)例如:D:\MySQL\bin\mysqld.exe --install MySQL --defaults-file=C:\Windows\my.ini卸载服务D:\MySQL\bin\mysqld.exe --r...
阅读全文
运行secpol.msc,打开本地安全策略本地策略-安全选项-网络安全:LAN 管理器身份验证级别,默认是没有定义的,把它改成“发送 LM 和 NTLM - 如果已协商,则使用 NTLMv2 会话安全”来源:http://blog.sina.com.cn/s/blog_48c5284901018u0h.html
阅读全文
下载最新的git源码包并安装wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.xz
xz -d git-latest.tar.xz
tar xvf git-latest.tar
cd git-2014-08-23 (目录名不一定相同)
autoconf
./configure
make &...
阅读全文