在.bash_profile中增加一行exportJAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8就可以了。
分类:
编程语言 时间:
2014-05-21 02:14:53
阅读次数:
243
AIX访问LinuxNFS共享错误案例系统环境:操作系统:RedHatEL4、AIX5.3错误现象:Linux作为NFSServer,AIXhost作为NFSClient;[root@aix211/]#mount/backupmount:givingupon:bksrv:/backup/cuug11/storage21vmount:NotownerNFSServer配置:[root@rhel152~]#cat/etc/hosts192.1688..
分类:
系统相关 时间:
2014-05-21 02:05:11
阅读次数:
397
客户报不能挂载存储,系统异常。登陆系统,尝试手动mount分区,报失败。进入挂载点,尝试写入一个文件,报磁盘空间不足,首先怀疑是系统磁盘空间满:$df
Filesystem1K-blocksUsedAvailableUse%Mountedon
/dev/xvda33030016104077802262223632%/
tmpfs36874803687480%/lib/init..
分类:
系统相关 时间:
2014-05-21 01:16:21
阅读次数:
401
1.resetsave删除以前的配置2.sysname 配置交换机的名字3.interface接口配置IP地址4.info-centersynchronous日志同步5.添加用户与密码(指定类型,级别,认证方式)6.配置auxvty6.划分vlan7.将端口添加到vlan中8.iphttpenable开户web管理9.ipmacbindIP地址Mac地址端口vlanIP、MAC..
分类:
其他好文 时间:
2014-05-21 00:57:22
阅读次数:
382
调试环境:CentOS-6.4-x86_64nagios-4.0.4nagios-plugin-2.0按照官方文档配置完成后,apache正常工作,但nagios的监控页面都报错无法显示,经查为SELinux启动的原因,关闭命令为#getenforce#setenforce0重启nagios服务后,web显示正常,但该方法只是暂时强制SELinux关闭。一劳..
分类:
移动开发 时间:
2014-05-21 00:54:44
阅读次数:
307
centos系统修改密码root:在执行passwdroot后报错:修改root密码passwd:Authenticationtokenmanipulationerror操作方法:ls-l/etc/passwd和ls-l/etc/shadow查看到两个文件均有写权限。chattr-i/etc/passwd和chattr-i/etc/shadow减掉这两个文件的。。这个时候执行passwdroot还是..
分类:
其他好文 时间:
2014-05-20 23:40:00
阅读次数:
423
免费ARP报文是一种特殊的ARP报文,该报文中携带的发送端IP地址和目标IP地址都是本机IP地址,报文源MAC地址是本机MAC地址,报文的目的MAC地址是广播地址。作用:1、防止仿冒网关的ARP攻击如果攻击者仿冒网关发送免费ARP报文,就可以欺骗同网段内的其它主机,使得被欺骗的主机访..
分类:
其他好文 时间:
2014-05-20 23:38:42
阅读次数:
1099
1、卸载原有存储umount/home/weishaostore/2、查看iSCSIsession信息iscsiadm-msession3、设置InitiatorNamevim/etc/iscsi/initiatorname.iscsiInitiatorName=iqn.2014-05.com.ruijie.whistle:whistle-100.e7839d5100InitiatorName=iqn.2014-05.com.ruijie.whistle:whistle-150...
分类:
系统相关 时间:
2014-05-20 22:22:40
阅读次数:
492
一、安装apache、subversion服务#yuminstallhttpdsubversionsubversion-develmod_dav_svn-y二、配置apache服务器#sed‘{/^$/d;/#/d}‘/etc/httpd/conf/httpd.conf
ServerTokensOS
ServerRoot"/etc/httpd"
PidFilerun/httpd.pid
Timeout60
KeepAliveOff
MaxKeepAliveRequests100
K..
分类:
其他好文 时间:
2014-05-20 21:09:14
阅读次数:
553
1删除rhel自带的yum包:rpm-aq|grepyum|xargsrpm-e--nodeps2安装yum:[china~/yum_64#]rpm-ivhpython-iniparse-0.3.1-2.1.el6.noarch.rpm
warning:python-iniparse-0.3.1-2.1.el6.noarch.rpm:HeaderV3RSA/SHA256Signature,keyIDc105b9de:NOKEY
Preparing...###################..
分类:
其他好文 时间:
2014-05-20 20:01:32
阅读次数:
886