摘要: --SQL語(yǔ)句開(kāi)xp_cmdshell
-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO
-- To disallow advanced options to be changed.
EXEC sp_configure 'show advanced options', 0
GO
<
閱讀全文
摘要: root@mysqlmaster:~# cat /etc/issue
Debian GNU/Linux 6.0 \n \l
?
?
root@mysqlmaster:~# cat /proc/version
Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue Jun 14 09:42:28 UTC 2011
?
?
root@mysqlmaster:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:??? Debian GNU/Linux 6.0.2 (squeeze)
Release:??????? 6.0.2
Codename:?????? squeeze
閱讀全文
摘要: 第一、到這個(gè)鏈接http://cdimage.debian.org/debian-cd/6.0.5/i386/iso-cd/,下載debian-6.0.5-i386-CD-1.iso,就下這一個(gè),其他的不要下,當(dāng)然,這是針對(duì)i386架構(gòu)的,選擇與自己的CPU相符的就ok。
第二、這個(gè)iso文件要放在一個(gè)分區(qū)的頂層里!用虛擬光驅(qū)打開(kāi)這個(gè)iso文件,執(zhí)行它的setup.exe程序,它會(huì)在C盤下產(chǎn)生個(gè)win32-loader文件夾
第三、網(wǎng)絡(luò)上說(shuō),拷貝2個(gè)文件到win32-loader文件夾下,即hd-media/initrd.gz與hd-media/vmlinuz,debian官網(wǎng)上說(shuō),這2個(gè)文件要拷貝到iso文件的同一層目錄下。其實(shí)setup.exe生成的win32-lader文件夾下有個(gè)initrd.gz文件,我一開(kāi)始也沒(méi)拷貝這2個(gè)文件,可重啟進(jìn)入安裝程序后,老是找不到iso文件,解決方法是,一定要將這個(gè)iso文件放到FAT32格式的分區(qū)下!這2個(gè)文件也最好拷貝一下,可以從這個(gè)地址下載,http://archive.debian.org/debian/dists/sar
閱讀全文
摘要: 首先,將server 2008光盤鏡像(ISO)解壓到D盤s(新建一個(gè)s目錄)目錄;然后,將s目錄中的bootmgr和boot拷貝到C盤根目錄下;最后,在C盤根目錄下建個(gè)sources文件夾,將s\sources中的boot.wim復(fù)制到sourse文件夾。
——運(yùn)行c:\boot\bootsect.exe /nt60 c: ,重啟計(jì)算機(jī):?jiǎn)?dòng)安裝程序,加載boot.wim,啟動(dòng)PE環(huán)境。這個(gè)過(guò)程可能比較長(zhǎng),請(qǐng)等待……
——出現(xiàn)“開(kāi)始安裝界面”(注意:不要點(diǎn)選“現(xiàn)在安裝”),點(diǎn)選左下角“修復(fù)計(jì)算機(jī)”(repair my computer)。 進(jìn)入“系統(tǒng)恢復(fù)選項(xiàng)”,選擇最后一項(xiàng)“命令提示符”(command prompt),進(jìn)入DOS窗口。
——執(zhí)行格式化命令format c:/q 。
——執(zhí)行安裝命令d:\s\sources\setup.exe,即可進(jìn)入安裝過(guò)程。
閱讀全文