Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
Delete Files Older Than X Days
Command Syntax find /path/to/files* -mtime +5 -exec rm {} \; Note that there are spaces between rm, {}, and \; This is a very simple tutorial how to find and delete files older than X days. I needed this for a project where i collected some images and after a while they took too much […]
![]()
Asterisk – Setup Elastix in exist CentOS or VPS
Case 1 (With Elastix Repository) Create new repository vi /etc/yum.repos.d/elastix.repo [elastix-base] name=Base RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=base #baseurl=http://repo.elastix.org/elastix/2/base/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-updates] name=Updates RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=updates #baseurl=http://repo.elastix.org/elastix/2/updates/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-beta] name=Beta RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=beta #baseurl=http://repo.elastix.org/elastix/2/beta/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-extras] name=Extras RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=extras #baseurl=http://repo.elastix.org/elastix/2/extras/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix Install […]
![]()
Send E-Mail On Redhat / CentOS with SMTP (SMTP Relay)
In this tutorial we will send email with mailx and using external SMTP server for email sending from CentOS/Redhat Install mailx yum -y update yum install -y mailx We can now start sending e-mails using create a symbolic link ln -s /bin/mailx /bin/email Set an External SMTP Server to Relay E-Mails vi /etc/mail.rc edit set […]
![]()
