Tag: Linux

  • Apache Reverse Proxy w/ URL Rewrite & REMOTE_USER Header

    Here is a sample Location block for setting up Apache as an authentication proxy for a remote Trac install. It sets a REMOTE_USER header so that Trac does not need to worry about authentication, and rewrites the URL for the remote URL Schema. {{{ lang=xml line=1 RewriteEngine On #< Allows Rewritin the URL with regexes…

  • `Unrecognized option ‘preset’` in avconv/ffmpeg+x264

    This is because libx264 or the extra codecs are not installed. Install with {{{ #1ang=bash sudo apt-get install -y x264 libx264-123 libx264-dev libavcodec-extra-53 }}}

  • Working with files by inode

    [[[TOC]]] ——- = Find the inode number = * Use either ** `stat {file-name}` ** `ls -il {file-name}` ——- = Remove by inode with find = * `find . -inum [inode-number] -exec rm -Rfi {} \;` ** Beware, this is recursive and does not warn

  • Setup PXE Server Ubuntu

    In this tutorial, I will guide you through the process of creating a PXE server on an Ubuntu Host. This guide also includes complete setup instructions for the PXE client and DHCP server. I will also guide you through an effective storage/deployment method so that you may quickly deploy identical PXE images. ——- [[[TOC]]] ——-…

  • WordPress Setup – Ubuntu 12.10

    Requires a configured web server 1. WordPress was surprisingly simple to setup: apt-get install wordpress 2. Symlink wordpress to web directory ln -s /usr/share/wordpress /var/www/wordpress 3. Run setup script. (-n seems to be the database to create and the final option is the domain) /usr/share/doc/wordpress/examples/setup-mysql -n wordpress domain.com 4. Permissions chown -R www-data /usr/share/wordpress \…