ドットインストールの
ローカル開発環境の構築 [Windows編] v2
で
PuTTYの仮想マシンにログインできるようになったのですが
[vagrant@localhost ~]$ sudo yum -y update
というコマンドを入力すると
Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base
というエラーが出て先に進めません。
なお、
PowerShellの方はうまくいっているようです。
PS C:\Users\ユーザー名\MyVagrant\MyCentOS> vagrant status Current machine states: default running (virtualbox) The VM is running. To stop this VM, you can run `vagrant halt` to shut it down forcefully, or you can run `vagrant suspend` to simply suspend the virtual machine. In either case, to restart it again, simply run `vagrant up`.
どこの設定がおかしいのでしょうか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/09/28 05:06 編集
2018/09/28 04:20
2018/09/28 05:46