1.安装mysql 命令
# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm --no-check-certificate
#rpm -ivh mysql-community-release-el7-5.noarch.rpm
# yum install mysql-community-server
按照教程上的安装,提示
ERROR: cannot verify dev.mysql.com's certificate, issued by ‘/C=EN/CN=GlobalSignature Certificates CA 2’:
命令中要加上 --no-check-certificate
2.安装后重启
service mysqld restart
3.输入 mysql 就可以进入了 set password for 'root' @ localhost = password('unicoe') 设置密码
4.设置了密码之后,就用 mysql -u root -p 命令 登录了
安装jetty 9
http://www.cnblogs.com/yxl10/p/4237492.html
启动jetty
在 jetty/bin 目录下执行 ./jetty.sh start