当前位置:网站首页>i. Mx6ull build boa server details and some of the problems encountered

i. Mx6ull build boa server details and some of the problems encountered

2022-07-06 22:14:00 zterrorblade

1、virtualbox Virtual machine and host share pasteboard in

https://jingyan.baidu.com/article/54b6b9c02a3c596c593b4734.html

2、 Directory does not have write permission , At compile time cannot open output file a.out: Permission denied ”

https://blog.csdn.net/yangpeng111111/article/details/122103267

3、grep -v "^$" Filter blank lines

^: from character string Match at the beginning

$: Match from the end of the string

4、 Port occupancy instruction

netstat -anp | grep 80

5、 transplant boa( Get the source code on the official website http://www.boa.org/)

Main reference https://blog.csdn.net/feit2417/article/details/84777523

https://www.jianshu.com/p/c4f0e4072fcc

https://www.jianshu.com/p/e678924d9788

Install the software apt-get install -y byacc apt-get install flex-> Decompress the source code ->src Next ./configure To configure ->defines.h #define SERVER_ROOT "/boa" Follow boa.conf In the agreement ; compat.h boa.c log.c There are modifications in  -> Select the compiler to compile according to the corresponding platform -> Copy the corresponding file , modify boa.conf file , Pay attention to add

ServerName www.your.org.here

-> organization html cgi File for access -> If 80 Port occupied , You can modify boa.conf Port setting or closing 80 Port software ,./boa start-up boa The server

tip: Use post Submit web pages to cgi Program , Then the web page will stay post page , Use

printf("<meta http-equiv=\"refresh\" content=\"1;url=../port.htm\">");

You can refresh the page

6、to do

cgi Programming reference https://blog.csdn.net/drbinzhao/article/details/7058724

https://blog.csdn.net/u010068160/article/details/107643133?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-107643133-blog-7058724.pc_relevant_aa&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-107643133-blog-7058724.pc_relevant_aa&utm_relevant_index=1

https://blog.csdn.net/manchestermi/article/details/50836834

boa+php

https://www.menie.org/georges/uClinux/boa-php.html

https://blog.51cto.com/u_847102/5271289

原网站

版权声明
本文为[zterrorblade]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207061409184532.html