node
1. download
wget https://nodejs.org/dist/v10.14.1/node-v10.14.1.tar.gz
2. tar zxvf node-v10.14.1.tar.gz && cd node-v10.14.1
3. ./configure
4. sudo make && sudo maka install
5. node -v & npm -v
composer
1. https://getcomposer.org/download/
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
2. sudo mv composer.phar /usr/bin/composer
3. composer config -g repo.packagist composer https://packagist.phpcomposer.com
Git
1. sudo yum groupinstall "Development Tools"
2. sudo yum install zlib-devel perl-ExtUtils-MakeMaker asciidoc xmlto openssl-devel
3. 下载 git 最新版本的源代码
cd path
wget -O git.zip [https://github.com/git/git/archive/master.zip](https://github.com/git/git/archive/master.zip)
4.
unzip git.zip
cd git-master
5. autoconf
6. ./configure
7. make && make install
8. yum remove git
9. whereis git 删除掉上面的文件
10. ln -s /path/git-master/git /usr/bin/git
11. git --version
// git version 2.7.0