Category Archive: Linux

Nov 15

Booting Alternative Images from WDS using PXELinux

Preparation You will need: The syslinux 4.07 package, which includes PXELinux, from https://www.kernel.org/pub/linux/utils/boot/syslinux/4.xx/syslinux-4.07.zip I recommend 4.07 as later versions are unable to load memtestx86+ and require additional libraries. A functional Windows Deployment ServicesĀ role, which is beyond the scope of this article   Extract these files from syslinux-4.07.zip into a temporary folder /core/pxelinux.0 and rename it …

Continue reading »

May 17

Ubuntu 14:04+: Creating a VERY jailed user with jailkit

I have many hobbies I dabble in, one of them is vintage computers, and the other is vintage phones. I have an Asterisk server with a special card that connect to some of my vintage phone gear. I also have vintage computers that I could use to play with modems and act as a phone …

Continue reading »

May 17

Ubuntu 14.04+: Disabling Login Messages (MOTD)

In an earlier post (Ubuntu 14.04+: Changing Login Messages), I showed you how to modify, change, or even disable parts of the big long MOTD (Message of The Day) that you get with default Ubuntu. Admittedly, some of the information is useful at a glance. I have a pretty good pulse on my own Linux …

Continue reading »

Apr 17

MediaWiki on Linux: Domain Authentication

Enabling LDAP authentication on MediaWiki is fairly straightforward, but there are a couple tricks and gotchas to watch out for. First, a couple packages are needed: php-ldap (through your packaged manager) and Extension:LDAP Authentication (download and install as instructed). This assumes that you already have your Linux server working with your LDAP environment. First, edit …

Continue reading »

Jan 31

Ubuntu 14.04+ and Asterisk 13: Rotating Logs

After a while, Asterisk can spit out a lot of logging, which eventually will take up a large amount of room. Thankfully Ubuntu already has a program installed by default to help get a handle on logs called “logrotate.” This makes it really simple to add more logs to be rotated. Simply create the file …

Continue reading »

Jan 19

Ubuntu 14.04/Asterisk 13: CDR Reporting to MySQL

On Linux, I am familiar with MySQL, and for me it’s the easiest to get going. Asterisk used to include support for MySQL directly (and the config is still there, but not compiled into Asterisk by default anymore), but has since moved to a ODBC structure which offloads the database handling, making it database server …

Continue reading »

Jan 12

Ubuntu 14.04+/Asterisk 13: Securing Asterisk

A default Asterisk install works, but is pretty insecure, leaving it up to the administrator to decided how to secure it that works for them. Below are some suggestions (and things I have done) to secure Asterisk. Fail2Ban: This is a pretty simple implementation, and can be done quickly. I have already setup an email …

Continue reading »

Jan 12

Ubuntu 14.04+: Set up Postfix to Send to Local Network Relay

I have an internal SMTP mail relay set up on one server, and I have other servers send emails to that relay. I have a pretty simple setup as there is no security to send emails to the relay from inside. This makes the setup on other servers easier (although it’s not as good as …

Continue reading »

Jan 11

Ubuntu 14.04+ and Asterisk 13: Setting Up DAHDI

If you have added new hardware to your Asterisk box like FXO/FXS cards, there are a few configuration steps. Note: If you didn’t compile Asterisk with DAHDI, you will need to do those first. SeeĀ Ubuntu 14.04 Server: Install Asterisk 13 (opens in new tab/window) for Installing Asterisk, and just do the steps for compiling DAHDI …

Continue reading »

Jan 11

Ubuntu 14.04+ Server: Install Asterisk 13

Updated: 2017/08/20 – Fixed a few typos, changed apt-get instructions to apt, re-did the recommendations section, and removed Google Voice prerequisite section (since it’s been broken a lot lately, it will be a new separate post when I get it to work). These instructions are a modification of my earlier FreePBX instructions. I ended up …

Continue reading »

Older posts «