[vagrant@localhost centos6]$ ./run.sh Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.riken.jp * epel: ftp.riken.jp * extras: ftp.riken.jp * updates: ftp.riken.jp No packages marked for update [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [disable iptables] ******************************************************** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not find the requested service iptables: host"} to retry, use: --limit @/home/vagrant/centos6/main.retry PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=1 [vagrant@localhost centos6]$ php -v -bash: php: command not found
ドットインストールのローカル環境開発通りにやっていたら、webサーバーを立ち上げるところでつまずいてしまいました!
助けてください!
【流れ】
OSを最新状態にアップデート
sudo yum -y update
スクリプトを入手するためのgitをインストール
sudo yum -y install git
gitを使ってアプリケーション設定用のスクリプトをダウンロード
git clone https://github.com/dotinstallres/centos6.git
centos6フォルダができるのでそちらに移動
cd centos6
スクリプトを実行
./run.sh
もろもろの設定を反映
exec $SHELL -l
回答2件
あなたの回答
tips
プレビュー