上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: 转载自https://www.cnblogs.com/EasonJim/p/9826681.html 1、在/etc/profile文件 2、在~/.bashrc 3、在~/.zshrc 4、在/etc/profile.d/文件夹下新建一个文件xxx.sh 删除代理 export -n http_p 阅读全文
posted @ 2021-12-01 10:47 simp00 阅读(839) 评论(0) 推荐(0) 编辑
摘要: tcpdump命令是Linux提供的一个非常强大的抓包工具,熟练使用它,对我们排查网络问题非常有用。如果在机器上还没有安装该工具,则可以使用如下命令安装: yum install tcpdump sudo apt install tcpdump #装不了请bing或google搜索一下 tcpdum 阅读全文
posted @ 2021-11-29 09:58 simp00 阅读(439) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash i=0 while true do sleep 0.2s echo '0.2s' # rm -rf /tmp/rfsw/coco//*.fifo* i=`expr $i + 1` if [ $i == 30 ] then echo $i # log -a -z rru.zip 阅读全文
posted @ 2021-11-18 17:06 simp00 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 给服务器 8000端口设置并发量大于10的进行拒绝 iptables -I INPUT -p tcp --dport 8000-m connlimit --connlimit-above 10 -j REJECT 阅读全文
posted @ 2021-11-18 15:58 simp00 阅读(79) 评论(0) 推荐(0) 编辑
摘要: [转载]https://www.linuxidc.com/Linux/2018-11/155466.htm 阅读全文
posted @ 2021-10-18 15:21 simp00 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 修改默认配置 使用vim /etc/netplan/00-installer-config.yaml 命令进行编辑网络配置,编辑完毕后退出即可,vim分为命令模式和编辑默认,保存并退出:按键盘上esc键即可进入命令模式然后输入“:”,接着输入x然后按下enter即保存并退出。进入编辑模式的方式:按下 阅读全文
posted @ 2021-10-15 17:36 simp00 阅读(1297) 评论(0) 推荐(0) 编辑
摘要: ubuntu amd64 srs下载编译 srs官网:https://github.com/ossrs/srs 码云地址 这个下载的快一些 获取srs源码 git clone https://gitee.com/winlinvip/srs.oschina.git cd srs.oschina #使⽤ 阅读全文
posted @ 2021-10-15 14:53 simp00 阅读(367) 评论(0) 推荐(0) 编辑
摘要: git config --global http.proxy http://192.168.1.2:7890 git config --global https.proxy https://192.168.1.2:7890 git config --global --unset http.proxy 阅读全文
posted @ 2021-09-15 15:45 simp00 阅读(374) 评论(0) 推荐(0) 编辑
摘要: main.sh #!/bin/sh CDIR=`pwd` INSTALLDIR=$CDIR/IVFireService if [ -d "$INSTALLDIR" ]; then echo "${INSTALLDIR} is exists" cd "$INSTALLDIR" echo "cd ${I 阅读全文
posted @ 2021-09-15 11:21 simp00 阅读(336) 评论(0) 推荐(0) 编辑
摘要: function changeColor(){ var color="#f00|bai#0f0|#00f|#880|#808|#088|green|blue|gray"; color=color.split("|"); var random_int = parseInt(Math.random()* 阅读全文
posted @ 2021-09-06 19:17 simp00 阅读(127) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页