Linux服务器系统常用服务器配置手册
四、数据库服务
4.1.MYSQL安装配置过程
Mysql版本:mysql-5.1.22-rc-linux-x86_64-icc-glibc23
4.1.1.#解压源码包
#tar -zxvf mysql-5.1.22-rc-linux-x86_64-icc-glibc23.tar.gz
4.1.2.#拷贝mysql到/home下
# mv mysql-5.1.22-rc-linux-x86_64-icc-glibc23 /home/
4.1.3.#创建/usr/local/mysql 链接到/home下的mysql程序目录
#ln -s /home/mysql-5.1.22-rc-linux-x86_64-icc-glibc23 /usr/local/mysql
4.1.4.#创建Mysql用户组和用户
#groupadd mysql
# useradd mysql -g mysql
4.1.5.为mysql安装目录配置权限
# cd /usr/local/mysql
# chown -R root .
# chown -R mysql data
# chgrp -R mysql .
4.1.6.#初始化数据库
# scripts/mysql_install_db –user=mysql
# /usr/local/mysql/bin/mysqld_safe –user=mysql &
# cp support-files/mysql.server /etc/rc.d/init.d/mysqld
4.1.7.#给与 /etc/rc.d/init.d/mysqld 执行权限(如果没有)
# chown root:root /etc/rc.d/init.d/mysqld
# chmod 755 /etc/rc.d/init.d/mysqld
4.1.8.#拷贝my.cnf文件
# cp /etc/my.cnf /etc/my.cnf.bak (备份)
# cp ./support-files/my-huge.cnf /etc/my.cnf
4.1.9.启动mysql测试
# /etc/init.d/mysqld start
#设置MYSQL密码
#/usr/local/mysql/bin/mysqladmin -uroot password 密码
2.Oracle数据库安装配置
更新了linux.doc文档,增加了memcache的安装
THANK YOU VERY MUCH FOR YOUR ENCOURAGING WORDS ,FULL OF INSPIRATION
Well written!
I love this humour…:)
….interesting….
I have a personal passion for writing and spend a vast amount of time as an avid reader of other people’s work.
Ahhhhh! a very smart Heart!
The presentation is so unusual. I like that
these words made me stronger. i really loves this a lot!
Just wish to thank you for all the lights that you put on my path via your quotes, your themes, your issues, your works.
Bless:) Happy day!!
Ahhhhh! a very smart Heart!
HeHe, Love it! Thanks.
I was wondering the same thing.
All the very best