Informatica
Unattended upgrades
Always remember to activate this package apt-get/yum install unattended-upgrades sudo dpkg-reconfigure –priority=low unattended-upgrades cat /etc/apt/apt.conf.d/20auto-upgrades should result in APT::Periodic::Update-Package-Lists “1”; APT::Periodic::Unattended-Upgrade “1”; CentOS $ sudo yum install yum-cron ## el6 $ cat /etc/sysconfig/yum-cron CHECK_ONLY=no DOWNLOAD_ONLY=no $ service start yum-cron $ chkconfig yum-cron on ## el7 $ cat /etc/yum/yum-cron.conf download_updates = yes apply_updates = yes emit_via … [Read more…]
Copying a lot of files between two servers
Let’s say you have 5 billion files in one folder that needs to be transferred. This is simple and works. tar c some/dir | gzip – | ssh host2 ‘cd /target/dir; tar xz’ you may also want to try (not tested) # requires netcat on both servers nc -l -p 2342 | tar -C /target/dir … [Read more…]