Posts Tagged how to
📅 January 7, 2017
Do you have a few spare network interface cards?
Want to increase your local network throughput and handle more traffic?
Link aggregation, or bonding, is a technique that combines two or more network interface cards (NICs) into a single virtual network interface for greater throughput.
For example, two gigabit NICs result in 2 Gbps throughput. Three gigabit NICs allow 3 Gbps throughput. Four allow 4 Gbps, and so on. While these are theoretical maximum values and other factors affect network transfer rates, the point is that multiple network cards acting as a single “card” can transfer more data at a time. As an example, more users can access the same server simultaneously without seeing any noticeable drop in transfer speeds.
Linux supports link aggregation out of the box with only a few modifications. Regular, inexpensive network cards and switches can be used, so there is no need to purchase expensive, specialized hardware. This allows you to reuse existing hardware that you might already have on hand. And yes, it works well.
While link aggregation has worked in the past, newer Linux distributions tend to change a few things, so older setup techniques need revision. This is the case with Linux Mint 18.1. For details regarding the benefits of link aggregation, please have a look at the article describing link aggregation in Linux Mint 17 and Xubuntu 14.04 (July 12, 2014). The information is still relevant.
Link aggregation works well in Linux Mint 18.1, but a few changes are needed in order to make it work. However, it is easier than expected!
📅 October 24, 2016
The timezone setting (tzdata) determines how time is displayed on a Linux system. This is specified using a location string, and we can change this string to set a system’s timezone to any timezone on the planet.
📅 September 24, 2016
In PHP, we can use php_uname to grab information about the operating system that the server is running on.
echo php_uname(‘s’) will give the name of the OS, but this is a general name. When executed from a server running Xubuntu, it returns the string “Linux.” Is this Ubuntu, Kubuntu, Xubuntu, Linux Mint, or…what?
What if we want to get the specific Linux distribution? Is this possible from PHP without performing host OS system calls or executing Bash scripts? Yes.
Yes. However, the process is not exactly user-friendly due to DSD being a rather obscure audio format compared to FLAC and MP3. If you want to play .dsf or .dff files in Linux, you must first install players that will support DSD or convert DSD into PCM.
Computers are electrically noisy environments, and all of those wires and fans and whatnot operating at various frequencies can have unpleasant side-effects on a computer’s audio output.
If you enjoy listening to music played from your computer and if you use the computer’s analog stereo outputs (the 3.5mm line out jack) to connect to an external amplifier or receiver, then you have no doubt encountered the low-frequency hum effect.
Not a mere hiss due to a noisy sound card, but a low hummmmmmmmm that is heard consistently whether or not audio is playing and regardless of the volume level.
This can happen with any home audio equipment, not just computers. Often, it is caused by a ground loop, and the best way to reduce or nearly eliminate this hum is to electrically isolate the audio output (from the computer) from the audio input of the receiver/amplifier.
📅 August 23, 2016
Have you seen this error message before?
When installing a fresh Linux distribution on a new system, it is sometimes easy to assume that some software has been installed by default after becoming accustomed to using Linux on a reliable system that has had the software present for a long time.
One such example is Archive Manager. It will not extract all file formats by default until you install extra packages that give it that ability. RAR is one case. By default, Archive Manager will extract a few basic formats, such as ZIP, but not RAR.
We need to install additional software so other file formats can be extracted.
📅 July 12, 2016
“Yes! Linux Mint 18 has been released, and it feels like Christmas!”
The Linux world is an exciting landscape of ingenuity to explore, and this new distribution brings improvements that solidify Linux Mint as one of the most stable and user-friendly operating systems available today.
I have been using Linux Mint 18, but a few things are different from past releases. I also encountered a few bumps along the installation road, so here are a few points to be aware of.