Linux系统下mysql数据库安装配置步骤: 1.在服务器上安装mysql:sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install libmysqlclient-dev 检测mysql是否安装成功sudo netstat -tap | grep mysql 2.执行MySQL命令授权: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' ID
1.将下载好的tomcat文件拷贝至/usr/java文件夹中: cp apache-tomcat-7.0.72.tar.gz /usr/java 2.进入/usr/java文件夹: cd /usr/java 3.解压文件至当前文件夹: tar -xvf apache-tomcat-7.0.72.tar.gz 4.打开配置文件: sudo vi /etc/profile 5.配置环境变量: export CATALINA_BASE=/usr/java/apache-tomcat-7.0.72 e