[root@localhost install]# tar fxvz cmake-3.5.2.tar.gz [root@localhost install]# cd cmake-3.5.2 [root@localhost cmake-3.5.2]# ./bootstrap
編譯安裝cmake3.5.2
[root@localhost cmake-3.5.2]# make ..... [ 98%] Building C object Tests/CMakeLib/PseudoMemcheck/NoLog/CMakeFiles/pseudonl_BC.dir/ret0.c.o [ 99%] Linking C executable BC [ 99%] Built target pseudonl_BC Scanning dependencies of target pseudonl_purify [ 99%] Building C object Tests/CMakeLib/PseudoMemcheck/NoLog/CMakeFiles/pseudonl_purify.dir/ret0.c.o [ 99%] Linking C executable purify [ 99%] Built target pseudonl_purify Scanning dependencies of target pseudonl_valgrind [ 99%] Building C object Tests/CMakeLib/PseudoMemcheck/NoLog/CMakeFiles/pseudonl_valgrind.dir/ret0.c.o [ 99%] Linking C executable valgrind [ 99%] Built target pseudonl_valgrind Scanning dependencies of target pseudo_emulator [ 99%] Building C object Tests/RunCMake/CMakeFiles/pseudo_emulator.dir/pseudo_emulator.c.o [ 99%] Linking C executable pseudo_emulator [ 99%] Built target pseudo_emulator Scanning dependencies of target pseudo_iwyu [100%] Building C object Tests/RunCMake/CMakeFiles/pseudo_iwyu.dir/pseudo_iwyu.c.o [100%] Linking C executable pseudo_iwyu [100%] Built target pseudo_iwyu Scanning dependencies of target foo [100%] Building CXX object Tests/FindPackageModeMakefileTest/CMakeFiles/foo.dir/foo.cpp.o [100%] Linking CXX static library libfoo.a [100%] Built target foo
Alternatively you can run: './bin/mysql_secure_installation'
which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers.
See the MariaDB Knowledgebase at http://mariadb.com/kb or the MySQL manual for more instructions.
You can start the MariaDB daemon with: cd '.' ; ./bin/mysqld_safe --datadir='/maria_data/'
You can test the MariaDB daemon with mysql-test-run.pl cd './mysql-test' ; perl mysql-test-run.pl
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/. You can find additional information about the MySQL part at: http://dev.mysql.com Support MariaDB development by buying support/new features from MariaDB Corporation Ab. You can contact us about this at sales@mariadb.com. Alternatively consider joining our community based development effort: http://mariadb.com/kb/en/contributing-to-the-mariadb-project/
--連接數(shù)據(jù)庫 [root@localhost maria]# ./bin/mysql -uroot -p'root' Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 6 Server version: 10.1.14-MariaDB MariaDB 10.1 production environment
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases; +--------------------+ | Database | +--------------------+ | cnf | | information_schema | | mysql | | performance_schema | | test | +--------------------+ 5 rows in set (0.00 sec)
MariaDB [(none)]> use test Database changed MariaDB [test]> show tables; Empty set (0.00 sec)