ubuntu下安装mysql, eclipse, tomcat

  • mysql

sudo apt-get install mysql-serverhtml

进入mysql: mysql -uroot -pjava

导入数据库:mysql

create database [name];sql

use [name];数据库

source /路径/什么.sqltomcat

 

  • tomcat

sudo apt-get install default-jdkeclipse

强烈推荐这篇博客:http://tonycody.blog.51cto.com/8421818/1408258,写的很是很是好ide

  • eclipse 并安装java ee

请直接去官网直接下载对应的安装包spa

安装eclipse.desktopcode

 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
View Code

注意把Exec=软件执行文件的路径,Icon=快捷方式图标路径, 选择本身安装目录

授予权限:chmod +u+x eclipse.desktop

eclipse配置tomcat:http://jingyan.baidu.com/article/d2b1d1029f59bb5c7e37d402.html

相关文章
相关标签/搜索