Category: Linux

Aug 11

How to: Install a .deb file via the Command line?

Packages are manually installed via the dpkg command (Debian Package Management System). dpkg is the backend to commands like apt-get and aptitude, which in turn are the backend for GUI install apps like the Software Center and Synaptic. Something along the lines of: dpkg –> apt-get, aptitude –> Synaptic, Software Center But of course the …

Continue reading »

Jul 10

How to: Assign multiple IP addresses to one interface in Ubuntu using the Command Line Interface (CLI)?

How to: Assign multiple IP addresses to one interface in Ubuntu using the Command Line Interface (CLI)? I have been working with Ubuntu more lately and ran into the need to direct traffic going to one server (via IP) to go to a new server but I couldn’t change the client’s configuration. Because part of …

Continue reading »

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 »

Mar 19

Resolved: USB keyboard stops working on Ubuntu installation at language selection

Resolved: USB keyboard stops working on Ubuntu installation at language selection I am currently working on setting up an ethereum mining rig and I wanted to use Ubuntu as my operating system (no need to pay for a windows license.) However, as I was installing Ubuntu 14.0.4 LTS on my new computer I ran into …

Continue reading »

Mar 16

How to: Launch a Process that Persists even if you Disconnect your ssh Terminal

How to: Launch a Process that Persists even if you Disconnect your SSH Terminal I’m not sure if this has happened to you before, but there are times when you have an application you wish to launch but if you disconnect from the terminal (SSH or physical) that process gets terminated. For example, currently I …

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 17

Resolved: Reverse mapping checking getaddrinfo for {Reverse DNS hostname [IP Address]} failed – POSSIBLE BREAK-IN ATTEMPT!

Resolved: Reverse mapping checking getaddrinfo for {Reverse DNS hostname [IP Address]}¬†failed – POSSIBLE BREAK-IN ATTEMPT! If you start looking at the SSH log: “/var/log/auth.log” you might come across a lot of “Reverse mapping checking getaddrinfo for {Reverse DNS hostname [IP Address]} failed – POSSIBLE BREAK-IN ATTEMPT!” messages. In my case I only had login attempts …

Continue reading »

Oct 26

How to: Create a Self Signed Certificate in Ubuntu

How to: Create a Self Signed Certificate in Ubuntu Many¬†times during the initial phases of a Web Server deployment we are in need of testing secure communications (and its configuration) using a certificate. Unfortunately we might not have a valid certificate from a certification authority at the time. There are also other scenarios were you …

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 »

Load more