2017年1月3日
摘要: 语法是: iptables -D chain rulenum [options] 其中: chain 是链的意思,就是INPUT FORWARD 之类的定语 rulenum 是该条规则的编号。从1开始。可以使用iptables -L INPUT --line-numbers列出指定的链的规则的编号来 阅读全文
posted @ 2017-01-03 23:52 ChaseForFuture 阅读(1697) 评论(0) 推荐(0)
摘要: 问题出现:ueditor不存在远程和本地仓库,项目的pom.xml中无法添加依赖,导致无法使用mvn打包发布 解决办法:将ueditor-1.1.2.jar添加到本地仓库 办法1.使用命令行,这个没就不使了,入手maven时就讲过。 办法2:使用eclipse的import,这种方式简单易用,很推荐 阅读全文
posted @ 2017-01-03 23:11 ChaseForFuture 阅读(927) 评论(0) 推荐(0)
摘要: Centos使用chkconfig命令来更新(启动或停止)和查询系统服务的运行级信息。 谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。 使用语法: chkconfig [--add][--del][--list][系统服务] 或 chkconfig [--leve 阅读全文
posted @ 2017-01-03 13:57 ChaseForFuture 阅读(192) 评论(0) 推荐(0)
摘要: show databases show tables information_schema show tables 语句的输出不包含temporary表 查看服务器所有数据库 >show databases 查看给定数据库的 create database语句 >show create databa 阅读全文
posted @ 2017-01-03 13:55 ChaseForFuture 阅读(166) 评论(0) 推荐(0)
摘要: use db_name select * from db_name.tbl_name 显示所有数据库 mysql> select schema_name from information_schema.schemata; + + | schema_name | + + | information_s 阅读全文
posted @ 2017-01-03 13:47 ChaseForFuture 阅读(184) 评论(0) 推荐(0)
摘要: 主键 create table feng( teamno int not null, playerno int not null, division char(6) not null, primary key(teamno) ) teamno int not null, playerno int n 阅读全文
posted @ 2017-01-03 13:45 ChaseForFuture 阅读(270) 评论(0) 推荐(0)
摘要: 用户管理 mysql>use mysql; 查看 mysql> select host,user,password from user ; 创建用户 mysql> create user zx_root@'%' IDENTIFIED by 'xxxxx'; -- identified by 会将纯文 阅读全文
posted @ 2017-01-03 13:44 ChaseForFuture 阅读(161) 评论(0) 推荐(0)