想学习在linux下建一个服务平台。
安装lighttpd
1.下载安装
到http://www.lighttpd.net/下载,lighttpd-1.4.19.tar.gz$ wget http: // www.lighttpd.net / download / lighttpd - 1.4 . 19 .tar.gz
$ gzip - cd lighttpd - 1.4 . 19 .tar.gz | tar xf -
$ cd lighttpd - 1.4 . 19
$ . / configure -- prefix =/ usr / local / lighttpd - 1.4 . 19
$ make
$ make install
2.copy confcp doc / lighttpd.conf / usr / local / lighttpd - 1.4 . 19 /
3.配置lighttpd.conf里server.document-root是服务目录、server.errorlog是错误日志目录,自己更改。
4.运行$ cd / usr / local / lighttpd - 1.4 . 19
$ sbin / lighttpd - f lighttpd.conf
呵呵,现在可以运行了。
Linux 安装 Lighttpd
最新推荐文章于 2023-09-20 00:07:04 发布