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