2018年2月1日

[Visual Studio] [Config] [Transformation] [SlowCheetah] 在非Web工程中使用Transformation

摘要: 1. 为VS安装SlowCheetah插件 https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.SlowCheetah-XMLTransforms 2. 点击App.Config,点击 【Add Tr 阅读全文

posted @ 2018-02-01 10:52 小狮儿 阅读(141) 评论(0) 推荐(0) 编辑

2018年1月23日

[SQLSERVER] 把TransactionLog截断

摘要: 注意:以下语句非常危险 --BACKUP LOG MyDb TO DISK='NUL:' 顺便压缩文件: Use MyDb DBCC SHRINKFILE (Logical_File_Name, Shrink_To_MB);GO 获取Logical Name的方法: SELECT d.name Da 阅读全文

posted @ 2018-01-23 14:28 小狮儿 阅读(178) 评论(0) 推荐(0) 编辑

2018年1月9日

[Windows] [Firewall] 增加进入规则

摘要: netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80netsh advfirewall firewall add rule name="Open Po 阅读全文

posted @ 2018-01-09 14:49 小狮儿 阅读(186) 评论(0) 推荐(0) 编辑

[POWERSHELL] [.net 3.5] [Windows Server] 在Windows Server上安装.NET3.5

摘要: Install-WindowsFeature Net-Framework-Core -source \\network\share\sxs 阅读全文

posted @ 2018-01-09 14:45 小狮儿 阅读(232) 评论(0) 推荐(0) 编辑

[SQLSERVER] [GPO] Add the Log on as a service Right to an Account

摘要: Add the Log on as a service Right to an Account Updated: August 8, 2008 Applies To: Windows Server 2008 You can use this procedure to add the Log on a 阅读全文

posted @ 2018-01-09 14:33 小狮儿 阅读(166) 评论(0) 推荐(0) 编辑

2017年12月28日

[CENTOS7] 将域群组加入到Sudoer里

摘要: 文章来源:https://derflounder.wordpress.com/2012/12/14/adding-ad-domain-groups-to-etcsudoers/ Adding AD domain groups to /etc/sudoers December 14, 2012rtro 阅读全文

posted @ 2017-12-28 14:49 小狮儿 阅读(251) 评论(0) 推荐(0) 编辑

2017年12月22日

[CENTOS7] 加入Windows域

摘要: This following article is a snapshot from: https://www.rootusers.com/how-to-join-centos-linux-to-an-active-directory-domain/ Home Linux Windows Securi 阅读全文

posted @ 2017-12-22 12:40 小狮儿 阅读(4020) 评论(0) 推荐(0) 编辑

[CENTOS7] 修改机器名:hostnamectl set-hostname host.domain

摘要: # hostnamectl set-hostname host.domain 阅读全文

posted @ 2017-12-22 12:35 小狮儿 阅读(342) 评论(0) 推荐(0) 编辑

2017年12月11日

[CENTOS7] [IPTABLES] 卸载Firewall Id安装 IPTABLES及防火墙设置

摘要: 卸载Firewall ID,重装IPTABLES:先停止服务 systemctl stop firewalldsystemctl mask firewalld yum install iptables-services 开机启动IPTABLES:systemctl enable iptables 管 阅读全文

posted @ 2017-12-11 12:57 小狮儿 阅读(1941) 评论(0) 推荐(0) 编辑

2017年9月5日

[SQL SERVER] 映射网络驱动器,让SQL服务器可见

摘要: 在服务器上运行:EXEC sp_configure 'show advanced options', 1; GO RECONFIGURE; GO EXEC sp_configure 'xp_cmdshell',1 GO RECONFIGURE GO EXEC XP_CMDSHELL 'net use 阅读全文

posted @ 2017-09-05 13:37 小狮儿 阅读(1337) 评论(0) 推荐(0) 编辑

导航