Mysql可以做为服务加载到Linux中自动以服务运行,找了半天也没有找到如何将Apache以服务运行的方法。郁闷!sweat
不过朋友告诉我了一个简单的办法,就是同过类似DOS中的Autoexec.bat的方式来自动运行这两个服务。
方法:
编辑/etc/rc.d/rc.local文件添加
/bin/sh -c 'cd /usr/local/mysql/share; ./mysql/mysqld start'

/bin/sh -c 'cd /usr/local/apache; ./bin/apachectl start'
Windows Server 2003 Sp1  Time:1H 2005
Windows XP Professional x64 Edition  Time:1H 2005
Windows Server 2003 x64 Edition  Time:1H 2005
Windows Server 2003 R2 (Release 2)  Time:Mid-2005
Sql Server 2005 Code-named "Yukon"  Time:Mid-2005
Visual Studio 2005 Code-named "Whidbey"  Time:Mid-2005
Office 12  Time:2005
Windows 2006 Code-named "Longhorn"  Time:1H-2006
Next Generation Secure Computing BaseCode-named "Palladium"  Time:1H 2006
MSN 10  Time:1H 2006
Windows Future Storage (WinFS)  Time:Mid-2007
Windows Server 2007 Code-named "Longhorn Server"  Time:Mid-2007
Windows Server 2007 R2 Code-named "Longhorn Server R2"  Time:2009
Windows Server 2010 Code-named "Blackcomb"  Time:2011
(1) Microsoft Virtual Server 2005 Evaluation Kit
注册下载180天免费试用的 Microsoft Virtual Server 2005 评估工具包:
http://www.microsoft.com/windowsserversystem/virtualserver/evaluation/trial/default.mspx

(2) Virtual Server 2005 Migration Toolkit (VSMT)
http://www.microsoft.com/windowsserversystem/virtualserver/evaluation/vsmt.mspx

(3) Automated Deployment Services (ADS)
http://www.microsoft.com/windowsserver2003/techinfo/overview/adsbenefits.mspx

(4) WMI Core 1.5
由于要借助WMI来收集信息,所以如果源计算机的操作系统是Windows NT Server 4.0 SP6a,就必须手动安装WMI,可以到以下微软站点下载:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=C174CFB1-EF67-471D-9277-4C2B1014A31E
分页: 461/474 第一页 上页 456 457 458 459 460 461 462 463 464 465 下页 最后页 [ 显示模式: 摘要 | 列表 ]