测试Apache服务器:重启apache: sudo /usr/local/apache/bin/apachectl restart 若出现错误: httpd: Could not reliably determine the server's fully qualified domain ...
分类:
其他好文 时间:
2014-07-31 12:34:06
阅读次数:
174
在linux环境编译应用程式或lib的source code时常常会出现如下的错误讯息:/usr/bin/ld: cannot find -lxxx这些讯息会随着编译不同类型的source code 而有不同的结果出来如:/usr/bin/ld: cannot find -lc/usr/bin/ld...
分类:
其他好文 时间:
2014-07-31 12:30:06
阅读次数:
161
1、下载JDK,这里用的是jdk-7u65-linux-x64.tar.gz,请到官网上下载。2、清除默认的JDK,yum remove java3、解压文件 tar -xzfjdk-7u65-linux-x64.tar.gz -C /usr/local/ mv jdk-1.7.6 jdk4、配.....
分类:
其他好文 时间:
2014-07-31 12:25:06
阅读次数:
243
环境:两台主机或虚拟机一台主机A做服务器Server,另一台主机B做客户端client。而且两台主机必须在同一网段,如vmware的虚拟vmnet4。主机A要求安装dhcp程序、tftp程序以及tftp-server程序,syslinux程序(需要syslinux程序的/usr/share/syslinux/pxelinux.0)httpd程序提供web..
分类:
其他好文 时间:
2014-07-31 09:59:06
阅读次数:
333
#InstallationinstructionsofNagiosonCentOS6.464bitAuthor:LarryZhaoQQ:920057952BLOG:larryzhao.blog.51cto.comE-mail:zhaolong0508@126.com#NTPServiceyuminstallntpservicentpdstartchkconfigntpdoncrontab-e*****/usr/sbin/ntpdatecn.pool.ntp.org#PacketsPreparenagios-3..
分类:
移动开发 时间:
2014-07-31 03:11:56
阅读次数:
398
最近发生了一次因为hdfs的坏块导致的hive计算问题,因此写了个监控脚本用来监控hdfs的坏块,脚本如下:#!/usr/bin/python
#-*-coding:utf8-*-
#editbyericni
#20140724
#monitorhdfscorrupt
importsys
importproperty
importsendmail
importre,os
reload(sys)
sys.setdefaulten..
分类:
其他好文 时间:
2014-07-31 03:11:06
阅读次数:
350
1mysql5.5.11编译安装1.1安装所需要系统库相关库文件gccgcc-c++gcc-g77autoconfautomakezlib*fiex*libxml*ncurses-devellibmcrypt*libtool-ltdl-devel*1.2创建mysql安装目录[root@localhostmysql-5.5.11]#mkdir-p/usr/local/mysql/1.3创建数据存放目录[root@localhostmysql-5.5..
分类:
数据库 时间:
2014-07-31 03:07:26
阅读次数:
344
1、下载JDK 8从http://www.oracle.com/technetwork/java/javasebusiness/downloads/选择下载JDK的最新版本 JDK 8。2、解压文件$ sudo mkdir /usr/lib/jvm$ sudo mv jdk-8u11-linux-x...
分类:
编程语言 时间:
2014-07-30 23:43:55
阅读次数:
259
etc/ld.so.conf: 这个文件记录了编译时使用的动态链接库的路径。 默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件 如果你安装了某些库,比如在安装gtk+-2.4.13时它会需要glib-2.0 >= 2.4.0,辛苦的...
分类:
其他好文 时间:
2014-07-30 21:03:24
阅读次数:
316
一.安装Maven ubuntu下,配置环境变量etc/profile文件 —— (1)使用gedit ?etc/profile可以编辑,直接打开为只读模式。 (2)配置MAVEN_HOME与PATH ???? #set java environment MAVEN_HOME=/usr/lib/jvm/...
分类:
其他好文 时间:
2014-07-30 21:00:24
阅读次数:
196