You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Ansible playbook constructs VCC research DB server into single server node.
Related Papers
Henning Perl, Sergej Dechand, Matthew Smith, Daniel Arp, Fabian Yamaguchi, Konrad Rieck, Sascha Fahl, and Yasemin Acar. 2015. VCCFinder: Finding Potential Vulnerabilities in Open-Source Projects to Assist Code Audits. In Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security (CCS '15). ACM, New York, NY, USA, 426-437. DOI=http://dx.doi.org/10.1145/2810103.2813604
Requirements
Environment
Host: Ubuntu 14.04 LTS (Trusty Tahr)
Client: Mac OS X 10.11
Runtime and Tools
Python v2.7
Vagrant v1.8 (optional)
ssh-copy-id (optional)
Postico (optional)
# Example on OS X with Homebrew
xcode-select --install \
&& brew update \
&& brew install \
python \
ssh-copy-id \
Caskroom/cask/vagrant \
Caskroom/cask/postico
Setups
Setup Client
Install Ansible and its 3rd party packages to your local client
Edit ~/.ssh/config corresponding to hosts (No need for Vagrant)
$ cat <<EOF >> ~/.ssh/configHost vcc-base-init001 User root HostName example.com IdentitiesOnly yesHost vcc-base-general001 User admin HostName example.comEOF
Setup Vagrant Server for local development environment
Run Vagrant commands after setting up client
$ vagrant up # Run this for the first time
$ vagrant provision # Run this when `vagrant up` had problem due to network error, etc
$ vagrant ssh # Login to the Vagrant Machine
$ vagrant suspend# Stop the Vagrant Machine
$ vagrant resume # Start the Vagrant Machine
$ vagrant destroy --force && vagrant up # Run this to reset everything
Setup Host Server for production environment
Run commands below, and wait for a few hours or so (up to the server spec)
Use --check option if you prefer to run as dry-run mode