当前位置: 首页 > article >正文

linux 搭建webserver-Goahead

一、获取源代码

可以从官方github仓库(https://github.com/embedthis/goahead.git)clone源代码,在 GoAhead Overview 查看相关技术文档。

1d63ebc1428e40caa2559bdbf086ec00.png

16fdf7df489c4bc1b2356135626c836c.png

通过 git clone --recursive https://github.com/embedthis/goahead.git 指令下载仓库及其子仓库。

二、编译goahead

下载好源码后,就可以参考 goahead/README.md 进行编译。

1、执行 ./configure

2、执行编译 make

cc361b7823dd46549c91ef24121a1253.png

三、运行goahead

下载好源码后,就可以参考 提示:

On Linux/MacOS, you can now install via "sudo make install" or run GoAhead via: "sudo make run"

To run locally, put linux-x64-default/bin in your path

安装或者运行goahead程序,如果完成了程序安装操作,就可以参照提示 运行goahead程序了

You can now run via "sudo goahead -v --home /etc/goahead /var/www/goahead"

17838dfe5b514728a0f41c987f236d42.png

根据相关提示,我们可以看到,goahead程序已经运行起来了。在浏览器访问127.0.0.1:80,能够正常访问

32df2669dcc543a08b0f3a9dc74b9e1e.png

在浏览器访问127.0.0.1:443,访问会出现异常,异常原因可以看到是SSL异常导致

f710fa16e2064e0ab76aaf2c0f8524a4.png

 

http://www.lryc.cn/news/2417150.html

相关文章:

  • roundrobin来历_数据中心交换机横向虚拟化集群漫谈
  • GPU算力评估
  • 二极管的作用原理及特性
  • 无敌的Log-Likelihood Ratio(1)——LLR的计算方式
  • 置换怎么表示成轮换_置换群与全同粒子
  • Windows学习笔记5——窗口与消息三
  • C#List 用法
  • 基于SpringBoot中通用Mapper源码解读以及设计通用Service和Controller
  • 5年了,ViewPager2 终于支持 overScrollMode,没错,我干的。
  • VBA学习(34):Split函数应用|分离商品和数量
  • 时间相减_【数学】「干货」错位相减其实没这么难!
  • js 中汉字和Unicode 互转
  • 智能交通系统:未来城市交通的可视化展示
  • rapidgator.net的下载方法
  • 语音识别系列1:语音识别Speech recognition综述
  • 不知道为什么在公司登陆不了csdn
  • poi-生成excel文档并返还给浏览器
  • python排序算法 ——冒泡排序(附代码)
  • 微机原理小题知识点总结
  • 计算机网络概述(入门篇)
  • Windows API大全
  • printStackTrace()方法在exception中的理解
  • Python:打包生成.pyc、.pyd文件
  • Secure CRT8.1.3 64位安装及注册激活
  • 什么是XHTML,XHTML学习笔记
  • linux基础IO——用户缓冲区——概念深度探索、IO模拟实现
  • kotlin基础 变量,函数 1
  • 虚拟内存、物理内存与OOM Killer
  • SurfaceView和View区别总结
  • html table th分层,html中 table的结构 彻底搞清 caption th thead等