先查看系统时区date -R如果不是伟大的+8区cp
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime覆盖吧,无需重启
分类:
其他好文 时间:
2014-05-12 12:30:08
阅读次数:
274
1.增加桌面图标user/share/applicants/复制到桌面(后续更新)2.安装sudo
apt-get install xxx卸载sudo apt-get autoremove xxx
分类:
其他好文 时间:
2014-05-10 05:11:30
阅读次数:
281
Yum安装tomcat6问题接着上次,我们用yumintalltomcat6安装了tomcat6和java,期待小猫的出现;好了,我们打开浏览器,在其中键入http://127.0.0.1:8080,结果我们会发现是个空白页面(不是连接失败的页面).这是为什么呢?很是郁闷,用httpd测试一切正常。我们来分析问题所在,首..
分类:
其他好文 时间:
2014-05-09 14:33:47
阅读次数:
363
Spring基于注解TestContext 测试框架使用详解,代码下载地址:http://www.zuidaima.com/share/1775574182939648.htm...
分类:
编程语言 时间:
2014-05-09 14:06:35
阅读次数:
524
$sudocp
*.ttf/usr/share/fonts/truetype/$sudofc-cache-f-v
分类:
其他好文 时间:
2014-05-08 17:46:12
阅读次数:
250
使用shell判断系统时区if[[!`grep-aCST-8/etc/localtime`]];then
rm-rf/etc/localtime
ln-s/usr/share/zoneinfo/Asia/Shanghai/etc/localtime
fiNginx日志切割脚本#!/bin/bash
logs_path="/alidata/server/log/nginx/"
mv${logs_path}access.log${logs_path}access_$(date-d"ye..
分类:
系统相关 时间:
2014-05-08 16:41:18
阅读次数:
403
案例4视图viwer拓扑图:1.查看帮助[root@centos~]#vim/usr/share/doc/bind-9.8.2/sample/etc/named.conf[root@host2~]#cd/var/named/chroot/etc2.[root@centosetc]#vimnamed.conf添加视图:36view"lan-view"37{38zone"."IN{39typehint;40file"named.ca";41};42zone"ab.com"{43t..
分类:
系统相关 时间:
2014-05-07 15:33:16
阅读次数:
618
Spring整合JUnit框架进行单元测试代码使用详解,代码下载地址:http://www.zuidaima.com/share/1775457756285952.htm...
分类:
编程语言 时间:
2014-05-07 12:32:30
阅读次数:
374
一直想学习IOS手机开发,今天开始涉入该领域。好吧,先从基础开始——搭建开发环境。
系统: Ubuntu 12.04 LTS 64 位
环境搭建步骤:
1、安装编译器
sudo apt-get install gnustep*
2、配置环境变量
# set GNUstep
GNUSTEP_ROOT=/usr/share/GNUstep/Makefiles
export GNUSTE...
分类:
其他好文 时间:
2014-05-07 03:41:47
阅读次数:
356
#find/usr-namepxelinux.0#find/usr/share-namepxe*#find/usr-namepxelinux.?#tail/etc/passwd#find/-userapache#find/-usernamed#df-i#find/-inum1016273--execrm-fr{}\;#find/-size+204800-execrm-fr{}\;#find/etc-nameinit*-okls-l{}\;#find/-size204800#find/-size+204800(..
分类:
其他好文 时间:
2014-05-06 16:44:34
阅读次数:
258