The BOA Server is a compact and efficient web server running on unix or linux. It supports CGI and is suitable for single tasks of embedded systems. It has open source code and high performance. : Bytes. If it is done on the PC, it is very easy on the ARM board. Information about server configuration on the Internet
The BOA Server is a compact and efficient web server running on unix or linux. It supports CGI and is suitable for single tasks of embedded systems. It has open source code and high performance. : Http://www.boa.org/
The idea of configuring and porting to an embedded system on a PC is similar. The key is to modify the boa. conf file, such as the compiler, and create a directory. If it is done on the PC, it is very easy on the ARM board.
There are a lot of information about the server configuration on the Internet, and it is basically feasible. However, I personally think that many of the methods to be introduced are "wrong" before we can tell the real operation method. According to the Personal configuration process, complete the configuration according to the following steps.
Related reading: another articleConfigure the boa Server in UbuntuHttp://www.linuxidc.com/Linux/2011-08/39780.htm
1. Extract
Put the downloaded source code compressed package in a directory and execute:
Tar-xvzf boa-0.94.13.tar.tar
2. Go to the/boa-0.94.13/src directory and you can see the following file:
Modify compat. h file
# Ifdef HAVE_TM_GMTOFF
# Define TIMEZONE_OFFSET (foo) foo #-> tm_gmtoff
# Else
# Define TIMEZONE_OFFSET (foo) timezone
# Endif
Changed:
# Ifdef HAVE_TM_GMTOFF
# Define TIMEZONE_OFFSET (foo) foo-> tm_gmtoff
# Else
# Define TIMEZONE_OFFSET (foo) timezone
# Endif
3. Execute:./configure
Then, you can view and generate some new files:
Then execute make
In this case, more objects are generated:
4. Copy/boa-0.94.13/boa. conf to the/etc/boa directory:
Mkdir/etc/boa
Cp boa. conf/etc/boa
5. Go to the/etc/boa directory, open the boa. conf file, and make the following changes:
(1) Change User nobody and Group nogroup to User 0 and Group 0, respectively, as shown below:
(2) modify the path
Changed:
Save and exit