Skip to content

Instantly share code, notes, and snippets.

@inakadegaebal
Last active February 4, 2017 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inakadegaebal/c92e9684b53cd9bae2e0b8d676d6376a to your computer and use it in GitHub Desktop.
Save inakadegaebal/c92e9684b53cd9bae2e0b8d676d6376a to your computer and use it in GitHub Desktop.
CentOS7にComposerをインストールする ref: http://qiita.com/inakadegaebal/items/d370bcb1627fce2b5cd1
# php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
# php -r "if (hash_file('SHA384', 'composer-setup.php') === '55d6ead61b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf329e583e30') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
# php composer-setup.php
# php -r "unlink('composer-setup.php');"
# mv composer.phar /usr/local/bin/composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment