All HowTo's
Get help with Linux, Automation, Cybersecurity and more. AGIX staff have the know-how and experience to help your organisation with best-practices, current technology in various Cloud environments including Amazon AWS. Our technicians support Ubuntu, Redhat, Databases, Firewalls, Ansible and Terraform, Storage and more.
This page shows examples of our work that AGIX shares freely with you. For a fully supported compute environment, contact our team to find out how we can help your organization move forward in the right way.
See Our Blogs on All HowTo's
Backup all MySQL databases into their own backup file
All HowTo's
MySQL & MariaDB
This is an example Bash script that will backup the MySQL databases on the local system. It will backup all databases except those called “Database”, “information_schema” and “mysql”. In other words, it will backup ‘your’ databases. Just remove those from the “egrep” command if you want all databases (including the
Read More
Puppet err: Could not retrieve catalog from remote server: hostname was not match with the server certificate
All HowTo's
This article explains the error “err: Could not retrieve catalog from remote server: hostname was not match with the server certificate”. This error suggests that the Puppet servers SSL certificate’s name is not when the Puppet client expect. On the Puppet server, issue the command: puppet cert print $(puppet master
Read More
Install Puppet Server & Client on Redhat & CentOS 6
All HowTo's
Ansible & Terraform
Linux
Redhat, Fedora and CentOS Linux
Web Servers
This article explains how to install the Puppet server (also known as the PuppetMaster) and client on a Redhat or CentOS server. Note that Puppet uses TCP ports 8140, 61613, and 443. First add the Puppet repo on both the puppet client and server systems. The following link has several
Read More
Configure Varnish Cache for Multiple Domains – CentOS/Redhat 6
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Ubuntu, Mint & Debian Linux
Web Servers
This article applies to Varnish 3. This article explains how to configure the Varnish Cache to cache for multiple domains on the same backend server. I’ve used CentOS 6.2 for this example. In this example, Varnish is listening on TCP port 80. The DNS “www” “A” record for the domains
Read More
Specifying an SSH private key to use on the command line
All HowTo's
Cyber-Security
Linux
Ubuntu, Mint & Debian Linux
You can specify which private key to use when issuing the Linux “ssh” command. This allows you to use one of many different private keys depending on which server(s) you’re connecting to. ssh -l agix example1.agix.local -i id_rsa.exmaple1 -v The above assumes that you have a private key in the
Read More
Configure SNMP on CentOS for use with Nagios (monitor disk space)
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Web Servers
This article explains how to configure SNMP for use with Nagios on a CentOS server. It’s assumed you already have Nagios installed but not necessarily configure to use SNMP to monitor a host. We use “Disk Space” monitoring in this article. For this article, i’ve used the following versions: 1.
Read More
Interpreting ADSL SNR and Attenuation Figures
All HowTo's
This article outlines what you can expect from SNR and Attenuation figures from ADSL modems. The tables below should be used to assist you in troubleshooting ADSL quality issues – even service drop-outs. Attenuation is the loss of signal in a return trip between your ADSL modem and the exchange.
Read More
Streaming Internet Music for Asterisk 10 “Music On Hold”
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Ubuntu, Mint & Debian Linux
This article explains how to add Music On Hold (or MOH) for Asterisk 10. The music will be streaming from the Internet – in this case, the “ABC News Radio” channel/station. Note that the download of Internet radio data starts when someone goes on hold. And stops when they go
Read More
MySQL Database Replication Example
All HowTo's
Linux
MySQL & MariaDB
Redhat, Fedora and CentOS Linux
Ubuntu, Mint & Debian Linux
This article explains how to install MySQL 5.1 on Redhat/CentOS and configure replication to a slave MySQL server. In this article, the master host has the IP address “192.168.122.7” and the slave has IP address “192.168.122.6”. Remember to restart the MySQL server if and when you make changes to the
Read More
Need Help?
Click Here