657 reputation
413
bio website hjg.com.ar
location Buenos Aires, Argentina
age 47
visits member for 4 years
seen Apr 15 at 19:52

May
16
comment Determine which process owns an flock'ed file
fuser /var/lock/my_lock ?
Apr
26
comment Opening tomcat server to the public
For the first point, check if the IP on your machine (ifconfig) is really public, it should coincide what you see browsing to whatismyip.com . If not, you are doing NAT, and you need to configure port-forwarding in your router. To check if it's iptables, a quick and dirty way is to stop iptables for a few seconds and check.
Apr
21
comment Nginx IP root to one of my domains?
"I want 123.456.789.012 to redirect to 123.456.789.012/site1/ but without the /site1/ attached" What? I can't understand this.
Mar
2
comment Rsync : copying over timestamps only
+1 Nice recipe!
Jan
18
comment how to run shell commands from apache (through php )
see also here: stackoverflow.com/a/9873970/277304
Oct
1
comment Apache httpd Java Application?
why the downvotes and the closing votes? this is a novice question, but it's quite legitimate IMO , and might be useful to other programmers.
Jun
12
comment Ultra-efficient compression
In linux lzma is also supported by tar gnu.org/software/tar/manual/html_section/Compression.html
May
26
comment What's a good setup for running Java and PHP applications with SSL on the same server?
I have two certificates (and two IP), installed in Apache, created with openssl, signed by Thawte/Godaddy
Jun
14
comment pg_dump and pg_restore: input file does not appear to be a valid archive
"not recommended" was an overstatement, I agree. But "most flexible" does not necessarily means "most recommended". Clarified.
May
4
comment Mount a tar file - not possible?
I love playing with pipes and command lines, but that doesnt apply here. 'find' is not fed from stdin but from som path in some filesystem
May
4
comment Mount a tar file - not possible?
I know that, but find lets you specify a lot of criteria and logic (sizes, timestamps), tar+grep falls a little short.
Apr
21
comment Can I mix yum and apt-get safely?
But, say, does yum know about a package that was installed via apt-get ? Suppose I installed package P1 via yum, then I try to install package P2 via apt-get, and P2 depends on P1 : would apt-get know that P1 is already installed or would it try to install it itself?