Ubuntu System Configuration BOA Server graphic explanation

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.