`
文章列表

linux下安装命令

1.检查我的操作系统版本: uname -m cat /etc/centos-release 2.首先在本地创建一个存放rpm包的目录,我这里选择直接在/下创建,你可以自定义: mkdir /yumload cd /yumload/ pwd 3.接下来把DVD中的Packages中的rpm包全部拷贝到/yumload: cp /mnt/cdrom/Packages/* ./ ll ./*.rpm | wc -l 可以查看此文件夹下多少个rpm包 4.如果安装createrepo命令 先查看有没有createrepo rpm包 ls | grep createrepo ...
  wget -help 可以查看wget 可以添加的参数。 wget -nH -m --ftp-user=* --ftp-password=* ftp://10.27.0.2/test/   把*后换ftp的用户和密码 --ftp-user=(输入ftp的用户名) --ftp-password=(输入ftp的密码)   如果执行不成功,可能是没有wget这个命令 查找安装wget工具包: ①查看wget是否安装:rpm -qa |grep wget ②如果没有安装,查找wget的rpm安装包:ls |grep wget ③安装wget工具包:rpm -ivh wge ...
1、在终端中输入:vi /etc/sysconfig/network-scripts/ifcfg-eth0 2、开始编辑,填写ip地址、子网掩码、网关、DNS等。其中“红框内的信息”是必须得有的   ONBOOT=yes //开机自启动 BOOTPROTO=static //静态IP DNS1=8.8.8.8  //DNS IPADDR=10.27.0.3  //IP地址 NETMASK=255.255.0.0  //子网掩码 GETWAY=10.27.0.1  //网关   保存完退出。 3、重启网络服务。service network restart或/etc/in ...
      建立maven项目后,pom.xml在显示红叉,鼠标放上去,显示Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3错误。       缺少maven-resources-plugin-2.4.3.jar或该文件下载的不正确,可到maven的本地jar包仓库,本地jar包仓库路径:\org\apache\maven\plugins\maven-resources-plugin\目录看看下载是否正确。        解决办法:        po ...
SEVERE: End event threw exception java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFilter at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:855) at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:201) at org.apache. ...
1、首先下载apache ant 下载页面:http://ant.apache.org/bindownload.cgi 2、把下载的压缩包解压到你的工作文件夹下,例:E:\开发文档\打包工具\apache-ant-1.9.4 3、配置环境变量:       (1)变量:ANT_HOME  值:E:\开发文档\打包工具\apache-ant-1.9.4            ANT_HOME变量的值就是解压ant的路径。       (2)在变量path下,添加%ANT_HOME%\bin 4、打开cmd窗口,输入ant,回车。 如果显示下面的字符串,配置正确。 C:\User ...

java Base64加密解密

    博客分类:
  • java
package test; import org.apache.axiom.om.util.Base64; public class Test{ public static void main(String[] args) {  String str = Base64.encode("test".getBytes());  System.out.println("加密后:"+str);  System.out.println("解密后:"+new String(Base64.decode("dGVzdA==" ...
没有加rst.next()。
方法: StringEscapeUtils.unescapeHtml 作用: html字符以不转义的形式显示。   方法: StringEscapeUtils.escapeHtml   作用: html字符以转义之后的字符显示。
s:property 标签有一个escape属性,把属性值设为false,就可以显示html的字符串。把html字符串嵌入到网页中。
The VMware vSphere Web Services SDK includes all the components necessary to work with the VMware vSphere API, including WSDL files, sample code, and libraries. The vSphere Web Services SDK facilitates development of client applications that target the VMware vSphere API. With the vSphere Web Servi ...
Global site tag (gtag.js) - Google Analytics