Chinaunix首页 | 论坛 | 博客
  • 博客访问: 237353
  • 博文数量: 22
  • 博客积分: 512
  • 博客等级: 下士
  • 技术积分: 242
  • 用 户 组: 普通用户
  • 注册时间: 2012-02-17 09:48
文章分类

全部博文(22)

文章存档

2013年(1)

2012年(21)

我的朋友

分类: Mysql/postgreSQL

2013-02-01 11:40:59

/usr/local/mysql/bin/mysqld_safe --user=mysql& 
注意MYSQL安装目录 

配置自启动 

通过vi /etc/rc.local 
常见命令 

#!/bin/sh 

# This script will be executed *after* all the other init scripts. 
# You can put your own initialization stuff in here if you don't 
# want to do the full Sys V style init stuff. 

touch /var/lock/subsys/local 
/usr/local/apache/bin/apachectl start 
/usr/local/mysql/bin/mysqld_safe --user=mysql & 
mount -t nfs 192.168.0.85:/var/www/html/cache /var/www/html/cache 
阅读(2224) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~