免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1864 | 回复: 5
打印 上一主题 下一主题

[Mail] 搭建postfix出现问题!求助!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-25 11:43 |只看该作者 |倒序浏览
我的平台是linux AS4 ,我是按精华帖子一步步来的!http://bbs.chinaunix.net/viewthr ... 1%26filter%3Ddigest
上面是我看的帖子,找个热心的人帮下忙!留下qq!
现在我安装到mysql这步出错!问题还不清楚!
安装完以后要初始化数据库
# cd /usr/local/mysql
# /usr/local/mysql/bin/mysql_install_db --user=mysql
# chown -R root .
# chown -R mysql var   我安装完没有这个文件夹
郁闷!我都是按上面来的!

论坛徽章:
0
2 [报告]
发表于 2007-06-25 11:44 |只看该作者
mysql我重新编译了5遍了!老出问题

论坛徽章:
0
3 [报告]
发表于 2007-06-25 11:45 |只看该作者
make[3]: Leaving directory `/root/mysql-5.0.18/server-tools/instance-manager'
make[3]: Entering directory `/root/mysql-5.0.18/server-tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/mysql-5.0.18/server-tools'
make[2]: Leaving directory `/root/mysql-5.0.18/server-tools'
make[1]: Leaving directory `/root/mysql-5.0.18'
我make完mysql出现上面的的提示,正常吗??????????

论坛徽章:
0
4 [报告]
发表于 2007-06-25 11:47 |只看该作者
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/mysql-5.0.18/server-tools/instance-manager'
make[3]: Leaving directory `/root/mysql-5.0.18/server-tools/instance-manager'
make[3]: Entering directory `/root/mysql-5.0.18/server-tools'
make[4]: Entering directory `/root/mysql-5.0.18/server-tools'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/mysql-5.0.18/server-tools'
make[3]: Leaving directory `/root/mysql-5.0.18/server-tools'
make[2]: Leaving directory `/root/mysql-5.0.18/server-tools'
make[1]: Leaving directory `/root/mysql-5.0.18'
make install出现上面的错误

论坛徽章:
0
5 [报告]
发表于 2007-06-25 11:48 |只看该作者
./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --with-charset=gbk
mysql  编译我加的参数!!!

论坛徽章:
0
6 [报告]
发表于 2007-06-27 15:33 |只看该作者
groupadd mysql
        useradd -g mysql -d /dev/null -s /sbin/nologin mysql

mkdir /db/mysql5

./configure
        --prefix=/db/mysql5
        --enable-local-infile
        --with-openssl //如果新安装了OPENSSL,请指向新的openssl安装路径,如果安在/usr目录下,勿须指定
        --with-ndbcluster
        --enable-assembler
        --with-charset=gbk
        --with-extra-charsets="gbk gb2312 big5 utf8"
        --enable-local-infile
        --enable-thread-safe-client

make && make install

cd /db/mysql5
bin/mysql_install_db --user=root
chown -R root .
chown -R mysql var
chgrp -R mysql .

删除/etc/my.cnf

cp ./support-files/mysql.server /etc/rc.d/init.d/mysqld
chmod +x /etc/rc.d/init.d/mysqld
chkconfig --add mysqld
chkconfig mysqld on
service mysqld start
./bin/mysqladmin -u root password 'new-password'
./bin/mysql -u root --default-character-set=gbk -p
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP