上一页 1 2 3 4 5 6 7 ··· 19 下一页

2020年10月23日

centos 更新时间

摘要: 一、查看系统时间 查看系统时间的命令: date二、查看硬件时间查看硬件时间的命令: hwclock三、时间服务器上的时间同步的方法 1.安装ntpdate工具 yum -y install ntp ntpdate 2.设置系统时间与网络时间同步 ntpdate cn.pool.ntp.org 3. 阅读全文

posted @ 2020-10-23 17:48 震撼起飞 阅读(1444) 评论(0) 推荐(0)

2020年9月10日

go 交叉编译跨平台

摘要: Golang 交叉编译 Mac 下编译 Linux 和 Windows 64位可执行程序 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build m 阅读全文

posted @ 2020-09-10 09:25 震撼起飞 阅读(182) 评论(0) 推荐(0)

2020年9月6日

ffmpeg安装

摘要: yum install epel-release -y yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm yum install ffmp 阅读全文

posted @ 2020-09-06 00:47 震撼起飞 阅读(194) 评论(0) 推荐(0)

2020年6月17日

批量打开文件夹下所有的指定文件(批处理)

摘要: @echo off forfiles /p "e:\xx" /m yyy*.* /s /c "cmd /c e:\xx\startone.bat @PATH" @echo off start %1 %1 timeout /t 1 批量杀掉进程 taskkill /F /IM yyyyyy.exe 阅读全文

posted @ 2020-06-17 23:16 震撼起飞 阅读(3324) 评论(0) 推荐(0)

2020年6月9日

端口流量统计

摘要: iptables -A OUTPUT -p tcp --sport 12345 iptables -A INPUT -p tcp --dport 12345 加入统计上传给用户的流量 和 收到用户的流量,然后就可以通过命令查看统计的流量 iptables -vnL 重置所有端口数据 iptables 阅读全文

posted @ 2020-06-09 20:54 震撼起飞 阅读(1187) 评论(0) 推荐(0)

2020年6月5日

关于 bind 和 dns(一)

摘要: 1、安装 yum install -y bind bind-utils 2、配置 1)/etc/named.conf 修改监听端口 listen-on port 53 { any; }; 2)/etc/named.rfc1912.zones 添加一个区域 zone "dns.xxxxxxx.com" 阅读全文

posted @ 2020-06-05 00:22 震撼起飞 阅读(285) 评论(0) 推荐(0)

2020年5月22日

关于使用 certbot 给网站增加 ssl

摘要: yum -y install yum-utils yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional yum install certbot python2-certb 阅读全文

posted @ 2020-05-22 01:27 震撼起飞 阅读(157) 评论(0) 推荐(0)

2020年4月19日

Macos下制作可启动的u盘(转)

摘要: Download the desired file Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight) Convert the .iso file to .img using the conve 阅读全文

posted @ 2020-04-19 00:28 震撼起飞 阅读(267) 评论(0) 推荐(0)

2020年3月27日

centos7 firewall 一些用法

摘要: [5]For exmaple, Configure that outgoing packets through the Server from Internal network(10.0.0.0/24) are allowed and forwarded to External side. # se 阅读全文

posted @ 2020-03-27 01:38 震撼起飞 阅读(350) 评论(0) 推荐(0)

2020年2月9日

关于 lede

摘要: http://firmware.koolshare.cn/LEDE_X64_fw867/ 下载最新版固件 使用 StarWind V2V Image Converter 转换为2个vmdk 文件,用于esxi 也可以下载 虚拟机转盘 文件夹下的文件,可直接上传虚拟机,ssh 登录 exsi ,找到文 阅读全文

posted @ 2020-02-09 21:35 震撼起飞 阅读(476) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 19 下一页

导航