![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术知识记录
匆匆8811222
这个作者很懒,什么都没留下…
展开
-
配置开机时将CentOS网口设置成promisc模式
一、描述 在重启centos系统后,让网口自动为promisc模式二、方法 编辑/etc/rc.local文件[root@localhost etc]# cat rc.local #!/bin/sh## This script will be executed *after* all the other init scripts.原创 2015-01-24 14:08:15 · 1147 阅读 · 0 评论 -
在PC机上运行脚本访问httpd服务器
一、使用的工具: 安装这个Git-1.8.3-preview20130601.exe工具。这个工具有一个可以执行脚本的bash工具,可以运行各种命令写成的脚本。 二、脚本的例子:#! /bin/bashwhile((1))do curl http://10.8.1.34/test/1.txt > 1.html#rm 1.html原创 2015-01-24 14:13:28 · 302 阅读 · 0 评论 -
在centos上安装http服务器
一、安装方法 yum install httpd二、启动http服务器 service httpd start 三、文件放在http服务器的目录。 /var/www/html/可以在html目录下建一个目录,比如test。例子:[root@localhost html]# pwd/var/www/html[root@loc原创 2015-01-24 14:13:11 · 428 阅读 · 0 评论