1、官方下载:http://www.eclipse.org/downloads/
2、解压到指定目录:/opt
tar -zxvf eclipse-* -C /opt
(1)如果想把eclipse目录的更改为root拥有,可以执行下面的命令
sudo chown -R root:root /opt/eclipse
(2)在/usr/bin目录下创建一个启动脚本eclipse:
sudo gedit /usr/bin/eclipse
然后在该文件中添加以下内容:
#!/bin/sh
export MOZILLA_FIVE_HOME=”/usr/lib/mozilla/”
export ECLIPSE_HOME=”/opt/eclipse/eclipse”
$ECLIPSE_HOME $*
(3)让修改该脚本的权限,让它变成可执行,执行下面的命令:
sudo chmod +x /usr/bin/eclipse
3、在桌面或者gnome菜单中添加eclipse启动图标
(1)在桌面或者启动面板上添加图标:
在桌面(右键单击桌面->创建启动器)或面板(右键单击面板->添加到面板 ->定制应用程序启动器)上创建一个新的启动器,然后添加下列数据:
名称:Eclipse Platform
命令:eclipse
图标: /opt/eclipse/icon.xpm
(2)在Applications(应用程序)菜单上添加一个图标
用文本编辑器在/usr/share/applications目录里新建一个名为eclipse.desktop的启动器,如下面的命令:
sudo vi /usr/share/applications/eclipse.desktop
或者
sudo gedit /usr/share/applications/eclipse.desktop
然后在文件中添加下列内容:
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse Platform
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
保存文件。完成整个安装过程。可以双击桌面eclipse的图标来运行eclipse。
4,SVN插件地址:
Subversive svn官方插件
http://www.polarion.com/products/svn/subversive/download.php?utm_source=eclipse.org&utm_medium=link&utm_campaign=subversive#svncon
* http://download.eclipse.org/technology/subversive/0.7/update-site/ - [required] Subversive plug-in
* http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/ - [required] Subversive SVN Connectors
* http://community.polarion.com/projects/subversive/download/integrations/update-site/ - [optional] Subversive Integrations
Subclipse 更新快(推荐)
http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
Links for 1.6.x Release:
Changelog: http://subclipse.tigris.org/subclipse_1.6.x/changes.html
Eclipse update site URL: http://subclipse.tigris.org/update_1.6.x
Zipped downloads: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240
5,Aptana编辑器:
If you are already an Eclipse user, you can install Aptana as a plug-in directly into your current Eclipse configuration.
Aptana Studio 2.0.5 Eclipse Plugin, All Platforms
download address: http://download.aptana.com/tools/studio/plugin/install/studio
for more information: http://www.aptana.com
6,tomcat插件安装
http://www.eclipsetotale.com/tomcatPlugin.html#A3
Installation
*
This plugin does not contain Tomcat.
(Download and install Tomcat before using this plugin).
This is a design choice not to include Tomcat in the plugin distribution, this way the same plugin version can works with any Tomcat version.
*
Download tomcatPluginVxxx.zip
*
Unzip it in :
- Eclipse_Home/dropins for Eclipse 3.4, 3.5 and 3.6
- Eclipse_Home/plugins for Eclipse 2.1, 3.0, 3.1, 3.2 and 3.3
*
Plugin activation for Eclipse 3.x :
- launch eclipse once using this option : -clean
- if Tomcat icons are not shown in toolbar : select menu 'Window>Customize Perspective...>Commands', and check 'Tomcat' in 'Available command groups'
*
Set Tomcat version and Tomcat home : Workbench -> Preferences, select Tomcat and set Tomcat version and Tomcat home (Tomcat version and Tomcat home are the only required fields, other settings are there for advanced configuration).
*
This plugin launches Tomcat using the default JRE checked in Eclipe preferences window.
To set a JDK as default JRE for Eclipse open the preference window : Window -> Preferences -> Java -> Installed JREs.
This JRE must be a JDK (This is a Tomcat prerequisite).
*
The plugin sets itself Tomcat classpath and bootclasspath. Use Preferences -> Tomcat ->JVM Settings, only if you need specific settings.
到tomcat根目录下修改:
conf下:
tomcat-users.xml context.xml server.xml web.xml 权限为可写
workCatalina/localhost下:
所有文件权限可写