Windows系统重装后Apache的恢复
2016-10-16 16:04
295 查看
系统重装后Apache的恢复
D:/Apache2/bin>httpd /? Usage: httpd [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-w] [-k start|restart|stop|shutdown] [-k install|config|uninstall] [-n service_name] [-v] [-V] [-h] [-l] [-L] [-t] [-S] Options: -D name : define a name for use in <IfDefine name> directives -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -C "directive" : process directive before reading config files -c "directive" : process directive after reading config files -n name : set service name and use its ServerConfigFile -k start : tell Apache to start -k restart : tell running Apache to do a graceful restart -k stop|shutdown : tell running Apache to shutdown -k install : install an Apache service -k config : change startup Options of an Apache service -k uninstall : uninstall an Apache service -w : hold open the console window on error -e level : show startup errors of level (see LogLevel) -E file : log startup errors to file -v : show version number -V : show compile settings -h : list available command line options (this page) -l : list compiled in modules -L : list available configuration directives -t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings) -S : a synonym for -t -D DUMP_VHOSTS -t -D DUMP_MODULES : show all loaded modules -M : a synonym for -t -D DUMP_MODULES -t : run syntax check for config files D:/Apache2/bin>
根据帮助信息,执行
D:/Apache2/bin/httpd.exe -k install
apache就注册成为windows的服务了,用
D:/Apache2/bin/net start apache2.2
相关文章推荐
- WINDOWS下重装系统后oracle的恢复 (转)
- 重装Windows系统后Ubuntu 10.04 Grub2的恢复方法
- WINDOWS重装系统后Oracle数据恢复
- 双系统重装windows后恢复ubuntu
- 重装系统apache和mysql的恢复
- 双系统重装Windows后恢复Ubuntu
- 解决Linux(ubuntu),windows双系统重装后恢复开机选单
- 重装windows系统后恢复原来的ubuntu系统的方法
- windows 系统重装之后怎么恢复oracle数据库
- 重装系统后apache的恢复
- 重装windows系统后,如何重新将apache,mysql加入系统服务
- Win+Linux双系统中重装Windows操作系统后Ubuntu系统的恢复
- 重装WINDOWS系统后,恢复ORACLE 10G 全过程记录
- WINDOWS下重装系统后oracle的恢复
- 重装windows后快速恢复apache_php_mysql
- 重装WINDOWS系统后恢复UBUNTU启动菜单方法(详细细节)
- Ubunbu12.10/Windows双系统,重装Windows恢复Grub
- 双系统重装windows后如何恢复ubuntu启动项
- 用wubi安装的Ubuntu在重装Windows 7系统后,如何恢复(转)
- 谈谈WINDOWS下重装系统后oracle的恢复