参考
https://www.cnblogs.com/dengyulinBlog/p/6398310.html
http://blog.csdn.net/cuker919/article/details/12052565
http://blog.csdn.net/songwei128/article/details/8476307
使用Sonatype Nexus搭建Maven私服后如何添加第三方JAR包? https://www.cnblogs.com/cb0327/p/5395335.html
Maven Nexus OSS 2.xx 教程 http://blog.csdn.net/chenghm123/article/details/53535653?winzoom=1
Maven私库安装与配置 https://www.cnblogs.com/dengyulinBlog/p/6398310.html
nexus私服linux搭建问题 http://blog.csdn.net/cuker919/article/details/12052565
****************************************
WARNING – NOT RECOMMENDED TO RUN AS ROOT
****************************************
If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script.
大概意思就是要在环境配置export RUN_AS_USER=root,临时配置
在系统里面永久配置
vi /etc/profile 加入export RUN_AS_USER=root