This isn't really an issue, but it might be useful, maybe a doc update?
The install instructions for Ubuntu 12 don't work for 14.04. Here is a modified version that should work for the current AWS Ubuntu AMI.
!/bin/bashish
Install prerequisitesThis is probably specific to Ubuntu 14, I went through the original script one dependency at at time and didn't install anything that was already there.
NOTE: Apache is installed and started with php5, mongodb is also started.
sudo apt-get update
sudo apt-get install python-gevent libevent-dev python2.7-dev build-essential
sudo apt-get install python-sqlalchemy python-lxml
sudo apt-get install python-beautifulsoup mongodb python-pip python-dev
sudo apt-get install git php5 liblapack-dev gfortran libmysqlclient-dev
sudo apt-get install libxml2-dev libxslt-dev
sudo pip install distribute
Kill apache and remove its startup scripts
sudo /etc/init.d/apache2 stop
sudo rm /etc/rc*.d/S91apache2 # I give up, rc-star.d/S-star-apache2
Install and configure the PHP sandbox
cd /opt
sudo git clone https://github.com/glastopf/BFR.git
cd BFR
sudo phpize
sudo ./configure --enable-bfr
sudo make && sudo make install
Open the php.ini file and add bfr.so accordingly to the build output:
/etc/php5/cli/php.ini
/etc/php5/apache2/php.ini ??
zend_extension = /usr/lib/php5/20121212/bfr.so
Downloading hpfeeds as part of the glastopf install blows up so do it manually first
sudo git clone https://github.com/rep/hpfeeds.git
cd hpfeeds
sudo python setup.py install
Install latest stable release from pip:
sudo pip install glastopf
Or install latest development version from the repository:
cd /opt
sudo git clone https://github.com/glastopf/glastopf.git
cd glastopf
sudo python setup.py install
Prepare glastopf environment:Note: This also starts glastopf, so you have to make sure apache is stopped first
Apache is installed and started when php5 is installed
cd /opt
sudo mkdir myhoneypot
cd myhoneypot
sudo glastopf-runner
A new default glastopf.cfg has been created in myhoneypot, which can be customized as required.
This isn't really an issue, but it might be useful, maybe a doc update? The install instructions for Ubuntu 12 don't work for 14.04. Here is a modified version that should work for the current AWS Ubuntu AMI.
!/bin/bashish
Install prerequisites This is probably specific to Ubuntu 14, I went through the original script one dependency at at time and didn't install anything that was already there. NOTE: Apache is installed and started with php5, mongodb is also started. sudo apt-get update sudo apt-get install python-gevent libevent-dev python2.7-dev build-essential sudo apt-get install python-sqlalchemy python-lxml sudo apt-get install python-beautifulsoup mongodb python-pip python-dev sudo apt-get install git php5 liblapack-dev gfortran libmysqlclient-dev sudo apt-get install libxml2-dev libxslt-dev sudo pip install distribute
Kill apache and remove its startup scripts sudo /etc/init.d/apache2 stop sudo rm /etc/rc*.d/S91apache2 # I give up, rc-star.d/S-star-apache2
Install and configure the PHP sandbox cd /opt sudo git clone https://github.com/glastopf/BFR.git cd BFR sudo phpize sudo ./configure --enable-bfr sudo make && sudo make install
Open the php.ini file and add bfr.so accordingly to the build output: /etc/php5/cli/php.ini /etc/php5/apache2/php.ini ?? zend_extension = /usr/lib/php5/20121212/bfr.so
Downloading hpfeeds as part of the glastopf install blows up so do it manually first sudo git clone https://github.com/rep/hpfeeds.git cd hpfeeds sudo python setup.py install
Install latest stable release from pip: sudo pip install glastopf
Or install latest development version from the repository: cd /opt sudo git clone https://github.com/glastopf/glastopf.git cd glastopf sudo python setup.py install
Prepare glastopf environment: Note: This also starts glastopf, so you have to make sure apache is stopped first Apache is installed and started when php5 is installed cd /opt sudo mkdir myhoneypot cd myhoneypot sudo glastopf-runner
A new default glastopf.cfg has been created in myhoneypot, which can be customized as required.