blog darkness...

words, music, food

Entries for date "July 2015"

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 »

ReviewBoard setup DistributionNotFound: Whoosh>=2.6

[root@codereview ~]# pip uninstall whoosh Uninstalling Whoosh-2.7.0: /usr/lib/python2.7/site-packages/Whoosh-2.7.0-py2.7.egg Proceed (y/n)? y Successfully uninstalled Whoosh-2.7.0 [root@codereview ~]# pip install whoosh==2.6.0 Collecting whoosh==2.6.0 /usr/lib/python2.7/site-packages/pip-7.1.0-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning....
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 »