MCSE考试学习网

每天进步一点点

windows下的PHP环境配置

phpnowWindows下配置环境很是方便,但是兼容并不是很好,有些时候我们还需要手动在Windows配置PHP环境,手动配置又很麻烦经常忘记配置步骤,所以今天特意记录配置过程。
首先我们需要下载:
apache的官方下载地址:
http://httpd.apache.org/download.cgi

mysql官方下载地:
http://dev.mysql.com/downloads/mysql/5.0.html#win32

php官方下载地址:http://www.php.net/downloads.php
phpMyAdmin官方下载地址:http://phpmyadmin.com/

所需软件我们是下载完了,接下来我要安装,点击apache_2.0.59-win32-x86-no_ssl.msi,apache默认端口我们选择80,还有就是不要和IIS得端口号有冲突。与普通应用程序安装
和类似。程序安装完后,我们在浏览器中输入:http://127.0.0.1就可以看到标题写着安装Apache测试页面,表示我们得apache安装成功。

Mysql安装:
我们运行mysql文件夹下的Setup.exe。其中有需要设置密码一步,一般建议密码不要为空(如:我们把密码设置成123456)。接着点击下一步,接着是Finish。我们的数据库也安装完毕了。

PHP安装配置:
我们把php-5.2.3-Win32.zip解压到C盘根目录下,把文件夹名字改成PHP,这样方便一下。找到PHP目录下的“php.ini-dist”或者“php.ini-recommended”文件,我们把它从命名为”php.ini”,复制到“C:\WINDOWS”下。
在将php目录下得php5ts.dll复制到“C:\WINDOWS\system32”目录下。
将php\ext目录下的“php_gd2.dll”与“php_msql.dll”复制到“C:\WINDOWS\system32”目录下。
修改apache的httpd.conf:找到E:\Apache2\conf下得“httpd.conf”文件(最好事先备份一下)。
找到DocumentRoot,把它修改成你网站得根目录,如“DocumentRoot “E:/Apache2/htdocs””;
查找DirectoryIndex index.html index.html.var 在后面加入index.php
查找#LoadModule ssl_module modules/mod_ssl.so 令起一行加入LoadModule php5_module c:\php\php5apache2.dll;
查找AddType application/x-gzip.gz.tgz后面加入一行AddType application/x-httpd-php.php;
写一个文件index.php,加入”"放到apache的根目录下,从起apache服务器,在浏览器中输入:http://126.0.0.1/index.php, 看到php的配置信息,php版本,表示php配置成功.

mysql配置:
打开c:\windows\php.ini文件;
查找;extension=php_mysql.dll,去掉’;'注释;
查找;extension=php_gd2.dll,去掉’;'注释;
查找;extension=php_mbstring.dll,去掉’;'注释;
查找;session.save_path=”/temp”,去掉”;”,把”/temp”修改成”C:\WINDOWS\Temp”;
查找;extension_dir修改为extension_dir=”c:\php\ext”;
将 libmysql.dll复制到”c:\windows\system32″目录下
查找;extension=php_mysql.dll,去掉’;'注释;
重启apache服务器即可.

安装配置phpMyAdmin:
把phpMyAdmin解压到apache根目录下(E:\apache\hotdocs),修改E”\apache\htdocs\phpMyAdmin\config.inc.php文件,设置用户名,密码(我们在安装mysql的时候设置过的用户名和密码).在浏览器中输入http://127.0.0.1/phpMyAdmin/ ,即可很方便的管理我们的数据库了.

配置apache的虚拟目录:
打开C:\WINDOWS\system32\drivers\etc\hosts文件,添加127.0.0.1 ceshi.com
打开E:\apache\htdocs\httpd.conf文件
找到#NameVirtualHost *:80,去掉”#”;

<VirtualHost *:80>
ServerAdmin nide@gmail.com //你的邮箱
DocumentRoot E:/www/web //你的虚拟路径地址
ServerName ceshi.com //虚拟路径网址
ErrorLog logs/dummy-host.ceshi.com-error_log
CustomLog logs/dummy-host.ceshi.com-access_log common
</VirtualHost>

如果需要设置多个虚拟路径只需要复制<VirtualHost>至</VirtualHost>改成自己需要的内容即可.

  • 1 Comment
  • 文章分类: windows应用
  •        转眼博客开了有几个月了,本准备用来MCSE学习和交流的结果被给荒废了一段时间,过去的一年真的很忙,忙的我毫无脾气,希望新的一年有更多的时间属于我自己。

          去年的5月换了笔记本,换成惠普康柏系列的,给我的感觉还不错很实用。唯一让我郁闷的就是系统难装,本本提回来的时候不是装的XP系统,我以为很简单拿盘直接Ghost才发现没驱动盘,我以为是我弄掉了,最后求证的结果是惠普的都没驱动,都得自己去下载,我郁闷。最后打电话找到惠普的工程师EMAIL驱动过来,更让我郁闷的是驱动的安装还有顺序之分,很是恼火,最后不得不重新安装系统,整整花了一天时间才成功安装XP,到现在我都没找到怎么安装windows 2003,我得到的回答是我这台机器是无法百分之百的兼容windows 2003,因为惠普压根就没有为2003准备相应的驱动,到现在我的xp都处于被“阉割”状态。本想把本本换成2003的系统,权衡之后还是放弃了。不能安装2003,逼的我去模拟2003,找了半天的模拟软件发现VMware的口碑还不错,决定下载一个回来试试,现在才安装好感觉还不错,第一次玩虚拟机的朋友可能有些东西还不太习惯,等我玩熟悉了后把心得体会拿出来跟大家分享。

    VMware 6.5下载地址:

    VMware 6.5官方下载:http://www.vmware.com/products/ws/overview.html

    华军VMware 6.5下载:http://www.onlinedown.net/soft/2062.htm

    天空VMware 6.5下载:http://www.skycn.com/soft/5535.html

    百度一下 VMware 6.5下载

    使用说明等我熟悉后在附上来。

  • 1 Comment
  • 文章分类: 其它杂类
  • MCSE2008认证介绍

    微软在6月14日的MCP LiveMeeting上正式公布了Windows Server 2008认证路线图。备受关注的微软新一代服务器操作系统认证终于揭开了神秘的面纱。
    微软Windows Server 2008系统的认证将采用微软新一代认证体系结构,即MCTs,MCITP认证体系。

    首先,我来简单介绍一下微软新的认证体系:
    Microsoft Certified Technology Specialist (MCTS): focused on configuring and troubleshooting key
    technologies. 专注于关键技术的配置和排错
    Microsoft Certified IT Professional (MCITP): focused on advanced infrastructure design. 专注于高级基础架构的设计

    微软Windows Server 2008系统的MCTS认证将涉及以下几个方面的内容:
    1、Active Directory Domain Services AD域服务
    2、Identity and Access Management 身份及访问管理
    3、Internet Services 英特网服务
    4、Terminal Services 终端服务
    5、Networking Infrastructure 网络基础架构

    微软Windows Server 2008系统的MCITP认证将涉及以下几个方面的内容:
    1、Infrastructure Operations 基础架构实施
    2、Active Directory Design and Planning AD设计和计划
    根据以上考查的内容,Windows Server 2008系统的MCTS将有三门考试,分别考查AD、系统架构及应用程序平台,具体科目为:
    70-640: TS: Windows Server 2008 Active Directory, Configuring Windows Server 2008 AD配置
    70-642: TS: Windows Server 2008 Network Infrastructure, Configuring Windows Server 2008 网络基础架构配置
    70-643: TS: Windows Server 2008 Applications Platform, Configuring Windows Server 2008 应用程序平台配置
    Windows Server 2008系统的MCITP将有两门考试,分别是:
    70-646: Pro: Windows Server 2008 Administrator Windows Server 2008 管理员
    70-647: Pro: Windows Server 2008 Enterprise Administrator Windows Server 2008 企业管理员
    注意:这两个MCITP之间没有从属关系,应该说,Windows Server 2008管理员侧重于系统管理,维护;Windows
    Server 2008企业管理员侧重于系统计划、规划,部署、管理和维护
    通过70-640和70-642之后,再加考70-646即可成为MCITP: Server Administrator,总共需通过3门考试。
    640 + 642 + 646 = MCITP: Server Administrator而要成为MCITP: Enterprise Administrator,必须在通过70-640、70-642和70-643的基础上,加考客户端系统考试70-620: TS: Configuring Microsoft Windows Vista Client或70-624: TS: Deploying and Maintaining Windows Vista Client and 2007 Microsoft Office System Desktops,之后,加考70-647,即需通过5门考试。
    640 + 642 + 643 + 620(或624) + 647 = MCITP: Enterprise Administrator
    可能现阶段,大家最关心的是如何从MCSE(MCSA)认证升级到新的认证。
    下面我就介绍一下MCSE和MCSA如何升级到新一代操作系统的认证。
    首先,我要说明的是持有MCSE 2000或者MCSA 2000系统认证的朋友,无法直接升级到新的认证体系。只有持有
    Windows Server 2003系统认证的朋友可以升级。并且,持有MCSE(MCSA): Security安全方向及MCSE(MCSA):
    Exchange方向的朋友,新的认证体系,将不再有这两种方向,其考查的内容已涵盖在新的认证考试科目中。而有关
    ISA Server和Exchange Server将会有单独的MCTS和MCITP考试(有关Exchange Server 2007的认证已经推出,详情见微软官方站点www.microsoft.com/learning/)。
    如果持有MCSA 2003认证,那么加考70-648: Upgrading your MCSA on Windows Server 2003 to Windows Server
    2008,将可获得MCTS: Windows Server 2008 Active Directory, Configuring和MCTS: Windows Server 2008
    Network Infrastructure这两张MCTS证书。
    MCSA + 648 = MCTS: Windows Server 2008 Active Directory, Configuring + MCTS: Windows Server 2008 Network Infrastructure, Configurin= 640 + 642
    如果持有MCSE 2003认证,那么加考70-649: Upgrading your MCSE on Windows Server 2003 to Windows Server
    2008,将可获得MCTS: Windows Server 2008 Active Directory, Configuring、 MCTS: Windows Server 2008
    Network Infrastructure和MCTS: Windows Server 2008 Applications Platform, Configuring全部三张MCTS证书。
    MCSE + 649 = MCTS: Windows Server 2008 Active Directory, Configuring+ MCTS: Windows Server 2008 Network Infrastructure, Configuring+ MCTS: Windows Server 2008 Applications Platform, Configuring= 640 + 642 + 643
    注意:所有的升级考试都无法直接升级到MCITP认证。
    因此,持有MCSA 2003或MCSE 2003认证的朋友,升级到MCITP,都需要加考相关Pro考试,即:
    MCSA + 648 + 646 = MCITP: Server Administrator 总共要考2门
    MCSA + 648 + 643 + 620(或624) + 647 = MCITP: Enterprise Administrator 总共要考4门
    MCSE + 649 + 646 = MCITP: Server Administrator 总共要考2门
    MCSE + 649 + 620(或624) + 647 = MCITP: Enterprise Administrator 总共要考3门
    推荐:因此,我强烈建议,现在准备开始MCSE认证并且今后打算升级到Windows Server 2008认证的朋友,用620代替现在流行的270作为MCSE客户端系统考试,这样,在升级到MCITP: Enterprise Administrator认证的时候,不必再考620考试!
    最后,关于新认证体系推出的时间,微软官方的消息是Windows Server 2008 Release to Manufacturing (RTM)版
    发布后一个月推出MCTS考试,RTM版发布两个月推出MCITP考试。

  • 0 Comments
  • 文章分类: 其它杂类
  • 近期MCP live meeting谈到了微软即将出台新的措施,提高认证考试的安全性:

    1、新的Non Discolosure Agreement(NDA),就是认证考试的保密条约,将更加严格约束参考者,哪些可以向他人透露,哪些不行;
    2、新的政策,具体将在08年夏季公布,会尽量让所有人都知道微软的认证政策;
    3、部署更加安全的考试环境,包括考试中心可能会有删减,符合要求的考试中心才能提供微软认证(学Cisco);
    4、对于出售braindumps的网站和公司采取措施,最终诉诸法律;
    5、对参考者采集指纹,以避免替考(学Cisco);
    6、对于中国和印度等地区的考试中心,只有本国公民才能参加考试;
    7、在下一代认证考试中(MCTS-MCITP-MCA)认证体系中,将大量采用实验题;
    8、调查和分析数据。
    9、终极杀招:区域限制,对嫌疑考试中心、国家或者大区域,采取强硬限制,特别提到了中国、印度和巴基斯坦三个国家。

  • 0 Comments
  • 文章分类: 其它杂类
  • 网络拓扑结构

    网络拓扑结构分为以下三种

    1.总线型拓扑结构
    总线型拓扑结构是指采用单根传输线作为总线,所有工作站都共用一条总线。当其中一个工作站发送信息时,该信息将通过总线传到每一个工作站上。工作站在接到信息时,先要分析该信息的目标地址与本地地址是否相同,若相同则接收该信息;若不相同则拒绝接收。总线型拓扑结构的优点是电缆长度短,布线容易,便于扩充;其缺点主要是总线中任一处发生故障将导致整个网络的瘫痪,且故障诊断困难。

    2.星型拓扑结构
    星型拓扑结构是指网络中各工作站都直接连接到集线器(HUB)或交换机上,每个工作站要传输数据到其他工作站时,都需要通过集线器(HUB)或交换机进行。星型拓扑结构具有连接方便、故障诊断容易、若一个工作站出现故障不会影响网络的运行,可靠性较高;缺点是连接电缆较长,对集线器(HUB)或交换机的依赖性较高。

    3.环型拓扑结构
    环型拓扑结构是指每一个工作站都连接在一个封闭的环路中。当一个工作站发出信息时,该信息会依次通过所有的工作站,每个工作站在接到该信息时,会对该信息的目标地址和本地地址进行比较,若相同则接收,然后恢复信号的原有强度并继续向下发送;若不同则不接收,只恢复信号的原有强度并继续向下发送,直到再次发送到起始工作站为止。环型拓扑结构具有信号强度不变的优点,同时其又具有新增用户较为困难,网络可靠性较差,不易管理的缺点。如图13.7所示显示了环型拓扑结构的示意图。

  • 0 Comments
  • 文章分类: MCSE
  • MCSE testinside 70-270 6

    上次MCSE testinside 70-270 5答案为B

    You are a desktop administrator for your company.
    The company’s software developers create an update for an existing line-of-business application. Only five users
    use this application. The update is packaged in a Windows Installer .msp file named Update.msp.
    You need to install the update on the users’ computers. What should you do?
    A. Install both the application and the update on your own computer. Create a Windows Installer transform (.mst
    file). Install the transform on the users’ computers.
    B. Create a Group Policy object (GPO) that advertises the update. Link the GPO to the domain.
    C. On the users’ computers, run the Msiexec.exe /update update.msp command. 
    D. On the users’ computers, run the Msiexec.exe /I update.msp command.

  • 1 Comment
  • 文章分类: MCSE
  • MCSE testinside 70-270 5

    MCSE testinside 70-270 4 答案为B。

    今日题目

    You are a desktop administrator for your company. You need to deploy a new application. The application is
    packaged in an .msi file. 
    The application will be used by only a small number of users. You plan to install the application by using the
    Msiexec.exe program.
    You need to ensure that the installation process does not display a user interface. What should you do?
    A. Manually perform a passive installation of the application.
    B. Manually perform a quiet installation of the application.
    C. Use a logon script to run the Msiexec.exe program.
    D. Use the Runas utility to run the Msiexec.exe program.

  • 2 Comments
  • 文章分类: MCSE
  • MCSE testinside 70-270 4

    昨天题目的答案应该是A

    You are a desktop administrator for your company. You are responsible for deploying a new application. The
    application is packaged in an .msi file.
    You need to deploy the application to only three users in the company. The .msi file contains all of the information
    necessary to correctly install the application.
    You need to install the application so that users see information about the installation progress, but no other user
    interface is displayed during the installation. What should you do?
    A. Use the Msiexec.exe program to perform a quiet installation of the application.
    B. Use the Msiexec.exe program to perform a passive installation of the application.
    C. Create a Group Policy object (GPO) that assigns the application. Link the GPO to the site containing the users
    who will use the application.
    D. Create a Group Policy object (GPO) that advertises the application. Link the GPO to the domain.

  • 1 Comment
  • 文章分类: MCSE
  • MCSE testinside 70-270 3

    You are a desktop administrator for your company. The company’s software developers create a new application,
    which is packaged in an .msi file.
    You are responsible for deploying this application to several users on the company network. Company policies
    require that applications be installed from a network location. They also require that application repair processes
    use the network location as the source for application files.
    You need to prepare the application for deployment. What should you do first?
    A. Use the Msiexec.exe program to perform an administrative installation to a shared folder.
    B. Use the Msiexec.exe program to perform a passive installation to a shared folder.
    C. Copy the .msi file to a shared folder. Create a Group Policy object (GPO) that advertises the application to all
    users who will use the application. Point the GPO to the .msi file in the shared folder.
    D. Copy the .msi file to a shared folder. Create a logon script that executes the .msi file in unattended mode.
    Assign the logon script to all users who will use the application.

    答案和思路在明天的题目中公布

  • 0 Comments
  • 文章分类: MCSE
  • MCSE 70-270考试 二

    You are a desktop administrator for your company. A company user reports that he is unable to use his
    Bluetooth-enabled mobile phone with his Bluetooth-enabled Windows XP Professional computer. He is trying to
    play audio from the phone through the speakers on his computer.
    You verify that other Bluetooth devices work properly with the user’s computer. You test the speakers to make
    sure they are in working order. You also verify that the mobile phone can send output to a computer. You then
    discover that the phone cannot detect the computer.
    You need to ensure that the user can use the phone with his computer. What should you do?
    A. Place the phone in Bluetooth discovery mode.
    B. Place the user’s computer in Bluetooth discovery mode.
    C. Add the phone and the computer to the same Bluetooth Personal Area Network (PAN).
    D. Install mobile phone synchronization software on the user’s computer.

    翻译如下:

    你是公司的台式电脑管理员,该公司的用户报告说,他是无法使用他带蓝牙功能的手机与带蓝牙功能的电脑。他想通过自己的电话在电脑上播放声音,您已经确认他的蓝牙手机与电脑工作正常。你试着说话来证实它们是否工作正常,你还确认手机可以给电脑发送数据,但电脑却检测不到手机。如果用户要使用手机和电脑你怎么解决?

    分析,You also verify that the mobile phone can send output to a computer. You then
    discover that the phone cannot detect the computer (你还确认手机可以发送数据出去,但电脑却检测不到手机)说明问题不在手机而在电脑,因此选择答案B(将用户电脑的蓝牙功能调整为打开模式)。

  • 0 Comments
  • 文章分类: MCSE
  • 谷歌提供

    公告栏

    MCSE考试学习网QQ群:49021158

    MCSE相关介绍