本文介绍在centos7上面通过hadoop2.4.1源码构建hadoop distribution 版本,即hadoop的运行版本。 为何要自己building,而不用Apache的distribution 【bin】版本,因为hadoop涉及到Linux系统的底层实现,如: hado...
                            
                            
                                分类:
其他好文   时间:
2014-07-30 23:41:25   
                                阅读次数:
284
                             
                    
                        
                            
                            
                                上一个帖子介绍了heartbeat的单独使用,今天我们首先来介绍lvs的单独使用,最后将两者结合 起来。提供一个全面的服务。
1.LVS的三种负载均衡技术:   
        非常幸运的是kernel 2.6x 已经内建了LVS模块,而且在redhat6版本中也有LVS的安装包ipvsadm。
        
        下面我们对LVS的三种负载均衡技术进行比较:
...
                            
                            
                                分类:
系统相关   时间:
2014-07-30 12:24:23   
                                阅读次数:
264
                             
                    
                        
                            
                            
                                安装和配置Mariadb看来以后不得不使用Mariadb数据库了,尽早的熟悉;[1]InstallMariadbforepelyum-yinstallmariadb-serverInstalled:mariadb-server.x86_641:5.5.37-1.el7_0[2]StartMariadb&开机启动[root@mariadb~]#systemctlstartmariadb
[root@mariadb~]#systemctlenabl..
                            
                            
                                分类:
数据库   时间:
2014-07-29 16:05:39   
                                阅读次数:
358
                             
                    
                        
                            
                            
                                使用光盘镜像作为软件yum源:[1]上传centos7光盘镜像到/usr/local/src目录下;(工具Xftp)[2]挂载系统文件mkdir/media/cdrom#习惯用这个目录名称了;
cd/usr/local/src
ls
CentOS-7.0-1406-x86_64-DVD.iso
#mount-tiso9660-oloop/usr/local/src/CentOS-7.0-1406-x86_64-DVD.i..
                            
                            
                                分类:
其他好文   时间:
2014-07-29 16:03:09   
                                阅读次数:
446
                             
                    
                        
                            
                            
                                DR模式和NAT模式有点小区别。首先看下拓扑图吧下面的lo请替换成lo:0这次可以用指网关的,因为模拟的实验他们都是在一个网段内realserver11、在配置文件中添加vim/etc/sysctl.confnet.ipv4.conf.all.arp_announce=2net.ipv4.conf.lo.arp_announce=2net.ipv4.conf.all.arp_ignor..
                            
                            
                                分类:
其他好文   时间:
2014-07-29 15:59:09   
                                阅读次数:
243
                             
                    
                        
                            
                            
                                [1]InstallHttpdforCentos7-media#yum--enablerepo=centos7-media-yinstallhttpd
Installed:
httpd.x86_640:2.4.6-18.el7.centos[2]starthttpd,开机启动#systemctlstarthttpd.service
#systemctlenablehttpd.service
ln-s‘/usr/lib/systemd/system/httpd.service‘‘/etc/systemd..
                            
                            
                                分类:
其他好文   时间:
2014-07-29 15:58:49   
                                阅读次数:
367
                             
                    
                        
                            
                            
                                安装httpd:http://kernal.blog.51cto.com/8136890/1531545httpd支持php安装配置:[1]Installphp#yum-yinstallphpphp-mbstringphp-pear#vi/etc/php.ini878date.timezone="Asia/Shanghai"#设置时区[2]CreateTestPage#vi/var/www/html/index.php
<html>
<body>
<d..
                            
                            
                                分类:
Web程序   时间:
2014-07-29 15:55:49   
                                阅读次数:
323
                             
                    
                        
                            
                            
                                [1]Defaultnoinstallifconfigcommand,ifyouwanttouseifconfigneedinstallnet-toolsyum-yinstallnet-tools[root@mariadb~]#ifconfig
eth0:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu1500
inet192.168.1.123netmask255.255.255.0broadcast192.168.1.255
inet6fe80::21..
                            
                            
                                分类:
其他好文   时间:
2014-07-29 15:53:19   
                                阅读次数:
324
                             
                    
                        
                            
                            
                                先介绍一下CentOS7下系统的服务启动关闭的变化service服务名start/stop/status==systemctlstart/stop/status服务名chkconfig--list==systemctllist-units-typechkconfig服务名on/off==systemctlenable/disable服务名(具体的级别看配置文件)2.要将某个服务添加为系统服务(以ngin..
                            
                            
                                分类:
其他好文   时间:
2014-07-29 15:48:29   
                                阅读次数:
182
                             
                    
                        
                            
                            
                                redhat提供了一个redhat-upgrade-tool的升级工具;[1]配置软件源#vim/etc/yum.repos.d/upgrade.repo
[upgrade]
name=upgrade
baseurl=
enable=1
gpgcheck=0[2]安装软件工具yum-yinstallpreupgrade-assistant-contentsredhat-upgrade-toolpreupgrade-assistant[3]升级前检查潜在..
                            
                            
                                分类:
其他好文   时间:
2014-07-29 15:24:50   
                                阅读次数:
278