Category: Linux

  • Managing SSH Keys Stored in Active Directory

    In a [[https://blog.laslabs.com/2016/08/storing-ssh-keys-in-active-directory/|previous blog post]] we discussed how we can allow users to store their keys in Active Directory and automatically deploy those keys. Now, we will explore how we can allow users to manage SSH keys stored in this manor. First, we need to allow users to update their own `sshPublicKeys` attribute. Allowing self-write…

  • Storing SSH keys in Active Directory for easy deployment

    Storing SSH keys in Active Directory for easy deployment

    Public key authentication has long been considered one of the most secure methods of remote SSH authentication. However, using the same key-pair for more than one machine can pose security risks, especially if that key is not secured by a passphrase but managing unique keys for each system a user has access to can be nightmare inducing. For this…

  • Ubuntu – Installing Doxygen

    Ubuntu – Installing Doxygen

    —- = Installing Doxygen = This article will walk you through the process of installing Doxygen on Ubuntu; including all dependencies required for Graphs, PDF, HTML, & LaTeX output. # Standard procedure when beginning any software maintenance is to update your package repos and application versions (update and upgrade respectively) {{{ lang=bash sudo apt-get update…

  • Installing Odoo 8 From source in VirtualEnv (Ubuntu)

    Installing Odoo 8 From source in VirtualEnv (Ubuntu)

    —- This article will walk you through installing Odoo 8 from source on an Ubuntu (or other Debian distro) box using the [[https://github.com/odoo/odoo|Odoo GitHub Repo]]. [[[TOC]]] —- = Foreword = This is meant strictly for development environments, as it installs a lot of headers that are only needed to build the binaries. [[https://laslabs.com|LasLabs]] will soon…

  • Dynamic DNS With CloudFlare – Ubiquiti EdgeRouter

    This tutorial will walk you through the process of setting up Dynamic DNS with CloudFlare on the Ubiquiti EdgeRouter (or really any form of Linux). Please see [[ddns-using-libcloud-edgerouter|here]] if you need to accomplish this using [[https://libcloud.apache.org/|LibCloud]], or [[dynamic-dns-with-ubiquiti-edgerouter|here]] if you are using a supported provider. === The Steps === # First, we will need to…

  • Dynamic DNS Using LibCloud – EdgeRouter

    This tutorial is aimed for users with a dynamic IP, and a DNS host that does not support DynDNS. Basically, we will push our new IP every time that it changes. The steps outlined in this tutorial will work with the providers listed in [[https://ci.apache.org/projects/libcloud/docs/dns/supported_providers.html#provider-matrix|Apache’s documentation]], but I have only actually tested with Rackspace. ===…

  • Send Emails From Gmail Through Shell/Script – Linux

    [[[TOC]]] ——- =Intro= Sometimes there is a need to send an email via command line, or in a script (such as using PHP’s `mail()` method); but there is not an MTA (postfix, sendmail, etc) running on the machine. Note that while it is possible to set an MTA up as a gmail smarthost, they will…

  • Configure Linux for Active Directory Authentication With SSSD

    In this tutorial, we will configure a Linux box to authenticate against Active Directory. There are a few different methods to go about this, we will use `sssd` because it is recommended by [[https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/SSSD-Introduction.html|Red Hat]] # Remove pam_ldap if it is installed {{{ # Red Hat/CentOS/Fedora yum remove pam_ldap # Debian/Ubuntu apt-get remove pam_ldap }}}…

  • Ubuntu prompting for upgrade when none is available

    After upgrading to Ubuntu 13.10, my system was continually telling me that there was an update available and to run `do-release-upgrade` to install it. Running this command yields {{{ root@server:/home/dlasley# do-release-upgrade Checking for a new Ubuntu release No new release found }}} but the system still prompts for an update. This is due to an…

  • Install Doxygen From Source

    * Install dependencies {{{ apt-get install graphviz flex bison }}} * Pull git snapshot {{{ git clone https://github.com/doxygen/doxygen.git && \ cd doxygen }}} * Configure and install {{{ ./configure && \ make && \ make install && \ make distclean }}} * Updating {{{ git pull && \ ./configure && \ make && \ make…