bLog

Terminal power for the wicked.

  • Installing the web stack on Ubuntu

      • parentnode.dk

    This will guide you through installing the parentNode web stack on an Ubuntu 18.04 client. The full stack includes Apache 2.4, PHP 7.2, MariaDB 10.2, Redis, Imagick and optionally FFmpeg for JIT video and audio conversion and wkhtmltopdf for PDF generation.

  • Installing the web stack on Mac OS

      • parentnode.dk

    This will guide you through installing the parentNode web stack on Mac OS or OS X. The parentNode development environment is a full web stack based on Apache, MariaDB, PHP, Redis, Imagick, FFmpeg and wkhtmltopdf, which enables you to run all the parentNode tools, as well as most other PHP based frameworks and CMS', including WordPress, Joomla or TYPO3.

  • Buying and setting up a domain validated SSL certificate for Apache

      • parentnode.dk

    Setting up a SSL certificate might seem like a complicated and expensive matter. It doesn't have to be expensive but it truly is bit complicated with a lot of new terms to deal with. Here are some hints to help get you through the process.

  • Using Cron jobs for automation of scheduled tasks

      • parentnode.dk

    The Cron is a Linux/Unix utility which allows you to schedule a specific scripts to be run at a specified time – a Cron job. This makes it a perfect tool for automation of maintenance- or synchronisation-scripts. Here I will share some of my experiences with Cron and how I use it.

  • Create a personal SSH key

      • parentnode.dk
  • Internet video optimisation using FFmpeg

      • parentnode.dk

    This guide will explain how to encode video in the following formats: .mp4 (h264), .webm (VP8), .ogv (theora), .3gp (h263) and .mov (mpg), which should provide you with all the formats required to have your video shown on all devices.

  • Size matters (disks and folders)

      • parentnode.dk

    This post is about the linux commands "df" and "du" and will show you how to get information about available diskspace and determine the accumulated size of a directory/folder using terminal on Linux/OS X.

  • gzip'ing tarballs

      • parentnode.dk

    This post is about the linux commands "tar" and "gzip" and will show you how to use these convenient tools in terminal on Linux/OS X. Gzip is a compression tool much like Zip or RAR. A tarball is a collection of files bundled into one .tar file. A tarball is not compressed, only glued together for ease of handling.

  • Create new users on a Linux server using the terminal

      • parentnode.dk

    In some cases you need to install more users on your server - to allow other people to maintain the server or just upload files. Here is a short guide to adding other users, and granting them privileges to perform relevant tasks.

  • Git filemode - Making Git ignore file permission changes

      • parentnode.dk

    Sometimes you want to have a very relaxed set of file permissions on your local development source, but setting new file permissions will be reflected in the Git repository and before you know it, you are committing file mode changes to every file in your repos.

  • Delete files from Git repository and history

      • parentnode.dk

    Deleting and permanently removing files from Git repository and history.