先安装jdk,再安装eclipse ,再安装myeclipse。
eclipse与myeclipse必须在图形化界面安装。
1. 挂载光驱/硬盘
mount /mnt/cdrom/ 挂载光驱
mount from路径 to路径 将from路径挂载到to路径
cd /mnt/cdrom/ 打开挂载的内容
unmount /mnt/cdrom/ 卸载光驱
mount 挂载unmount 卸载
2. 安装jdk
./jdk-1_7-linux-i586.bin 安装jdk文件
vi /etc/profile 编辑profile文件
JAVA_HOME=路径
PATH=$PATH:路径
CLASSPATH=.:路径
export JAVA_HOME PATH CLASSPATH
3. eclipse安装
tar –zvxf eclipse-linux.tar.gz 解压eclipse文件
startx 进入图形化界面
./eclipse 运行eclipse
4. 安装myeclipse
./myeclipse.bin 安装myeclipse
5. 启动eclipse
./eclipse 启动eclipse,可以看到多了myeclipse的选项,目录file下面多了新建选项。
6. j2ee服务器有tomcat , jboss , weblogic , websphere , resin
tar –zvxf tomcat.tar.gz 解压tomcat
./eclipse & 启动eclipse,同时终端可以做别的事情
在eclipse里面preferences->server->配置tomcat和jdk,其他部署都和windows下一致