blog darkness...

words, music, food

Entries for tag "secops"

Building passwordsafe from source on ubuntu

First, setup gtest: sudo apt-get install libgtest-dev sudo apt-get install cmake # install cmake cd /usr/src/gtest sudo cmake CMakeLists.txt sudo make sudo cp *.a /usr/lib Install other dependencies: sudo apt-get install libwxgtk3.0-dev uuid-dev libxerces-c-dev libxt-dev libxtst-dev Next, download the passwordsafe src tarball from: https://sourceforge.net/projects/passwordsafe/files/ Untar and cd into the...
Continue reading »

selinux + ReviewBoard

Something like this should do it: chcon -Rv --type=httpd_sys_content_t /var/www/ semanage fcontext -a -t httpd_sys_rw_content_t "/var/www(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/reviewboard.example.com(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/reviewboard.example.com/data/(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/reviewboard.example.com/htdocs/media/ext(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/reviewboard.example.com/htdocs/static/ext(/.*)?" restorecon -R -v /var/www/
Continue reading »

yasca on linux

updated yasca hack for linux.  this is based on my previous yasca hack found here: https://github.com/scovetta/yasca/issues/2 One of these days I will properly fork it. Download it here. Fixes the following error: Failed loading /usr/lib/php5/20121212/opcache.so:  /usr/lib/php5/20121212/opcache.so: cannot open shared object file: No such file or directory PHP Warning: ...
Continue reading »