> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/xoonips-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/xoonips-tutorial/3installation/4.-customize-centos5/47set_up_for_apache.md).

# 4.7. Set up for Apache

Set up for a web server, Apache.

## 4.7.1. Config file editing. <a href="#id-4-7-1-config-file-editing" id="id-4-7-1-config-file-editing"></a>

| **\[root\@xoonips-server \~]# vi /etc/httpd/conf/httpd.conf** | ← Edit config files.  |
| ------------------------------------------------------------- | --------------------- |
| **AddDefaultCharset UTF-8**                                   |                       |
| ↓                                                             |                       |
| **#AddDefaultCharset UTF-8**                                  | ← Make it as comment. |

## 4.7.2. Automatic startup for web server <a href="#id-4-7-2-automatic-startup-for-web-server" id="id-4-7-2-automatic-startup-for-web-server"></a>

Set up for making the web server automatically started when the computer is restarted.

| **\[root\@xoonips-server \~]# /etc/init.d/httpd start** | ← Startup web server.                          |
| ------------------------------------------------------- | ---------------------------------------------- |
| **\[root\@xoonips-server \~]# chkconfig httpd on**      | ← Set up for automatic startup for web server. |

## 4.7.3. Check the performance of the web server. <a href="#id-4-7-3-check-the-performance-of-the-web-server" id="id-4-7-3-check-the-performance-of-the-web-server"></a>

Startup the browser of another computer and enter the address.

For example: <http://(The> host name decided when having installed the OS.)/

The setup will be successfully completed if the screen appears as follows:

![](https://579198783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6Mk8IMfCUPLQPG759%2Fsync%2Ffe56c324f30b060f8cdf1ee3921525534b2e2aeb.png?generation=1601839781108793\&alt=media)
