摘要:
转载自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 阅读全文
摘要:
tcpdump命令是Linux提供的一个非常强大的抓包工具,熟练使用它,对我们排查网络问题非常有用。如果在机器上还没有安装该工具,则可以使用如下命令安装: yum install tcpdump sudo apt install tcpdump #装不了请bing或google搜索一下 tcpdum 阅读全文
摘要:
#!/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 阅读全文
摘要:
给服务器 8000端口设置并发量大于10的进行拒绝 iptables -I INPUT -p tcp --dport 8000-m connlimit --connlimit-above 10 -j REJECT 阅读全文
摘要:
[转载]https://www.linuxidc.com/Linux/2018-11/155466.htm 阅读全文
摘要:
修改默认配置 使用vim /etc/netplan/00-installer-config.yaml 命令进行编辑网络配置,编辑完毕后退出即可,vim分为命令模式和编辑默认,保存并退出:按键盘上esc键即可进入命令模式然后输入“:”,接着输入x然后按下enter即保存并退出。进入编辑模式的方式:按下 阅读全文
摘要:
ubuntu amd64 srs下载编译 srs官网:https://github.com/ossrs/srs 码云地址 这个下载的快一些 获取srs源码 git clone https://gitee.com/winlinvip/srs.oschina.git cd srs.oschina #使⽤ 阅读全文
摘要:
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 阅读全文
摘要:
main.sh #!/bin/sh CDIR=`pwd` INSTALLDIR=$CDIR/IVFireService if [ -d "$INSTALLDIR" ]; then echo "${INSTALLDIR} is exists" cd "$INSTALLDIR" echo "cd ${I 阅读全文