Skip to content

yuanfangqiao/type-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

type-hello


简介

使用C语言编写的一个HTTP服务,Hello World!打字特效HTML网页。 已在Mac / Linux 系统验证。

操作

根据需要修改源代码 修改服务端口为默认的HTTP 80:

#define SERVER_PORT 80

编译

gcc -o type_hello_httpd type_hello_httpd.c

控制台运行

./type_hello_httpd

后台运行

nohup ./type_hello_httpd > out.log 2>&1  &

查看日志

tail -f out.log

查看服务进程

ps -ef | grep type_hello

杀掉服务进程

kill [pid]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published