LoginSignup
0
3

More than 5 years have passed since last update.

Vagrant+CentOS6.8+Phalconの環境

Posted at

Install Vagrant

brew cask install virtualbox
brew cask install vagrant
brew install vagrant-completion

CentOS6.8

vagrant box add centos-6.8-v2.3.4 https://atlas.hashicorp.com/bento/boxes/centos-6.8/versions/2.3.4/providers/virtualbox.box

vagrant init centos-6.8-v2.3.4
vagrant up

vagrant ssh

sudo yum -y install epel-release.noarch
sudo yum -y install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo yum -y install --enablerepo=remi --enablerepo=remi-php56 php56

echo '. /opt/remi/php56/enable' >> ~/.bash_profile

. ~/.bash_profile

sudo yum install -y php56-php-phalcon2

Vagrantでポートフォワードを有効にする

  config.vm.network "forwarded_port", guest: 80, host: 8080
0
3
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
0
3