ログ:MySQLのインストール
VMware FusionにインストールしたCentOS6.2に、MySQLのインストールを行ったときのログ
参考:CentOS開発環境の構築(Apache, MySQL, PHP)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | yum --enablerepo=remi,epel,rpmforge install mysql mysql-server mysql-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.riken.jp * epel: ftp.riken.jp * extras: ftp.riken.jp * remi: remi-mirror.dedipower.com * rpmforge: ftp.riken.jp * updates: ftp.riken.jp Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package mysql.x86_64 0:5.5.25-1.el6.remi will be installed ---> Package mysql-devel.x86_64 0:5.5.25-1.el6.remi will be installed --> Processing Dependency: openssl-devel(x86-64) for package: mysql-devel-5.5.25-1.el6.remi.x86_64 ---> Package mysql-server.x86_64 0:5.5.25-1.el6.remi will be installed --> Processing Dependency: perl-DBI for package: mysql-server-5.5.25-1.el6.remi.x86_64 --> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.5.25-1.el6.remi.x86_64 --> Processing Dependency: perl(DBI) for package: mysql-server-5.5.25-1.el6.remi.x86_64 --> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: mysql-server-5.5.25-1.el6.remi.x86_64 --> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: mysql-server-5.5.25-1.el6.remi.x86_64 --> Processing Dependency: libaio.so.1()(64bit) for package: mysql-server-5.5.25-1.el6.remi.x86_64 --> Running transaction check ---> Package libaio.x86_64 0:0.3.107-10.el6 will be installed ---> Package openssl-devel.x86_64 0:1.0.0-20.el6_2.5 will be installed --> Processing Dependency: zlib-devel for package: openssl-devel-1.0.0-20.el6_2.5.x86_64 --> Processing Dependency: krb5-devel for package: openssl-devel-1.0.0-20.el6_2.5.x86_64 ---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed ---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed --> Running transaction check ---> Package krb5-devel.x86_64 0:1.9-22.el6_2.1 will be installed --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.9-22.el6_2.1.x86_64 --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.9-22.el6_2.1.x86_64 --> Processing Dependency: libselinux-devel for package: krb5-devel-1.9-22.el6_2.1.x86_64 ---> Package zlib-devel.x86_64 0:1.2.3-27.el6 will be installed --> Running transaction check ---> Package keyutils-libs-devel.x86_64 0:1.4-3.el6 will be installed ---> Package libcom_err-devel.x86_64 0:1.41.12-11.el6 will be installed ---> Package libselinux-devel.x86_64 0:2.0.94-5.2.el6 will be installed --> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.2.el6.x86_64 --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.2.el6.x86_64 --> Running transaction check ---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: mysql x86_64 5.5.25-1.el6.remi remi 5.7 M mysql-devel x86_64 5.5.25-1.el6.remi remi 157 k mysql-server x86_64 5.5.25-1.el6.remi remi 10 M Installing for dependencies: keyutils-libs-devel x86_64 1.4-3.el6 base 28 k krb5-devel x86_64 1.9-22.el6_2.1 updates 1.2 M libaio x86_64 0.3.107-10.el6 base 21 k libcom_err-devel x86_64 1.41.12-11.el6 base 31 k libselinux-devel x86_64 2.0.94-5.2.el6 base 136 k libsepol-devel x86_64 2.0.41-4.el6 base 64 k openssl-devel x86_64 1.0.0-20.el6_2.5 updates 1.1 M perl-DBD-MySQL x86_64 4.013-3.el6 base 134 k perl-DBI x86_64 1.609-4.el6 base 705 k zlib-devel x86_64 1.2.3-27.el6 base 44 k Transaction Summary ================================================================================ Install 13 Package(s) Total download size: 19 M Installed size: 81 M Is this ok [y/N]: y Downloading Packages: (1/13): keyutils-libs-devel-1.4-3.el6.x86_64.rpm | 28 kB 00:00 (2/13): krb5-devel-1.9-22.el6_2.1.x86_64.rpm | 1.2 MB 00:00 (3/13): libaio-0.3.107-10.el6.x86_64.rpm | 21 kB 00:00 (4/13): libcom_err-devel-1.41.12-11.el6.x86_64.rpm | 31 kB 00:00 (5/13): libselinux-devel-2.0.94-5.2.el6.x86_64.rpm | 136 kB 00:00 (6/13): libsepol-devel-2.0.41-4.el6.x86_64.rpm | 64 kB 00:00 (7/13): mysql-5.5.25-1.el6.remi.x86_64.rpm | 5.7 MB 00:10 (8/13): mysql-devel-5.5.25-1.el6.remi.x86_64.rpm | 157 kB 00:01 (9/13): mysql-server-5.5.25-1.el6.remi.x86_64.rpm | 10 MB 00:17 (10/13): openssl-devel-1.0.0-20.el6_2.5.x86_64.rpm | 1.1 MB 00:00 (11/13): perl-DBD-MySQL-4.013-3.el6.x86_64.rpm | 134 kB 00:00 (12/13): perl-DBI-1.609-4.el6.x86_64.rpm | 705 kB 00:00 (13/13): zlib-devel-1.2.3-27.el6.x86_64.rpm | 44 kB 00:00 -------------------------------------------------------------------------------- Total 574 kB/s | 19 MB 00:34 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : mysql-5.5.25-1.el6.remi.x86_64 1/13 Installing : perl-DBI-1.609-4.el6.x86_64 2/13 Installing : perl-DBD-MySQL-4.013-3.el6.x86_64 3/13 Installing : libaio-0.3.107-10.el6.x86_64 4/13 Installing : keyutils-libs-devel-1.4-3.el6.x86_64 5/13 Installing : zlib-devel-1.2.3-27.el6.x86_64 6/13 Installing : libsepol-devel-2.0.41-4.el6.x86_64 7/13 Installing : libselinux-devel-2.0.94-5.2.el6.x86_64 8/13 Installing : libcom_err-devel-1.41.12-11.el6.x86_64 9/13 Installing : krb5-devel-1.9-22.el6_2.1.x86_64 10/13 Installing : openssl-devel-1.0.0-20.el6_2.5.x86_64 11/13 Installing : mysql-devel-5.5.25-1.el6.remi.x86_64 12/13 Installing : mysql-server-5.5.25-1.el6.remi.x86_64 13/13 Installed: mysql.x86_64 0:5.5.25-1.el6.remi mysql-devel.x86_64 0:5.5.25-1.el6.remi mysql-server.x86_64 0:5.5.25-1.el6.remi Dependency Installed: keyutils-libs-devel.x86_64 0:1.4-3.el6 krb5-devel.x86_64 0:1.9-22.el6_2.1 libaio.x86_64 0:0.3.107-10.el6 libcom_err-devel.x86_64 0:1.41.12-11.el6 libselinux-devel.x86_64 0:2.0.94-5.2.el6 libsepol-devel.x86_64 0:2.0.41-4.el6 openssl-devel.x86_64 0:1.0.0-20.el6_2.5 perl-DBD-MySQL.x86_64 0:4.013-3.el6 perl-DBI.x86_64 0:1.609-4.el6 zlib-devel.x86_64 0:1.2.3-27.el6 Complete! chkconfig mysqld on service mysqld start service mysqld start MySQL データベースを初期化中: Installing MySQL system tables... OK Filling help tables... OK 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/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password' Alternatively you can run: /usr/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr/mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/bin/mysqlbug script! [ OK ] mysqld を起動中: [ OK ] |
CentOS開発環境の構築(Apache, MySQL, PHP) | mawatari.jp
2012年6月28日 @ 10:10 PM
[…] 参考:ログ – MySQLのインストール MySQLのインストール(ハイライト部分がコマンド) Shell # MySQLのインストール yum –enablerepo=remi,epel,rpmforge install mysql mysql-server mysql-devel # 自動起動の […]