MySQL のインストール

Debian TS-WXL

MovableType は MySQL で運用してきたので、 今回も MySQL をインストールする。

どのパッケージ?

いつも悩む
tswxl:~# apt-cache search mysql
	:
	:
mysql-client - MySQL database client (metapackage depending on the latest version)
mysql-client-5.0 - MySQL database client binaries
mysql-common - MySQL database common files
mysql-server - MySQL database server (metapackage depending on the latest version)
mysql-server-5.0 - MySQL database server binaries
	:
	:
tswxl:~# 
mysql-client と mysql-server あたりか

インストール

インストールする
tswxl:~# apt-get install mysql-client mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libdbd-mysql-perl libdbi-perl libhtml-template-perl libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.0 mysql-server-5.0
Suggested packages:
  dbishell libipc-sharedcache-perl libcompress-zlib-perl tinyca
The following NEW packages will be installed:
  libdbd-mysql-perl libdbi-perl libhtml-template-perl libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client mysql-client-5.0
  mysql-server mysql-server-5.0
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.1MB of archives.
After this operation, 104MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.jp.debian.org lenny/main libnet-daemon-perl 0.38-1.1 [45.8kB]
Get:2 http://ftp.jp.debian.org lenny/main libplrpc-perl 0.2017-1.1 [34.9kB]
Get:3 http://ftp.jp.debian.org lenny/main libdbi-perl 1.605-1 [789kB]
Get:4 http://security.debian.org lenny/updates/main mysql-client-5.0 5.0.51a-24+lenny3 [7648kB]
Get:5 http://ftp.jp.debian.org lenny/main libdbd-mysql-perl 4.007-1+lenny1 [139kB]
Get:6 http://ftp.jp.debian.org lenny/main libhtml-template-perl 2.9-1 [65.7kB]
Get:7 http://ftp.jp.debian.org lenny/main libterm-readkey-perl 2.30-4 [33.6kB]
Get:8 http://security.debian.org lenny/updates/main mysql-server-5.0 5.0.51a-24+lenny3 [26.2MB]
Get:9 http://security.debian.org lenny/updates/main mysql-client 5.0.51a-24+lenny3 [52.9kB]
Get:10 http://security.debian.org lenny/updates/main mysql-server 5.0.51a-24+lenny3 [55.1kB]
Fetched 35.1MB in 1min38s (355kB/s)
Preconfiguring packages ...

Package configuration

     lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu Configuring mysql-server-5.0 tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
     x While not mandatory, it is highly recommended that you set a password for the MySQL administrative "root" user.  x
     x                                                                                                                  x
     x If that field is left blank, the password will not be changed.                                                   x
     x                                                                                                                  x
     x New password for the MySQL "root" user:                                                                          x
     x                                                                                                                  x
     x ********________________________________________________________________________________________________________ x
     x                                                                                                                  x
     x                                                      <Ok>                                                        x
     x                                                                                                                  x
     mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj



Package configuration

             lqqqqqqu Configuring mysql-server-5.0 tqqqqqqqk
             x                                             x
             x                                             x
             x Repeat password for the MySQL "root" user:  x
             x                                             x
             x ********___________________________________ x
             x                                             x
             x                   <Ok>                      x
             x                                             x
             mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Selecting previously deselected package libnet-daemon-perl.
(Reading database ... 12167 files and directories currently installed.)
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.38-1.1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2017-1.1_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.605-1_armel.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.007-1+lenny1_armel.deb) ...
Selecting previously deselected package mysql-client-5.0.
Unpacking mysql-client-5.0 (from .../mysql-client-5.0_5.0.51a-24+lenny3_armel.deb) ...
Selecting previously deselected package mysql-server-5.0.
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.51a-24+lenny3_armel.deb) ...
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-1_all.deb) ...
Selecting previously deselected package libterm-readkey-perl.
Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4_armel.deb) ...
Selecting previously deselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.0.51a-24+lenny3_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.0.51a-24+lenny3_all.deb) ...
Processing triggers for man-db ...
Setting up libnet-daemon-perl (0.38-1.1) ...
Setting up libplrpc-perl (0.2017-1.1) ...
Setting up libdbi-perl (1.605-1) ...
Setting up libdbd-mysql-perl (4.007-1+lenny1) ...
Setting up mysql-client-5.0 (5.0.51a-24+lenny3) ...
Setting up mysql-server-5.0 (5.0.51a-24+lenny3) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld ..
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up libhtml-template-perl (2.9-1) ...
Setting up libterm-readkey-perl (2.30-4) ...
Setting up mysql-client (5.0.51a-24+lenny3) ...
Setting up mysql-server (5.0.51a-24+lenny3) ...
!tswxl:~#
good going

TS-WXL
楽天市場
amazon
Yahoo ショッピング
Livedoor デパート


Hack BBS に投稿できるようにする
ハックの記録
LinkStation/玄箱 をハックしよう

LinkStationが、NTTドコモのポケットUに対応

Copyright (C) 2003-2010 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市