User Tools

Site Tools


ubuntu_server

ubuntu server

Howdy, Y'all. Here is what I do when I get a fresh Ubuntu server. This is mostly more me, I hope it can help you too.

Updated for 9.10

what went down

getting to go

changing the hostname

sudo vi /etc/hostname

then reboot with

reboot

or

init 6

Also make sure to define the new hostname is your /etc/hostnames file

from http://burnz.wordpress.com/2009/02/26/how-to-change-the-hostname-in-ubuntu/

change ssh ports

from http://www.latenightpc.com/blog/archives/2006/10/11/running-an-ssh-server-on-multiple-ports

Just edit /etc/ssh/sshd_config and add new Port lines for each port for example Port 8080

packages

as root

make sure to uncomment the universe lines in /etc/apt/sources.list.

Yes I am installing easy_install just to install pip :)

aptitude update
aptitude upgrade
aptitude install python-setuptools wget python-imaging vim screen irssi python-support python2.6-dev
easy_install pip
pip install ipython
pip install virtualenv
pip install virtualenvwrapper
aptitude install git-core
aptitude install subversion subversion-tools build-essential
aptitude install bmon

get your .vimrc in place

syntax on

python

install from http://www.doughellmann.com/docs/virtualenvwrapper/

add this to ~/.bashrc

export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper_bashrc

then

cd ~
mkdir .virtualenvs
source .bashrc
ubuntu_server.txt · Last modified: 2016/03/21 07:25 (external edit)