LoginSignup
21
19

More than 5 years have passed since last update.

さくらのレンタルサーバーでcomposerめも

Posted at

さくらのレンタルサーバーでcomposerめも

SSH で、さくらのサーバーに接続

macのコマンドプロンプトからはいれる

シェルを変更

Welcome to FreeBSD!っていわれて、
%
だったら、シェルを変更する

% which bash
/usr/local/bin/bash
% chsh -s /usr/local/bin/bash
Password: 
chsh: user information updated
% vi .bash_profile
PATH=$PATH:$HOME/bin:$HOME/usr/local/bin
export PATH

これで、ログアウト→ログインすると
[tonosamart@www1064 ~]$
とかになる

composer

$ cd ~
$ mkdir -p usr/local/bin/
$ curl -sS https://getcomposer.org/installer | php -- --install-dir=usr/local/bin/

おしまい。

21
19
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21
19