Bo main QQ:819594300
Blog address:http://zpf666.blog.51cto.com/
Have any questions friends can contact Bo master, bo Master will help you answer, thank you for your support!
Pre-experiment preparation:
1) Open two virtual machines, one Linux6.5 as a Web server and a DNS server, and the other is a Win7 Client.
2) Linux6.5 IP is set to 192.168.1.10,win7 IP location 192.168.1.100, and both virtual machines have a network card of vm1.
3) Prepare two Discs.
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/CF/wKiom1lnRMDQifxFAABMxeOM0Uw081.jpg "style=" float : none; "title=" image001.jpg "alt=" wkiom1lnrmdqifxfaabmxeom0uw081.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRMCRXpboAABJOrgcs0E187.jpg "style=" float : none; "title=" image002.jpg "alt=" wkiol1lnrmcrxpboaabjorgcs0e187.jpg "/>
These two discs, I have ready, Baidu Cloud link as Follows:
Link: Http://pan.baidu.com/s/1eSpboMQ password: 75as
1 , the ACCP company's domain name is the ACCP.COM,DNS server and the WWW server on the same server, the address is 192.168.1.10, add the WWW host record on the DNS server to ensure the successful Resolution.
1 prepare to install the HTTPF server
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M02/9B/CF/wKiom1lnRMDTa0--AAFwNNADvPs715.jpg "style=" float : none; "title=" image003.jpg "alt=" wkiom1lnrmdta0--aafwnnadvps715.jpg "/>
2 ) Insert httpd disc
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRMKwEfXkAAJNxnuLDQw890.jpg "style=" float : none; "title=" image004.jpg "alt=" wkiol1lnrmkwefxkaajnxnuldqw890.jpg "/>
3 ) mount, Unpack
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M00/9B/CF/wKiom1lnRMOxrfMyAALlW_qUSoU480.jpg "style=" float : none; "title=" image005.jpg "alt=" wkiom1lnrmoxrfmyaallw_qusou480.jpg "/>
4 ) configuration (this process is about half a Minute)
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRMThzuq0AAM1PPN7SuE707.jpg "style=" float : none; "title=" image006.jpg "alt=" wkiol1lnrmthzuq0aam1ppn7sue707.jpg "/>
5 ) Compile and install (this process takes about 1.5 minutes)
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRMWyfz31AAOBCwKM5SU884.jpg "style=" float : none; "title=" image007.jpg "alt=" wkiol1lnrmwyfz31aaobcwkm5su884.jpg "/>
6 ) confirm the installation results
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/CF/wKiom1lnRMfDbe5nAATasQcmpIc694.jpg "style=" float : none; "title=" image008.jpg "alt=" wkiom1lnrmfdbe5naatasqcmpic694.jpg "/>
7 ) to optimize the execution path
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/CF/wKiom1lnRMnTqq7LAAUKRJPZjfk518.jpg "style=" float : none; "title=" image009.jpg "alt=" wkiom1lnrmntqq7laaukrjpzjfk518.jpg "/>
8 ) Add httpd system service
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRMrSjrxYAAFvmHnKO_8226.jpg "style=" float : none; "title=" image010.jpg "alt=" wkiol1lnrmrsjrxyaafvmhnko_8226.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M02/9B/CF/wKiom1lnRMvBUTeBAAMJ1phhSIM475.jpg "style=" float : none; "title=" image011.jpg "alt=" wkiom1lnrmvbutebaamj1phhsim475.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRMzzaljoAAMZa1_qBIk875.jpg "style=" float : none; "title=" image012.jpg "alt=" wkiol1lnrmzzaljoaamza1_qbik875.jpg "/>
2 , compile and install the Apache (www) server, start the httpd server, and make sure you have access to the test Page.
If you are cloning a system, you will need to add a few additional steps before performing the following steps:
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M00/9B/CF/wKiom1lnRM2zQsneAACQopgjZis236.jpg "style=" float : none; "title=" image013.jpg "alt=" wkiom1lnrm2zqsneaacqopgjzis236.jpg "/>
Remove the hwaddr and UUID in the two lines, and then reboot restart the System.
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRM2xrKfXAAEbVafsjCA888.jpg "style=" float : none; "title=" image014.jpg "alt=" wkiol1lnrm2xrkfxaaebvafsjca888.jpg "/>
If it is not a clone machine, the above steps can be ignored. Here's How to start our steps:
1 ) to determine the site name, IP address. first, Configure a permanent IP address for the Linux virtual machine
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M01/9B/CF/wKiom1lnRM3D5pJqAACVZrjxfNI542.jpg "style=" float : none; "title=" image015.jpg "alt=" wkiom1lnrm3d5pjqaacvzrjxfni542.jpg "/>
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRM6SyxrMAAFi4VJVd2U234.jpg "style=" float : none; "title=" image016.jpg "alt=" wkiol1lnrm6syxrmaafi4vjvd2u234.jpg "/>
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/CF/wKiom1lnRM6CEdRcAAFIIAln2NU095.jpg "style=" float : none; "title=" image017.jpg "alt=" wkiom1lnrm6cedrcaafiialn2nu095.jpg "/>
2 ) turn on 80-port and 53-port exceptions
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRM-zHzx0AAKzCgKtEsc739.jpg "style=" float : none; "title=" image018.jpg "alt=" wkiol1lnrm-zhzx0aakzcgktesc739.jpg "/>
3 ) Configure and start the HTTPD service
① Configuring HTTPD Services
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRM-SMLhPAACQXomQsYI766.jpg "style=" float : none; "title=" image019.jpg "alt=" wkiol1lnrm-smlhpaacqxomqsyi766.jpg "/>
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M00/9B/CF/wKiom1lnRNHwrk3OAARaAwrX93c112.jpg "style=" float : none; "title=" image020.jpg "alt=" wkiom1lnrnhwrk3oaaraawrx93c112.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRNLiO1jwAAG9FoB2E40108.jpg "style=" float : none; "title=" image021.jpg "alt=" wkiol1lnrnlio1jwaag9fob2e40108.jpg "/>
② Start httpd Service
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/9B/CF/wKiom1lnRNOTnd5mAAIQ4N98bis686.jpg "style=" float : none; "title=" image022.jpg "alt=" wkiom1lnrnotnd5maaiq4n98bis686.jpg "/>
4 ) Deploy document content
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRNSh3SbMAAIDrODfPCs546.jpg "style=" float : none; "title=" image023.jpg "alt=" wkiol1lnrnsh3sbmaaidrodfpcs546.jpg "/>
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M01/9B/CF/wKiom1lnRNWwo1ouAAEfUR0jrTw800.jpg "style=" float : none; "title=" image024.jpg "alt=" wkiom1lnrnwwo1ouaaefur0jrtw800.jpg "/>
5 ) Install the DNS server
① first uninstall the original disk inserted in the virtual machine (small tip: first switch to "/", and then execute two times umount/dev/cdrom command can be uninstalled cleanly.) )
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRNWD5hycAAF1nlE2szI956.jpg "style=" float : none; "title=" image025.jpg "alt=" wkiol1lnrnwd5hycaaf1nle2szi956.jpg "/>
② insert Linux6.5 corresponding system CD and mount, (before mounting, There is a small trick, right-click on the small icon disc 650) this.width=650; "src=" https://s5.51cto.com/wyfs02/ M02/9b/cf/wkiom1lnrnbyrpjraaaj1s3gvzc564.jpg "style=" float:none; "title=" image026.jpg "alt=" Wkiom1lnrnbyrpjraaaj1s3gvzc564.jpg "/>
, select disconnect, and then right-click the small icon disc again, tap Connect. )
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRNfiR9suAAI_ZvDlGBM523.jpg "style=" float : none; "title=" image027.jpg "alt=" wkiol1lnrnfir9suaai_zvdlgbm523.jpg "/>
③ Configuring the master configuration file
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRNfClnkvAACUWTCtBrU914.jpg "style=" float : none; "title=" image028.jpg "alt=" wkiol1lnrnfclnkvaacuwtctbru914.jpg "/>
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRNeR35ObAAFg3Y16eqE676.jpg "style=" float : none; "title=" image029.jpg "alt=" wkiol1lnrner35obaafg3y16eqe676.jpg "/>
④ Configuring the Zone data configuration file
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRNjzFj9rAACON1DKFbM396.jpg "style=" float : none; "title=" image030.jpg "alt=" wkiol1lnrnjzfj9raacon1dkfbm396.jpg "/>
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/D0/wKiom1lnRNiCuuJGAADD6lEjq50284.jpg "style=" float : none; "title=" image031.jpg "alt=" wkiom1lnrnicuujgaadd6lejq50284.jpg "/>
⑤ turn on DNS service named
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRNjz6wQ0AACLjdkrOw0234.jpg "style=" float : none; "title=" image032.jpg "alt=" wkiol1lnrnjz6wq0aacljdkrow0234.jpg "/>
5 ) Client access to the www.accp.com test (do not forget that the DNS of the client points to the IP of the DNS server)
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRyOjUY7GAAKLz0mGYgw750.jpg "style=" float : none; "title=" image033.jpg "alt=" wkiol1lnryojuy7gaaklz0mgygw750.jpg "/>
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/D0/wKiom1lnRyTw-7xyAACtK-nmKLQ709.jpg "style=" float : none; "title=" image034.jpg "alt=" wkiom1lnrytw-7xyaactk-nmklq709.jpg "/>
6 ) View the Web Site's access status
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRyTAksifAAF6P3SoKqU611.jpg "style=" float : none; "title=" image035.jpg "alt=" wkiol1lnrytaksifaaf6p3sokqu611.jpg "/>
3 , install the Awstats package and complete the appropriate configuration, and set the access page for awb.html to access the Awstats log Analytics Web Page.
1 Replace the previously used disc, re-mount, install Awstats
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/D0/wKiom1lnRyWxB86hAAFSzsMdVYo929.jpg "style=" float : none; "title=" image036.jpg "alt=" wkiom1lnrywxb86haafszsmdvyo929.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRyaBKDFaAAJTy2rnYBw103.jpg "style=" float : none; "title=" image037.jpg "alt=" wkiol1lnryabkdfaaajty2rnybw103.jpg "/>
2) Create a profile for the site you want to count (that is, which site you decide to do statistics On)
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/9B/D0/wKiom1lnRyfwAhgeAAGyF1w3ZCg832.jpg "style=" float : none; "title=" image038.jpg "alt=" wkiom1lnryfwahgeaagyf1w3zcg832.jpg "/>
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRyizXRJRAAK3GoKON0U677.jpg "style=" float : none; "title=" image039.jpg "alt=" wkiol1lnryizxrjraak3gokon0u677.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRyiymmijAACq25d0yjI400.jpg "style=" float : none; "title=" image040.jpg "alt=" wkiol1lnryiymmijaacq25d0yji400.jpg "/>
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M01/9B/D0/wKiom1lnRynCvphxAAFtVKMQGU4355.jpg "style=" float : none; "title=" image041.jpg "alt=" wkiom1lnryncvphxaaftvkmqgu4355.jpg "/>
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M02/9B/D0/wKiom1lnRyrj2OJ2AACi6SD3GyI365.jpg "style=" float : none; "title=" image042.jpg "alt=" wkiom1lnryrj2oj2aaci6sd3gyi365.jpg "/>
All of the following carriage returns (total three Return)
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRyqR9eExAABlVComkN8720.jpg "style=" float : none; "title=" image043.jpg "alt=" wkiol1lnryqr9eexaablvcomkn8720.jpg "/>
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRyqzXxRwAAGesB9AM94133.jpg "style=" float : none; "title=" image044.jpg "alt=" wkiol1lnryqzxxrwaagesb9am94133.jpg "/>
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M00/9B/D0/wKiom1lnRyvxapEZAADwkwyPr9o598.jpg "style=" float : none; "title=" image045.jpg "alt=" wkiom1lnryvxapezaadwkwypr9o598.jpg "/>
3 ) Modify the site statistics Profile (that is, The object that generates the statistics for the Site's log files)
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRy3AJJ-uAACEOPz1WG0895.jpg "style=" float : none; "title=" image046.jpg "alt=" wkiol1lnry3ajj-uaaceopz1wg0895.jpg "/>
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M01/9B/D0/wKiom1lnRy7BFmTzAAG4YVyNzDo581.jpg "style=" float : none; "title=" image047.jpg "alt=" wkiom1lnry7bfmtzaag4yvynzdo581.jpg "/>
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M02/9B/D0/wKiom1lnRy7T222JAAEVKBBuy_M999.jpg "style=" float : none; "title=" image048.jpg "alt=" wkiom1lnry7t222jaaevkbbuy_m999.jpg "/>
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRy_jwUUwAADPlC18MD8212.jpg "style=" float : none; "title=" image049.jpg "alt=" wkiol1lnry_jwuuwaadplc18md8212.jpg "/>
Where logfile is used to specify the log path, the actual location of the Web log file should be set, the dirdata is used to specify the data directory, you can use the default value, but you need to create the specified directory (this directory is the location of the statistical results Data)
4 perform log analysis and set cron Scheduled Tasks
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M00/9B/D0/wKiom1lnRzDSClgWAALjG2w2DUQ002.jpg "style=" float : none; "title=" image050.jpg "alt=" wkiom1lnrzdsclgwaaljg2w2duq002.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/9B/CF/wKioL1lnRzCyUJ8cAADVW62PW0U458.jpg "style=" float : none; "title=" image051.jpg "alt=" wkiol1lnrzcyuj8caadvw62pw0u458.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/D0/wKiom1lnRzHCd1GxAAG_2fCqEf4223.jpg "style=" float : none; "title=" image052.jpg "alt=" wkiom1lnrzhcd1gxaag_2fcqef4223.jpg "/>
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRzGyDZu6AAEqSKTuGTQ976.jpg "style=" float : none; "title=" image053.jpg "alt=" wkiol1lnrzgydzu6aaeqsktugtq976.jpg "/>
4 , the content of the log Analysis webpage can be accessed by http://www.accp.com/awb.html from the Client.
1 )
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/D0/wKiom1lnRzKzWyjPAAJkrzwSPyk625.jpg "style=" float : none; "title=" image054.jpg "alt=" wkiom1lnrzkzwyjpaajkrzwspyk625.jpg "/>
2 The page does not have access to the records, so refresh several times www.google.com, after the refresh is complete again
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M01/9B/CF/wKioL1lnRzPBfo9EAAIfv9MQm84167.jpg "style=" float : none; "title=" image055.jpg "alt=" wkiol1lnrzpbfo9eaaifv9mqm84167.jpg "/>
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/D0/wKiom1lnRzSyP-3UAAIGqYj7ejQ333.jpg "style=" float : none; "title=" image056.jpg "alt=" wkiom1lnrzsyp-3uaaigqyj7ejq333.jpg "/>
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M02/9B/CF/wKioL1lnRzWBHoI1AAJlh9Laqro095.jpg "style=" float : none; "title=" image057.jpg "alt=" wkiol1lnrzwbhoi1aajlh9laqro095.jpg "/>
Pull down to see the Visitor's IP address Record.
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M01/9B/CF/wKioL1lnR-ai1uwLAACACh-GawQ317.jpg "title=" Image058.jpg "alt=" wkiol1lnr-ai1uwlaacach-gawq317.jpg "/>
This article is from the IT technical assistant blog, so be sure to keep this source http://zpf666.blog.51cto.com/11248677/1947288
Web site Service (i)