2019-03-01から1ヶ月間の記事一覧

Windows で vagrant やるよ〜

まずは、Oracle VM VirtualBox と Vagrant (Vagrant by HashiCorp) をWindowsインストーラーで入れる。 入れたら、コマンドプロンプト(PowerShellでもいいよ)で初期設定。 centos/7 ってやつを今回は使ってみる。 > cd vagrantdir> vagrant init centos/7 …

AWS EC2 のRHEL に最新のgitを入れる件

ふつーに yum install git とかやると 1.x系が入っちゃったりするので 2.x とか最新系を入れるならまず IUS リポジトリを追加。(一応、disableにしとく) # yum install https://centos7.iuscommunity.org/ius-release.rpm# yum-config-manager --disable i…

secure cookie 属性をapache側で付与する

php側 (php.ini) が編集できないとかなんとかあってapache 側で付与するばやい。 http.conf の最下行に下記を追加。 Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure