Vagrant configuration for Yclas Self-hosted
The following guide contains the Vagrant configuration for Yclas Self-hosted.
What is installed
Official Ubuntu Server 14.04 LTS (Trusty Tahr) builds
Apache2
PHP 7
- cURL
- GD
- mysqli
- mcrypt
MySQL 5.5
Installation file for the latest Yclas Self Hosted
Instructions
Download and install VirtualBox.
Clone repo:
git clone https://github.com/yclas/vagrant.git cd vagrant/
Boot the environment:
vagrant up
To prove that it is running, you can SSH into the machine: (Optional).
vagrant ssh
Run: (if you have followed the step 5, type exit before the following command).
sudo vim /etc/hosts
and add those lines at the beggining of the file:
192.168.50.4 reoc.lo
Once the machine it’s running, load this on your browser:
http://reoc.lo/install-yclas.php
To destroy the virtual machine and remove all traces of the guest machine from your system, run:
vagrant destroy
Vagrant fails to remove temp files, so run this after vagrant destroy the virtual machine:
sudo rm -f d20* vagrant20*
During the Yclas Self Hosted installation process, for DB Configuration use:
Database name: openclassifieds
User name: root
Password: 1234