Fork me on GitHub

CDH平台搭建遇到的问题

安装之前遇到的问题:
 
Note: Forwarding request to 'systemctl disable NetworkManager.service'.
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
Removed symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.
sed: can't read /etc/sysconfig/network-scripts/ifcfg-ens33: No such file or directory
sed: can't read /etc/sysconfig/network-scripts/ifcfg-: No such file or directory
Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[FAILED]
./step1_install.sh: line 28: ifconfig: command not found
./step1_install.sh: line 29: brctl: command not found
 
 
yum -y install net-tools bridge-utils vim
 
 
网桥出现错误:
Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[FAILED]
virbr0: ERROR while getting interface flags: No such device
bridge virbr0 doesn't exist; can't delete it
Failed to execute operation: No such file or directory
貌似不用管
 
jdk配置的问题:
tar xzvf jdk-8u144-linux-x64.tar.gz -C /usr/java
echo 'export c=/usr/java/jdk1.8.0_144'>>/etc/profile
echo 'export PATH=$JAVA_HOME/bin:$PATH ' >>/etc/profile
echo 'export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar '>>/etc/profile
重启试一下
source /etc/profile
 
网卡MAC:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether fa:eb:19:ae:d5:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.50.108/24 brd 192.168.50.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::f8eb:19ff:feae:d500/64 scope link
valid_lft forever preferred_lft forever
 
cd /etc/sysconfig/network-scripts
mv ifcfg-eth0 ifcfg-ens33
posted @ 2019-11-22 12:49  云笙Aaron  阅读(391)  评论(0编辑  收藏  举报