FreeBSD测试服务器Mysql Ports安装备忘录

/usr/ports/databases/mysql50-server

make WITH_CHARSET=utf8 WITH_XCHARSET=all WITH_COLLATION=utf8_general_ci

        WITH_CHARSET=charset    Define the primary built-in charset (latin1).
        WITH_XCHARSET=list      Define other built-in charsets (may be ‘all’).
        WITH_COLLATION=collate  Define default collation (latin1_swedish_ci).
        WITH_OPENSSL=yes        Enable secure connections.
        WITH_LINUXTHREADS=yes   Use the linuxthreads pthread library.
        WITH_PROC_SCOPE_PTH=yes Use process scope threads
                                (try it if you use libpthread).
        BUILD_OPTIMIZED=yes     Enable compiler optimizations
                                (use it if you need speed).
        BUILD_STATIC=yes        Build a static version of mysqld.
                                (use it if you need even more speed).
        WITHOUT_THR_ALARM=yes   Disable signals (this reduces kernel lock
                                contention on SMP, but has the side effect
                                that you can’t kill clients that are sleeping).
        WITHOUT_INNODB=yes      Disable support for InnoDB table handler.
        WITH_ARCHIVE=yes        Enable support for Archive Storage Engine.
        WITH_CSV=yes            Enable support for CSV Storage Engine.
        WITH_FEDERATED=yes      Enable support for Federated Storage Engine.
        WITH_NDB=yes            Enable support for NDB Cluster.

————————–

test -z “/usr/local/share/mysql” || /usr/ports/databases/mysql50-server/work/mysql-5.0.45/install-sh -d “/usr/local/share/mysql”
 install  -o root -g wheel -m 555 ‘mysql.server’ ‘/usr/local/share/mysql/mysql.server’
Added group “mysql”.
Added user “mysql”.
************************************************************************

Remember to run mysql_upgrade (with the optional –datadir=<dbdir> flag)
the first time you start the MySQL server after an upgrade from an
earlier version.

************************************************************************
install-info –quiet /usr/local/info/mysql.info /usr/local/info/dir
===> Installing rc.d startup script(s)
===>   Compressing manual pages for mysql-server-5.0.45_1
===>   Registering installation for mysql-server-5.0.45_1
===> SECURITY REPORT:
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/mysqld

      This port has installed the following startup scripts which may cause
      these network services to be started at boot time.
/usr/local/etc/rc.d/mysql-server

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type ‘make deinstall’
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
http://www.mysql.com/
test#

分类:FreeBSD Tags:
评论

Hello. And Bye.

[回复]

吕涛 回复:

再见!

[回复]

留下评论