当前位置:网站首页>i.mx6ull搭建boa服务器详解及其中遇到的一些问题
i.mx6ull搭建boa服务器详解及其中遇到的一些问题
2022-07-06 14:09:00 【zterrorblade】
1、virtualbox中虚拟机和主机共享粘贴板
https://jingyan.baidu.com/article/54b6b9c02a3c596c593b4734.html
2、目录没有写权限,编译时会出现cannot open output file a.out: Permission denied ”
https://blog.csdn.net/yangpeng111111/article/details/122103267
3、grep -v "^$"过滤空白行
^:从字符串开头进行匹配
$:从字符串末尾进行匹配
4、端口占用情况指令
netstat -anp | grep 80
5、移植boa(官网获取源码http://www.boa.org/)
主要参考https://blog.csdn.net/feit2417/article/details/84777523
https://www.jianshu.com/p/c4f0e4072fcc
https://www.jianshu.com/p/e678924d9788
安装软件apt-get install -y byacc apt-get install flex->解压源码->src下./configure配置->defines.h #define SERVER_ROOT "/boa"跟boa.conf中一致; compat.h boa.c log.c中都有修改部分 ->根据相应平台选择编译器编译->复制相应文件,修改boa.conf文件,注意添加
ServerName www.your.org.here
->组织html cgi文件用于访问->如果80端口被占用,可以修改boa.conf端口设置或者关闭80端口软件,./boa启动boa服务器
tip:使用post方式提交网页给cgi程序,然后网页会停留在post页面,使用
printf("<meta http-equiv=\"refresh\" content=\"1;url=../port.htm\">");
可以刷新页面
6、to do
cgi编程参考https://blog.csdn.net/drbinzhao/article/details/7058724
https://blog.csdn.net/manchestermi/article/details/50836834
boa+php
边栏推荐
- 【MySQL】Online DDL详解
- 嵌入式常用计算神器EXCEL,欢迎各位推荐技巧,以保持文档持续更新,为其他人提供便利
- GPS from getting started to giving up (19), precise ephemeris (SP3 format)
- [MySQL] online DDL details
- High precision face recognition based on insightface, which can directly benchmark hongruan
- [Chongqing Guangdong education] Information Literacy of Sichuan Normal University: a new engine for efficiency improvement and lifelong learning reference materials
- GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
- UNI-Admin基础框架怎么关闭创建超级管理员入口?
- Problems in the process of opencv300 cmake generating project
- 11、 Service introduction and port
猜你喜欢
JS method to stop foreach
小满网络模型&http1-http2 &浏览器缓存
GPS from getting started to giving up (19), precise ephemeris (SP3 format)
Why rdd/dataset is needed in spark
bat脚本学习(一)
基于LM317的可调直流电源
PostgreSQL install GIS plug-in create extension PostGIS_ topology
Why is the cluster mode of spark on Yan better than the client mode
GPS from entry to abandonment (XIV), ionospheric delay
微信红包封面小程序源码-后台独立版-带测评积分功能源码
随机推荐
Realization of epoll reactor model
Efficiency tool +wps check box shows the solution to the sun problem
Reinforcement learning - learning notes 5 | alphago
AI 企业多云存储架构实践 | 深势科技分享
强化学习-学习笔记5 | AlphaGo
The golden age of the U.S. technology industry has ended, and there have been constant lamentations about chip sales and 30000 layoffs
C how to set two columns comboboxcolumn in DataGridView to bind a secondary linkage effect of cascading events
zabbix 代理服务器 与 zabbix-snmp 监控
1292_FreeROS中vTaskResume()以及xTaskResumeFromISR()的实现分析
GPS从入门到放弃(十五)、DCB差分码偏差
Codeforces Round #274 (Div. 2) –A Expression
LeetCode学习记录(从新手村出发之杀不出新手村)----1
GPS from getting started to giving up (XX), antenna offset
The role of applicationmaster in spark on Yan's cluster mode
1D convolution detail
解决项目跨域问题
Adjustable DC power supply based on LM317
GPS从入门到放弃(二十)、天线偏移
新入职一家公司需要去实践和注意的内容
嵌入式常用计算神器EXCEL,欢迎各位推荐技巧,以保持文档持续更新,为其他人提供便利