Last couple days have had me working on the page rendering functionality of the HomeSchool software. I’ve made some design decisions (for now) to speed up development like fixed 8.5″ x 11″ pages. Hopefully later I will be able to go back and improve some aspects, but for now, time is of the essence. Here [...]
Archive for the ‘Linux’ Category
HomeSchool Software: Page Rendering (Also ImageMagick Text Example)
Posted in Engineering, Fun, Interesting, Linux, Projects, Software, Technique, tagged Home School, Home School Software, Homeschool, ImageMagick, Productivity Software, Software Development on June 13, 2011 | Leave a Comment »
Optimal PuTTY Settings for SSH Connections to Linux
Posted in Engineering, Linux, Open Source, Technique, tagged PuTTY, PuTTY Configuration, PuTTY Settings, Software Technique, SSH, SSH Agent, SSH Agent Forwarding, SSH Client, Windows SSH on June 7, 2011 | 2 Comments »
PuTTY is a great program. I think it tops the cake for most-useful-utility-on-windows that I have ever encountered. I’ve used it to connect to telnet, ssh, linux, unix, windows, hypervisors, and even IBM iSeries (AS-400). However, despite all the cool things one can do with PuTTY, the default out-of-the-box-settings leave a good bit to learn. For [...]
How to force-drop a postgresql database by killing off connection processes
Posted in Engineering, Linux, Open Source, Software, System Administration, Technique, tagged Drop Database, Kill Process, PostgreSQL, Process on November 3, 2010 | 4 Comments »
Ever need to drop a postgresql database, but it would not let you because there are open connections to it (from a webapp or whatever)? Quite annoying. If on a production server, and other databases are being used, restarting postgresql is a last resort, because it generates downtime for your site (even if small). I [...]
How to checkout and track a remote git branch
Posted in Engineering, Linux, Open Source, Software, Technique, tagged git, git branch, version control on July 9, 2010 | Leave a Comment »
One of those really handy things to remember… When git “tracks” a branch, it basically sets up an entry in .git/config which tells git what to do with push and pull. For example: I had a remote branch called Task/Round3.3. I wanted to work on it locally, but have push and pull work right. So [...]
Ubuntu Post-Install tips…
Posted in Linux, Open Source, Software, System Administration, Technique, tagged Ubuntu, Ubuntu Partner Repositories, Ubuntu Setup on June 14, 2010 | Leave a Comment »
I received this from a friend, and thought I would post it here in case anyone would find it useful. After Installing Ubuntu, basically I do this: Go to: System -> Administration -> Software Sources -> Other Sofware, and enable partner repository. After that, we can this on a Terminal: sudo apt-get update sudo apt-get dist-upgrade sudo [...]
nginx restart error
Posted in Linux, System Administration, Technique, tagged nginx, nginx configuration, nginx error on February 24, 2010 | Leave a Comment »
Was playing around with nginx on Centos 5 (EPEL package). Most of the time I ran: I would get this message in the /var/log/nginx/error.log file: After some hunting around, it appears to be a known bug in nginx (perhaps perl in nginx?)… Anyway, a simple workaround is to do this: Or, simply edit /etc/init.d/nginx, and [...]
Example Automated MySQL Backup Script
Posted in Linux, System Administration, Technique, tagged backup, Backup Script, MySQL, System Administration on December 26, 2009 | Leave a Comment »
Rather than use –all-databases, which will prevent you from being able to selectively restore any single database, consider the following: Ideally, you should have a daily backup, with some history. It should be bulletproof (–force), it should be logged (>> …log), it should be compressed (| gzip), it should keep separate copies of each database, [...]
Python 3.1 and mod_wsgi performance notes
Posted in AppCove, Engineering, Linux, reSearch, tagged Apache, mod_wsgi, Performance, Python, python 3 on October 11, 2009 | Leave a Comment »
We’re researching the use of Python and mod_wsgi running under apache for developing some extensive web applications. Here are some notes on a performance test that we recently ran. ================================================================== Server: x86_64 Python 3.1.1 mod_wsgi 3.0c5 apache 2.2 RHEL 5.3 quad core xenon 8 GB ram Development system – not in production use. ================================================================== Application: [...]
Interesting Thoughts on Cloud Server Performance
Posted in Engineering, Linux, System Administration, tagged AB, Apache, Benchmarking, Cloud Server, Performance on August 1, 2009 | 4 Comments »
Apache load testing on a Cloud Server – Jason – 7/31/2009 I recently created a cloud server for a wordpress blog, and configured it to the point that the blog was working OK. Then I decided to check the performance aspects of the server, as it was a small 256 MB + 10GB machine. Using [...]
Updating a cert on the Cisco 11500 Series Content Services Switches (CSS)
Posted in AppCove, Linux, System Administration, Technique, tagged Cisco CSS, SSL Certificates, System Administration on April 6, 2009 | Leave a Comment »
Upgrading a SSL certificate using the Cisco 11500 Series Content Services Switch (CSS)