FrontPage  Index  Search  Changes  RSS  wikifarm  Login

Ubuntu 7.04 Server Edition on DELL SC430

Ubuntu 7.04 Feisty Fawn on DELL SC430 に移行。

インストール

パーティション

/dev/md0 128MB ext3 /boot
/dev/md1 2GB swap
/dev/md2 1GB ReiserFS /
/dev/md3 残り ReiserFS LVM
/dev/mapper/VG-usr 10GB ReiserFS /usr
/dev/mapper/VG-home 10GB ReiserFS /home
/dev/mapper/VG-opt 5GB ReiserFS /opt
/dev/mapper/VG-var 10GB ReiserFS /var
/dev/mapper/VG-tmp 2GB ReiserFS /tmp

初期設定

システム更新

$ sudo nano -w /etc/apt/sources.list
# deb cdrom:[Ubuntu-Server 7.04 _Feisty Fawn_ - Release amd64 (20070415)]/ feisty main restricted
$ sudo aptitude update
$ sudo aptitude dist-upgrade

SSH

$ sudo aptitude install openssh-server
$ sudo nano -w /etc/ssh/sshd_config
PermitRootLogin no

AuthorizedKeysFile      .ssh/authorized_keys

PermitEmptyPasswords no

PasswordAuthentication no
$ sudo /etc/init.d/sshd restart

VMware Server Console

zsh, screen, subversion

$ sudo aptitude install zsh screen subversion
$ mkdir workspace
$ cd workspace
$ svn co
$ cd ~
$ ln -s workspace/dotfiles/.screenrc .
$ ln -s workspace/dotfiles/.zshrc .
$ chsh

VMware Server

$ sudo aptitude install linux-headers-`uname -r` build-essential
$ sudo aptitude install libc6-dev-i386 ia32-libs
$ sudo aptitude install xinetd
$ mkdir -p ~/local/src
$ cd ~/local/src 
$ wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.3-44356.tar.gz
$ tar zxvf VMware-server-1.0.3-44356.tar.gz
$ cd vmware-server-distrib
$ sudo ./vmware-install.pl
Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]
VMware Server Console
What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware] 

The path "/usr/lib/vmware" does not exist currently. This program is going to 
create it, including needed parent directories. Is this what you want? 
[yes] 
VMware Server Console
In which directory do you want to install the manual files? 
[/usr/share/man] 

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]

The path "/usr/share/doc/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

The installation of VMware Server 1.0.3 build-44356 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes] no

Enjoy,

--the VMware team

$ cd ..
$ wget http://ftp.cvut.cz/vmware/vmware-any-any-update109.tar.gz
$ tar zxvf vmware-any-any-update109.tar.gz
$ cd vmware-any-any-update109
$ sudo ./runme.pl
$ sudo vmware-config.pl
$ sudo nano -w /etc/init.d/vmware
for a in `seq 0 9`; do mknod /dev/vmnet$a c 119 $a 2> /dev/null; done
$ sudo nano -w /etc/xinetd.d/vmware-authd
service vmware-authd
{   
    disable         = noVMware Server Console
    port            = 902
    socket_type     = stream
    protocol        = tcp
    wait            = no
    user            = root
    server          = /usr/sbin/vmware-authd
    type            = unlisted
    only_from       = 192.168.11.0/24 127.0.0.1
}
$ sudo /etc/init.d/xinetd restart
$ cd ~/local/src
$ wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.3-44356.tar.gz
$ tar zxvf VMware-mui-1.0.3-44356.tar.gz
$ cd vmware-mui-distrib
$ sudo vmware-config-mui.pl
$ cd ..
$ wget http://users.piuha.net/martti/comp/ubuntu/httpd.vmware.diff
$ cd /
$ sudo patch -b -p0 < ~/local/src/httpd.vmware.diff
$ cd
$ sudo /etc/init.d/httpd.vmware restart 
Last modified:2007/08/12 01:47:07
Keyword(s):
References: