lost and found ( for me ? )

Showing posts with label tasksel. Show all posts
Showing posts with label tasksel. Show all posts

Ubuntu server : tasksel コマンド

root@arizona:~# cat /etc/lsb-release | grep -i desc

DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"

tasksel でパッケージ( LAMP , KVM , メールサーバ , デスクトップ環境 etc ) をまとめてインストールできる。

root@arizona:~# tasksel --help
Unknown option: help
使い方:
tasksel install <タスク>
tasksel remove <タスク>
tasksel [オプション]
-t, --test          テストモード: 実際には何も行わない
   --new-install   自動的にいくつかのタスクをインストールする
   --list-tasks    表示可能なタスクを一覧で表示して終了する
   --task-packages タスクで利用可能なパッケージを一覧表示する
   --task-desc     タスクの説明を返す

root@arizona:~# tasksel --list-tasks ( tasksel --list でも OK )
i server Basic Ubuntu server
u eucalyptus-walrus Cloud computing: Walrus storage service
u eucalyptus-simple-cluster Cloud computing: all-in-one cluster
u eucalyptus-cluster Cloud computing: cluster controller
u eucalyptus-node Cloud computing: node controller
u eucalyptus-storage Cloud computing: storage controller
u eucalyptus-cloud Cloud computing: top-level cloud controller
u dns-server DNS server
u edubuntu-server Edubuntu server
u lamp-server LAMP server
u mail-server Mail server
i openssh-server OpenSSH server
u postgresql-server PostgreSQL database
i print-server Print server
u samba-server Samba file server
u tomcat-server Tomcat Java server
u uec Ubuntu Enterprise Cloud (instance)
u virt-host Virtual Machine host
u ubuntustudio-graphics 2D/3D creation and editing suite
u ubuntustudio-audio Audio creation and editing suite
u edubuntu-desktop-kde Edubuntu KDE desktop
u edubuntu-desktop-gnome Edubuntu desktop
u kubuntu-desktop Kubuntu desktop
u kubuntu-netbook Kubuntu netbook
u ubuntustudio-audio-plugins LADSPA and DSSI audio plugins
u ubuntustudio-font-meta Large selection of font packages
u mythbuntu-desktop Mythbuntu additional roles
u mythbuntu-frontend Mythbuntu frontend
u mythbuntu-backend-master Mythbuntu master backend
u mythbuntu-backend-slave Mythbuntu slave backend
u ubuntu-netbook Ubuntu Netbook
i ubuntu-desktop Ubuntu desktop
u ubuntustudio-video Video creation and editing suite
u xubuntu-desktop Xubuntu desktop
u edubuntu-dvd-live Edubuntu live DVD
u kubuntu-netbook-live Kubuntu Netbook Remix live CD
u kubuntu-live Kubuntu live CD
u kubuntu-dvd-live Kubuntu live DVD
u netbook-live Ubuntu Netbook live environment
u ubuntu-live Ubuntu live CD
u ubuntu-dvd-live Ubuntu live DVD
u xubuntu-live Xubuntu live CD
u manual Manual package selection

仮想化環境のインストール

root@arizona:~# tasksel install  virt-host

でも、GUI ( virt-manager ) とかはいってなかったりする。
当たり前だけど、Fedora で yum groupinstall でKVMをインストールしたときと入るパッケージは異なる。

GUIを使う場合、virt-manager ,virt-viewer , python-virtinst が必要

root@arizona:~# apt-cache search virt-mana
virt-manager - 仮想マシン管理用デスクトップアプリケーション

root@arizona:~# apt-cache search virt-viewer
mozilla-virt-viewer - A virt-viewer widget for GTK+ (mozilla plugin)
virt-viewer - Displaying the graphical console of a virtual machine

root@arizona:~# apt-cache search python-virtinst
python-virtinst - Programs to create and clone virtual machines (transitional package)

Ubuntu server 9.10

GUI 設定、日本語入力 ( iBUS から SCIM へ変更 )

- GUI環境のインストール

# tasksel  -> Ubuntu desktop をインストール

パッケージの設定

  ┌──────────────────────────┤ ソフトウェアの選択 ├──────────────────────────┐
  │ 以下の定義済みソフトウェアコレクションからインストールするものを 1 つ以  │
  │ 上選択できます。                                                         │
  │                                                                          │
  │ インストールするソフトウェアの選択:                                      │
  │                                                                          │
  │    [ ] Large selection of font packages                              ↑   │
  │    [ ] Mythbuntu additional roles                                    ▒   │
  │    [ ] Mythbuntu frontend                                            ▒   │
  │    [ ] Mythbuntu master backend                                      ▒   │
  │    [ ] Mythbuntu slave backend                                       ▮   │
  │    [ ] Ubuntu MID edition                                            ▒   │
  │    [ ] Ubuntu Netbook Remix                                          ▒   │
  │    [*] Ubuntu desktop                 


- iBUS から SCIM へ

root@arizona:~# apt-get install scim scim-bridge-agent scim-bridge-client-gtk scim-anthy

システム -> システム管理 -> 言語サポート

キーボード入力に使うIMシステム を scim-bridge へ。

ログアウト ( or リブート )

Done!

Ubuntu 10.04 がリリースされてたんだ。。。
Fedora 11 から Ubuntu にしたばっかなのに、、うーん、インストールする前に
Ubuntu のページをチェックすればよかった。