08 2014 档案
摘要:自带的播放器不管rmvb还是mp4都不能播放,也搜索不到解码器。 CentOS7epel装不上所以也没有rpmfusion,所以决定自己编译mplayer首先是要获取源代码。 首先是主程序的源代码。 打开你的终端,按照我的命令一步一步来: cd Download svn che...
阅读全文
摘要:我们都知道xenserver安装后,不管你的盘有多大,只有4G的空间。 故操作是:新建LV卷,可自定义大小 1、vgdisplay #先查看剩余空间 [root@XenServer /]# vgdisplay--- Volume group ---VG Name VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2System IDFor...
阅读全文
摘要:Hadoop是Java写的,他无法使用Linux预安装的OpenJDK,因此安装hadoop前需要先安装JDK(1.6以上) 原材料:在Oracle官网下载的32位JDK: 说明: 1、CentOS 7.0系统现在只有64位的,但是,Hadoop一般支持32位的,在64位环境下有事会有Warning出现,避免真的有神马问题,选择i586的JDK(即32位的),当...
阅读全文
摘要:三、系统配置之关闭防火墙
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
systemctl命令的基本操作格式是:
systemctl 动作 服务名.service
动作:start,stop,restart,status,enable,disable,is-enabled
四、配置Linux网络
1、修改hostname
CentOS 7.0的hostname在/etc/hostname中用root用户修改:
[root@hadoop1 ~]# vim /etc/hostname #编辑/etc/hostname
[root@hadoop1 ~]# cat /etc/hostname #查看/etc/hostname
hadoop1
[root@hadoop1 ~]#
以前版本的CentOS在/etc/sysconfig/network中用root用户修改:
阅读全文

浙公网安备 33010602011771号