hadoop伪分布式之一-环境准备

基本环境
配置mac
vim /etc/udev/rules.d/70-persistent-net.rules
配置ip
vim /etc/sysconfig/network-scripts/ifcfg-eth0
修改主机名
vim /etc/sysconfig/network
设置ip和域名映射
vim /etc/hosts
关闭防火墙
service iptables stop
chkcofig iptables off
关闭SElinux
vim /etc/selinux/config
免密登录
ssh-keygen -t rsa
ssh-copy-id node02
scp /root/.ssh/authorized_keys node02:/root/.ssh
时钟同步
yum install -y ntp
crontab -e
*/1 * * * * /usr/sbin/ntpupdate ntp4.aliyun.com;

开发运行环境
上传工具
yum install lrzsz
rz -E
jdk
mysql

posted @ 2020-10-18 14:48  (O(∩_∩)O)  阅读(119)  评论(0)    收藏  举报