
Linux 系统运维
juneman
爱技术
展开
-
UBUNTU 13.04 升级到13.10 Filesystem check or mount failed
尝试如下命令: mount -o remount,rw / dpkg --configure -a mount -o remount,ro / sync reboot 重启即可。原创 2013-10-23 10:35:52 · 1927 阅读 · 6 评论 -
shell下时间处理data命令详解
http://hi.baidu.com/linuxpf/item/13c7edfbee98845cc9f337e9 date -d now +%s #时间转成时间戳 date -d '1970-01-01 1251734400 sec utc' +%Y/%m/%d/\ %T #时间戳转成时间 date -d "1970-01-01 UTC $tim seconds转载 2013-11-05 13:55:35 · 2391 阅读 · 0 评论 -
关于内核转储的设置方法(coredump)
http://blog.youkuaiyun.com/wj_j2ee/article/details/7161586 1. 内核转储作用 (1) 内核转储的最大好处是能够保存问题发生时的状态。 (2) 只要有可执行文件和内核转储,就可以知道进程当时的状态。 (3) 只要获取内核转储,那么即使没有复现环境,也能调试。 2. 启用内核转储 1.1转载 2013-12-11 09:52:48 · 2513 阅读 · 0 评论 -
How to turn off checksum offload?
How to turn off checksum offload? Under linux, check the status of offload parameters for the interface (eth0): ethtool -k eth0 Then turn off tx-checksumming by: ethtool -K eth0 tx off原创 2014-04-23 10:56:11 · 986 阅读 · 0 评论 -
手把手教你在Ubuntu上安装Apache、MySql和PHP
http://developer.51cto.com/art/201110/299303.htm 1:首先安装apache:打开终端(ctrl+Alt+t), 输入命令:sudo apt-get install apache2即可安装, 安装完后,打开浏览器,在地址栏输入:localhost或者http://127.0.0.1 看到It works,表示安装成功转载 2014-06-19 09:24:51 · 656 阅读 · 0 评论 -
sed直接替换文件内容
http://blog.youkuaiyun.com/tsuliuchao/article/details/8064702 sed -i "s/zhangsan/lisi/g" `grep zhangsan -rl /modules` 解释一下: -i 表示inplace edit,就地修改文件 -r 表示搜索子目录 -l 表示输出匹配的文件名 这个命令组合很强大,要注意备份文转载 2015-06-05 10:15:26 · 800 阅读 · 1 评论