Ubuntu System Configuration Boa Server graphic detailed

Source: Internet
Author: User

Ubuntu System Configuration Boa Server graphic detailed
[Date: 2013-07-15] Source: Linux Community dikcychen2011 [Font: Big Small]

The BOA server is a small and efficient Web server, which is a CGI-capable HTTP server that runs under UNIX or Linux, and is suitable for embedded system single tasks, with 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, and the key is to modify the boa.conf file, such as the compiler, and create the appropriate directory. If it's done on a PC, it's easy on the arm board.

There is a lot of information about the configuration of this server on the Internet, and it is basically feasible. But personally think a lot of introduction method is first let people "wrong", just tell the real operation method, too toss people. According to the individual configuration process, do a tidy up, according to the following steps, should be able to complete the configuration successfully.

Related reading: There is also an Ubuntu configuration Boa Server http://www.linuxidc.com/Linux/2011-08/39780.htm

1. Decompression

Place the downloaded source tarball in a directory, and then execute:

Tar–xvzf Boa-0.94.13.tar.tar

2, enter the/BOA-0.94.13/SRC directory, you can see the following files

Modify the Compat.h file

#ifdef Have_tm_gmtoff

#define TIMEZONE_OFFSET (foo) foo##->tm_gmtoff

#else

#define TIMEZONE_OFFSET (foo) TIMEZONE

#endif

Switch

#ifdef Have_tm_gmtoff

#define TIMEZONE_OFFSET (foo) foo->tm_gmtoff

#else

#define TIMEZONE_OFFSET (foo) TIMEZONE

#endif

3. Implementation:./configure

After that, you can view and generate some new files:

Execute make again

More target files are generated at this time:

4. Copy the/boa-0.94.13/boa.conf to the/etc/boa directory:

Mkdir/etc/boa

CP Boa.conf/etc/boa

5. Enter the/etc/boa directory, open the boa.conf file, and make the following changes:

(1) Change the user nobody and group Nogroup to: User 0 and group 0, as follows:

(2) Modify the path

Switch

Exit after saving

Original address: http://www.linuxidc.com/Linux/2013-07/87375.htm

Ubuntu System Configuration Boa Server graphic detailed

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.