准备软件
下载apache
http://www.apache.org/dist/httpd/binaries/win32/选择openssl的
下载msysGit
下载tortoisegit(区分32位64位)
1.安装msysGit
我安装在C:\Git\
注:在安装时有一个步骤请选择Run git from the Windows Command prompt
2.安装apache服务器
我安装在C:\Program Files\Apache Software Foundation\Apache2.2\,正常完成后,apache会自动启动,并且占用80端口,打开浏览器,进入http://localhost ,如果出现“It works!”,就说明apache服务器安装成功了。
3.在服务器配置用户帐号
使用命令提示符进入C:\Program Files\Apache Software Foundation\Apache2.2\bin目录,输入命令:
htpasswd -bm passwd.txt username userpasswd