Reputation
1,187
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 23 35
Impact
~191k people reached

  • 0 posts edited
  • 0 helpful flags
  • 124 votes cast
Jan
4
comment Why do some servers have so many processes running?
@Zoredache the list does seem incomplete compared to the other one. I updated the links with the output of free. Both lists are output from users in sudo su.
Dec
13
comment Memory usage of php-cgi processes is growing steadily
Use Nginx as it is smaller than both servers and has no memory leaks from PHP. Wordpress and other large sites use it.
Oct
20
comment Recursively archive small files in document tree on linux?
Awesome, next thing I knew I had a 100MB backup of text files sitting there.
Oct
19
comment Recursively archive small files in document tree on linux?
@DerfK Apparently I am hitting the limit because the tgz file is stopping at about 9MB of files (about 3% of the sub 100kb files I was backing up). Perhaps what I need is a sh script that can add files one at a time to avoid the arg limit. Or I could save the output of find to a text file and read that to tar.
Oct
19
comment Recursively archive small files in document tree on linux?
Both work, (using lain's modifications) so which would be better/faster on large directories?
Oct
1
comment Nginx block access to PHP files
That was just what I needed. However, since I'm using Debian I had to install the backports nginx package to get nginx 7 which is required for "try_files". Also, I changed that last location to location ^~ /index.php and it worked.
Oct
1
comment Changing Debian Package Sources
backports.debian.org was just want I wanted. Added a single line to sources.list and installed what I needed.
Sep
25
comment A secure, standard iptables rule-set for a basic HTTP(s) webserver
@hobodave I just started with DenyHosts so I'll keep this mind as the first thing to switch when this becomes a problem.
Sep
25
comment A secure, standard iptables rule-set for a basic HTTP(s) webserver
Good point, given that most VPS are in a VM with others possibly accessible from LAN I would say that not-trusting them would be the smart starting place. If you have additional VPS then you could add rules later to access them (i.e. webserver to database).
Sep
25
comment A secure, standard iptables rule-set for a basic HTTP(s) webserver
I actually use DenyHosts since it saves 15MB or so over fail2ban. However, fail2ban is more powerful and works with many applications (not just SSH like DenyHosts). Given that attackers are banned, should I still worry about the log files filling up to fast? Is there a way to rotate files when they get to full? If I disable logging in fail2ban will Denyhosts/Fail2ban still have log entries to scan? Also, the source option would be good for some people - but since I'm aiming for a default ruleset people like myself that move around a lot can't use that option.
Sep
25
comment Default sudo group for Debian Linux?
Then "sudo" it is.
Sep
22
comment Removing Apache from Debian 5
Ah, perfect! Cleaned it right up.
Sep
21
comment How to strip a Linux server distro to the core?
What I mean is that before I used svn/git/scp over pure SSH I used SFTP which just added another unneeded piece to the transfer.
Sep
21
comment How to strip a Linux server distro to the core?
Linux From Scratch looks like the prefect resource for learning what is needed and why. That should help me in removing what isn't needed on my systems. Though I'm sure I'll continue to use full destros for their communities and support. It's not like I need to go off and start yet another linux flavor.
Sep
21
comment How to strip a Linux server distro to the core?
I'm sure that since I'm still new to this there is a lot I am misunderstanding. However, I know that in every OS there are always packages that aren't needed - or that can be replaced with faster, smaller apps. I want to learn what those are and how I can use them.
Sep
21
comment How to strip a Linux server distro to the core?
Well, I remember running across some really DSL distros (including DSL) and that while that does give the end result. I'm interested in learning what is or is not needed and why along the way. So I'd rather stick to full destros that I know will be around to offer support in the future. I just want to learn what isn't needed so I can remove that after each install and the easiest way seemed to be to read a guide or find someone's script on the subject.
Jun
22
comment Setting up Git over SSH on Windows using a non-standard port
Not having pagent running was half my problem - thanks!
Jun
21
comment Setting up Git over SSH on Windows using a non-standard port
Thats just it, my private key doesn't have a passphrase yet it's still asking for one.
Jun
13
comment Stopping a DOS attack
This is a great question but apparently there is no real answer. Wow, I never knew that the DoS brick wall was so thick.
Jun
3
comment What is the lightest, basic Email Server for Linux?
I found an article using Exim library.linode.com/email/exim/send-only-mta-ubuntu-10.04-lucid