一、安装前准备
CentOS6.5(64bit)
hadoop-2.6.0-64.tar.gz
jdk-7u67-linux-x64.tar.gz
二、安装
1、关闭防火墙和SELinux
service iptables status (查看)
service iptables stop
chkconfig iptables off (永久关闭)
vi /et...
分类:
其他好文 时间:
2015-05-27 22:51:08
阅读次数:
159
1最小化安装(自定义选包:最基本为:Bash;Compatibilltylibrarles;DebuggingTools;Developmenttools)最小化启动:foroldboyin`chkconfig--list|grep"3:on"|awk‘{print$1}‘|grep-vE"crond|network|sshd|rsyslog|xinetd"`;dochkconfig$oldboyoff;done2ulimit:ulimit-n如果系统进..
分类:
系统相关 时间:
2015-05-27 01:05:47
阅读次数:
323
准备linux环境【java、ip、hostname、hosts、iptables、chkconfig、ssh】
下载稳定版2.6.0
修改etc/hadoop目录下的配置文件core-site.xml、hdfs-site.xml、yarn-site.xml、mapred-site.xml
启动
验证
下面主要配置文件:
core-site.xml:
fs.defau...
分类:
其他好文 时间:
2015-05-23 18:29:52
阅读次数:
215
Corosync+Pacemaker+Ldirectord+Lvs+Httpd一、硬件环境4台虚拟机在同一网段操作系统:centos6.3关闭系统不必要的服务脚本#!/bin/bash
services=`chkconfig--list|cut-f1|cut-d""-f1`
forserin$services
do
if["$ser"=="network"]||["$ser"=="rsyslog"]||["$ser"=="sshd"]||["$s..
分类:
Web程序 时间:
2015-05-21 12:56:10
阅读次数:
319
Heartbeat+Ldirectord+LVS+httpd集群部署一、硬件环境4台虚拟机在同一网段操作系统:centos6.3关闭系统不必要的服务脚本#!/bin/bash
services=`chkconfig--list|cut-f1|cut-d""-f1`
forserin$services
do
if["$ser"=="network"]||["$ser"=="rsyslog"]||["$ser"=="sshd"]||["$se..
分类:
Web程序 时间:
2015-05-20 09:59:01
阅读次数:
253
VMware克隆CentOS后无法启动网卡的解决(1)确保udev-post启动#chkconfig--listudev-postudev-post0:关闭1:启用2:启用3:启用4:启用5:启用6:关闭#/etc/init.d/udev-poststart(2)把网卡配置全删除(删除70-persistent-net.rules文件),重启让系统重新分配#cd/etc/udev/rules.d..
分类:
系统相关 时间:
2015-05-19 07:34:54
阅读次数:
253
Linux启动ftp服务器530 Permission denied解决方法重新在虚拟机下安装了linux。现在我想启动linux自带的ftp服务器:#service vsftpd start 。如果想linux启动是自动启动ftp服务器:#chkconfig vsftpd on 。运行putty,...
分类:
系统相关 时间:
2015-05-18 12:45:32
阅读次数:
159
Linux运维第二阶段(十一)服务管理服务管理:RPM包默认安装的服务(独立的服务、基于xinetd服务)、源码包安装的服务。》独立的服务:启动:绝对路径,例:#/etc/rc.d/init.d/httpdstart;service命令启动#servicehttpdstart。自启动:#chkconfig--level2345httpdon|off;修改..
分类:
系统相关 时间:
2015-05-17 02:18:38
阅读次数:
206
#!/bin/bash#nginxStartupscriptfortheNginxHTTPServer#thisscriptcreateitbyjackbillowat2007.10.15.#itisv.0.0.2version.#ifyoufindanyerrorsonthisscripts,pleasecontactjackbillow.#andsendmailtojackbillowatgmaildotcom.#chkconfig:-8515#description:Nginxisahigh-perfo..
分类:
其他好文 时间:
2015-05-17 02:09:29
阅读次数:
142
1.1 设置ip地址
执行命令 service network restart
验证: ifconfig
1.2 关闭防火墙
执行命令 service iptables stop
验证: service iptables status
1.3 关闭防火墙的自动运行
执行命令 chkconfig ipt...
分类:
其他好文 时间:
2015-05-16 18:26:28
阅读次数:
140