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 [...]
Archive for the ‘Linux’ Category
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 »
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: service nginx restart I would get this message in the /var/log/nginx/error.log file: panic: MUTEX_LOCK (22) [op.c:352]. After some hunting around, it appears to be a known bug in nginx (perhaps perl in nginx?)… Anyway, a simple workaround is to [...]
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 | 3 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 System Administration, Cisco CSS, SSL Certificates on April 6, 2009 | Leave a Comment »
Upgrading a SSL certificate using the Cisco 11500 Series Content Services Switch (CSS)
I highly recommend yum + createrepo + rpmbuild
Posted in AppCove, Linux, System Administration, Technique, tagged Apache, EPEL, Linux, RHEL, RPM, System Administration, YUM on March 8, 2009 | Leave a Comment »
As I was discussing lightly before, I have recently been involved in building quite a few RPMs for our server clusters at AppCove. Where we have arrived: Our (new) primary production cluster consists of multiple RedHat Enterprise Linux 5 boxes in different capacities (webserver, appserver, database master, database slave, etc…). Each machine is registered with [...]
Installing Source RPMs to your home directory
Posted in AppCove, Linux, System Administration, Technique, tagged Bloglet, RedHat, RHEL, RPM, SRPM on March 1, 2009 | 1 Comment »
I’ve been involved in an ongoing project to build RPMs for all of the “custom” software installs we use on RedHat Enterprise Linux 5 (RHEL5) at AppCove. By default (on RHEL), source RPMs are installed to /usr/src/redhat. This is nice, except that I don’t want to be running as root when building software. rpm -i [...]
Update [1] on Fedora vs Redhat Enterprise Linux
Posted in AppCove, Linux, reSearch, tagged EPEL, Linux, RPM, YUM on February 8, 2009 | 1 Comment »
This is in reference to http://blog.gahooa.com/2009/01/18/fedora-or-redhat-enterprise-linux-in-a-production-environment/. After the excellent comment by Sergio Olivo, I did some heavy looking into the Extra Packages for Enterprise Linux project (EPEL for short). On a brand-spanking-new RHEL 5 box, I installed the YUM repository for EPEL, and quite immediately had access to tons of extra packages. Erlang is there. [...]