I recently studied the deployment of cloudstack and recorded the process below:
// Install the GIT dependent package first Yum install zlib-devel Yum install OpenSSL-devel Yum install Perl Yum install cpio Yum install expat-devel Yum install gettext-devel
// Install Autoconf Yum install Autoconf
// Install git Wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz tar xzvf git-latest.tar.gz CD Git-{date}
// If this command does not work, find the corresponding folder Autoconf./configure -- With-curl =/usr/local make install
Run the following command: Git Clone Https: // Gi T - WIP - Us . Apache . Org /Repos/ ASF / Incubator - Cloudstack . Git
Error: Fatal: unable to find remote helper for 'https'
Run the following command:
Git config [-- Global] user. Name <Name> sets the user name
Git config [-- Global] user. Email <email> set email address
Git config [-- Global] core. Editor <editor> Set Editor
Git config [-- Global] GitHub. User <user> sets the GitHub account name
Git config [-- Global] GitHub. Token <token> sets GitHub token
-- Global is the global setting for the current system user ~ /. Gitconfig. Configure all users in the system,/etc/gitconfig. For the current project,. Git/config
Solution:
1. Install the dependency package:
Yum install -YCurl curl-devel
If it fails, find the git-core file and add the path of the git-core file to the path:
[Root@Bogon ~]# Find/-name Git-core
/USR/Local/Libexec/Git-core
/USR/Local/Share/Git-core
[Root@Bogon ~]# Export Path =/usr/local/libexec/Git-core: $ path
You can solve the problem by installing git again ~~~