24 reputation
2415
bio website askbot.com
location Valparaiso, Chile
age
visits member for 5 years, 5 months
seen Oct 17 at 23:54

Askbot is a Q&A forum based on my English translation of Chinese CNPROG

You can grab a copy of askbot at Github or PYPI (with easy_install or pip).

In the past I used manage Bio-NMR research facility at the University of California, Irvine and I've founded an online Magnetic Resonance community project: NMR Wiki and NMR Wiki Q&A forum - all about really strong magnets, radio-frequency pulses and chemistry.


May
28
comment how do i write an init script for django-supervisor
@HopelessN00bGeniusofnetwork The question is not mine. I've added bounty on the question and lost ability to comment on other people's posts.
May
28
comment how do i write an init script for django-supervisor
Thanks, that I have already, i.e. supervisord starts with the service command. Let me update with my supervisord program config.
May
28
comment how do i write an init script for django-supervisor
no rep to comment, to clarify - the issue is that the "python manage.py celeryd" process dies when run under supervisor (but works fine in the shell). There is no feedback from the command besides what's in the supervisord.log - child process died to quickly. Supervisord itself works and I do have the init scripts in place. Here is one of the files in the /etc/supervisor/conf.d/celery.conf [program:celery] command= python /srv/myapp/manage.py celeryd environment=PATH=/srv/myapp/env/bin/ user=apache numprocs=1 stdout_logfile=/var/log/supervisor/celery.log stderr_logfile=/var/log/super
Sep
9
comment Check if port is open or closed on a Linux server using SSH?
Could you pls add how to undo the iptables -I command? Thanks!!
Oct
12
comment Django site performance problem
add Alias directive to connect static files urls with a directory where your static files are.
Jun
21
comment Single sign-on for intranet?
@symcbean OP has subdomains on the same domain, so cookies will work in this situation.
Feb
22
comment Install & execute python on cPanel/whm
This does not help because it does not explain how to add the module to apache without breaking the cpanel-generated files.
Aug
24
comment Virtualhost setup for Ruby on Rails application (mod passenger)
Hi, I have a wiki (php mediawiki base url /wiki ), and a django app (base url /) in the same virtual host, now we'd like to add redmine at /bugs - using passenger. Is it possible to set all of that up in the same virtualhost?
Oct
29
comment server datetime value jumps
yep. tried reloading server, then calling only django application from the browser, time was always correct. then called PHP app and time started being off every now and then.
Oct
29
comment server datetime value jumps
thanks. mod-wsgi is not using daemon mode in my case. There is a PHP application running and the python one is hooked up through WSGIScriptAlias.
Oct
29
comment server datetime value jumps
those are pids of apache process that handle the requests, and the log is printed by the web application to a file
Aug
7
comment How to set up disk cloning with dd, netcat and ssh tunnel?
thanks. are quotes necessary?
Aug
7
comment How to set up disk cloning with dd, netcat and ssh tunnel?
so it will be impossible on the mounted disk?
Jul
31
comment Linux host to host migration
thx. fortunately I can just try and if it fails ask the provider to re-image the box. I don't have physical access to the machines.
Jul
31
comment How to find out details about hardware on the Linux machine?
thanks for the link. I admit that I could have googled it, but google is a mess man.
Jul
31
comment How to find out details about hardware on the Linux machine?
thanks no, I'm trying to move from host to host and would like to see what is the difference in hardware in general - to see if I can move by re-imaging.
Jul
30
comment Minimizing webpage load time (assuming low traffic)
good catch, 1 GHz indeed :)
Jul
30
comment Set up a forwarding mailbox in qmail?
I ended up using postfix, it was pretty easy to get going after I found location of the log file
Jul
30
comment Apache not serving files from where expected
you also want to add RewriteEngine on before the rules
Jul
30
comment Apache not serving files from where expected
the manual is not clear about it but it seems that pattern cannot include the domain name, it seems to match the path relative to document root. RewriteCond can catch the domain name which you can use in the substitution pattern.