打开putty所在的目录,通过以下命令上传文件:
pscp "F:\迅雷下载\nexus-2.6.4-02-bundle.tar.gz" username@192.168.11.128:/home/username/
tar zxvf nexus-2.6.4-02-bundle.tar.gz -C /usr/local
cd /usr/local
mv nexus-2.6.4-02-bundle nexus
vim /etc/profile.d/development.sh
NEXUS_HOME=/usr/local/nexus
PATH=$NEXUS_HOME/bin:$PATH
export RUN_AS_USER=root
nexus start
访问
http://localhost:8081/nexus