前几天重新写了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:
- Ubuntu 9.04 编译安装Apache 2.2.12+MySQL 5.1.37+PHP 5.2.10
- XEN VPS (Linux) - Ubuntu/Debian 安装pptpd VPN
- MySQL 5.1系列最新版本5.1.35发布
- Ubuntu 9.10安装Apache 2 + PHP 5 + MySQL 5.1 (Linode篇)
- MySQL 5.1系列最新版本5.1.36发布
- Debian安装Apache2+MySQL5+PHP5
- Linux VPS安装AMP (Apache+MySQL+PHP)
- Debian Apache2.2配置FastCGI(fcgid)
- 关于PHP 5.3的安装步骤
- Debian常用命令
Tags: Centos, Debian, MySQL 优化, Ubuntu
发表评论之余,您还可以到寂静街论坛与我们一起讨论您的观点哦。
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
Leave a reply