# xhs **Repository Path**: xywhsoft/xhs ## Basic Information - **Project Name**: xhs - **Description**: xHttpServer,使用 C 语言快速搭建 HTTP 服务器,基于 mongoose 开发(做了一些修改使其支持多 Host) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-12-30 - **Last Updated**: 2025-09-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README windows 平台使用 build.bat 编译,生成 xhs.exe(需要 mingw 并添加环境变量) linux 平台使用 sh build.sh 编译,生成 xhs (需要 gcc),建议存放路径 /home/www(这样就不用改目录了) 工具: sh install.sh 将 xhs 安装为系统服务 sh restart.sh 重启 xhs 服务 sh start.sh 启动 xhs 服务 sh stop.sh 停止 xhs 服务 文件: xhs.json 默认服务器配置(可以使用 xhs xxx 指定配置文件,xxx 为文件路径) xhs.service linux 服务配置文件,使用 systemctl 管理 这个工程已经不再使用了,新版本能够更好的支持 linux 操作系统: https://gitee.com/xywhsoft/xserver