1.查找jar包比较好的网站连接,maven中央仓库
http://maven.outofmemory.cn/
2.安装centos比较好的连接:
http://blog.csdn.net/clevercode/article/details/50574695
http://jingyan.baidu.com/album/76a7e409ed694dfc3a6e1548.html?picindex=10
如果配置了vmnet8,但是不生效,可以尝试着重启vmnet8
3.重启网卡 service network restart; 失败的原因
http://www.xuebuyuan.com/132186.html
修改yum源
http://blog.csdn.net/lcj200813138020/article/details/46914161
4.网络安装好后执行:
yum group install -y “Development and Creative Workstation”
yum makecache
yum -y update
5 centos 安装mysql,centos没有自带的mysql源
http://www.mamicode.com/info-detail-503994.html,
安装过程中出现远程不能访问3306,可以考虑关闭防火墙:
systemctl stop firewalld.service,
防火墙相关的链接:http://www.linuxidc.com/Linux/2015-05/117473.htm
在执行 mysql -uroot 出现问题:
Linux Access denied for user ”@’localhost’ 解决方法:
权限问题: mysql -h127.0.0.1 -uroot -p wlf061
6.linux 安装tomcat和jdk:
http://blog.csdn.net/fwj380891124/article/details/41458727
7.安装nginx
http://www.runoob.com/linux/nginx-install-setup.html;
在安装pcre的过程中出现问题:
WARNING: ‘aclocal-1.14’ is missing on your system
参考:http://www.cnblogs.com/subo_peng/p/4688265.html
主要就是在目录:/usr/local/src/pcre-8.35 下执行sudo autoreconf -ivf 就解决了
8 linux 下面安装多个tomcat:
http://blog.csdn.net/u010072512/article/details/51832429
只需要 修改三个端口即可,catlina的配置不需要改
将tomcat 注册为服务,通过用service tomcat start; 启动:
https://my.oschina.net/MrMichael/blog/270150,
可能出现问题:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program**
检查是否在tomca.sh中增加JAVA_HOME ,JRE_HOME配置
9.nginx 配置相关链接:
gzip详解:http://www.111cn.net/sys/nginx/69492.htm
http://blog.sina.com.cn/s/blog_822985420102wrw9.html
nginx 比较详细的配置详解:
http://blog.csdn.net/luckyyulin/article/details/18708693
nginx 关于proxy_pass 问题讲解:
http://wenku.baidu.com/link?url=1sPPNAQcsXNmY4bP4A-KgLZQHDACe7-da8RGVaLR4IewlGoyTsh4wdTNMN1vWz1J5cJmdqwGN7HNulfFoFLO9rdu7cqKQM_9Bfeo9mfkgY3
10.配置虚拟机域名: