1.在CMD命令行模式下启动Apache和MySQL
net start apache2
net stop apache2
Apache配置文件(httpd.conf)的语法检查
C:\>httpd.exe -t
2.查看本地的ip地址
C:\>ipconfig /all
3.如何查看域名的ip地址
ping命令
格式:ping 域名
4.查看本地端口使用情况
netstat -ano
5.在命令行上登陆数据库
mysql -hlocalhost -uroot -proot
net start apache2
net stop apache2
Apache配置文件(httpd.conf)的语法检查
C:\>httpd.exe -t
2.查看本地的ip地址
C:\>ipconfig /all
3.如何查看域名的ip地址
ping命令
格式:ping 域名
4.查看本地端口使用情况
netstat -ano
5.在命令行上登陆数据库
mysql -hlocalhost -uroot -proot