I. Homework (exercise) content:
1, build lamp environment, and practice based on DNS to do domain-based virtual host.
650) this.width=650; "title=" phpmyadmin.jpg "style=" Float:none "src=" http://s4.51cto.com/wyfs02/M02/7D/E5/ Wkiom1byphntbzndaafyt9hti-a951.jpg "alt=" Wkiom1byphntbzndaafyt9hti-a951.jpg "/>
650) this.width=650; "title=" pmafish.jpg "style=" Float:none "src=" http://s1.51cto.com/wyfs02/M00/7D/E5/ Wkiom1byphma2lcsaabqaied9_k987.jpg "alt=" Wkiom1byphma2lcsaabqaied9_k987.jpg "/>
650) this.width=650; "title=" mysqlip.jpg "src=" http://s3.51cto.com/wyfs02/M02/7D/E2/ Wkiol1bypulcijaeaaasjkjei1u997.jpg "alt=" Wkiol1bypulcijaeaaasjkjei1u997.jpg "/>
Web server is at 192.168.7.67
650) this.width=650; "Width=" 483 "height=" 113 "title=" dnspma.jpg "style=" Width:393px;height:114px;float:none; "src=" Http://s5.51cto.com/wyfs02/M02/7D/E2/wKioL1byQ0Wwygc6AABTVzEXgv0166.jpg "alt=" Wkiol1byq0wwygc6aabtvzexgv0166.jpg "/>
650) this.width=650; "width=" 513 "height=" "title=" Elinkdns.jpg "style=" Width:480px;height:92px;float:none; "src=" Http://s2.51cto.com/wyfs02/M00/7D/E2/wKioL1byQ0XDHljPAAAw6y8XYJM126.jpg "alt=" Wkiol1byq0xdhljpaaaw6y8xyjm126.jpg "/>
2, based on the environment in the 1 topic, re-establish a similar environment, requirements:
A) automate synchronization of Web service file updates to another machine
b) database for master-slave replication
c) Web site source code backup and MySQL backup via shell script, backup strategy including full-volume, incremental, differential backup
3, the use of pressure measurement tools (ab/webbench, etc.) to achieve the page pressure measurement, the need to adjust the Apache operating mode to compare the final performance.
4, based on the 3-step process of the pressure measurement, through the script to achieve iptables automatically determine the source IP, and to make IP access denied, requiring access times of 1 seconds more than 10 times rejected.
5, based on the environment in 2, through the LVS to achieve load balancing, requires the use of Dr Mode, and can be part of the principle of their own understanding of the summary.
Linux OPS Practice-March 4, 2016-March 19 course Assignments