This Package is looking for a new home. If you are interested please get in contact with me at jose at ditecnologia dot com to transfer the repo.
My personal Vagrant environtment, forked from - [https://github.com/JeffreyWay/Vagrant-Setup](JeffreyWay - Vagrant-Setup) with some stuff of my own.
Server ip: 192.168.40.100
MySQL User: root
MySQL Password: root
SSH user: vagrant
SSH Password: vagrant
PHP 5.5
MySQL 5.5
Node JS
Gulp
Grunt
Bower
Mailcatcher
Oracle Instaclient 12.1
oci8
1. Download the repo.
2. Place the files in the directory of your choice.
3. Navigate in your console to that folder
4. Run vagrant up
5. ssh into the machine
6. run sudo nano /etc/environment
7. add the following to the file
# Oracle Instant Client
LD_LIBRARY_PATH="/usr/lib/oracle/12.1/client64/lib/"
TNS_ADMIN="/usr/lib/oracle/12.1/client64/network/admin"
C_INCLUDE_PATH="/usr/include/oracle/12.1/client64/"
ORACLE_BASE="/usr/lib/oracle/12.1/client64"
ORACLE_HOME=$ORACLE_BASE'
8. Save and source the file
9. run pecl install oci8
10. Once it ask you for location of the instaclient just hit enter
11. add the following to /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini
extension=oci8.so
12. Restart apache.
13. You should be good to go.
You can place each website in the websites directory with their own folder, if you want to create virtual hosts for them, you have to do it manually in the server accesing via vagrant ssh
.
Once provisioned, the server will start mailchacter with the ip 192.168.40.100, to access the web interface, navigate to http://192.168.40.100:1080, configure your app to send email using SMTP to the ip 192.168.40.100 and port 1025, no user, no password and no encription.
Thanks goes to the following references:
- [https://github.com/JeffreyWay/Vagrant-Setup](JeffreyWay - Vagrant-Setup)
- https://gist.github.com/fideloper/7074502
- Setting Up Vagrant With Laravel 4
- [Instaclient script] (https://github.com/eikonomega/oracle_instant_client_for_ubuntu_64bit)
- How to Install the Latest Version of PHP 5.5 on Ubuntu