摘要: 首先要说一下,Hadoop 2.x版本以后的改动,在这里帖一篇文章,觉得写的不错。 http://www.ibm.com/developerworks/cn/opensource/os-cn-hadoop-yarn/ 接下来,我们来搭建Hadoop单机版本,我下的版本是2.7.3,同样的我们还是下载 阅读全文
posted @ 2016-12-02 12:41 Yolandafans 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 【下载&安装】 https://flume.apache.org/download.html 其中的bin文件下载下来直接tar解压就可以使用的安装包,src是源码包,可供开发者进行二次开发。 【开发&文档】 使用者文档:https://flume.apache.org/FlumeUserGuide 阅读全文
posted @ 2016-12-02 11:31 Yolandafans 阅读(755) 评论(0) 推荐(0) 编辑
摘要: 准备两台机器,物理连通【master服务器】1.开启从服务器的连接权限mysql> grant replication slave on *.* to slaveuser@'192.168.1.120' identified by 'slaveuser';配置master my.cnf[mysqld... 阅读全文
posted @ 2014-11-01 18:13 Yolandafans 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1.yumyum -y install mysql-server mysql2.RPM安装http://dev.mysql.com/downloads/下载RPM包,请确认服务器版本,我的是红帽5.9,下载的是下面的版本,bundle是集合包MySQL-5.6.21-1.rhel5.x86_64.r... 阅读全文
posted @ 2014-10-18 13:54 Yolandafans 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 【转】http://blog.csdn.net/caoshuming_500/article/details/12256313文章说明了location中带有/和不带/的区别,描述的很清楚,也解决了实际的问题。 阅读全文
posted @ 2014-09-21 11:56 Yolandafans 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 【实验:按照下述要求安装一台Server】/boot 100M/ 10G/data 50G/var/ftp LVM 6G :/dev/vg_ftp/lv_ftpswap 2048M主机名:server.yimiao.comip:192.168.10.254网络设置为VMNET1关闭防火... 阅读全文
posted @ 2014-09-14 15:38 Yolandafans 阅读(661) 评论(0) 推荐(0) 编辑
摘要: SHH 配置文件/etc/shhd_config 服务端配置文件/etc/ssh_config 客户端配置文件[root@localhost ssh]# chkconfig --list sshdsshd 0:关闭 1:关闭 2:启用 3:启用 ... 阅读全文
posted @ 2014-09-14 12:13 Yolandafans 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1.tar -P是否保留根目录 -t查看压缩文件内容 -N 201401010备份日期以后[root@localhost /]# tar -zcPf /tar/data2.tar.gz /etc/*.conf[root@localhost /]# cd tar/[root@localhost t... 阅读全文
posted @ 2014-09-08 16:37 Yolandafans 阅读(349) 评论(0) 推荐(0) 编辑
摘要: [root@localhost ~]# ifconfigeth0 Link encap:Ethernet HWaddr 00:0C:29:78:F6:12 inet addr:172.17.4.128 Bcast:172.17.4.255 Mask:255.255.... 阅读全文
posted @ 2014-09-08 12:02 Yolandafans 阅读(273) 评论(0) 推荐(0) 编辑
摘要: $host = "iflytek.com";$user = 'yimiao@'.$host;//'用户名@域名';$pswd = "******";//1.用户登陆认证$conn = ldap_connect($host) or die( 'Could not connect!' );if($co... 阅读全文
posted @ 2014-08-19 17:34 Yolandafans 阅读(3552) 评论(0) 推荐(0) 编辑
摘要: 计划任务的授权1.at任务 /etc/at.allow /etc/at.deny2.crontab任务 /etc/cron.allow /etc/cron.deny【注:如果allow文件存在,则allow中的用户可以使用计划任务,allow文件不存在则去找deny文件,deny文件中的用户不可... 阅读全文
posted @ 2014-08-17 17:16 Yolandafans 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 一次性计划任务 at /etc/init.d/atd[root@localhost ~]# at 22:18at> /bin/ls /etc |wc -l > /tmp/yimiao_demo.txt #ctrl+d提交计划任务,执行的命令用绝对路径,避免产生错误,可用which查看at> job ... 阅读全文
posted @ 2014-08-17 14:30 Yolandafans 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.查看进程ps - processes snapshotps aueps -elf[root@localhost ~]# ps aueUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot ... 阅读全文
posted @ 2014-08-17 11:54 Yolandafans 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 启动的配置文件/etc/inittab,修改完配置文件以后 init q立即生效# Default runlevel. The runlevels used by RHS are:# 0 - halt (Do NOT set initdefault to this)# 1 - Single ... 阅读全文
posted @ 2014-08-10 17:02 Yolandafans 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 启动引导:1.主机加电自检,加载BIOS信息2.读取MBR的引导文件【grub lilo】3.引导linux内核4.运行第一个进程init pid=15.进入相应的运行级别【0-6】6.运行终端,输入用户名,密码 阅读全文
posted @ 2014-08-10 16:31 Yolandafans 阅读(143) 评论(0) 推荐(0) 编辑
摘要: RAID廉价冗余磁盘阵列 Redundant Arrays of Inexpensive Disks 不同级别的RAID功能、特性各不相同对比项RAID0RAID1RAID10RAID5磁盘数>=2>=2>=4>=3存储利用率 100% 50% 50% N/N-1 冗余校验盘 00... 阅读全文
posted @ 2014-08-10 13:56 Yolandafans 阅读(202) 评论(0) 推荐(0) 编辑
摘要: LVM逻辑卷机制 PV(Physical Volume 物理卷) - 物理分区或整个物理磁盘 - 由PE(Physical Extent,基本单元)租场 VG(Volume Group 卷组) - 一个或多个物理卷组成的逻辑整体 LV(logical Volume 逻辑卷) ... 阅读全文
posted @ 2014-08-03 10:31 Yolandafans 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 数据存储 MongoDb 针对大数据量、高并发、弱事务的互联网应用 MemCache 简单的key-value存储,读取内存,效率高 Redis 可存储list,持久化,内存读取效率高 Cassandra 分布式数据库,更好的扩展性,对大数据更好的支持 http://www.ibm... 阅读全文
posted @ 2014-07-14 09:34 Yolandafans 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 磁道:track扇区:sector磁头:head柱面:cylinder每个扇区,512字节每个磁道划分为63个扇区逻辑磁头(盘面)数设为255 一个柱面的大小 =255 * 63 * 512 = 8M硬盘或分区的容量=柱面大小 * 柱面数[root@localhost ~]# fdisk -l ... 阅读全文
posted @ 2014-07-13 14:36 Yolandafans 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 用户权限:drwxr-xr-x 4 root root 1024 06-22 17:36 boot #权限位 硬连接数 所属用户 所属组 大小 最后修改时间 文件/目录#r w x4 2 1用户权限位分为3段,分别对应USER GROUP OTHERrwxr-xr-x 755 默认... 阅读全文
posted @ 2014-06-29 13:15 Yolandafans 阅读(136) 评论(0) 推荐(0) 编辑