LANTankにMySQLを入れてみる。
SWAPするほど使わないのでとりあえず入れてみることにした。phpとかは絶対に入れない。
とりあえずWindowsの方にMySQLとODBCのアダプタードライバーを入れる。今日のバージョンは3.51.12だそうで。
http://dev.mysql.com/downloads/connector/odbc/3.51.html
あとで本サーバーにphpmysqladminを入れとく。あとあと。
次にiohack版のmysql4を入れる。5って出たんだっけ。
後はこんな感じです。
LANTANK:/etc/apt# apt-get install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient12 libnet-daemon-perl libplrpc-perl
mysql-client mysql-common
Suggested packages:
dbishell libcompress-zlib-perl mysql-doc
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient12 libnet-daemon-perl libplrpc-perl
mysql-client mysql-common mysql-server
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 4788kB of archives.
After unpacking 12.2MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://iohack.sourceforge.jp ./ mysql-common 4.0.24-10sarge1iohack0 [34.3kB]
Get:2 http://iohack.sourceforge.jp ./ libmysqlclient12 4.0.24-10sarge1iohack0 [288kB]
Get:3 http://iohack.sourceforge.jp ./ libnet-daemon-perl 0.38-1 [46.0kB]
Get:4 http://iohack.sourceforge.jp ./ libplrpc-perl 0.2017-1 [35.1kB]
Get:5 http://iohack.sourceforge.jp ./ libdbi-perl 1.46-6 [621kB]
Get:6 http://iohack.sourceforge.jp ./ libdbd-mysql-perl 2.9006-1 [140kB]
Get:7 http://iohack.sourceforge.jp ./ mysql-client 4.0.24-10sarge1iohack0 [398kB]
Get:8 http://iohack.sourceforge.jp ./ mysql-server 4.0.24-10sarge1iohack0 [3226kB]
Fetched 4788kB in 11s (400kB/s)
Preconfiguring packages ...
Debian Configuration
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqu Configuring mysql-server tqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x x
x Install Hints x
x x
x MySQL will only install if you have a NON-NUMERIC hostname that is resolvable via x
x the /etc/hosts file. E.g. if the "hostname" command returns "myhostname" then x
x there must be a line like "10.0.0.1 myhostname". x
x x
x A new mysql user "debian-sys-maint" will be created. This mysql account is used x
x in the start/stop and cron scripts. Don't delete. x
x x
x Please remember to set a PASSWORD for the MySQL root user! If you use a x
x /root/.my.cnf, always write the "user" and the "password" lines in there, never x
x only the password! See /usr/share/doc/mysql-server/README.Debian for more x
x information. x
x x
x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
Selecting previously deselected package mysql-common.
(Reading database ... 11160 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_4.0.24-10sarge1iohack0_all.deb) ...
Selecting previously deselected package libmysqlclient12.
Unpacking libmysqlclient12 (from .../libmysqlclient12_4.0.24-10sarge1iohack0_sh4.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.38-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2017-1_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.46-6_sh4.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_2.9006-1_sh4.deb) ...
Selecting previously deselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_4.0.24-10sarge1iohack0_sh4.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_4.0.24-10sarge1iohack0_sh4.deb) ...
2.4 kernel w/o ELF notes? -- report to albert@users.sf.net
Setting up mysql-common (4.0.24-10sarge1iohack0) ...
Setting up libmysqlclient12 (4.0.24-10sarge1iohack0) ...
Setting up libnet-daemon-perl (0.38-1) ...
Setting up libplrpc-perl (0.2017-1) ...
Setting up libdbi-perl (1.46-6) ...
Setting up libdbd-mysql-perl (2.9006-1) ...
Setting up mysql-client (4.0.24-10sarge1iohack0) ...
Setting up mysql-server (4.0.24-10sarge1iohack0) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.
さて、ぼちぼち始めますか。
コメント(0)