Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • Setting up virtualhost in Apache on Windows XP

    Posted on April 27th, 2010 Sean Add comments

    1.Configuring Apache
         The first file need to edit is the Apache httpd.conf file. Usually, it’s under the root folder where the Apache was installed.
         If IIS is also used on Windows, IIS will use 80 port first, so need to change the port number of Apache server, e.g. change port 80 to 8080

         Then, add new virtualhost

         In the end, need to define the permissions of the virtualhost directory:


    2.Resolving the DNS issue
         Obviously, if typed “http://sub.localhost” in your browser, it would not be found by your Internet provider’s DNS server, and still need modify the files called “hosts”. It’s under “C:\Windows\system32\drivers\etc\”, and just add the new sub domain to the file:

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    829 views
  • 如何卸载Windows Live Messenger

    Posted on April 18th, 2010 Sean Add comments

         最近想卸载MSN,但发现控制面板里得添加删除程序无法卸载MSN2009。下面介绍微软隐藏的方法来卸载:

    1. 打开注册表,搜索“Windows Live Messenger”
    2. 大概会在“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\(一堆数字)\InstallProperties”下,找到一个叫做“ModifyPath”的项,并拷贝该项的键值,大致像“MsiExec.exe /X{A9D94100-37D6-4D7B-A795-BD050BA9602B}”
    3. 使用win键+R,粘贴刚才拷贝的键值,运行
    4. 按照提示,就能完全卸载MSN
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    796 views
  • 修改Vista和Win7的用户登录界面

    Posted on December 5th, 2009 Sean 1 comment

         最近在测试Win7的时候,发现每次开机,默认都会显示上次登录的用户名并且只需输入该用户的密码即可。这种做法比较适合个人用户,但对于企业用户,或者一台机器需要很多用户经常使用的话,就极其不方便。其实,更改这个设定只需几步:

    • 1.同时按下“Win”键和“R”键,在用运行的命令框中输入“regedit”打开注册表修改器
    • 2.找到键“HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System”
    • 3.找到键“dontdisplaylastusername”,将其键值改为“1”
  • 1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
    Loading...Loading...
    835 views
  • How to open multiple excel files in different excel windows

    Posted on October 7th, 2009 Sean Add comments

         Sometimes wanna open two excel files in 2 different windows for my dual monitor. Finally found answer by google:

    1. Open Windows Explorer (such “My Computer”)
    2. Select “Tools” (on the menu bar)
    3. Select “Folder Options”
    4. Select the “File Types” Tab
    5. Scroll down to find and select the XLS extension or XLSX (for EXCEL 2007)
    6. Click the “Advanced” Button
    7. Select the “Open” action from the list
    8. Click the “Edit…” Button
    9. Where is says “Application used to perform action:”
      If not already there, add the following to the end of the file path:

                /e "%1"

    10. Uncheck the “Use DDE” box
    11. Click OK to exit
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    366 views
  • Windows7启动配置

    Posted on June 24th, 2009 Sean Add comments

         最近安装的windows7的bootloader有点问题,我安装的是XP和windows7的双系统,首先是一开机的boot菜单选择上,xp变成了“earlier version windows”,而且默认的boot系统是windows7,也就是我如果忘了选择想要boot的系统,就会自动boot到windows7中,这些都不太方便。查阅了一下MS的官方文档,发现windows7已经不支持GUI的bootloader设定,只能在DOS里使用命令“bcdedit.exe”来实现。
         “bcdedit.exe” 位于 “\Windows\System32”目录下。要执行BCDEdit,首先要进入命令行窗口,并要将操作用户并提升至管理员权限。对于windows7,找到命令行窗口,点右键,选择“run as administrator”就可以了。下面来一些简单介绍:

    c:\bcdedit               //如果没有任何参数,该命令将显示目前bootloader的信息

    c:\bcdedit /?          //加上参数”/?”就会显示所有可用的参数

    自己的一些修改:

    c:\bcdedit /set {ntldr} Description “Windows XP”
    //{ntldr}就是我的XP系统,该行就是将开机boot菜单上显示的“earlier version windows”变成“Windows XP”

    c:\bcdedit /default {ntldr}
    //本行命令是将XP系统变成默认的boot系统

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    488 views