Source package compiled and installed tengine

Compile and install tengine program

Tengine to choose a version of the official website download
Here Insert Picture Description
download success
Here Insert Picture Description

The ready compilation environment editor
yum -y install gcc make zlib-devel pcre pcre-devel openssl-devel
Here Insert Picture Description

Unzip the downloaded archive
to create a user www for custom configuration
useradd www
Here Insert Picture Description

After extracting the directory entry, arranged
./configure --user = www --group = www --prefix = / usr / local / nginx
Here Insert Picture Description

Configuration

Compile make
Here Insert Picture Description
compiled

Install make install

Start test Note If you turn httpd, in order to turn it off, otherwise it will conflict with nginx and
turn off the firewall STOP firewalld systemctl
/ usr / local / nginx / sbin / nginx

! Here Insert Picture DescriptionHere Insert Picture description
tengine successful deployment

Released three original articles · won praise 3 · Views 520

Guess you like

Origin blog.csdn.net/qq_46237783/article/details/104503635