`
zyz611
  • 浏览: 95604 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论
文章列表
service rcxdm restart Xmanager 1. 编辑 '/etc/opt/kde3/share/config/kdm/kdmrc' file in config section '[XDMCP]' 更改"Enable=false" to "Enable=true",将port=177的屏蔽去掉。 2. 编辑 '/etc/sysconfig/displaymanager' 更改'DISPLAYMANAGER_REMOTE_ACCESS="no"' to 'DISPLAYMANAGER_REMOTE_ACCESS= ...

msyql 10061解决办法

[mysqld] # The TCP/IP Port the MySQL Server will listen on port=4444 bind-address = 0.0.0.0
scriptHome=`pwd` legoPlatHome=$scriptHome/LEGO_V100R001 echo  $scriptHome > scriptHome echo  $legoPlatHome > legoPlatHome log=$scriptHome/changelog debug() {     echo $1 >> $log } showMessage() {     echo $1     debug $1 } checkFile() {     if [ $# != 1 ]     then        debug "p ...

ant 循环

    博客分类:
  • java
<taskdef name="foreach" classname="net.sf.antcontrib.logic.ForEach" classpath="F:\Program Files\apache-ant-1.7.1\lib\ant-contrib-1.0b3.jar"/> <foreach list="${moduleList}" param="fileName" delimiter="," target="packageEventJar ...

classpath

    博客分类:
  • java
java -cp ssh.jar;x11.jar;. X11Forwarding

sax xpath

    博客分类:
  • java
SAXReader saxReader = new SAXReader();         Document read = saxReader.read(new File("d:\\struts.xml"));                 List<Node> elements = read.selectNodes("//struts/include/@file");                 for (Node e : elements)         {             System.out.println(e.g ...

mysql IPV4

bind-address=0.0.0.0
HISTFILESIZE=2000 HISTSIZE=2000 HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S " export HISTTIMEFORMAT

数据库驱动大全

1. MySQL(http://www.mysql.com) mysql-connector-java-2.0.14-bin.jar ;   Class.forName( "org.gjt.mm.mysql.Driver" );   cn = DriverManager.getConnection( "jdbc:mysql://MyDbComputerNameOrIP:3306/myDatabaseName", sUsr, sPwd ); 2. PostgreSQL(http://www.de.postgresql.org) pgjdbc2.jar ...

mysql 循环

create procedure pro5()   begin    declare i int default 10004;     while i<20000 do     set i=i+1;     select CONCAT('370',i);       INSERT INTO Alert    (`ENTITY`, `DISCRIMINATOR`, `ID`, `GROUPNAME`, `CATEGORY`, `SEVERITY`, `PREVIOUSSEVERITY`, `CREATETIME`, `MODTIME`, `MMESSAGE`, `SOURCE`, `WHO` ...

java 生成证书

    博客分类:
  • java
keytool -genkey -alias tomcat -keyalg RSA -keystore Tomcat6/certs/legokeystore -dname "CN=$serverip, OU=$serverip, O=$serverip, L=SH, ST=SH, C =CN" -keypass legopwd -storepass legopwd -validity 32485

xpath dom 解析

    博客分类:
  • java
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();          DocumentBuilder builder = factory.newDocumentBuilder();          FileInputStream file = new FileInputStream(legoInstalledFile);          Document doc = builder.parse(file);                            XPathFactory ...

windows常用命令

1、netstat 本机网络状态统计 netstat -anop tcp netstat -anop udp netstat -anop  2、tasklist 进程查看器 tasklist | findstr PID  3、tskill 杀死进程 tskill <pid>|<process name>  4、sc 系统服务管理 sc delete serviceName 

分析日志

debug() {     debug="true"     if [ $debug = "true" ]     then         echo $1     fi; } getYesterday() {     yesterday=     yesterday=`date -d last-day +"%Y/%m/%d"`     debug $yesterday } getToday() {     today=     today=`date +"%Y/%m/%d"`     debug $to ...
./mysql -u root -e "update mysql.user set password=password ('CloudStor@123')where User='root';grant all privileges on *.* to 'root'@'%' identified by 'CloudStor@123' with grant option;flush privileges" mysqld   skip-grant-tables
Global site tag (gtag.js) - Google Analytics