摘要:
1.查看防火墙的状态:service iptables status eg:防火墙打开的状态: eg:防火墙关闭的状态: 2.永久性生效,重启后不会复原(此操作做完需重启才能改变防火墙状态) 开启:chkconfig iptables on 关闭:chkconfig iptables off 3.即 阅读全文
摘要:
1.创建角色(create_role.sql) drop role if exists "kq_acs";create role "kq_acs" login encrypted password 'kq_acs' inherit connection limit -1; 2.创建数据库(creat 阅读全文
摘要:
一、 Date 和 SimpleDateFormat类表示时间 在程序开发中,经常需要处理日期和时间的相关数据,此时我们可以使用 java.util 包中的 Date 类。这个类最主要的作用就是获取当前时间,我们来看下 Date 类的使用: 使用 Date 类的默认无参构造方法创建出的对象就代表当前 阅读全文