在cygwin上运行apache2
来源:互联网 发布:mac战网该服务器 编辑:程序博客网 时间:2024/06/03 21:45
cygwin上运行linux软件是很方便啦,不过像httpd这样的后台守护进程,还需要一些帮助才行。
安装cygwin时选中apache httpd。
安装cygserver。(好像叫cygrunserver)
执行/usr/bin/cygserver-config。会在windows的服务中生成CYGWIN cygserver
$ /usr/bin/cygserver-configGenerating /etc/cygserver.conf fileWarning: The following function requires administrator privileges!Do you want to install cygserver as service?(Say "no" if it's already installed as service) (yes/no) yesThe service has been installed under LocalSystem account.To start it, call `net start cygserver' or `cygrunsrv -S cygserver'.Further configuration options are available by editing the configurationfile /etc/cygserver.conf. Please read the inline information in thatfile carefully. The best option for the start is to just leave it alone.Basic Cygserver configuration finished. Have fun!
启动cygserver
$ net start cygserverCYGWIN cygserver 服务正在启动 .CYGWIN cygserver 服务已经启动成功。
配置/etc/apache2/httpd.conf并启动apache
$ /usr/sbin/apachectl2 -k start
如果未启动cygserver直接启动apache,会发生下面错误。
/usr/sbin/apachectl2: line 78: 3088 Bad system call
阅读全文
0 0
- 在cygwin上运行apache2
- 安装 Cygwin 在windows 上
- 在ubuntu上配置apache2
- cygwin是一个在windows平台上运行的unix模拟环境
- cygwin是一个在windows平台上运行的linux模拟环境
- cygwin是一个在windows平台上运行的unix模拟环境
- Cygwin在win平台上运行的unix模拟环境》本地安装版
- cygwin是一个在windows平台上运行的unix模拟环境
- windows上用cygwin运行Hadoop
- cygwin下使用apache2
- run Apache2 in cygwin
- 在Cygwin上安装编辑器vim
- 在cygwin上 安裝htk 3.4
- 如何在cygwin上编译golang
- Cygwin在Windows上体验Linux环境
- [在windows上使用Unix工具]cygwin
- Chapter2-在电脑上安装Cygwin
- 在Cygwin上安装编辑器vim
- Qt中创建菜单和工具栏
- 利用反射实现一个Java文件书写多个Servlet,无框架
- Oracle常用函数
- c# 值类型和引用类型的区别,装箱,拆箱。
- 添加圆角的4种方法
- 在cygwin上运行apache2
- AsyncTask
- 【二分匹配入门专题1】P
- 通俗易懂看RB-tree(一)
- 从数据库中查找数据并按首字母排序
- [题解]bzoj4719 NOIP2016天天爱跑步
- 从微信AI首席顾问到金融文档智能
- [RK3288][Android5.1] LG屏edp : rk808+edp
- 并发编程(四):并发工具类