- mysql
sudo apt-get install mysql-server
进入mysql: mysql -uroot -p
导入数据库:
create database [name];
use [name];
source /路径/什么.sql
- tomcat
sudo apt-get install default-jdk
强烈推荐这篇博客:http://tonycody.blog.51cto.com/8421818/1408258,写的非常非常好
- eclipse 并安装java ee
请直接去官网直接下载对应的安装包
安装eclipse.desktop
1 [Desktop Entry] 2 Categories=Development; 3 Comment[zh_CN]= 4 Comment= 5 Exec=/home/owen/Software/eclipse/eclipse 6 GenericName[zh_CN]=IDE 7 GenericName=IDE 8 Icon=/home/owen/Software/eclipse/icon.xpm 9 MimeType= 10 Name[zh_CN]=eclipse 11 Name=eclipse 12 Path= 13 StartupNotify=true 14 Terminal=false 15 Type=Application 16 X-DBUS-ServiceName= 17 X-DBUS-StartupType= 18 X-KDE-SubstituteUID=false 19 X-KDE-Username=owen
注意把Exec=软件执行文件的路径,Icon=快捷方式图标路径, 选择自己安装目录
授予权限:chmod +u+x eclipse.desktop
eclipse配置tomcat:http://jingyan.baidu.com/article/d2b1d1029f59bb5c7e37d402.html