1.1 每天晚上12点打包备份/etc目录到/tmp下面 脚本 1.命令[root@oldboyedu50-lnb ~]# tar zcf /tmp/etc-`date +%F`.tar.gz /etc/tar: Removing leading `/' from member names[root@oldboyedu50-lnb ~]# ll /tmp/etc-2
分类:
其他好文 时间:
2018-08-09 17:27:36
阅读次数:
288
因为我再spring 中使用了AOP进行事务管理,有如下配置 对于get find load 开头和其他所有方法都设置了只读,不能修改、删除、插入 操作。而我执行的方法名以Insert 开头大小写不一致导致当前事务是只读的,执行插入操作就会报以上错误。 ...
分类:
其他好文 时间:
2018-08-01 16:06:18
阅读次数:
116
package cn.ubibi.wsblog.utils; import java.io.UnsupportedEncodingException; import java.math.BigInteger; public class Base58 { private static final ch... ...
分类:
编程语言 时间:
2018-07-29 22:31:25
阅读次数:
260
题目描述 Bessie is leading the cows in an attempt to escape! To do this, the cows are sending secret binary messages to each other. Ever the clever counte ...
分类:
其他好文 时间:
2018-07-26 23:42:50
阅读次数:
176
# For advice on how to change settings please see# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html [mysqld]## Remove leading ...
分类:
其他好文 时间:
2018-07-20 11:27:11
阅读次数:
150
Description Computing the exact number of ways that N things can be taken M at a time can be a great challenge when N and/or M become very large. Chal ...
分类:
其他好文 时间:
2018-07-16 11:09:50
阅读次数:
118
tar命令可以为linux的文件和目录创建档案。利用tar,可以为某一特定文件创建档案(备份文件),也可以在档案中改变文件,或者向档案中加入新的文件。tar最初被用来在磁带上创建档案,现在,用户可以在任何设备上创建档案。利用tar命令,可以把一大堆的文件和目录全部打包成一个文件,这对于备份文件或将几 ...
分类:
其他好文 时间:
2018-06-30 21:58:06
阅读次数:
148
今天自己编译了spice-protocol spice-gtk spice qemu,然后想用virsh去创建一个虚机: # virsh define demo.xml 定义域 demo(从 demo.xml) # virsh start demo cannot access storage fil ...
分类:
数据库 时间:
2018-06-26 23:50:55
阅读次数:
736
视图 视图是一个虚拟表(非真实存在),其本质是【根据SQL语句获取动态的数据集,并为其命名】,用户使用时只需使用【名称】即可获取结果集,并可以将其当作表来使用。 临时表搜索 1、创建视图 2、删除视图 3、修改视图 4、使用视图 使用视图时,将其当作表进行操作即可,由于视图是虚拟表,所以无法使用其对 ...
分类:
数据库 时间:
2018-06-15 10:51:14
阅读次数:
191