如何解决linux7.0安装oracle12c时缺包
2个回答
展开全部
Linux下安装Oracle数据库缺少依赖包libiao,直接yum安装该包即可,方法如下:1
2
3
4
5
6
7
8
9
10
11
12
yum install libaio-devel -y
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mariamysql
-DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1
-DENABLED_LOCAL_INFILE=1 -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci -DWITH_DEBUG=0
-DBUILD_CONFIG=mysql_release -DFEATURE_SET=community
-DWITH_EMBEDDED_SERVER=OFF
cp support-files/my-innodb-heavy-4G.cnf /etc/my.cnf
/usr/local/mariamysql/scripts/mysql_install_db
--basedir=/usr/local/mariamysql/ --datadir=/usr/local/mariamysql/data/
--user=mysql
/usr/local/mariamysql/bin/mysqld_safe --user=mysql &
2
3
4
5
6
7
8
9
10
11
12
yum install libaio-devel -y
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mariamysql
-DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1
-DENABLED_LOCAL_INFILE=1 -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci -DWITH_DEBUG=0
-DBUILD_CONFIG=mysql_release -DFEATURE_SET=community
-DWITH_EMBEDDED_SERVER=OFF
cp support-files/my-innodb-heavy-4G.cnf /etc/my.cnf
/usr/local/mariamysql/scripts/mysql_install_db
--basedir=/usr/local/mariamysql/ --datadir=/usr/local/mariamysql/data/
--user=mysql
/usr/local/mariamysql/bin/mysqld_safe --user=mysql &
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询