Archivo de la categoría: Linux

perl admin

Hey there! Today I wanted to focus on something that’s helping me do my job in a more efficient fashion. At a former workplace, I was responsible for ~200 high capacity webhosting machines, and a host of supporting machines. Back then, I was a huge fan of a management system mostly comprised of SSH Keys… Leer más »

two nic’s one default gateway

Open /etc/sysconfig/network and append GATEWAY=eth0.gateway.IP.address Open /etc/sysconfig/network-scripts/route-eth1 and add routing for eth1 and restart it. For example: 202.54.1.2/29 via 202.54.2.254 Also, set static route for /etc/sysconfig/network-scripts/route-eth0: 10.1.2.3/8 via 10.10.38.95 Do not add gateway entries to /etc/sysconfig/network-scripts/ifcfg-eth1 and /etc/sysconfig/network-scripts/ifcfg-eth0

StartSSL – The Swiss Army Knife of Digital Certificates & PKI

StartSSL™ is the trade mark of the StartCom Certification Authority – a leader of the digital certification industry. We provide you with everything from free low-assurance SSL certificates up to the most advanced PKI and security solutions for your business and personal use. http://www.startssl.com/

Sort by Size with du

De menor a mayor du -ks * | sort -nr | cut -f2 | xargs -d ‘\n’ du -sh De mayor a menor du -ks * | sort -nr | cut -f2 | xargs -d ‘\n’ du -sh Optimized Code 1 du run du –max-depth=0 -k * | sort -n | awk ‘{ if($1>=1024*1024) {size=$1/1024/1024;… Leer más »