Browsed by
Tag: linux

OpenSSH | Password-less remote login with private/public keys

OpenSSH | Password-less remote login with private/public keys

When accessing remote servers, you often do not want to type out your password ever time.  In order to avoid this you need to set up public and private keys.  These keys will authenticate you and will allow you to login to remote server with out the need to type in your password. To get started, on your local machine run ssh-keygen command.  This command will generate your public and private key files.  It will first ask you for the…

Read More Read More

OpenSSH | custom configuration

OpenSSH | custom configuration

Every time you log into a server, you must specify your username and password.  If the server has a long hostname, this can be frustrating to type multiple times if you are logging into a server on multiple different windows.  In order to speed up this process, OpenSSH allows you to have a configuration script that you can set up to apply aliases to your login information. For example, this is how the user foo could login to the server…

Read More Read More

VIM Text Editor | Custom configuration

VIM Text Editor | Custom configuration

There is a steep learning curve for editing text files with VIM or VI, but once you use it for a while it becomes second nature. In this article I will go over customizing VIM with a vimrc configuration file. In order to customize VIM, you need to put your configuration details in a file called .vimrc under your home directory.

Java | Install Oracle Java JRE on Ubuntu

Java | Install Oracle Java JRE on Ubuntu

Recently Ubuntu has stopped automagically install Oracle Java for you when the OS is installed. This is because in August 2011, Oracle removed the license that allowed Linux distributions to package Java for use in its repositories. Therefore, there are two options for users of Linux to install a Java JRE. The first option is to install OpenJDK through the package manager, which is a open-source implementation of the Java Platform. If you really need Oracle Java though to run…

Read More Read More

Linux Device Drivers | Concept character driver

Linux Device Drivers | Concept character driver

I have created this very simple character driver just to see how the process works from beginning to end when creating a device driver in Linux. Before we start, this driver is going to be compiled against the Linux 2.6 kernel and will probably not work in earlier versions. Also, make sure you have set up your development environment and that you have the Linux 2.6 kernel header files installed. If you need to review any of this, look back…

Read More Read More

Linux Device Drivers | Pre-coding preparations

Linux Device Drivers | Pre-coding preparations

A good place to start playing around with the Linux kernel and building device drivers, is inside a virtual machine (VM). I am running Windows on my desktop, but I use a VM to run different distributions of Linux. These VM’s are a good place to do development on because if you totally destroy the operating system, no harm is done to your host operating system (which is Windows in my case). To create a VM, you first need a…

Read More Read More