# WELCOME TO SQUID 3.0.STABLE26# ----------------------------## This is the default Squid configuration file. You may wish# to look at the Squid home page (http://www.squid-cache.org/)# for the FAQ and other documentation.## The def
在新安装的linux系统中,防火墙默认是被禁掉的,一般也没有配置过任何防火墙的策略,所有不存在/etc/sysconfig/iptables文件. 解决办法: 1.键入以下命令,新建文件 2.复制以下代码,此代码默认开启80,3306,22端口 # Firewall configuration written by system-config-firewall# # Manual customization of this file is not recommended.*filter:INPU
Properties properties = new Properties(); File file = new File("src/main/resources/generator.xml");InputStream in = new FileInputStream(file);properties.loadFromXML(in);