Wesley
- — 1 year ago

Before you install Composer on your CentOS, let’s make sure it is fully up to date. To update all your system software to the latest version you need to have root access to the server or at least you have sudo privileges with your system user. Connect to your Linux VPS via SSH and run the following command:
yum update
After this install the PHP CLI (command line interface) package and all other dependencies with:
sudo yum install php-cli php-zip wget unzip
Once PHP CLI is installed, download the Composer installer script with:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
The command above will download the composer-setup.php file in the current working directory.
Run the following command to install Composer in the /usr/local/bin directory
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
When the installation is succesfull you will server
All settings correct for using Composer
Downloading... Composer (version 1.7.2) successfully installed to: /usr/local/bin/composer Use it: php /usr/local/bin/composer
The last step is to verify the installation:
/usr/local/bin/composer
When composer is installed you see the following
______ / ____/___ ____ ___ ____ ____ ________ _____ / / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/ / /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ / \____/\____/_/ /_/ /_/ .___/\____/____/\___/_/ /_/ Composer version 1.8.4 2019-02-11 10:52:10
Wesley
Webdeveloper
How To Install Composer on CentOS 7 How To Install Composer on CentOS 7 2019-05-29 06:01:48- CentOS7にNextCloudを導入する 1 year ago
- Windows10 Home+WSL2でLinux(CentOS7)を動かす 8 months ago
- Laravel mix vue No.1 - Docker Environment - Dockerでlaravel環境 (laradockを使わない) 1 year ago
- DockerでCodeigniter4 betaを動かす 1 year ago
- PipenvによるWindows上でのPython仮想環境の構築について 1 year ago
- Asterisk16について調べてみた 1 year ago
- 負荷試験ツール「Gatling」を試してみた。【Windows 10 編】 11 months ago
- PHP7.4のpreloadでLaravel7を高速化!? 8 months ago
- 【Docker環境】FluentdとMySQLのbulk insertを使用したログ収集【前編】 11 months ago
- Windows10 Home+WSL2でDockerコンテナを動かす 8 months ago
- LIbreOffice_オフィスソフトウェア 2 days ago
- vagrant環境で出ていない「syntax error, unexpected end of file」のエラー開発環境で出現する 1 week ago
- オープンソース楽譜作成ソフト_musescore 2 weeks ago
- Unity初心者がawsサーバーとWebSocketを使ってのリアルタイム同期通信について学ぶ③ 1 month ago
- PHPからJavaScriptに変数の受け渡しで躓いた事 1 month ago
- Unity初心者がawsサーバーとWebSocketを使ってのリアルタイム同期通信について学ぶ② 2 months ago
- Unity初心者がawsサーバーとWebSocketを使ってのリアルタイム同期通信について学ぶ① 3 months ago
- Dockerコンテナ(Fluentd)のTimeZoneをUTCからJSTに変更する 3 months ago
- 端末でのサマータイム確認でログインできない 4 months ago
- laravelを経験した後のEC-CUBE3の所感 4 months ago