I am a new CentOS / RHEL 6.x server user and DevOP. I need to lock a package called nginx on a server being updated via yum command. How do I lock package version at a particular version on CentOS / Red Hat Enterprise Linux (RHEL) 6.x or Fedora Linu...
Friday, January 3, 2014
Thursday, January 2, 2014
Linux / Unix: whereis Command Examples
Iam a new Linux and Unix-like system command line user. How do I find and locate the binary, source, and manual page files for a given command?
You need to use the whereiscommand to find the source, binary, and manuals sections for specified commands or file...
Wednesday, January 1, 2014
Nginx: Redirect Backend Traffic Based Upon Client IP Address
I have four Apache backend servers in front of nginx reverse proxy server. How do I make sure nginx reverse proxy load balancer always send specific client IP address (say IP 1.2.3.4) request to http://apachereadwrite/ backend and rest to http://apachereadonly/ backend?
Nginx web server does support if conditionalconfiguration....