続いて
Movable Type
を動作させるための MySql のインストール。
ようやく、それらしくなってきた(笑)
ude:~# apt-get mysql E: Invalid operation mysql ude:~# apt-get install mysql Reading package lists... Done Building dependency tree... Done E: Couldn't find package mysql ude:~#あらら。何をインストールすればいいの?
ude:~# apt-cache search mysql : : mysql-admin - GUI tool for intuitive MySQL administration mysql-admin-common - Architecture independent files for MySQL Administrator mysql-client - mysql database client (meta package depending on the latest version) mysql-client-5.0 - mysql database client binaries mysql-common - mysql database common files (e.g. /etc/mysql/my.cnf) mysql-navigator - GUI client program for MySQL database server mysql-query-browser - Official GUI tool to query MySQL database mysql-query-browser-common - Architecture independent files for MySQL Query Browser mysql-server - mysql database server (meta package depending on the latest version) mysql-server-4.1 - mysql database server (transitional package) mysql-server-5.0 - mysql database server binaries mysqltcl - Interface to the MySQL database for the Tcl language :mysql-server は必要として、他は?
ude:~# 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 libmysqlclient15off libnet-daemon-perl libplrpc-perl mysql-client-5.0 mysql-common mysql-server-5.0 Suggested packages: dbishell libcompress-zlib-perl tinyca The following NEW packages will be installed: libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 35.2MB of archives. After unpacking 90.5MB of additional disk space will be used. Do you want to continue [Y/n]? yなんだ、mysql-client もインストールされるやん。
Selecting previously deselected package mysql-server. Unpacking mysql-server (from .../mysql-server_5.0.32-7etch1_all.deb) ... Setting up libnet-daemon-perl (0.38-1.1) ... Setting up libplrpc-perl (0.2017-1.1) ... Setting up libdbi-perl (1.53-1) ... Setting up libmysqlclient15off (5.0.32-7etch1) ... Setting up libdbd-mysql-perl (3.0008-1) ... Setting up mysql-client-5.0 (5.0.32-7etch1) ... Setting up mysql-server-5.0 (5.0.32-7etch1) ... Stopping MySQL database server: mysqld. Starting MySQL database server: mysqld .. Checking for corrupt, not cleanly closed and upgrade needing tables.. Setting up mysql-server (5.0.32-7etch1) ... ude:~#
ude:~# mysqladmin -uroot -pXXXXXX create mt ude:~#注:XXXXXX は MySQL "root" user のパスワード
ude:~# mysql -uroot -pXXXXXX Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 9 Server version: 5.0.32-Debian_7etch1-log Debian etch distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> grant select,insert,update,delete,create,index,alter on mt.* to YYYYYY@localhost identified by 'ZZZZZZZ'; Query OK, 0 rows affected (0.00 sec) mysql> quit Bye ude:~#同じく、一部伏せ字
|
楽天市場
Amazon Yahoo!ショッピング ソフマップ ツクモネットショプ livedoor デパート ドスパラ |
← LS-GL ハックキット 2.0 Web サーバのインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LS-GL ハックキット 2.0 Movable Type のインストール |