SKIN変更しました。

mt.vicunaさんの、SKINに変更しました。
見た目も、すっきりしてて気に入っています。
SKINの設置。
DLしたZIPの中身を

  1. mtVicuna2xx/mt-static/themes/style-ninja → mt/mt-static /themes/ へアップロード する
  2. mtVicuna2xx/plugins/mtVicuna を、 mt/plugins/ へアップロード する。
  3. MT管理ページ→テンプレート→画面右下ブログのテンプレートを初期化
  4. 新しいテンプレートセットの適用を選択して、mtVicuna・・・次へ
  5. すべて再構築

OpenVPN 2.1_rc4 で –port-shareを試したい

無料でVPN環境が構築できる、OpenVPN。2.x系からはルータ越えもできるみたいです。
今回、OpenVPN 2.1_rc4で「port-share feature to allow OpenVPN and an HTTPS server to share TCP port 443.」とあったので、HTTPS 443をOpenVPNで共有しようと実験
HOST:VINE4.1
VPN:OpenVPN 2.1_rc4
server.confを以下のようにしてみる
port 443
port-share localhost 443
proto tcp
;proto udp
dev tap
link-mtu 1200
;dev tun
;dev-node MyTap
tls-server
ca ca.crt
cert server.crt
dh dh1024.pem
server 192.168.246.0 255.255.255.0
 
OpenVPNを再起動してみたが、起動失敗
May 11 13:33:10  openvpn[22845]: OpenVPN 2.1_rc4 i686-pc-linux-gnu [SSL] [LZO1] [EPOLL] built on May 11 2007
May 11 13:33:10  openvpn[22845]: Diffie-Hellman initialized with 1024 bit key
May 11 13:33:10 openvpn[22845]: TLS-Auth MTU parms [ L:1200 D:140 EF:40 EB:0 ET:0 EL:0 ]
May 11 13:33:10 openvpn[22845]: TCP/UDP: Socket bind failed on local address [undef]:443: Address already in useMay 11 13:33:10 openvpn[22845]: Exiting
May 11 13:33:10 openvpn.init: failed
だめじゃん・・・・・(涙
後日リベンジ

Slackware Linux 8.0.0  既存HDDをRAID1化 構築メモ

既存のパーティションの確認
root@:~# fdisk /dev/hda
The number of cylinders for this disk is set to 9726.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hda: 255 heads, 63 sectors, 9726 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 33 265041 fd Linux raid autodetect
/dev/hda2 34 98 522112+ 82 Linux swap
/dev/hda3 99 162 514080 83 Linux native
/dev/hda4 163 9726 76822830 5 Extended
/dev/hda5 163 188 208813+ 83 Linux native
/dev/hda6 189 213 200781 83 Linux native
/dev/hda7 214 239 208813+ 83 Linux native
/dev/hda8 240 1544 10482381 83 Linux native
/dev/hda9 1545 1551 56196 83 Linux native
/dev/hda10 1552 2791 9960268+ 83 Linux native
/dev/hda11 2792 5402 20972826 83 Linux native
/dev/hda12 5403 8013 20972826 83 Linux native
/dev/hda13 8014 9726 13759641 83 Linux native
Command (m for help):
RAID コンフィグ作成
vi /etc/raidtab
raiddev /dev/md0
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda1
failed-disk 0
device /dev/hdb1
raid-disk 1
raiddev /dev/md1
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda2
failed-disk 0
device /dev/hdb2
raid-disk 1
raiddev /dev/md2
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda3
failed-disk 0
device /dev/hdb3
raid-disk 1
raiddev /dev/md3
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda5
failed-disk 0
device /dev/hdb5
raid-disk 1
raiddev /dev/md4
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda6
failed-disk 0
device /dev/hdb6
raid-disk 1
raiddev /dev/md5
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda7
failed-disk 0
device /dev/hdb7
raid-disk 1
raiddev /dev/md6
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda8
failed-disk 0
device /dev/hdb8
raid-disk 1
raiddev /dev/md7
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda9
failed-disk 0
device /dev/hdb9
raid-disk 1
raiddev /dev/md8
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda10
failed-disk 0
device /dev/hdb10
raid-disk 1
raiddev /dev/md9
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda11
failed-disk 0
device /dev/hdb11
raid-disk 1
raiddev /dev/md10
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda12
failed-disk 0
device /dev/hdb12
raid-disk 1
raiddev /dev/md11
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda13
failed-disk 0
device /dev/hdb13
raid-disk 1
RAIDデバイス作成
root@ :~# mkraid /dev/md0   
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda1, failed
disk 1: /dev/hdb1, 265041kB, raid superblock at 264960kB
/dev/hdb1 appears to contain an ext2 filesystem — use -f to override
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
強制的に作成
できないときにはエラーログと
本当に強制的にmkraidするオプションが表示される。
本当に強制的に作成
コマンドを入力すると・・
DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if unsure!
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda1, failed
disk 1: /dev/hdb1, 265041kB, raid superblock at 264960kB
RAIDの状態
root@ :~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md11 : active raid1 hdb13[1]
13759552 blocks [2/1] [_U]
md10 : active raid1 hdb12[1]
20972736 blocks [2/1] [_U]
md9 : active raid1 hdb11[1]
20972736 blocks [2/1] [_U]
md8 : active raid1 hdb10[1]
9960192 blocks [2/1] [_U]
md7 : active raid1 hdb9[1]
56128 blocks [2/1] [_U]
md6 : active raid1 hdb8[1]
10482304 blocks [2/1] [_U]
md5 : active raid1 hdb7[1]
208704 blocks [2/1] [_U]
md4 : active raid1 hdb6[1]
200704 blocks [2/1] [_U]
md3 : active raid1 hdb5[1]
208704 blocks [2/1] [_U]
md2 : active raid1 hdb3[1]
513984 blocks [2/1] [_U]
md0 : active raid1 hdb1[1]
264960 blocks [2/1] [_U]
md1 : active raid1 hdb2[1]
522048 blocks [2/1] [_U]
unused devices:
 
 パーティションのIDをLINUX NATIVEからRAID AUTOに変更
Disk /dev/hdb: 255 heads, 63 sectors, 9726 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 33 265041 fd Linux raid autodetect
/dev/hdb2 34 98 522112+ fd Linux raid autodetect
/dev/hdb3 99 162 514080 fd Linux raid autodetect
/dev/hdb4 163 9726 76822830 5 Extended
/dev/hdb5 163 188 208813+ 83 Linux native
/dev/hdb6 189 213 200781 83 Linux native
/dev/hdb7 214 239 208813+ 83 Linux native
/dev/hdb8 240 1544 10482381 83 Linux native
/dev/hdb9 1545 1551 56196 83 Linux native
/dev/hdb10 1552 2791 9960268+ 83 Linux native
/dev/hdb11 2792 5402 20972826 83 Linux native
/dev/hdb12 5403 8013 20972826 83 Linux native
/dev/hdb13 8014 9726 13759641 83 Linux native
Command (m for help): t
Partition number (1-13): 5
Hex code (type L to list codes): fd
Changed system type of partition 5 to fd (Linux raid autodetect)
Command (m for help): t
Partition number (1-13): 6
Hex code (type L to list codes): fd
Changed system type of partition 6 to fd (Linux raid autodetect)
Command (m for help): t
Partition number (1-13): 7
Hex code (type L to list codes): fd
Changed system type of partition 7 to fd (Linux raid autodetect)
Command (m for help): t
Partition number (1-13): 8
Hex code (type L to list codes): fd
Changed system type of partition 8 to fd (Linux raid autodetect)
Command (m for help): t
Partition number (1-13): 9
Hex code (type L to list codes): fd
Changed system type of partition 9 to fd (Linux raid autodetect)
Command (m for help): t
Partition number (1-13): 10
Hex code (type L to list codes): f
You cannot change a partition into an extended one or vice versa
Delete it first.
Command (m for help): t
Partition number (1-13): 10
Hex code (type L to list codes): fd
Changed system type of partition 10 to fd (Linux raid autodetect)
Command (m for help): t
Partition number (1-13): 11
Hex code (type L to list codes): fd
Changed system type of partition 11 to fd (Linux raid autodetect)
Command (m for help): t
Partition number (1-13): 12
Hex code (type L to list codes): fd
Changed system type of partition 12 to fd (Linux raid autodetect)
Command (m for help): t
Partition number (1-13): 13
Hex code (type L to list codes): fd
Changed system type of partition 13 to fd (Linux raid autodetect)
Command (m for help):
Command (m for help): p
Disk /dev/hdb: 255 heads, 63 sectors, 9726 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 33 265041 fd Linux raid autodetect
/dev/hdb2 34 98 522112+ fd Linux raid autodetect
/dev/hdb3 99 162 514080 fd Linux raid autodetect
/dev/hdb4 163 9726 76822830 5 Extended
/dev/hdb5 163 188 208813+ fd Linux raid autodetect
/dev/hdb6 189 213 200781 fd Linux raid autodetect
/dev/hdb7 214 239 208813+ fd Linux raid autodetect
/dev/hdb8 240 1544 10482381 fd Linux raid autodetect
/dev/hdb9 1545 1551 56196 fd Linux raid autodetect
/dev/hdb10 1552 2791 9960268+ fd Linux raid autodetect
/dev/hdb11 2792 5402 20972826 fd Linux raid autodetect
/dev/hdb12 5403 8013 20972826 fd Linux raid autodetect
/dev/hdb13 8014 9726 13759641 fd Linux raid autodetect
Command (m for help):
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Re-read table failed with error 16: Device or resource busy.
Reboot your system to ensure the partition table is updated.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
 
 MDデバイスのフォーマット
root@ :~# mke2fs /dev/md1から11
mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09
warning: 304 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2626560 inodes, 5242880 blocks
262159 blocks (5.00%) reserved for the super user
First data block=0
160 block groups
32768 blocks per group, 32768 fragments per group
16416 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
 
 SWAPの作成
root@ :~# mkswap /dev/md1
Setting up swapspace version 1, size = 534573056 bytes
 
 MDをマウントして、コピー
root@ :/mnt#
root@ :/mnt# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 251M 64M 176M 27% /
/dev/hda3 486M 417M 49M 90% /opt
/dev/hda5 197M 28M 159M 15% /var
/dev/hda6 190M 15k 180M 1% /tmp
/dev/hda9 53M 5.4M 45M 11% /root
/dev/hda8 9.8G 6.8G 2.6G 72% /usr
/dev/hda13 13G 6.2G 6.2G 50% /export
/dev/hda7 197M 56M 131M 30% /www
/dev/hda11 20G 9.7G 9.0G 52% /home
/dev/hda12 20G 19G 893M 96% /ehome
/dev/md0 251M 22k 237M 1% /mnt
/dev/md2 486M 13k 460M 1% /mnt/opt
/dev/md6 9.8G 20k 9.3G 1% /mnt/usr
/dev/md7 53M 13k 50M 1% /mnt/root
/dev/md9 20G 20k 18G 1% /mnt/home
/dev/md10 20G 20k 18G 1% /mnt/ehome
/dev/md5 197M 13k 187M 1% /mnt/www
/dev/md3 197M 13k 187M 1% /mnt/var
/dev/md4 190M 13k 179M 1% /mnt/tmp
/dev/md11 13G 20k 12G 1% /mnt/export
 
 lilo.conf、fstabの編集
root@ :/etc# cat /etc/lilo.conf
# LILO configuration file
# generated by ‘liloconfig’
#
# Start LILO global section
#boot = /dev/fd0
boot = /dev/hda1
prompt
timeout = 50
default = linux_numa
#compact # faster, but won’t work on all systems.
# delay = 5
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
root = /dev/hda1
label = linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
image = /boot/vmlinuz-2.4.33
root = /dev/hda1
label = linux_numa
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
image = /boot/vmlinuz-2.4.33
root = /dev/md0
label = linux_numa_RAID
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
root@ #
root@ :/etc# cat fstab
/dev/md0 / ext2 defaults 1 1
/dev/md1 swap swap defaults 1 1
/dev/md2 /opt ext2 defaults 1 1
/dev/md3 /var ext2 defaults 1 1
/dev/md4 /tmp ext2 defaults 1 1
/dev/md7 /root ext2 defaults 1 1
/dev/md6 /usr ext2 defaults 1 1
/dev/md11 /export ext2 defaults 1 1
/dev/md5 /www ext2 defaults 1 1
/dev/md9 /home ext2 defaults 1 1
/dev/md10 /ehome ext2 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
 
 raidtab編集
root@ :/etc# cat raidtab
raiddev /dev/md0
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda1
raid-disk 0
device /dev/hdb1
raid-disk 1
raiddev /dev/md1
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda2
raid-disk 0
device /dev/hdb2
raid-disk 1
raiddev /dev/md2
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda3
raid-disk 0
device /dev/hdb3
raid-disk 1
raiddev /dev/md3
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda5
raid-disk 0
device /dev/hdb5
raid-disk 1
raiddev /dev/md4
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda6
raid-disk 0
device /dev/hdb6
raid-disk 1
raiddev /dev/md5
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda7
raid-disk 0
device /dev/hdb7
raid-disk 1
raiddev /dev/md6
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda8
raid-disk 0
device /dev/hdb8
raid-disk 1
raiddev /dev/md7
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda9
raid-disk 0
device /dev/hdb9
raid-disk 1
raiddev /dev/md8
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda10
raid-disk 0
device /dev/hdb10
raid-disk 1
raiddev /dev/md9
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda11
raid-disk 0
device /dev/hdb11
raid-disk 1
raiddev /dev/md10
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda12
raid-disk 0
device /dev/hdb12
raid-disk 1
raiddev /dev/md11
raid-level 1
persistent-superblock 1
chunk-size 4
nr-raid-disks 2
device /dev/hda13
raid-disk 0
device /dev/hdb13
raid-disk 1
You have mail in /var/spool/mail/root
root@ :/etc#
 raidhotaddで追加する。
 root@ :/etc# raidhotadd /dev/md11 /dev/hda13
/dev/md11: can not hot-add disk: disk busy!
 
root@ :/etc# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md13 : active raid1 hda10[1]
9960192 blocks [2/1] [_U]
md0 : active raid1 hda1[0] hdb1[1]
264960 blocks [2/2] [UU]
md1 : active raid1 hda2[0] hdb2[1]
522048 blocks [2/2] [UU]
md2 : active raid1 hda3[2] hdb3[1]
513984 blocks [2/1] [_U]
[======>…………..] recovery = 33.8% (174272/513984) finish=3.1min speed=1796K/sec
md3 : active raid1 hda5[2] hdb5[1]
208704 blocks [2/1] [_U]
md4 : active raid1 hda6[2] hdb6[1]
200704 blocks [2/1] [_U]
md5 : active raid1 hda7[2] hdb7[1]
208704 blocks [2/1] [_U]
md6 : active raid1 hda8[2] hdb8[1]
10482304 blocks [2/1] [_U]
md7 : active raid1 hda9[2] hdb9[1]
56128 blocks [2/1] [_U]
md8 : active raid1 hdb10[1]
9960192 blocks [2/1] [_U]
md9 : active raid1 hda11[2] hdb11[1]
20972736 blocks [2/1] [_U]
md10 : active raid1 hda12[2] hdb12[1]
20972736 blocks [2/1] [_U]
md11 : active raid1 hda13[2] hdb13[1]
13759552 blocks [2/1] [_U]
unused devices:
 
 FSTAB 書き換え (IDEからSATAorMDに変える場合)
 

SUN LINUX に mysql インストール

1、ソースのDOWNLOAD
ここからtarボールをDLする。
2.ダウンロードしたファイルを適当なディレクトリにコピーし、解凍する $ tar zxvf mysql-5.0.37.tar.gz
3.解凍後、バージョンに応じたディレクトリが作成されるので、移動
cd mysql-5.0.37/
4,新規ユーザ、グループを生成
# groupadd mysql
# useradd -g mysql mysql
# passwd mysql
5.configure
$ ./configure –prefix=/usr/local/mysql –with-charset=ujis–with-extra-charsets=all–with-mysqld-user=mysql
 
6,インストール
#make
# make install
7.初期データベースの作成
#mysql-5.0.37/scripts/mysql_install_db
Installing all prepared tables
Fill help tables
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/local/bin/mysqladmin -u root password ‘new-password’
/usr/local/bin/mysqladmin -u root -h localhost.localdomain password ‘new-password’
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run the /usr/local/bin/mysql_fix_privilege_tables. Otherwise you will not be able to use the new GRANT command! You can start the MySQL daemon with: cd /usr/local ; /usr/local/bin/mysqld_safe & You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory: cd sql-bench ; perl run-all-tests Please report any problems with the /usr/local/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at http://shop.mysql.com [root@localhost var]# mysql -u root ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) このエラーのときは mysqlがあがってないらしい。 8.mysqlの起動
# /usr/local/mysql/bin/mysqld_safe &
ここで 問題発生!以下のエラーで DB起動せず。
[root@localhost var]# Starting mysqld daemon with databases from /usr/local/var
STOPPING server from pid file /usr/local/var/localhost.localdomain.pid
070506 14:21:15 mysqld ended
mysqlのエラーログを見ると、access rights( アクセス権)がないとあった。
070506 13:22:37 mysqld started
070506 13:22:38 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
070506 13:22:38 mysqld ended
エラーに出ている、ディレクトリのオーナー、パーミッションを確認すると、
rootになっていたので、mysqlに変更し、ほか パーみションを調整。
再度
[root@localhost var]# /usr/local/bin/mysqld_safe &
[1] 15343
[root@localhost var]# Starting mysqld daemon with databases from /usr/local/var
9,mysql -u rootで DBにアクセス
[root@localhost /root]#
[root@localhost /root]# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.37 Source distribution
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql>
[root@localhost local]# mysql -V
mysql Ver 14.12 Distrib 5.0.37, for unknown-linux-gnu (sparc) using EditLine wrapper
[root@localhost local]#

sparc station5にLINUXをいれてみる

突然、会社の棚の底に眠っていた、SPARC STATIONにLINUX (VINE 2.1.5)を
入れてみたくなった、SUNで動くLINUXってどうなんだろ・・
とりあえずここら辺からISO落として、CDに焼く
焼けたCDをSSにいれて、OKプロンプトで、
#boot cdrom  
そすると、見慣れたLINUXのインストール画面になるので、
適切に設定して、インストール。
rebootすると、siloというブートローダが起動して、
正常にたちあがりました、 おもちゃ完成。
何気に起動時にペンギン2匹でてました。
[root@localhost log]#
[root@localhost log]# dmesg
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.2.18-0vl4.3smp (root@sparc) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP 2001年 2月12日(月) 23時12分41秒 JST
ARCH: SUN4M
TYPE: Sun4m SparcStation10/20
Ethernet address: 8:0:20:72:18:4
SRMMU: Using VAC size of 524288 bytes, line size 32 bytes.
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@ultra.linux.cz). Patching kernel for srmmu[ROSS HyperSparc]/iommu
[0]: v[f0000000,fd000000](d000000) p[00000000]
[1]: v[e9000000,ec000000](3000000) p[0d000000]
[2]: v[ec000000,eff6b000](3f6b000) p[14000000]
[3]: v[eff6c000,eff7f000](13000) p[17f6c000]
Found CPU 0
Found CPU 1
Found 2 CPU prom device tree node(s).
Power off control detected.
Console: colour dummy device 80×25
Calibrating delay loop… 150.32 BogoMIPS
Memory: 321500k available (1340k kernel code, 4184k data, 136k init) [e9000000,fd000000]
Dentry hash table entries: 65536 (order 7, 512k)
Buffer cache hash table entries: 262144 (order 8, 1024k)
Page cache hash table entries: 65536 (order 6, 256k)
VFS: Diskquotas version dquot_6.4.0 initialized
POSIX conformance testing by UNIFIX
Entering SMP Mode…
Starting CPU 1 at f01a2dcc
Calibrating delay loop… 150.32 BogoMIPS
Total of 2 Processors activated (300.64 BogoMIPS).
IOMMU: impl 1 vers 3 page table at efe00000 of size 524288 bytes
sbus0: Clock 25.0 MHz
dma0: Revision 2
dma1: Revision 2
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 524288 bhash 65536)
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
Initializing RT netlink socket
Starting kswapd v 1.5
Console: switching to colour frame buffer device 128×54
fb0: cgfourteen at 0.fc000000, 8MB, rev=3, impl=0
Sparc Zilog8530 serial driver version 1.41.2.6
tty00 at 0xffede004 (irq = 44) is a Zilog8530
tty01 at 0xffede000 (irq = 44) is a Zilog8530
tty02 at 0xffedb004 (irq = 44) is a Zilog8530
tty03 at 0xffedb000 (irq = 44) is a Zilog8530
Sun TYPE 5 keyboard detected without keyclick
pty: 256 Unix98 ptys configured
Sun Mouse-Systems mouse driver version 1.00
RAM disk driver initialized: 16 RAM disks of 8192K size
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: trying high-speed SPARC checksum routine
SPARC : 202.311 MB/sec
8regs : 111.252 MB/sec
32regs : 129.921 MB/sec
using fastest function: SPARC (202.311 MB/sec)
esp0: IRQ 36 SCSI ID 7 Clk 40MHz CCF=8 TOut 167 NCR53C9XF(espfast)
ESP: Total of 1 ESP hosts found, 1 actually in use.
scsi0 : Sparc ESP100A-FAST
scsi : 1 host.
Vendor: SGI Model: IBM DDRS-34560W Rev: S96A
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 3, lun 0
scsi : detected 1 SCSI disk total.
esp0: target 3 [period 100ns offset 15 10.00MHz FAST SCSI-II]
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8888543 [4340 MB] [4.3 GB]
sunlance.c:v1.12 11/Mar/99 Miguel de Icaza (miguel@nuclecu.unam.mx)
eth0: LANCE 08:00:20:72:18:04
eth0: using auto-carrier-detection.
Partition check:
sda: sda1 sda2 sda3 sda4
md.c: sizeof(mdp_super_t) = 4104
autodetecting RAID arrays
autorun …
… autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 65936k swap-space (priority -1)
audio0 at 0xfd017000 (irq 57) is DBRI(e)+CS4215(18)
sunmouse: Successfully adjusted to 1200 baud.

MT インストール

1.Movable Type のダウンロード and サーバにUPロード
公式サイトよりダウンロードします。個人ライセンス(無償)
http://www.sixapart.com/movabletype/
2.mt-config.cgi-original のりネーム
アーカイブを解凍した中にある mt-config.cgi-original を mt-config.cgi に変更。
もしくはmt-config.cgiにcp。
3.3.mt-config.cgi の編集
 ①CGIPath
  Movable Type の管理画面を実行するURLを CGIPath に設定。CGIを実行する
  URLに変更。
  CGIPath http://www.example.com/cgi-bin/mt/
 ②StaticWebPathの設定
  スタティック・ディレクトリにウェブ・ブラウザーからアクセスした際のパスを、次のように設定します。
  StaticWebPath http://www.example.com/mt-static/
 ③DataSource
 データベースに Berkeley DB を使用する場合、データベースファイルを配置するパスを指定します。
 4種類のDBのコンフィグあるので、不要なものは削除、もしくはコメントアウト。 
 
#================ DATABASE SETTINGS ==================
# REMOVE all sections below that refer to databases
# other than the one you will be using.
##### MYSQL #####
ObjectDriver DBI::mysql
Database DATABASE_NAME
DBUser DATABASE_USERNAME
DBPassword DATABASE_PASSWORD
DBHost localhost
##### POSTGRESQL #####
#ObjectDriver DBI::postgres
#Database DATABASE_NAME
#DBUser DATABASE_USERNAME
#DBPassword DATABASE_PASSWORD
#DBHost localhost
##### SQLITE #####
#ObjectDriver DBI::sqlite
#Database /path/to/sqlite/database/file
##### BERKELEYDB #####
#DataSource /path/to/database/directory
4、 http://www.example.com/cgi-bin/mt/にアクセス。
※MY sqlの設定 うちの場合
1、MySQLの設定ファイルmy.cnfに以下の設定を追加して起動します。なお、文字エンコーディング
  をUTF-8以外にする場合はutf8の代わりにsjis(Shift_JISの場合)、ujis(EUC-JPの場合)などを
  指定。
  [mysqld]
  default-character-set=utf8
  [client]
  default-character-set=utf8
2、DBの作成 DB名がmtdbの場合
  mysqladmin -uroot -pXXXXXX create mtdb
3、ユーザの作成  ユーザー名をmtuser、パスワードをmtpasswdとする場合
  $ mysql -uroot -pXXXXXX
  mysql> grant select,insert,update,delete,create,index,alter
  on mt.* to mtuser@localhost identified by ‘mtpasswd’;