Blog posts tagged "linux" – 4 posts found:

Setting up a swapfile on Linux

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.
Read more

The Vim commands cheat sheet

There used to be a great little Vim cheatsheet on tuxfiles.org, 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.
Read more

openSUSE/Gnome on the desktop - not quite there yet

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.
Read more

Enabling IPv6

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.
Read more