maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="D:/work/apache-tomcat-7.0.52-ssl/key/server.jks" keystorePass="123456"...
分类:
其他好文 时间:
2014-08-31 23:02:32
阅读次数:
300
转发的http://blog.csdn.net/macrossdzh/article/details/5691924很透彻啊,学习了一、什么是SSHSSH是英文Secure Shell的简写形式。通过使用SSH,你可以把所有传输的数据进行加密,这样"中间人"这种攻击方式就不可能实现了,而且也能够防止...
分类:
其他好文 时间:
2014-08-30 21:43:30
阅读次数:
317
OnMasterserver:1.disableselinuxandiptablesserviceiptablesstopchkconfigiptablesoff;chkconfigip6tablesoffsetenforce0vi/etc/sysconfig/selinuxSELINUX=disabled2.yum-yinstallmysql-serverservicemysqlstart;chkconfigmysqldonmysql_secure_installation3.vi/etc/my.cnf[m..
分类:
数据库 时间:
2014-08-30 02:26:39
阅读次数:
343
一、自由软件基金会的呼吁上周,2012年将近结束的时候,自由软件基金会(FSF)发出呼吁,要求人们继续支持反Secure Boot垄断,希望签名者能达到5万人(目前是4万)。我觉得,这个呼吁很重要。如果我们不支持,未来就无法自由地使用硬件、安装自己想要的软件。这绝非危言耸听。而且,由于这个事件直接与...
分类:
移动开发 时间:
2014-08-29 22:35:58
阅读次数:
353
所谓的外部存储External Storage就是将数据文件保存在SD卡上。
1.但是在保存数据时需要先对SD卡的状态进行判断。
使用Environment.getExternalStorageState()可以SD卡的运行状态
分别有一下的状态
MEDIA_UNKNOWN, MEDIA_REMOVED, MEDIA_UNMOUNTED, MEDIA_CHECKING, MEDIA_NOF...
分类:
移动开发 时间:
2014-08-29 18:20:48
阅读次数:
265
修改my.cnf[mysqld]后加入default-storage-engine=InnoDB后否启动mysql时会遇到下述错误:[ERROR]Plugin‘InnoDB‘initfunctionreturnederror.[ERROR]Plugin‘InnoDB‘registrationasaSTORAGEENGINEfailed.[ERROR]Unknown/unsupportedtabletype:InnoDB[ERROR]Aborting删除mysql,da..
分类:
数据库 时间:
2014-08-29 16:14:58
阅读次数:
334
amazon s3 全称为 亚马逊简易存储服务(Amazon Simple Storage Service) 简单的说就是个网上存文件的服务器,可以把自己文件放上去,然后通过它开放的api来进行管理。官方网站是http://aws.amazon.com/cn/s3/在s3上面有一个bucket,我的...
分类:
编程语言 时间:
2014-08-29 12:39:47
阅读次数:
272
链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4611
题意:给一个N*N个点的矩阵(N
思路:题里给的很明白,就是列一个每个点的边的矩阵,然后求子矩阵的行列式就可以了,因为N只有6,所以打表就可以了。
打表代码:
#incl...
分类:
其他好文 时间:
2014-08-28 17:01:00
阅读次数:
350
Call openFileOutput() with
the name of the file and the operating mode. This returns a FileOutputStream.通过 openFileOutput()建立FileoutputStream对象Write to the file with write().创建Write对象并进行数据读写操作Close ...
分类:
移动开发 时间:
2014-08-28 16:16:29
阅读次数:
328
在android中有五种保存数据的方法,分别是
Shared Preferences
Store private primitive data in key-value pairs.
对应属性的键值对属性文件存储
Internal Storage
Store private data on the device memory.
设备内存存储
External Storage
Store public data on the shared external storage.
外部存储器存储,如内存卡
SQLi...
分类:
移动开发 时间:
2014-08-27 23:31:38
阅读次数:
447