Tag Archives: Linux

Linux查看及修改时区

查看当前时区:  date –R
修改时区: 调整时区到东八区 – 北京时间  [root@localhost ~]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime cp: overwrite `/etc

More…

Posted in Linux | Tagged , | 1 Comment

Linux: Copy/Rename/Move/Remove Directory – 复制/重命名/移动/删除目录

1. Copy 复制:
[root@ip-10-* webapps]# cp -r sourceDir/ /targetDir/  //将被复制到targetDir文件夹下 The SourceDir will be found under "targetDir"
2

More…

Posted in Linux | Tagged , , | 1 Comment

Vi Reference Card 常用命令表

仅罗列我个人常用的VI命令. 很少, 很简单.

Posted in Linux | Tagged , , | 2 Comments

Linux下设置Java Environment(环境变量)

今天在安装好Java后, 设置了环境变量, 并且source了profile一次, java -version, 测试成功; 后来用putty在外面用的时候发现java变量未生效. vi profile, 文件中变量已设置. 后来才知道每次Source /etc/profile, 只是在当前Te

More…

Posted in Java, Linux | Tagged , , | Leave a comment

Linux下Apache安装及配置

Apache yum安装, httpd.conf配置, Service操作
image

More…

Posted in Linux | Tagged , , , | 1 Comment
  • Page 1 of 2
  • 1
  • 2
  • >