daniel-gallagher / cuckoo-autoinstall

Automated install scripts for Cuckoo sandbox
37 stars 19 forks source link

Modifications needed to install script #10

Open pr0t34n opened 5 years ago

pr0t34n commented 5 years ago

Hi! After wrestling with cuckoo installing today using your script, I've noticed some issues that you may wish to look at.

First, on line 279 of cuckoo.sh, the URL referenced for the Cuckoo-modified installer on github no longer exists. Needs to be changed to: https://github.com/spender-sandbox/cuckoo-modified.git. I also noticed that that file did not want to download via the script, and I needed to download it and move it myself before the script stopped erroring out on it.

Also, the file threw errors for no cuckoo user group, which I fixed by running 'sudo groupadd cuckoo' prior to executing the script.

Additionally, I found that I needed to create the folder /home/cuckoo/vmshared manually before running the installer - may wish to look into that.

I also noted that pip got totally borked during the install procedure. Not sure what's up with that, but it was fixed with 'sudo easy_install pip'

Finally, launching cuckoo.py from /opt/cuckoo failed on a missing dependency (ordered_dict). This was resolved by running 'sudo pip install --upgrade requests urllib3', may want to add that to the script.

Thanks for putting this together - my install time for Cuckoo decreased significantly! Note that this install was carried out on Ubuntu 16.04.1

pr0t34n commented 5 years ago

Oh also I needed to install psycopg2 with 'apt-get install python-psycopg2', pip could not find the package