比windows下真是方便很多,爱上ubuntu1:首先安装apache:打开终端(ctrl+Alt+t),输入命令:sudo
apt-get install apache2即可安装,安装完后,打开浏览器,在地址栏输入:localhost或者http://127.0.0.1看到It
works,表示...
分类:
数据库 时间:
2014-05-20 02:24:54
阅读次数:
394
环境: "Ubuntu 13.10" 安装: apt-get install munin
munin-nodeapt-get install apache2配置:1. vim /etc/munin/munin.conf dbdir
/var/lib/muninhtmldir /var/c...
分类:
其他好文 时间:
2014-05-16 00:05:58
阅读次数:
455
HADOOP HA配置
hadoop2.x的ha配置,此文档中描述有hdfs与yarn的ha配置。
此文档的假定条件是zk已经安装并配置完成,其实也没什么安装的。
hdfs ha配置
首先,先配置core-site.xml配置文件:
在老版本中使用mr1时,还可能使用fs.default.name来进行配置
fs.defaultFS
此处配置的mycluster目前还没...
分类:
其他好文 时间:
2014-05-15 23:40:10
阅读次数:
705
项目所使用的数据库通过备份还原来的,导致日志文件很大,占用了很大的空间,在网上搜索了日志收缩的信息,整理了下。--清空日志DUMP TRANSACTION
EWABOQDB WITH NO_LOG--截断事务日志BACKUP LOG EWABOQDB WITH NO_LOG--收缩日志右键要收缩.....
分类:
数据库 时间:
2014-05-15 22:33:22
阅读次数:
524
Memory management1.listvmastatic void
mtest_dump_vma_list(void){ struct task_struct *task = current; //get the
task_struct of the current process stru...
分类:
系统相关 时间:
2014-05-15 22:29:30
阅读次数:
555
这个配置只能用来使用最基本的spring
bean的使用。只需要这些包(MAVEN的POM.XML文件): org.springframework spring-core 4.0.0.RELEASE
org.springframework spring-context 4.0.0.RELEASE.....
分类:
编程语言 时间:
2014-05-15 22:13:51
阅读次数:
355
最近看国外同行的技术博客, 看到一篇有关"javascript小测试"的博文, 很有意思,
其中每个题目短小精悍, 却能很好的考察对 Core Javascript的掌握深度.如果你感兴趣,可以点击JavaScript Quiz查看原文,
为了做个记录, 我准备在下文罗列出这些题目, 并给出解释, ...
分类:
Web程序 时间:
2014-05-15 21:43:24
阅读次数:
411
用pigz代替gzipBy yejr on 03 十二月
2012pig是个啥东东?官网:http://zlib.net/pigz一句话简介:A parallel implementation of gzip for
modernmulti-processor, multi-core machine...
分类:
其他好文 时间:
2014-05-15 17:16:05
阅读次数:
375
第一步vim/etc/sysctl.conf
net.ipv4.tcp_keepalive_time=1800
net.ipv4.tcp_keepalive_probes=5
net.ipv4.tcp_keepalive_intvl=15
net.core.rmem_max=167772160
net.core.wmem_max=167772160
net.ipv4.tcp_rmem=409687380167772160
net.ipv4.tcp_wmem=409665536167772160
net...
分类:
其他好文 时间:
2014-05-15 12:32:43
阅读次数:
248
How to use DISM to install a hotfix from within
WindowsJeff Hughes (CORE)15 Feb 2011 10:10 AM22Hello, my name is Emmers Presson.
I am a Support Escala...