sudo apt-get install php5-odbc via Connecting to Microsoft SQL Server using ODBC from Ubuntu Server | James Rossiter.
Read More...me.stuff(spin());
sudo apt-get install php5-odbc via Connecting to Microsoft SQL Server using ODBC from Ubuntu Server | James Rossiter.
Read More...Is your webserver under attack and you think it’s being generated by a domain sending SPAM using PHP? Here’s a solution to log all of the PHP mail() traffic and view it in your browser. Create a file called “phpsendmail” – I put mine into /usr/sbin/phpsendmail Here’s the code. Make sure your server has “sendmail”…
Read More...#!/usr/bin/perl $REGEXP = shift || die “no email-adress given (regexp-style, e.g. bl.*\@yahoo.com)!”; @data = qx; for (@data) { if (/^(\w+)(\*|\!)?\s/) { $queue_id = $1; } if($queue_id) { if (/$REGEXP/i) { $Q{$queue_id} = 1; $queue_id = “”; } } } open(POSTSUPER,”|postsuper -d -“) || die “couldn’t open postsuper” ; foreach (keys %Q) { print…
Read More...The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!) via Bits of Brilliance: Session Five | projectMONA.
Read More...Great source for deleting millions of files in a ubuntu directory when you get an error: /bin/rm: Argument list too long. Well, simply navigate to the directory with the problem and execute this: ls -1 | wc -l && time find . -type f -delete Apparently, ‘find’ can handle large number of files better than…
Read More...Interesting insight as to why Windows Kernel is failing / falling behind… “I Contribute to the Windows Kernel. We Are Slower Than Other Operating Systems. Here Is Why.” I was explaining on Hacker News why Windows fell behind Linux in terms of operating system kernel performance and innovation. And out of nowhere an anonymous Microsoft developer who…
Read More...Opera Omnia: Tom Pennings’ Blog: Mounting Linux (ext2/ext3) partitions under Mac OS X.
Read More...Not quite happy with the available disk usage analyzers and looking for a fun project to get used to C programming, I started working on ncdu: A disk usage analyzer with an ncurses interface, aimed to be run on a remote server where you don’t have an entire gaphical setup, but have to do…
Read More...I have to transfer a bazillion files from one server to another via FTP and I don’t know how to do this. I’ve been using the archaic FTP since the early 90s and have never figure this out, or for that matter needed to until today when I had to upload about a terabyte of…
Read More...SparkleShare – Self hosted, instant, secure file sync. How does it work? SparkleShare creates a special folder on your computer in which projects are kept. All projects are automatically synced to their respective hosts (you can have multiple projects connected to different hosts) and to your team’s SparkleShare folders when someone adds, removes or edits…
Read More...Getting some error like: magicspam-plesk depends on libmilter1.0.1; Trying to install MagicSpam on Unbuntu 12.04 and Plesk 11? apt-get install libmilter-dev root@blue:/tmp# sudo dpkg -i magicspam-plesk-1.0.5-3-precise64-postfix10.amd64.deb (Reading database … 188972 files and directories currently installed.) Preparing to replace magicspam-plesk 1.0.5-3 (using magicspam-plesk-1.0.5-3-precise64-postfix10.amd64.deb) … Unpacking replacement magicspam-plesk … dpkg: dependency problems prevent configuration of magicspam-plesk:…
Read More...So you’ve upgrade to Plesk and your users can’t upload large files any more. Upon looking at your log files, you see an fcgi error [warn] [client x.x.x.x] mod_fcgid: HTTP request length 16777256 (so far) exceeds MaxRequestLen (16777216) Where is maxrequestlen (16777216) set in Parallels Plesk 11 and Ubuntu It’s in a 2 locations… Edit…
Read More...After updating to Ubuntu 12.04 my DNS networking is whacked. Postfix is getting these errors: Host or domain name not found. Name service error Apparently you can’t edit the /etc/resolv.conf file directly because it will be overwritten by the ‘system’ # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS…
Read More...Command To See Postfix Queue % mailq or % postqueue -p FLUSH Messages In Queue % postfix flush or % postqueue -f Hope this helps.
Read More...Woke up this morning and the Postfix SMTP server on Ubuntu 10.04 and Plesk stopped running. I could start and stop via service # service postfix start and it appeared everything was working fine. However, it wasn’t until I looked at the syslog /var/log/syslog that I saw an error occurring on start up. Nov 26…
Read More...Years ago, I was proud to own an 80MHz, 16MB RAM PC with a huge 512MB harddisk. But even on this incredibly huge harddisk, my diskspace seemed to disappear over time. So I wrote a little tool to find out where all my diskspace had gone: I called it gettree, as it showed all files…
Read More...Turn an Old Computer into a Networked Backup, Streaming, or Torrenting Machine with Ubuntu.
Read More...http://kb.parallels.com/en/111283 Another nice page to help me remember where all those log files and config files are for Parallels Plesk Panel for Linux services logs and configuration files
Read More...What an AWESOME project. I’m so thankful to have found this. Scan your server for malware. We had a server getting slammed with a malware file. Linux Malware Detect found it. Thanks, THANKS! Linux Malware Detect | R-fx Networks. Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license,…
Read More...