Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

how to acces from my ip direct - without Vagrant?! #697

Closed
apuhcc opened this issue Feb 6, 2020 · 1 comment
Closed

how to acces from my ip direct - without Vagrant?! #697

apuhcc opened this issue Feb 6, 2020 · 1 comment

Comments

@apuhcc
Copy link

apuhcc commented Feb 6, 2020

Hello,

So i followd the steps from here : https://github.com/facebook/fbctf/wiki/Installation-Guide,-Production

But when i go externaly my machine to acces from my ip don't work, If i try 10.10.10.5 :

HTTP/1.1 404 NOT FOUND!

I read many of the issues and other blogs and get in to the file Vagran, the ip 10.10.10.5 is set up is you use there. How to use without Vagrant, or how can i install it with out Vagrant - need to disable/modify the provision script or what i need to do ?

Thank you

@apuhcc
Copy link
Author

apuhcc commented Feb 6, 2020

i found this : https://stackoverflow.com/questions/41618817/install-fb-ctf-from-scratch

Download FBCTF from www.github.com/facebook.com/fbctf and extracted into home folder as /home//fbctf/

All code of Project is there on /fbctf/src/

Line no 49 to 59 :: file /fbctf/extra/provision.sh

MODE="dev" # dev / prod ///PREFERRABLY PROD
NOREPOMODE=false
TYPE="self" # CTF ITSELF PRODUCE ITS CERTIFICATE
KEYFILE="none"
CERTFILE="none"
DOMAIN="localhost" # DOMAIN YOU ARE GOING TO INSTALL
EMAIL="none"
CODE_PATH="/home//fbctf" # by default /vagrant change it to where the downloaded code is present
CTF_PATH="/var/www/fbctf" # by default it is /var/www/ change it if u need to install to some other destination. (Make sure that this path is access able to nginx and hhvm)
HHVM_CONFIG_PATH="/etc/hhvm/server.ini"

cd fbctf
./extra/provision.sh prod pwd


after instaling it will work on your machine IP

@apuhcc apuhcc closed this as completed Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant