hasen's tech life

Twitter: @hasen

環境構築ざっくりメモ.

# 環境構築ざっくりメモ.

$ sudo yum install -y git wget
$ ssh-keygen -t rsa -b 4096 -C "hoge@test.com"
# Bitbucketなどレポジトリにid_rsa.pubを登録
$ cd /PATH/TO/PROJECT_DIR
$ git clone https.... ./
# DocumentRootを変更 (すぐ下の<Directory "XXX"内も変更する)
$ sudo vi /etc/httpd/conf/httpd.conf
$ sudo systemctl restart httpd
# PHPユーザなら
$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer