linux
iteye_12188
这个作者很懒,什么都没留下…
展开
-
linux取bios时间的另一种方式
一般在linux下系统的时间与bios不一样,因为我们使用的时间时区不是GMT 0时区。所以可以考虑把系统的时区选成0时区的国家。但是要注意英国的时间实行"夏令时"。 这样做有一个问题:就是java环境取的日期默认不是+8区的java.util.Date()。所以在生产环境尽量不要这样做。一个变通的方法是在java代码中对日期进行特殊处理: Date d = new Date(); ...原创 2014-06-10 22:17:24 · 524 阅读 · 0 评论 -
升级bash
升级bash 源文: http://ixdba.blog.51cto.com/2895551/1557983 centos:(最终解决方案) yum clean all yum makecache yum -y update bash ubuntu:(最终解决方案) apt-get update apt-get -y install --only-upgra...原创 2014-10-08 09:01:45 · 117 阅读 · 0 评论 -
了解Debian 系统[转帖]
原地址:http://www.linuxsir.org/bbs/thread3324.html 了解 Debian 系统 一、什么是 GNU/Linux Distribution ( GNU/Linux 套件 ) ? What is Debian?很多人可能已经照着笔者介绍的步骤安装完基本的 Debian 系统了,但遇到这样问题,在您心里头是否仍存在同样的问号?本篇文章重点虽不在...原创 2014-09-28 09:50:57 · 133 阅读 · 0 评论 -
记事本
更新ssl补丁 sudo aptitude safe-upgrade openssl -y原创 2014-09-26 09:19:34 · 74 阅读 · 0 评论 -
在linux上部署tomcat
一:方式一 1:/etc/rc.d/rc.local中加入: #the after lines for marry JAVA_HOME=/usr/java/jdk1.5.0_22 export JAVA_HOME #JRE_HOME=/usr/java/jdk1.5.0_22/jre #export JRE_HOME CLASSPATH=.:$JAVA_HOME/lib:$JAVA_...原创 2014-09-15 09:54:56 · 69 阅读 · 0 评论 -
debian Iceweasel 安装flash插件
2014-08-31 1:http://get.adobe.com/flashplayer/?no_redirect 下载install_flash_player_11_linux.x86_64.tar.gz 2:解压 tar zxvf ./install_flash_player_11_linux.x86_64.tar.gz 3:cp -r usr/* /usr 4:cp lib...原创 2014-08-30 08:26:30 · 123 阅读 · 0 评论 -
debian软件包
1:apt-get install fcitx 2:查看fcitx安装到什么位置了 dpkg -L fcitx原创 2014-07-23 21:12:48 · 83 阅读 · 0 评论 -
linux忘记root密码的解决思路
1:使用同版本的linux启动系统,chroot到忘记密码的根分区passwd改密码 2:grub启动菜单中加入init=/bin/bash进入系统,不过这时挂载的是只读分区。根据系统的分区情况进一步判断. 3: grub启动菜单中加入 single以单用户进入系统. 4:用以上方法mount到根分区把/etc/passwd中的root密码去除 例如: root:x:0:0:root:/...原创 2014-07-22 16:14:59 · 64 阅读 · 0 评论 -
常用linux命令
1:查看linux的发行版 cat /etc/issue 2:查询程序端口连接情况 netstat -luptn 3:nohup 启动程序 nohup tomcat.sh > nohup.out & 4: chmod 设置文件或目录的sticky属性 chmod 1777 /tmp ls -l drwxrwxrwt 12 root root 4096 07-16...原创 2014-06-24 15:47:58 · 62 阅读 · 0 评论 -
sshd error no buffer space available
1:putty连接 linux 服务器 报错 no buffer space available 因为服务器资源不足。原创 2014-10-10 17:51:10 · 1543 阅读 · 1 评论