Skip to content

Ricardo Malla's Blog

  • Home
  • Information Technology
    • O/S
    • Databases
    • Software
  • Life
    • Health
  • Ideas
  • Notes

Category: O/S

Script to Rotate Backups

Posted January 11, 2019November 30, 2019 Ricardo MallaLeave a commentPosted in Ubuntu

Delete all files except the ones the first day of the month. root@DiskStation:/volume1/homes/scripts# find /volume1/NetBackup/Servers/MIA/Asterisk/Admin/Cron/ -type f -mtime +7 ! -name ‘*01-*’ -exec rm -rf {} \;

Ubuntu: Resolve out of Memory

Posted October 20, 2018November 30, 2019 Ricardo MallaLeave a commentPosted in Ubuntu

  Out of memory: Kill process 10356 (mysqld)   This happens because the system is out of memory, you should investigate the reason. It is not necessarily a MySQL problem, there may be a memory leak somewhere else that leaves […]

IPTables

Posted March 8, 2018November 30, 2019 Ricardo MallaLeave a commentPosted in Ubuntu

To have the tables load after reboot sudo apt-get install iptables-persistent Then after you edit the iptables, if you want to update the initial file you should sudo /etc/init.d/iptables-persistent save   To enable the log, you need to: iptables -N […]

Apache http2: Activation on Ubuntu 14.04

Posted November 17, 2017April 20, 2018 Ricardo MallaLeave a commentPosted in Ubuntu

http/2 is apparently where the web is going on the next generation web data transfer. I’m interested on trying to configure it, to see if that gives me an edge on the SEO side. The process to activate it is […]

Crontab: Executing Java Shell Commands For Example Talend

Posted July 25, 2017November 8, 2017 Ricardo MallaLeave a commentPosted in Shell Scripts, Ubuntu

To run talend scripts on you ubuntu box, you need to add the path on your cron otherwise it will not run. You can see the explanation below, obviously need to change the path with your current java path (mine […]

Posts navigation

1 2 … 6 Next
Proudly powered by WordPress | Theme: Sydney by aThemes.