- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 Apt-get 如何在Ubuntu/Debian上正常工作
1. 为避免80:80错误,编辑文件 ‘/root/.bashrc’, 并设置如下。### set http proxy variablesexport http_proxy="http://itgproxy.redmond.corp.microsoft.com:80" export https_proxy="https://itgproxy.
2015-10-26 16:22:40 735
原创 Linux如何设置 hostname
RHEL, Oracle and CentOS (versions 6 and lower)Edit the/etc/sysconfig/network file. HOSTNAME=a24p-rhel6-01 RHEL, Oracle and CentOS (version 7)Edit
2015-10-26 16:04:25 718
原创 Powershell获取当前路径
获取当前路径,之前一直通过内置的$MyInvocation变量:$CurrentyDir=Split-Path-Parent$MyInvocation.MyCommand.Definition; PowerShell3.0之后,直接一个$PSScriptRoot解决问题。
2013-11-07 11:05:27 17007
原创 SQL 小记
Set a administrator role:EXEC sp_password NULL, '你的新密码', 'sa'ALTER LOGIN sa ENABLE 数据库备份:backupdatabase TestRun to DISK='c:\Tina\TestRun.bak' 导入并覆盖数据库:http://www.360doc.com/content/10/
2013-08-23 17:19:06 543
原创 Validate FQDN of SQL Server Computer failed
升级SCCM2012 R2 时,在准备环境时提示 ‘ Validate FQDN of SQL Server Computer failed’
2013-08-08 17:48:32 815 1
原创 Powershell随笔
1. 添加 powershell-ise:Import-Module servermanager Add-WindowsFeature powershell-ise2. 设置.ps1文件的可执行权限Set-ExecutionPolicy Remotesigned3. 获取帮助 Get-Help Get-Service -Detail4. 注释 #,多行注释 5. 关
2013-06-19 11:14:13 618
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人