www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

1,Centos6.4  yum lamp
#!/bin/sh
<<cat#echo Ruiy!#Create by Ruiy on 2015-03-27----cat yum install httpd httpd-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml  mysql mysql-server mysql-devel -y
/etc/init.d/httpd start
/etc/init.d/mysqld start

warning: here-document at line 2 delimited by end-of-file (wanted `cat')

2,直接访问google的ip地址

<!DOCTYPE HTML>
<html><head><style>
a{
    width:100px;height:40px;
    line-height:40px;padding:10px;
float:left;
}
</style>
</head><body>
<script>
var ip="64.233.160.163";
var arr=ip.split(",")
for( var i=0;i<arr.length;i++){ document.write("<a href='http://"+arr[i]+"' >Google</a>");}
</script></body></html>

posted on 2015-03-27 15:51  秦瑞It行程实录  阅读(205)  评论(0编辑  收藏  举报
www.cnblogs.com/ruiyqinrui