Category Archives: Linux

my favorite website. reserved for a while. they made everything better

http://grooveshark.com/s/The+Boss/3WIOyQ?src=5

Posted in .Net, Apache, css, git, Java, javascript, jQuery, Linux, Math, MySQL, Networking, Other, PHP, Postfix, Source Code Management, sqlite, subversion, wordpress | Leave a comment

very interesting

I like this idea. I was trying to figure out how cron handles locking if some of the jobs are really long. Synchronously? Asynchronously? I never found a very clear cut answer. However I did find this program for keeping … Continue reading

Posted in Linux | Leave a comment

apache log size limit

Sounds nasty. Pretty much is. Found this cool tip from another blog: Apache won’t do this for you – all it does is write lines to a filehandle. However, the filhandle doesn’t need to lead to a file, it can … Continue reading

Posted in Apache, Linux | Leave a comment

rename all files and folders lowercase

Interesting: find my_root_dir -depth -exec rename ‘s/(.*)\/([^\/]*)/$1\/\L$2/’ {} \;

Posted in Linux | Leave a comment

remote samba share

not sure if this will work. I guess it does. I’ve found multiple resources[1,2] citing nearly identical solutions. I think the 2nd one is a little easier to follow. It seems like the way to do this changed considerably from … Continue reading

Posted in git, Linux, MySQL, Other, sqlite | Leave a comment

linux command line calculator – bc

It seems like the last time I looked up how to get floating-point results I found a different answer. Anyhow, here is one possible way: echo ‘scale=10; 33/4′ | bc I found an interesting post in the process. It seems … Continue reading

Posted in Linux, Math | Leave a comment

ok, here we go – LAMP https setup

Older server with this setup is turned off. So I’m going to document it. Where was that place that offered free certificates? startssl.com. The process: sign up email verify create a key install key – mostly click “ok” a few … Continue reading

Posted in Apache, Linux, Networking, PHP | Leave a comment

changing sendmail’s host name and via[mailed-by] hostname

so far only have a link to a good looking resource. It actually talks more about hostname in general linux sense. Need to test it out, see what I can get accomplished. Then will try to find more fine grain … Continue reading

Posted in Linux, Networking, PHP, Postfix | Leave a comment

commandline sendmail test

title says it all… sendmail -s “Hello world” email@domain.tld believe you need root privileges. search helping: send mail, send-mail, command line. *For some reason this command is not working on some ubuntu server. getting: sendmail: invalid option — ‘s’. tried … Continue reading

Posted in Linux, Postfix | Leave a comment

Linux version and distributioin information

I always by default remember ‘uname -a’, which is mostly related to kernel information. I also pretty frequently need to know which version of ubuntu or centos I am using. ‘lsb_releaseĀ -a’ worked ubuntu[a server verions]. There is some mention to … Continue reading

Posted in Linux | Leave a comment