Last active
December 31, 2016 02:20
-
-
Save gyliu513/1873bc2a0bb1964cd76201340a205ecc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ELKF: http://www.linuxidc.com/Linux/2016-06/132616.htm | |
http://blog.csdn.net/hiyun9/article/details/51602428 | |
[root@kvm ~]# yum install httpd | |
[root@kvm ~]# echo "<html>10.0.0.137</html>" > /var/www/html/index.html | |
[root@lvs-backup ~]# yum install httpd | |
[root@lvs-backup~]# echo "<html>10.0.0.111</html>" > /var/www/html/index.html | |
2.看下效果: | |
[plain] view plain copy | |
[root@lvs-backup html]# curl 10.0.0.111 | |
<html> | |
10.0.0.111 | |
</html> | |
[root@lvs-backup html]# curl 10.0.0.137 | |
<html> | |
10.0.0.137 | |
</html> | |
##都成功了,我们进行下一步。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment