标签:for 系统 comment 地址 value tfs hsi lld pad
安装gpm:yum install -y gpm*
开启gpm服务:systemctl start gpm
vi /etc/sysconfig/network-scripts/ifcfg-ens33
BOOTPROTO=”dhcp” 这个是动态IP
BOOTPROTO=”static”这个是静态IP
BOOTPROTO=”none”这个是无
IPADDR=192.168.116.121
GATEWAY=192.168.116.2
NETMASK=255.255.255.0
DNS1=8.8.8.8
DNS2=8.8.4.4
nameserver 8.8.8.8
nameserver 8.8.4.4
service network restart
ping 192.168.116.2
ping www.baidu.com
tar -zxvf jdk-8u192-linux-x64.tar.gz -C /opt/module/
vi /etc/profile
source /etc/profile
输入javac,回车
使用windscp上传
tar -zxvf hadoop-2.7.3.tar.gz -C /opt/module/
使用windscp上传
tar -zxvf hadoop-2.7.3.tar.gz -C /opt/module/
mkdir logs tmp
[root@localhost hadoop-2.7.3]#cd etc/hadoop/
export JAVA_HOME=/opt/module/jdk1.8.0_192
hostnamectl set-hostname 主机名
如:hostnamectl set-hostname hsiehchou121
hostname
[root@localhost hadoop-2.7.3]#bin/hdfs namenode -format
[root@localhost hadoop-2.7.3]#sbin/start-dfs.sh
[root@localhost hadoop-2.7.3]#sbin/stop-dfs.sh
jps
IP地址:50070
如:192.168.116.121:50070
显示页面就对了
systemctl stop firewalld.service
systemctl disable firewalld.service
systemctl status firewalld.service
[root@localhost hadoop-2.7.3]$ ssh-keygen -t rsa
然后敲(三个回车)
vi /etc/selinux/config
标签:for 系统 comment 地址 value tfs hsi lld pad
原文地址:https://www.cnblogs.com/hsiehchou/p/10381005.html