Tag: Linux

Mar 23

Resolved: “(initramfs) unable to find a medium containing a live file system” while installing Ubuntu from a USB device

Resolved: “(initramfs) unable to find a medium containing a live file system” while installing Ubuntu from a USB device Like I mentioned in a previous post I am working on installing an Ubuntu machine in order to do some GPU mining (this time around Ethereum) and now I am running into more issues. When booting …

Continue reading »

May 17

How to: Erase a log file in Ubuntu

How to: Erase a log file in Ubuntu Ever had this huge error log, full of nightmares and bad memories? Well, once you’re done fixing the problems then you’re stuck with megs if not gigs worth of bad memories that perhaps you wish to get rid off. Well, in my case one of my errors …

Continue reading »

Nov 19

Ubuntu 14.04 and above in a Generation 2 Hyper-V Virtual Machine (VM)

Ubuntu 14.04 and above in a Generation 2 Hyper-V Virtual Machine (VM) As most of you know, a Generation 2 Hyper-V Virtual Machine is generally reserved for Windows 2012 or 64 bit versions of Windows 8 as the New virtual Machine Wizard specifies: Generation 2 This virtual machine generation provides support for features such as …

Continue reading »

Nov 15

How to: Create an SSH connection using Terminal on Mac OS X & save the configuration for later use / shortcut

How to: Create an SSH connection using Terminal on Mac OS X & save the configuration for later use / shortcut So now that I bought myself a new Mac I decided I would try to avoid by all means installing Windows on it. I use a lot of applications (and some games) that either …

Continue reading »

May 04

How to: Create directory in /var/run/ at startup in Ubuntu

How to: Create directory in /var/run/ at start-up in Ubuntu As you probably have already noticed, the /var/run directory is temporary storage used by your Ubuntu system. It is mapped to your RAM disk (Ubuntu uses I think about 10% of your RAM and creates a disk mount for it. This is used for folders …

Continue reading »

May 04

How to: Make a directory structure in Ubuntu only if the directories do not exist

How to: Make a directory structure in Ubuntu only if the directories do not exist Lately I have been working on start up scripts but because I use temporary storage for some mounts the information contained within them is cleared with each reboot (shutdown / turn on – Windows Azure). This means that the folder …

Continue reading »

Mar 12

How to: Configure memcache to use a unix socket

How to: Configure memcache to use a unix socket I have a server which is going to have its own memcached instance installed on itself… so I was thinking using a unix socket instead of tcp should improve the overall performace at least a little. I had tried doing the same with MySQL and I …

Continue reading »

Mar 12

General Commands Manual: dphys-swapfile

General Commands Manual: dphys-swapfile NAME dphys-swapfile – set up, mount/unmount, and delete an swap file SYNOPSIS dphys-swapfile setup|swapon|swapoff|uninstall DESCRIPTION dphys-swapfile computes the size for an optimal swap file (and resizes an existing swap file if necessary), mounts an swap file, unmounts it, and and delete it if not wanted any more. OPTIONS There is only …

Continue reading »

Mar 12

How to: Configure Swappiness in Ubuntu

How to: Configure Swappiness in Ubuntu In one of my previous articles on how to setup virtual memory / swap memory in Ubuntu I covered how to install a swap space for a Windows Azure VM. I deployed swap mostly as a precaution against running out of memory which could result on applications unable to …

Continue reading »

Mar 01

How to: Install the Memcached Agent for NewRelic in an Ubuntu server

How to: Install the Memcached Agent for NewRelic in an Ubuntu server Everytime I try to install a plugin for New Relic I find myself trying to figure out how to perform each of the steps. For example, take this instructions on how to install the Memcached agent to get monitoring on your web server: …

Continue reading »

Load more