ubuntu 保存防火墙命令,iptables方式:1、iptables 配置好策略2、iptables-save > /etc/network/iptables.up.rules ,配置的策略保存到文件3、iptables-apply,然后按 y;;;或者 iptables-restore < / ...
分类:
系统相关 时间:
2016-04-13 11:09:27
阅读次数:
222
错误: dbbackup failed: Unable to restore database 'ppt'Not valid backupThe database was backed up on a server running version 8.00.2039. That version is ...
分类:
数据库 时间:
2016-04-12 01:47:10
阅读次数:
417
规则文件(配置文件):/etc/sysconfig/iptables保存启用中的规则于配置文件中:1、#iptables-save>/etc/sysconfig/iptables2、#serviceiptablessave生效规则文件(配置文件)中的规则1、#iptables-restore</etc/sysconfig/iptables2、#serviceiptablesrestart执行的操作..
分类:
其他好文 时间:
2016-04-08 15:34:51
阅读次数:
168
Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example Given "25525511135", return [ "255. ...
分类:
其他好文 时间:
2016-04-05 07:07:57
阅读次数:
144
群里一哥们面试的时候被问到canvas.restore()的作用是什么,与之常常被一起问到的是canvas.save()的作用是什么。最近在上海开发航运项目,忙里偷闲总结一下两个方法的用法,以后也将在博客中记录面试中可能会被问到的一些其他问题。Canvas相当于一块画布,该类中常用的方法如下:
drawRect(RectF rect, Paint paint)
drawPath(Path path,...
分类:
移动开发 时间:
2016-03-08 16:43:46
阅读次数:
204
Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given "25525511135", return ["
分类:
其他好文 时间:
2016-03-02 15:05:51
阅读次数:
144
背景:数据库服务器更换,1、数据库迁移(BACKUP/RESTORE);2、数据库登录名/用户迁移(注意孤立用户);3、作业迁移数据库迁移,备份数据库、拷贝备份文件到新服务器,还原数据库 --还原示例 USE [master] RESTORE DATABASE [DBA_Monitor] FROM
分类:
其他好文 时间:
2016-02-15 21:18:49
阅读次数:
269
前不久因工作需要使用RMAN异机恢复,很基础也很具有代表性和普遍性,希望对需要的人有所帮助。 具体过程如下: 先拷贝原库的口令文件和参数文件到备库。 然后使用如下脚本对原库进行备份: run { allocate channel d1 type disk; allocate channel d2 t
分类:
其他好文 时间:
2016-02-15 09:24:40
阅读次数:
387