Page 3 of Debian / Ubuntu Articles

Upgrade to Node.js 8.x on Ubuntu 17.10

Ubuntu 17.10, codenamed “Artful Aardvark” was released yesterday… … with Node.js v6.11.4 #sadtrombone It could be worse though, Debian 9.x (Stretch) still ships with Node v4… but I’ll save how to remedy that for another post ;) Now, I can’t imagine you came here to listen to me throw shade […]

Hide title bars in GNOME Shell

GNOME Shell’s title bars are just too damn big. So big that I have been toying around with the idea of going back to a tiling window manager. TWMs like xmonad and i3 have little to no title bar. It saves space and creates a clean aesthetic. I’m not the […]

How to install Tmux 2.x on Debian 8 "Jessie"

I’m happy to admit that I’m a bit of a Debian novice. Coming from a decade of using Ubuntu, I still have a bit to learn. My recent dilemma was with the version of tmux I had on one of my servers. Nothing wrong with tmux 1.9 but it was […]

Switching from Ubuntu to Debian

After a short stint with openSUSE I decided to give Debian a go instead of going back to Ubuntu. Why? First and foremost, I was sick of regularly receiving “Sorry, Ubuntu has experienced an internal error” messages. I was drawn to Ubuntu because of regular release cycles but the constant […]

Upgrade to PHP 7.x on Ubuntu 14.04 LTS

Upgrading to PHP 7.x (7.0 or 7.1 as of the time of this writing) is just as easy as it is to upgrade to PHP 5.6! Before we install PHP 7.x, I would recommend getting your system up to date: sudo apt-get update Next you will need to add the […]

Getting suspend in Linux working on a MacBook Pro

A lot of my distro hopping as of late has been due to my inability to get my daily driver, a MacBook Pro 12,1 (2015) to suspend correctly. Each distro resulted in the same. Close the lid, the Apple logo goes dark and within a few seconds, it lights back […]

Unable to connect to WiFi in Linux

I was on the verge of giving up on going back to Linux because of wifi issues. Things would be working fine, then after a while, I just couldn’t connect to wireless networks anymore. At one point I couldn’t connect to my home wireless but work wifi still worked fine. […]

Switching from Mac OS X back to Linux, Part 3: The Desktop Environment

In case you missed it, here’s the story thus far: Part 1: The Motive Part 2: The Distro Before I discuss my current desktop environment, let’s rewind to 2012 before I had switched to OS X. At the time, I was running xmonad as my primary desktop environment and was […]

ERROR: Invalid position '1'

This error drove me mad. I had searched the interwebs at least a few times for it and couldn’t find a solution. All I wanted to do was block some lame ass script kiddie from scanning my server. I know the ufw command I was entering was fine, because it […]

Upgrade from PHP 5.3 to PHP 5.6 on Ubuntu 12.04 LTS

Last week I posted a call to action to help sway Ondřej Surý into continuing to support Ubuntu 12.04 LTS with his amazing PPA for the latest and greatest PHP versions. Ondřej was kind enough to take the time to backport the PPA and without ado, here’s how to get […]

Call to Action: PHP 5.6 on Ubuntu 12.04 LTS

I’m going to take a break from posting code snippets and how-tos to draw attention to the fact that PHP 5.6 may not be coming to Ubuntu 12.04 LTS by way of Ondřej Surý’s amazing PPA. Yes, you can still compile PHP from source, but as you may already know, […]

Upgrade to PHP 5.6 on Ubuntu 14.04 LTS

PHP 5.6 is finally here and if you’re on Ubuntu 14.04 LTS you’re stuck with an older version of PHP. If you want to take advantage of the new awesomeness, you can do so very easily thanks to a PPA. If you’ve never added a PPA before, you will want […]

How to Install PHP Redis on Ubuntu 14.04 LTS

Previously, I had shown you how to install PHP Redis from source but things changed with the latest Ubuntu LTS release. Now you can install the phpredis extension from the Ubuntu respositories. First, if you don’t have it installed already, let’s install Redis: sudo apt-get install redis-server After we get […]

How to Install the MongoDB PHP Module on Ubuntu 14.04 LTS

Installing the PHP module for MongoDB on Ubuntu 14.04 LTS is just a command away, but first, let’s ensure that we have MongoDB itself installed: sudo apt-get install mongodb Once we have MongoDB installed, we can proceed with installing the module. Please note that you could combine these commands to […]

How to Setup a LEMP Stack on Ubuntu 14.04 LTS

Last week I covered setting up a LAMP server on Ubuntu 14.04 LTS but for my money, it’s all about LEMP stacks. The “E” actually stands for Nginx (pronouced Engine X) and it’s an altnerative to the Apache web server that is built for speed and has a very low […]

How to Setup a LAMP Stack on Ubuntu 14.04 LTS

The newest long term support release of Ubuntu (Trusty Tahr) is finally here! I just spun up a droplet over on DigitalOcean to walk through setting up a LAMP stack for this post. I also recommend making sure that your system is completely up to date. At the time of […]

Upgrade from PHP 5.3 to PHP 5.4 on Ubuntu 10.04 LTS

I’ve previously posted about upgrading to PHP 5.5.x on Ubuntu 12.04 LTS but what about my friends still on the even older Ubuntu Long Term Service release that’s still supported, 10.04 LTS. That particular version’s server release will remain supported until April 2015, with more than a year left at […]

Upgrade from PHP 5.3 to PHP 5.5 on Ubuntu 12.04 LTS

Recently I made the decision to stop living in the past and start living in the present by using the latest stable release of PHP, version 5.5.8. Unfortunately on Ubuntu 12.04 LTS (I always run LTS releases on my servers) the latest version of PHP available is from the 5.3 […]

How to set up a LAMP server on Ubuntu 13.10

Been a while since I’ve covered setting up a brand new LAMP server. This time, I’m going to be using Ubuntu 13.10 and once you are logged into your server you will want to update and upgrade it to the latest software versions: sudo apt-get update && apt-get upgrade Once […]

Temporary ufw rules or How I learned to stop scripting and love the shell

This post was originally planned to be a social commentary on the potential for riots this coming Novemeber (a/k/a The 2013 Food Stamp Riots a/k/a The Backlash of the Entitlement Society) but that seemed like such a fucking downer. Then the post was supposed to be about a Python script […]

How to Install Wordpress on Ubuntu 12.04 LTS

Let’s be honest, sometimes we don’t necessarily want to start a site from scratch, especially a blog. There’s so many blogging platforms out there, why reinvent the wheel? Arguably the most well known, Wordpress, is very easy to install on Ubuntu 12.04 LTS. First things first, you will need to […]

How to Install the SQLite Module on Ubuntu 12.04 LTS

SQLite is a self-contained, serverless, zero-configuration, transactional SQL database engine. The SQLite website also boasts that it is the most widely deployed SQL database engine in the world. As I’ve previously discussed, SQLite has the advantage over MySQL as it can be used as an internal session handler with PHP. […]

How to Install the Memcached Module on Ubuntu 12.04 LTS

Installing the Memcached module for PHP on Ubuntu 12.04 LTS is as simple as can be. First let’s make sure we have Memcached installed: sudo apt-get install memcached On Ubuntu, the process to install the PHP module is similar to how we installed Memcached itself: sudo apt-get install php5-memcache php5-memcached […]

How to Setup a LEMP Stack on Ubuntu 12.04 LTS

Don’t get me wrong, there’s nothing wrong with a good ol’ LAMP stack (Linux, Apache, MySQL and PHP) but in my experience, Apache doesn’t necessarily scale all that well with PHP. It’s really not Apache’s fault, the fact is that most of the time servers are configured to use the […]

How to Setup a LAMP Stack on Ubuntu 12.04 LTS

It seemed fitting that the first post on PHP Avenue should be about setting up a new server with PHP. This particular post will focus on a traditional LAMP stack (Linux, Apache, MySQL, PHP) on Ubuntu 12.04 LTS. I also intend on writing additional posts covering the setup of a […]