Tag Archive for 'Linux'

image_pdfimage_print

Bash – Dynamic Public IP Address Monitor Script

This is a script I wrote to monitor my public IP address to see if it changes or not. It comes in very handy if you run a server on a dynamic IP address. It is setup to run in a daily cron job every morning. The script sends an email that lets me know […]

Bash – MySQL Backup Script

Looking for a script to backup your MySQL databases on a Linux host? Here is a simple bash script that can be used to automate the process in a cron job. The script checks the database integrity then dumps the database to a text file, tar’s it up, and the emails a confirmation of completion.

AsteriskNow – How To Change The Default FreePBX Password

AsteriskNow is a full blow free turnkey PBX Linux distribution based on CentoOS that can be used in many different types of telephony applications. It is very easy to install and initially setup however changing the default freepbx password can be a bit challenging since there is no link or menu anywhere in the interface […]

Xen Cloud Platform (XCP) – XenCenter Snapshot Issue

When using XenCenter in conjunction with XCP you will find that you are unable to take snapshots of your virtual machines in XenCenter. XenCenter will spew up an error saying “Snapshots require XenServer 5.5 or later”. This seems very strange since XCP is based on XenServer 5.6.0-fp1. It turns out that the XCP xapi needs […]

Gentoo – IRC Server

Want to host your own IRC server on your gentoo box? Well here is how:

Gentoo – Getting Sound With Alsa

In order to get sound working in Gentoo you need to set up ALSA. If you have not set up your kernel with ALSA support you will need to do so, see here for more information. Recompile your kernel with ALSA support and your sound card built in. Then do the following:

Gentoo – TeamSpeak 2 Server

In this guide I will discuss how to set up a Teamspeak 2 Server on Gentoo Linux. Teamspeak is a very popular tool used by gamers and online collaborators to provide an online group oriented voice chat environment. First thing you need to do is log in as root, then type:

Gentoo – Protecting Web Directories With .htaccess

In this guide I will show you how to protect your localhost web root with .htaccess and .htpasswd files. By doing this a username and password will be required to enter the site. Let’s get started! As root do the following:

Gentoo – SSMTP (Sending Mail)

Now that I finished showing you how to set up your LAMP server you are probably going to want to set up sendmail/ssmtp so that some of your new fancy websites can take advantage of it for their email services. Lets get started! We are going to be using ssmtp which will replace sendmail as […]

Gentoo – PHP

In a previous guide I discussed how to set up an Apache web server on your Gentoo box. In this part I will show you how to set up PHP so it works with Apache and MySQL which will allow you to host dynamic content rich websites on your web server. Plus by having MySQL, […]