Skip to content

{ Category Archives } Ubuntu

All things related to Ubuntu linux

Bare Ubuntu configuration for Ruby on Rails

General Install Ubuntu 9.1 server using the Bare Server option The first thing I like to do is add my account to the /etc/sudoers file. This just guarantees that I can always use sudo, even if I mistakenly mess up my group assignment. sudo visudo # /etc/sudoers root ALL=(ALL) ALL user ALL=(ALL) ALL user should [...]

Configuring Ubuntu for a static IP address

The next thing we need to do is to set the network with your static IP addresses. First, edit the /etc/network/interfaces to include the following. # /etc/network/interfaces auto eth0 iface eth0 inet static address xxx.xxx.xxx.xxx gateway xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx This assumes you want the ethernet card on eth0 configured.  After this, we need to configure [...]

Using SSH on Mac to access Ubuntu server 9.10

First, make sure you can SSH to your server. If you need to install ssh on the Ubuntu server, use: sudo apt-get install ssh mkdir ~/.ssh touch ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys chmod 700 ~/.ssh If you are wondering what the touch does, it just creates an empty file if it doesn’t exist.  That way i [...]

Creating a remote GIT repository

Clean, readable code is one of my highest goals when writing code.  I’m always thinking about the next guy, even when the next guy is just me, several months from now.   Nothing is worse than going into spagetti code and not knowing what the heck is going on.  Because of this, I like to refactor [...]