Changing default port of memcache on Centos 6
November 12, 2012
, posted under
sysadmin
centos
rhel
selinuxOne of those things that just took me a lot longer than I expected…
Changing memcache port seems simple enough - just edit
/etc/sysconfig/memcached
and change the PORT value
BUT on a new centOS install memcache failed to start on any non-standard port.
verbose remote ssh (with echo)
January 20, 2012
, posted under
linux
bash
ssh
sysadminI usually manage website deployment with bash scripts that run remote commands on the servers
In order that I can see what is going on and debug any errors verbose output is useful.
Running “bash -ex” causes each line to be output as it progresses and halt on any error so that you don’t miss it.
within the remote command “set -x” cause bash to echo all commands