网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 站务管理 > 新闻公告
User Name
Password
 
FAQ Members List Calendar Cheap Glasses Mark Forums Read

新闻公告 网站重要事件,论坛规则,会员惩罚处理等信息将在这里公布。

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3   IP: 180.125.50.245
Old 2016-05-25, 10:06 PM
topvip topvip is offline
超级版主
 
Join Date: 2006-01-04
Posts: 1206
topvip 正向着好的方向发展
Default

安装mysql
查看安装说明:
#cd /abiao/mysql-5.5.23
# vi INSTALL-SOURCE 在第800行开始就是安装过程说明
第一步:yum -y -install ncurses-delvel
yum -y install cmake bison

# yum -y install cmake
#yum -y install bison

linux系统中, 任何一个服务必须要有伪用户存在。
# groupadd mysql //建立用户组
# useradd -g mysql mysql //在mysql用户组中建立用户mysql

# groupadd mysql
# useradd -g mysql mysql


# cd /lamp/mysql-5.5.23

# cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
-DMYSQL_UNIX_ADDR=/tmp/mysql.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DWITH_READLINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DMYSQL_DATADIR=/usr/local/mysql/data \
-DMYSQL_USER=mysql \
-DMYSQL_TCP_PORT=3306

# make

# make install

# cd /usr/local/mysql
# chown -R mysql .
# chgrp -R mysql .

# /usr/local/mysql/scripts/mysql_install_db --user=mysql

# chown -R root .
# chown -R mysql data

# cp support-files/my-medium.cnf /etc/my.cnf
cp:是否覆盖"/etc/my.cnf"? y

# cd /usr/local/mysql
# scripts/mysql_install_db --user=mysql


启动mysql:
# /usr/local/mysql/bin/mysqld_safe --user=mysql &

# vi /etc/rc.local
/usr/local/mysql/bin/mysqld_safe --user=mysql &

---
/usr/local/mysql/bin/mysqladmin -uroot password 123

清空历史命令 history -c


www.jb51.net/os/RedHat/73026.html

Last edited by topvip : 2016-05-25 at 11:22 PM
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
用php语言来编写shell脚本 car 代码交流 0 2008-05-05 08:09 PM
Php教程.经验技巧(上) sunshine 代码交流 0 2006-12-15 08:13 PM
Php入门速成 smiling 代码交流 0 2006-12-15 07:30 PM
php.ini中文解释 sunshine 服务器环境搭建 0 2006-02-04 11:05 PM
winxp下安装全新的apache,php(5.0),mysql(5.0)... topvip 服务器环境搭建 0 2006-01-08 10:28 PM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 07:50 PM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.