![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
chenglaoshi
这个作者很懒,什么都没留下…
展开
-
根据时间段查询log日志,拆分日志等
示例一: 日志格式: wechat_Log:[2014-09-17 09:09:22] WARN JSONObject:446 - Tried to assign property wechat_Log:[2014-09-17 09:09:22] WARN JSONObject:446 - Tried to assign property wechat_Log:[2014-09-17 ...2014-12-23 09:02:48 · 974 阅读 · 0 评论 -
RedHat 6 下配置网卡IP地址,Virtual Linux下配置网卡IP
经常用到,自己Mark一下,顺带给需要的人参考。 1、配置文件修改 $ vi /etc/sysconfig/network-scripts/ifcfg-eth0 内容: [code="java"] DEVICE="eth0" HWADDR="08:00:27:7C:D1:95" NM_CONTROLLED="yes" ONBOOT="yes" IPADDR="192.16.2015-01-29 11:46:01 · 148 阅读 · 0 评论 -
Ubuntu安装Apache
1、下载Apache的源码包httpd-2.2.27.tar.gz; 2、Ubuntu Server没有带gcc和make,需要自己安装: root@ubuntu:#sudo apt-get install make root@ubuntu:#sudo apt-get install gcc 提示:请确保可以上网 3、root@ubuntu:#./configure; 4、ro...原创 2014-03-30 13:01:05 · 105 阅读 · 0 评论