摘要: 1、指令 vi /etc/sysconfig/iptables 添加以下内容和要开放的端口 # Firewall configuration written by system-config-firewall# Manual customization of this file is not rec 阅读全文
posted @ 2018-03-07 17:30 roundlight 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 详细阐述流媒体服务器搭建过程! 阅读全文
posted @ 2018-03-02 11:34 roundlight 阅读(40160) 评论(0) 推荐(5) 编辑
摘要: 首先去apache下载一个tomcat,下载解压版的,比较方便 首先去apache下载一个tomcat,下载解压版的,比较方便 把这个tomcat(a56爆大奖在线娱乐下载的是tomcat7版本),解压两次,为了方便显示,a56爆大奖在线娱乐把解压出来的tomcat重命名成tomcat71和tomcat72 把这个tomcat(a56爆大奖在线娱乐下载 阅读全文
posted @ 2018-01-31 11:37 roundlight 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1.查询数据库中所有表的数据量,并排序 USE information_schema; SELECT table_name,table_rows FROM TABLES WHERE table_schema = "oms" ORDER BY table_rows DESC; 2.快速清除某张表数据 阅读全文
posted @ 2018-01-26 09:55 roundlight 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 一、创建数据库(默认字符集和排序规则) (1)创建数据库 [sql] view plain copy mysql> CREATE DATABASE my_db1; Query OK, 1 row affected (0.00 sec) (2)因为my_db1已经存在,再次创建会报错 [sql] vi 阅读全文
posted @ 2018-01-26 09:47 roundlight 阅读(12295) 评论(0) 推荐(0) 编辑
摘要: a56爆大奖在线娱乐们常用的加载context文件的方法有如下三个: 1、FileSystemXmlApplicationContext 这个方法是从文件绝对路径加载配置文件,例如: ApplicationContext ctx = new FileSystemXmlApplicationContext( "G:/T 阅读全文
posted @ 2017-12-19 15:51 roundlight 阅读(1692) 评论(0) 推荐(0) 编辑
摘要: Mybatis框架,由Dao层向xml配置文件传递参数。 对于配置文件的使用和把握意义还是很大的。 阅读全文
posted @ 2017-12-12 10:47 roundlight 阅读(3436) 评论(0) 推荐(0) 编辑
摘要: 正则表达式 1、字符匹配 1.1 普通字符 大多数字母和字符一般都会和自身匹配 如正则表达式 test会和字符串 "test"完全匹配 1.2 元字符 . ^ $ * + ? {} [ ] \ | () 1) [ ] --常用来表达一个字符集 --元字符在字符集中不起作用 -- 补集匹配不在区间范围 阅读全文
posted @ 2017-11-07 11:39 roundlight 阅读(371) 评论(0) 推荐(0) 编辑
摘要: #引入库 threading import threading #定义函数 def fun_timer(): print('hello timer') #打印输出 global timer #定义变量 timer = threading.Timer(60,fun_timer) #60秒调用一次函数 阅读全文
posted @ 2017-11-03 13:53 roundlight 阅读(34826) 评论(1) 推荐(0) 编辑
摘要: python课程1、Python 安装程序下载 “python-2.7.5.amd64.msi” download:https://www.python.org/downloads/windows/ 2、Python 基本框架 输入、处理、输出 str1 = raw_input("plz input 阅读全文
posted @ 2017-11-01 18:23 roundlight 阅读(408) 评论(0) 推荐(0) 编辑