摘要: Centos7使用的是firewalld作为防火墙,而不是iptables了 在root权限下: 查看防火墙状态 有两种方法 : 方式1、 firewall-cmd --state 现在处于打开状态。 方式2、 systemctl status firewalld active,处于打开状态。 关闭 阅读全文
posted @ 2021-11-04 00:19 neozheng 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 项目结构: # 文件Tree project -/bin -/pkg -/src -main.go -/test -test1.go -test2.go main.go package main import ( "fmt" "./test" ) func main() { fmt.Print("t 阅读全文
posted @ 2021-11-04 00:12 neozheng 阅读(481) 评论(0) 推荐(0) 编辑