Blog posts tagged "linux" – 4 posts found:

2021-02-01: Setting up a swapfile on Linux

Posted at 2021-02-01 14:19:54 by SHD

Computers only have a finite amount of RAM. When it runs out, they will "swap out" parts of memory that is not crucial to disk, soit can be read back in when necessary. As disks are much slower than RAM, even with modern SSD drives, having more RAM is always preferable to swapping, but it's still a good idea to have swap space available for when it is required. If you don't, you might find the "oom killer" has killed an important process to make some memory available to others. You really don't want your database getting killed just because PHP requires some extra memory because it's resizing a large image.

2013-11-27: The Vim commands cheat sheet

Posted at 2013-11-27 02:14:26 by SHD

There used to be a great little Vim cheatsheet on, but that domain no longer exists and is now cybersquatted. While the Internet Archive has a cache, I figured I'd post a copy here for easy reference for myself and maybe it is useful to others too.

2012-09-16: openSUSE/Gnome on the desktop - not quite there yet

Posted at 2012-09-16 06:55:15 by SHD

With some free time and a spare laptop on my hands, I figured I'd try out running a Linux desktop installation once more. Although I've used Linux on servers for more than a decade, all of my regular desktop machines have been Windows and Mac OS. Now, most people running Linux on the desktop seem to be using Ubuntu. I fully intend to give that a try later on, but for now I went with the distro I've been most familiar with for the past 12 years, which is openSUSE. Although I've been able to set things up to the point where it's viable as a proper workstation for me, I'm sorry to say the experience fluctuated between pleasant and dreadful. Here's some of the stuff I encountered and what I did to get things to a usable state.

2011-07-07: Enabling IPv6

Posted at 2011-07-07 23:33:21 by SHD

It's not something many people will notice, as most of the difficult bits will have to be handled by the ISPs, but it's going to get more and more important for web developers and hosting providers to allow IPv6 access to their services. We've effectively run out of IPv4 addresses. As more and more people bring more and more devices online every day the common technique to share IPv4 addresses, NAT, even carrier-grade NAT which share a single IPv4 address among a large part of a provider's customer base, is not a sustainable solution. In the future, there will be people who can access the internet solely through IPv6. At first, it will be in the areas with the fastest-growing number of people online, particularly Asia. If you want those people to be able to access your website and services, make sure your servers respond to IPv6 traffic.