龙须面

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年3月23日

摘要: 转载自:http://blog.csdn.net/buutterfly/article/details/5630203DedeCMS部署--怎样去部署Apache+Mysql+PHP(LAMP)?1. Linux OS:Linux OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 6)2.Deploy Apache2.1 下载Apache下载Apache2 source from http://httpd.apache.org/ ,直接下载在/root下,解压tar包php-5.2.13。2.2 编译 apachecd httpd- 阅读全文
posted @ 2013-03-23 19:38 木子小黑 阅读(511) 评论(1) 推荐(0) 编辑

摘要: /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> UPDATE user SET Password=PASSWORD(’newpassword’) where USER=’root’; mysql> FLUSH PRIVILEGES; mysql> quit # /etc/init.d/mysql restart # mysql -uroot -p Enter password: & 阅读全文
posted @ 2013-03-23 17:14 木子小黑 阅读(821) 评论(0) 推荐(0) 编辑

摘要: 1.在oracle官网上下载了一个mysql最新的RPM包2.把系统中的老mysql删掉3.安装新版的mysql4.就是启动不了,提示无法无法更新PID文件,错误日志为/var/lib/mysql/*.err,里面有提示: InnoDB: Could not open or create the system tablespace......5.用ls -l 看了下/var/lib/mysql下的文件,发现许多文件日期是以前的,直接晕倒,明明是刚刚才装的,果断卸载新版数据库,删掉这个mysql目录, 重新安装新版数据库,启动正确由于没有抓图,所以错误提示无法重现,所以再遇到类似的问题,先看.. 阅读全文
posted @ 2013-03-23 15:57 木子小黑 阅读(966) 评论(0) 推荐(0) 编辑