Visit website IP address statistics filtering with Linux missing compilation environment resolved

Source: Internet
Author: User
Tags website ip
"Access to website IP address statistics (redirected) utility query"
(1) Statistics IP traffic
awk ' {print '} ' Access.log |sort|uniq |wc-l
(2) Count IP repetitions
awk ' {print '} ' Access.log |sort|uniq-c
(3) Count the number of visits the most IP, the top 10
awk ' {print '} ' access.log |sort|uniq-c|head-n 10
(4) Find the most visited number of minutes in the log
awk ' {print $4} ' access.log|cut-c 14-18 |sort|uniq-c|sort-nr|head
(5) Find the most visited pages in the log
awk ' {print $7} ' Access.log |sort|uniq-c|sort-nr|head

"Missing compilation environment resolution"
If the installation appears below the error is missing the compilation environment, install the tools and libraries required to compile the source code.
"./configure:error:c compiler cc is not found"

Solution: Yum Install gcc gcc-c++ ncurses-devel perl

Visit website IP address statistics filtering with Linux missing compilation environment resolved

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.