vagrant file about centos69 enjoy it
This is vagrant configure file only useful for centos69.box
.
The centos69.box
has been upload to my baiduyun
. definitely if you are not in China ,you can download the box in v1710.01
in the folder shellSource
,you can find a file named bash_profile
edit this file ,you could make your own bash_profile
the same theory ,you can make your own vimrc
in the file named vimrc
when you install centos69.box
you have PHP installed but the version is too older ,so update_php70.sh
will help you to update older PHP version[5.4] to php70.
centos69 support Python2.6, in many cases you want to use python3. the update_python35.sh
can automatic install python35
this function is useful for v0.2 . shell script is mysqlInstall.sh
the step e
is not install some software . this step just configure python-virtualenv and mysql configure .
example : we will set mysql root password and something else.
the step f
is also not install software . so it has integrated in centos69v03.box
this step install nginx into the virtual machine. you can type centos.com
in your broswer, of course, you need configure your etc/hosts first. 192.168.33.10 centos.com
. when you configured etc/hosts. and you will see hello word
. this indicate you have install nginx success.
because i'd not familiar with nginx configure. i try it. But it makes me crazy. allways feedback 403. i know this is access issuses. the end, i choose homestead/laravel. so version 0.5 is different to all of before version. it based on homestead/laravel. mainly for laravel development. The vm system is ubuntu.
if you are familiar to vagrant. you will know this section is doing what. forgive my not primitive English .you know what I say.
support function
a b c
support function
a b c d e
support function
a b c d e f
support function
a b c d e f g
support function
a b c d e f g h
terminal error show
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
you can use this command in your terminal [in folder where Vagantfile located]
vagrant plugin install vagrant-vbguest
so you can execute vagrant reload --provision
when i installed python35, i used pip3 install virtualenv, but this has a error about not find a special lib.
you can use link command to fix it. but the strange things is it not work, when i reload vagrant ,it works...
i do not why. so i decided link pip3 special lib in the scripts
-- read this warning:vagrant must be reload