How to configure apache2.4 for Ubuntu server
This article mainly explains "how to configure apache2.4 on Ubuntu server". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to configure apache2.4 on Ubuntu server.
The process has been written into a script, and the principles are all written in the notes, as we all know. One click operation is sudo bash xxx.sh.
The code is as follows:
#! / bin/bash
# cd to create a configuration file in a temporary directory
Cd / tmp
(cat