ollbackset interfaceset routing-options static更改初始密码set system root-authentication plain-text-password 回车New password:retypenewpassword:set system log...
分类:
其他好文 时间:
2014-06-28 18:41:10
阅读次数:
1528
rpm -ivh jdk.rpm安装完毕后查看java版本 java -version安装完毕后倒入环境变量增加JAVA_HOME环境变量[root@test src]# vi /etc/profile在最后面增加:#set java environmentexport CATALINA_HOMEe...
分类:
系统相关 时间:
2014-06-28 18:23:01
阅读次数:
270
Ubuntu Linux:1.root账号执行:apt-get install mysql-server2.设置远程连接:GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123' WITH GRANT OPTION;CentOS Li...
分类:
数据库 时间:
2014-06-28 18:04:16
阅读次数:
277
1.指定链接字符串编码: $mysql_server_name="localhost"; //数据库服务器名称 $mysql_username="root"; // 连接数据库用户名 $mysql_password="123456"; // 连接数据库密码 $mysql_database="Z...
分类:
Web程序 时间:
2014-06-21 07:22:22
阅读次数:
179
DOM4j读取XML文件(SAXReader)一、总结:Document document=new SAXReader.reader(“xml文路径/文件名xxx.xml”);//得到Document对象Element root = document.getRootElement()//获得根节点I...
分类:
其他好文 时间:
2014-06-20 22:50:21
阅读次数:
666
我有一个Hyper-V上的虚拟机, 在使用的过程中我给这个虚拟机创建了多个snapshots。 有一天我把整个的snapshots tree从root删掉了(delete snapshot with subtree), 然后我把虚拟机关机, 看到它在merge. 我期待着所有的avhd能够merge...
分类:
其他好文 时间:
2014-06-20 22:43:33
阅读次数:
284
/* $Id: dma.h,v 1.7 1992/12/14 00:29:34 root Exp root $* linux/include/asm/dma.h: Defines for using and allocating dma channels.* Written by Hennus Be...
分类:
其他好文 时间:
2014-06-20 21:27:59
阅读次数:
194
一,查看版本[root@host02 ~]# ssh -VOpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 表明该系统正在使用OpenSSHssh -V ssh: SSH Secure Shell 3.2.9.1 (non-commercial ve...
分类:
系统相关 时间:
2014-06-20 19:18:13
阅读次数:
396
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2014-06-20 15:30:19
阅读次数:
227
Centos下忘记mysql的root密码的解决方法一:(停掉正在运行的mysql)[root@NetDakVPS ~]# service mysqlstop 二:使用“--skip-grant-tables”参数重新启动mysql[root@NetDakVPS ~]# mysqld_safe --...
分类:
数据库 时间:
2014-06-20 15:11:00
阅读次数:
239