Env quick startup (only supported in CentOS7)
- git clone https://github.com/xianke9/devops.git
- cd devops
- ./install_platform.sh
- http://x.x.x.x:8080 for jenkins
################# For commiter
- ssh-keygen
- cat /root/.ssh/id_rsa.pub
- copy the contents in /root/.ssh/id_rsa.pub into https://github.com/settings/keys
- git remote -v
- git remote rm origin (if the origin is https not git)
- git remote add origin [email protected]:xianke9/devops.git
- git add .
- git commit -m "test"
- git push -u origin master (also you can skip the parm: -u origin master)