linux-6week

1, self yum warehouse, a network source and local source respectively
linux-6week
linux-6week
linux-6week
linux-6week
verify the configuration yum source:
linux-6week
2, compiler installation httpd2.4, achieved can access and compilation step and submit the results.
First, download the source package httpd2.4.25:
linux-6week
linux-6week
linux-6week
Since we Download Source Package older so in old find inside:
linux-6week
linux-6week
After downloading uploaded into the system
linux-6week
to create folders: mkdir -p / data / httpd unzip it.
linux-6week
After entering the folder we'll see these three documents, specific installation steps can refer to INSTALL, README has details of the httpd, configure which has detailed configuration documentation, install the following;
linux-6week
the establishment of a data folder to put the httpd:
linux-6week
under the corresponding installation package, the package is specifically not know how to direct the execution after ./configurl file provided that the relevant data is configured in accordance with the steps.
linux-6week
./configure --prefix = / apps / httpd24 (installation path) --sysconfdir = / data / httpd (Configuration path) --enable-so (sharing enabled) --enable-ssl (encryption protocol)
to begin to compile
linux-6week
begin installation :
linux-6week
start httpd:
linux-6week
Touch /etc/profile.d/env.sh order to facilitate the increased use of environment variables:
CAT >> << EOF /etc/profile.d/env.sh
the PATH = / Apps / httpd / bin: $ the PATH
EOF
linux-6week
and allowed to take effect, in order to make permanent httpd power required to write the following documents:
linux-6week
linux-6week
validate machine according to the present address:
linux-6week
The interface is a success!
3, 2G to create a file system block size of 2048 bytes, reserved 1% of the available space, file system ext4, the volume label TEST, required to automatically mount the partition / test directory boot, and the default there acl mount option
linux-6week
linux-6week
linux-6week
linux-6week
linux-6week
linux-6week
4, creating a size of the at least two PV VG is composed of named testvg of 20G; PE claim size 16MB, then the size of the logical volume testlv 5G created in the volume group; to mount / users directory
linux-6week
linux-6week
linux-6week
linux-6week
linux-6week
into the file system permanently mount:
linux-6week

Guess you like

Origin blog.51cto.com/14688684/2476807