Navigation Menu

Skip to content

Commit

Permalink
doc centos: use service on CentOS 5 and 6
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 10, 2014
1 parent 733ccb7 commit d926add
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/install/centos.rst
Expand Up @@ -19,7 +19,7 @@ Install::
% sudo rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm
% sudo yum makecache
% sudo yum install -y mysql55-mysql-server
% sudo /etc/init.d/mysql55-mysqld start
% sudo /sbin/service mysql55-mysqld start
% sudo yum install -y mysql55-mroonga
(% sudo mysqladmin -u root password 'new-password')

Expand All @@ -42,7 +42,7 @@ Install::
% sudo yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm
% sudo yum makecache
% sudo yum install -y mysql55-mysql-server
% sudo /etc/init.d/mysql55-mysqld start
% sudo /sbin/service mysql55-mysqld start
% sudo yum install -y mysql55-mroonga
(% sudo scl enable mysql55 "mysqladmin -u root password 'new-password'")

Expand All @@ -64,7 +64,7 @@ Install::
% sudo yum install -y http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
% sudo yum makecache
% sudo yum install -y mysql-community-server
% sudo service mysqld start
% sudo /sbin/service mysqld start
% sudo yum install -y mysql-community-mroonga
(% sudo mysqladmin -u root password 'new-password')

Expand Down

0 comments on commit d926add

Please sign in to comment.