#!/bin/sh 【相关文章:在linux平台上创建超小的ELF可执行】
【扩展阅读:redhat 9 下使用U盘】 apache_ver="2.0.54" 【扩展信息:emacs常用命令】 php_ver="4.4.0" mysql_ver="4.0.25" httpd="/httpd" mysql="/mysql" #src_root="/root/comp/test" if [ -e mysql-$.tar.bz2 ]; then echo "mysql-$.tar.bz2" tar -jxf mysql-$.tar.bz2 else echo "mysql-$.tar.gz" tar -zxf mysql-$.tar.gz fi cd mysql-$ pwd ./configure --prefix=$ \ --with-charset=gb2312 \ --without-bench \ --without-docs \ --with-mysqld-user=mysqld \ cflags=-duse_old_functions \ --with-pthread 2>&1 >>test.log make 2>&1 >>test.log make install 2>&1 >>test.log cp support-files/my-medium.cnf /etc/my.cnf cp support-files/mysql.server /etc/rc.d/mysql.server cd $ bin/mysql_install_db --user=mysqld chown -r root . chown -r mysqld var chgrp -r mysqld . bin/mysqld_safe --user=mysqld & ... 下一页