2008年10月13日月曜日

Ubuntuインストール その1



Work still on goingですが、先ずはデスクトップの外観です。
というわけで、まずはapt lineの状況です。

#deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://nl.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://nl.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://nl.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://nl.archive.ubuntu.com/ubuntu/ hardy universe
deb http://nl.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://nl.archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://nl.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://nl.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

## Medibuntu - Ubuntu 8.04 "hardy"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ hardy free non-free

## Virtualbox
deb http://download.virtualbox.org/virtualbox/debian hardy non-free

## Avant Window Navigator
deb http://ppa.launchpad.net/reacocard-awn/ubuntu/ hardy main
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu/ hardy main

## Ubuntu Japanese LoCo Team's 3rd party repository for Ubuntu 8.04 LTS
## Please report any bug on https://bugs.launchpad.net/ubuntu-jp-improvement
deb http://archive.ubuntulinux.jp/ubuntu-ja hardy/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja hardy/
deb http://archive.ubuntulinux.jp/ubuntu-ja hardy-ja/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja hardy-ja/

## LastFM stable
deb http://apt.last.fm/ debian stable
#deb http://apt.last.fm/ debian testing



引き続いて.zshrcです。

#Created by cavalierski
#2008-10-11

export EDITOR=vim
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export MAVEN_HOME=/opt/apache-maven-2.0.9
export ANT_HOME=/opt/apache-ant-1.7.1
export PATH=$PATH:$JAVA_HOME/bin:$EDITOR:$ANT_HOME/bin:$MAVEN_HOME/bin

alias eclipse='/opt/eclipse/eclipse'
alias update='sudo apt-get update'
alias upgrade='sudo apt-get upgrade'
alias du="du -h"
alias df="df -h"
alias ps="ps -aux"

# For auto compinit
autoload -U compinit
compinit

# For prompt
PROMPT="%/%% "
PROMPT2="%_%% "
SPROMPT="%r is correct? [n,y,a,e]: "

# For title bar
case "${TERM}" in
kterm*|xterm)
precmd() {
echo -ne "\033]0;${USER}@${HOST%%.*}:${PWD}\007"
}
;;
esac

# For history function
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt hist_ignore_dups # ignore duplication command history list
setopt share_history # share command history data

# For History search shortcut
autoload history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
bindkey "^P" history-beginning-search-backward-end
bindkey "^N" history-beginning-search-forward-end

# Editor vi mode
bindkey -v

# For remembering the previous folder
setopt auto_pushd

# No beep
setopt nolistbeep

# For auto-prediction function
#autoload predict-on
#predict-on

0 件のコメント: