标签:har 登录 主机 abr encoding blog hadoop ha ica ble
1 Eclipse-oxygen下载地址
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/oxygen/1a/eclipse-java-oxygen-1a-linux-gtk-x86_64.tar.gz
2 上传以RHEL7.2主机上
[hadoop@hadoop02 ~]$ pwd /hadoop [hadoop@hadoop02 ~]$ ls -lrt | grep eclipse -rw-rw-r-- 1 hadoop hadoop 186642081 11月 12 21:00 eclipse-java-oxygen-1a-linux-gtk-x86_64.tar.gz
3 解到当前目录下
[hadoop@hadoop02 ~]$ tar -zxvf eclipse-java-oxygen-1a-linux-gtk-x86_64.tar.gz ...... eclipse/configuration/org.eclipse.update/ eclipse/configuration/org.eclipse.update/platform.xml[hadoop@hadoop02 ~]$ pwd
/hadoop
[hadoop@hadoop02 ~]$ ls -lrt
总用量 476796
drwxr-xr-x. 9 hadoop hadoop 4096 11月 11 2015 vmware-tools-distrib
drwxr-xr-x 8 hadoop hadoop 4096 10月 10 08:21 eclipse
drwxr-xr-x. 2 hadoop hadoop 6 11月 4 15:31 音乐
drwxr-xr-x. 2 hadoop hadoop 6 11月 4 15:31 下载
drwxr-xr-x. 2 hadoop hadoop 6 11月 4 15:31 文档
drwxr-xr-x. 2 hadoop hadoop 6 11月 4 15:31 图片
drwxr-xr-x. 2 hadoop hadoop 6 11月 4 15:31 模板
drwxr-xr-x. 2 hadoop hadoop 6 11月 4 15:31 公共
drwxr-xr-x. 2 hadoop hadoop 6 11月 4 15:31 视频
drwxr-xr-x. 2 hadoop hadoop 6 11月 4 16:08 桌面
-rwxrw-rw- 1 hadoop hadoop 243900138 11月 4 16:25 hadoop-2.8.2.tar.gz
drwxr-xr-x 11 hadoop hadoop 4096 11月 5 21:18 hadoop-2.8.2
-rw-r--r-- 1 hadoop hadoop 19 11月 7 08:20 test.txt
-rwxrw-rw- 1 hadoop hadoop 1162 11月 11 22:44 word.txt
drwxrwxr-x 4 hadoop hadoop 26 11月 12 01:44 hadoop
-rw-rw-r-- 1 hadoop hadoop 186642081 11月 12 21:00 eclipse-java-oxygen-1a-linux-gtk-x86_64.tar.gz
4 创建一个 Gnome 启动
[hadoop@hadoop02 ~]$ su - root
密码:
上一次登录:日 11月 12 17:51:34 CST 2017pts/0 上
ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1510480294
[root@hadoop02 ~]# vi /usr/share/applications/eclipse.desktop [root@hadoop02 ~]# cat /usr/share/applications/eclipse.desktop [Desktop Entry] Encoding=UTF-8 Name=Eclipse 4.7 Comment=Eclipse Luna Exec=/hadoop/eclipse/eclipse Icon=/hadoop/eclipse/icon.xpm Categories=Application;Development;Java;IDE Version=1.0 Type=Application Terminal=0 [root@hadoop02 ~]#
查看eclipse图标
5 将Hadoop插件hadoop-eclipse-plugin-2.2.0.jar上传到/hadoop/eclipse/plugins/目录下
[hadoop@hadoop02 plugins]$ pwd
/hadoop/eclipse/plugins
[hadoop@hadoop02 plugins]$ ls -l | grep hadoop-eclipse-plugin
-rw-rw-r-- 1 hadoop hadoop 23568716 6月 4 2014 hadoop-eclipse-plugin-2.2.0.jar
6 设置eclipse hadoop环境
6.1
6.2
6.3
6.4
6.5
7 安装心得
7.1 hadoop必须是启动的
7.2 插件的jar必须是好的
RHEL7.2 安装Eclipse-oxygen Hadoop开发环境
标签:har 登录 主机 abr encoding blog hadoop ha ica ble
原文地址:http://www.cnblogs.com/ccskun/p/7822277.html