23

MySQL 移除 mysql-ndb、mysql-ndb-mgm 服务

   Posted by: 等待一生   in Web Server

前几天重新写了Ubuntu/Debian apt 安装Apache + PHP + MySQL的教程,不过漏了一个MySQL相关步骤,今天先在这里补上~

MySQL一般包括3个服务,mysql、mysqld-ndb、mysql-ndb-mgm。mysql服务就是我们常有的数据库服务,mysqld-ndb是mysql cluster用的,mysql-ndb-mgm是mysql cluster的管理用的,我们在VPS上一般用不到mysql cluster,所以应该禁止掉mysql-ndb和mysql-ndb-mgm。

禁止命令:

Ubuntu / Debian 用户输入:

update-rc.d -f mysql-ndb remove
update-rc.d -f mysql-ndb-mgm remove

CentOS 用户输入:

chkconfig mysql-ndb off
chkconfig mysql-ndb-mgm off

然后重新载入MySQL即可:

/etc/init.d/mysql restart

Related posts:

  1. Ubuntu 9.04 编译安装Apache 2.2.12+MySQL 5.1.37+PHP 5.2.10
  2. XEN VPS (Linux) - Ubuntu/Debian 安装pptpd VPN
  3. MySQL 5.1系列最新版本5.1.35发布
  4. Ubuntu 9.10安装Apache 2 + PHP 5 + MySQL 5.1 (Linode篇)
  5. MySQL 5.1系列最新版本5.1.36发布
  6. Debian安装Apache2+MySQL5+PHP5
  7. Linux VPS安装AMP (Apache+MySQL+PHP)
  8. Debian Apache2.2配置FastCGI(fcgid)
  9. 关于PHP 5.3的安装步骤
  10. Debian常用命令

Tags: , , ,

发表评论之余,您还可以到寂静街论坛与我们一起讨论您的观点哦。

This entry was posted on 星期六, 一月 23rd, 2010 at 12:28 上午 and is filed under Web Server. You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response, or trackback from your own site.

One comment

 1 

你使用的是哪一家的VPS啊?

[回复]

等待一生 回复:

Linode~可选机房~我选了加州的~

[回复]

一月 23rd, 2010 at 9:05 下午

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment