インストールしてまず入れる物などをメモ。入れて apt-get

サスペンドでおかしくなったので ubuntu9.10 アルファ5 を入れ直したついでにメモを見直したので。

#!/bin/sh
## ubuntu appinstall and setup

########
## backup
dpkg --get-selections | sort > package_`date +%Y%m%d%H%M%S`.list

## restore
## apt-get install `cat ~/packages.list`

########
## update
sudo sed -i -e "s/# deb/deb/g" /etc/apt/sources.list
sudo apt-get update && sudo apt-get upgrade --yes && sudo apt-get dist-upgrade \
--yes

sudo apt-get install ubuntu-desktop

########
## add
sudo apt-get install --yes zsh ssh openssh-blacklist openssh-blacklist-extra \
sshfs ufw gufw xinetd comix gpicview gthumb conky gftp lha mytop powertop \
preload sensors-applet urlview lv nautilus-open-terminal \
nautilus-image-converter thunar thunar-archive-plugin thunar-media-tags-plugin \
xvkbd xbindkeys xbindkeys-config xmacro vim-full vim-doc ttf-dejavu cscope \
compizconfig-settings-manager curl sbackup mondo gawk filezilla inkscape \
ecryptfs-utils nautilus-gksu nautilus-image-converter autoconf \
autoconf-archive gnu-standards autoconf-doc libtool gettext debian-keyring \
debian-maintainers g++-multilib g++-4.4-multilib gcc-4.4-doc \
libstdc++6-4.4-dbg libstdc++6-4.4-doc lib32stdc++6-4.4-dbg lib32mudflap0 cvs \
gettext-doc libtool-doc diff-doc build-essential checkinstall subversion \
subversion-tools mlterm mlterm-tools mlterm-im-uim mlterm-im-m17nlib encfs \
cryptkeeper xfsprogs xfsdump ntfsprogs lvm2 smartmontools poppler-data convmv \
fuse-convmvfs traceroute meld parcellite sysv-rc-conf gnome-do wine banshee \
gstreamer0.10-tools glipper galternatives hexer startupmanager amarok \
audacious audacity ardour hydrogen hydrogen-drumkits jamin \
nautilus-script-audio-convert faac faad flac lame vlc vlc-plugin-pulse \
mplayer gnome-mplayer smplayer gjiten lookup xjdic kakasi enamdict \
xfonts-a12k12 etckeeper bzr bzrtools bzr-gtk bzr-svn git git-core git-cvs \
git-svn git-doc git-gui gitk gitweb cvs graphviz msttcorefonts \
ttf-xfree86-nonfree leafpad testdisk atool

## clamav
sudo apt-get install chkrootkit clamav clamav-freshclam clamtk clamav-daemon \
clamfs

## aufs
sudo apt-get install aufs-tools

## NVIDIA
sudo apt-get install nvclock

## jfs
#sudo apt-get install jfsutils

## music
#sudo apt-get isntall rosegarden sox

#### situmon sarerumono
## use JAVA. java ga hitsuyou namono
sudo apt-get install --yes ubuntu-restricted-extras bootchart
## situmon sarerumono (sentaku ha, pdnsd->lookup, hddtemp->nodemon)
sudo apt-get install --yes pdnsd hddtemp apt-file

## SERVER
sudo apt-get install exim4 libmail-spf-query-perl mutt muttprofile fetchmail \
fetchmailconf procmail getmail4 maildrop mailagent proftpd-basic

#sudo apt-get install wink unzoo
sudo apt-get install lha p7zip-full rar unrar lcab cabextract k9copy mpeg2dec \
a52dec mkvtoolnix-gui p7zip-rar

## いらない? cpufrequtils gparted
##sensord read-edid i2c-tools gkrellm-hdplop scribus avant-window-navigator


##########
#### develop
## php 質問される事がある
sudo apt-get install --yes apache2 apache2-doc apache2-suexec mysql-server \
php5 php5-mysql php-pear libipc-sharedcache-perl php5-dev

## java
sudo apt-get install sun-java6-bin sun-java6-jdk

## c
sudo apt-get install --yes gcc gcc-doc g++ libc6 libc6-dev glibc-doc manpages \
manpages-dev manpages-ja manpages-ja-dev manpages-posix-dev exuberant-ctags \
build-essential libxpm-dev libgtk2.0-dev libdbus-1-dev texinfo libtiff4-dev \
libjpeg-dev libgif-dev libncurses5-dev cscope cbrowser global cvs

## perl
sudo cpan App::Ack

## python
sudo apt-get install python-launchpadlib

## ruby 1.8 rails
sudo apt-get install rails vim-rails liberuby ruby1.8-examples ri1.8 \
ruby1.8-dev rubygems-doc libmysql-ruby libglade2-ruby libgconf2-ruby \
libopenssl-ruby libnotify-bin libgnome2-ruby libapache2-mod-ruby \
libapache2-mod-fcgid libfcgi-ruby1.8 graphviz
sudo gem1.8 install rails --include-dependencies

## ruby 1.9
#sudo apt-get install --yes ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples rdoc1.9.1 ri1.9.1 rubygems1.9.1 rubygems-doc

## scheme
sudo apt-get install --yes drscheme mzscheme

## kde tools
#sudo apt-get install bluefish anjuta glade kompozer
#sudo apt-get install kdevelop kdewebdev quanta krita

## haskell
sudo apt-get install --yes ghc libgmp3-dev zlib1g-dev libedit-dev \
libcurl4-gnutls-dev libcurl3-dbg haskell-devscripts debtags ghc6-prof \
ghc6-doc haskell-doc libgmp3-doc libmpfr-dev

## erlang
apt-get install --yes erlang-base erlang-dev erlang-examples erlang-nox \
erlang-x11 erlang erlang-manpages

## build jd, hdbench clone
sudo apt-get install --yes libgtkmm-2.4-dev automake1.9 libtool libgnutls-dev

## 後でcvsでいれる物
##emacs-snapshot emacs-snapshot-el sdic-gene95 sdic-edict sdic-eijiro 
##monodev


########
## chromium
sudo add-apt-repository ppa:chromium-daily && sudo apt-get update && \
sudo apt-get install chromium chromium-codecs-ffmpeg-nonfree \
chromium-browser-l10n

## chromium-browser --enable-plugins --enable-greasemonkey --enable-user-scripts --enable-extensions

########
## setup
## フォルダ名を英語に
LANG=C xdg-user-dirs-gtk-update
## shell
chsh
## ssh のみ許可
##sudo ufw default DENY && sudo ufw allow from 192.168.1.3 to any port 9999 &&
##sudo ufw limit from 192.168.1.0/24 to any port 9999 && sudo ufw enable

exit 0;