Linux<\/a>\u7ec4\u548c\u7528\u6237\u8d26\u6237\u3002\u7528\u6237\u8d26\u6237\u5c06\u79f0\u4e3aoracle\uff0c\u800c\u7ec4\u5c06\u79f0\u4e3aoinstall\uff08\u7528\u4e8e\u8f6f\u4ef6\u5b89\u88c5\uff09\u548cdba\uff08\u7528\u4e8e\u6570\u636e\u5e93\u7ba1\u7406\uff09\u3002#groupaddoinstall#groupadddba#useradd-m-goinstall-Gdbaoracle\u2013poracle(p\u8868\u793a\u6dfb\u52a0\u8d26\u53f7\u5bc6\u7801)\u521b\u5efaoracle\u76ee\u5f55\u5e76\u6539\u53d8\u76ee\u5f55\u6743\u9650\u73b0\u4eca\uff0c\u521b\u5efa\u50a8\u5b58Oracle10g\u8f6f\u4ef6\u548c\u6570\u636e\u5e93\u6587\u4ef6\u7684\u76ee\u5f55\u3002\u672c\u624b\u518c\u5728\u521b\u5efa\u76ee\u5f55\u7ed3\u6784\u65f6\u6240\u7528\u7684\u547d\u540d\u60ef\u4f8b\u7b26\u5408\u6700\u4f73\u7075\u6d3b\u7ed3\u6784(OFA)\u89c4\u8303\u3002\u4ee5root\u7528\u6237\u8eab\u5206\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a#mkdir-p\/u01\/app\/oracle#oracle\u6839\u76ee\u5f55\uff0c-p\u8868\u793a\u9012\u5f52\u6784\u5efa\u76ee\u5f55#mkdir-p\/u02\/oradata#oracle\u6570\u636e\u6587\u4ef6\u50a8\u5b58\u76ee\u5f55#chown-Roracle:oinstall\/u01#chown-Roracle:oinstall\/u02#chmod-R775\/u01#chmod-R775\/u02<\/p>\n4\u914d\u7f6elinux\u5185\u6838\u53c2\u6570#vi\/etc\/sysctl.conf\uff0c\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff1akernel.shmall=2097152kernel.shmmax=2147483648#\u6b64\u5904\u9ed8\u8ba4\u8bbe\u7f6e\u4e3a2G\uff0c\u6570\u503c\u901a\u5e38\u8bbe\u4e3a\u5316\u5b66\u663e\u5b58\u768440~50%kernel.shmmni=4096kernel.sem=25032000100128fs.file-max=65536net.ipv4.ip_local_port_range=102465000net.core.rmem_default=262144net.core.rmem_max=262144net.core.wmem_default=262144net.core.wmem_max=262144\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6fc0\u6d3b\u4fee\u6539\uff1a#sysctl\u2013p\u6ce8\uff1aLinux\u5185\u6838\u7279\u522b\u51fa\u4f17\u3002\u4e0e\u5927\u591a\u6570\u5176\u4ed6*NIX\u7cfb\u7edf\u4e0d\u540c\uff0cLinux\u5bb9\u8bb8\u5728\u7cfb\u7edf\u542f\u52a8\u548c\u8fd0\u884c\u65f6\u66f4\u6539\u5927\u591a\u6570\u5185\u6838\u53c2\u6570\u3002\u5b8c\u6210\u5185\u6838\u53c2\u6570\u4fee\u6539\u540e\u6bcb\u987b\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\u3002Oracle\u6570\u636e\u5e9310g\u987b\u8981\u4ee5\u4e0b\u6240\u793a\u7684\u5185\u6838\u53c2\u6570\u8bbe\u7f6e\u3002\u5176\u4e2d\u7ed9\u51fa\u7684\u662f\u6700\u5c0f\u503c\uff0c\u56e0\u800c\u5047\u5982\u60a8\u7684\u7cfb\u7edf\u4f7f\u7528\u7684\u503c\u8f83\u5927\uff0c\u5219\u4e0d\u8981\u4fee\u6539\u5b83\u3002\u914d\u7f6eoracle\u7528\u6237\u7684shell\u9650\u5236#vi\/etc\/security\/limits.conf\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff1aoraclesoftroc2047oraclehardroc16384oraclesoftnofile1024oraclehardnofile65536#vi\/etc\/pam.d\/login\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff1asessionrequiredpam_limits.so\u5bfc\u5165x\u56fe\u5f62\u754c\u9762\u7ed9oracle\u7528\u6237\u56e0\u4e3a\u5b89\u88c5\u65f6\u91c7\u7528\u7684\u662foracle\u7684OUI\u56fe\u5f62\u5316\u754c\u9762\uff0c\u987b\u8981X\u652f\u6301\uff0c\u800c\u9ed8\u8ba4oracle\u7528\u6237\u662f\u4e0d\u652f\u6301\u56fe\u5f62\u5316\u4f5c\u7684\uff0c\u5fc5\u987b\u4ee5root\u7684\u8eab\u5206\u5bfc\u5165X\u7ed9oracle\u7528\u6237\u4f7f\u7528\u3002\u8fd0\u884c\u5982\u4e0b\u547d\u4ee4\uff1a#xhost+accesscontroldisaed,clientscanconnectfromanyhost\u51fa\u73b0\u4ee5\u4e0a\u6587\u5b57\u8868\u793a\u5bfc\u5165\u6210\u529f\u3002<\/p>\n
<\/p>\n
5oracle\u7528\u6237\u4e0b\u6267\u884c1.2.1\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf#su\u2013oracle$vi.bash_profile\u52a0\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1aTMP=\/tmpTMPDIR=$TMPORACLE_BASE=\/u01\/app\/oracle#oracle\u6839\u76ee\u5f55ORACLE_HOME=$ORACLE_BASE\/product\/10.2.0\/db_1#oracle\u5bb6\u76ee\u5f55ORACLE_SID=orcl#\u6309\u7167\u5b9e\u9645\u987b\u8981\u547d\u540dLD_LIBRARY_PATH=$ORACLE_HOME\/lib:\/lib:\/usr\/libPATH=$ORACLE_HOME\/bin:$PATHexportTMPTMPDIRORACLE_BASEORACLE_HOMEORACLE_SIDLD_LIBRARY_PATHPATH$soe.bash_profile#\u4f7f\u73af\u5883\u53d8\u91cf\u751f\u65482\u3001\u5b89\u88c5Oracle2.1\u3001\u4e0b\u8f7d\u5e76\u89e3\u538boracle\u8f6f\u4ef6\u4eceOracle\u7f51\u7ad9\u4e0b\u8f7d10201_database_linux_x86_32.cpio.gz\u5230oracle\u7528\u6237\u5bb6\u76ee\u5f55\u4e0b\/home\/oracle\/\uff08\u4e5f\u53ef\u4e3a\u5176\u4ed6\u76ee\u5f55\uff09\uff0c\u4f7f\u7528oracle\u7528\u6237\u767b\u5165\u540e\uff0c\u89e3\u538b\u6b64\u6587\u4ef6\uff1a$startx$cd\/home\/oracle$gunzip10201_database_linux_x86_64.cpio.gz$cpio-idmv<\/p>\n
6\u68c0\u9a8c\u662f\u5426\u5b89\u88c5\u6210\u529f\u6570\u636e\u5e93\u6b63\u5e38\u5b89\u88c5\u7ed3\u675f\u540e\uff0c\u9ed8\u8ba4\u662f\u542f\u52a8\u7684\u3002\u4ee5oracle\u7528\u6237\u8eab\u5206\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6d4b\u8bd5\uff1a$sqlplus\/assysdbaSQL>selectopen_modefromv$database;OPEN_MODE------------------READWRITE\u82e5\u51fa\u73b0\u4ee5\u4e0a\u6587\u5b57\u8bf4\u660e\u6570\u636e\u5e93\u6b63\u5728\u6b63\u5e38\u8fd0\u884c\u3002\u4ece\u6b64\uff0c\u6570\u636e\u5e93\u5b89\u88c5\u6210\u529f\u3002<\/p>\n
<\/p>\n
\u6309\u7167\u8f6f\u4ef6\u73af\u5883\u7684\u4e0d\u540c\uff0c\u5b89\u88c5\u6b65\u9aa4\u53ef\u80fd\u7565\u6709\u4e0d\u540c<\/p>\n
mysql\u5b89\u88c5\u65b9\u5f0f\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a1\uff1a\u4f7f\u7528\u4e8c\u8865\u7801\u5f62\u5f0f\u5b89\u88c5\uff0crpm\/yum2:\u6e90\u7801\u7f16\u8bd1\uff0c\u53ef\u4ee5\u7528cmake\u7f16\u8bd1\u5b89\u88c53\uff1a\u6279\u91cf\u5e03\u7f72\uff0csrc.rpm\u901a\u8fc7ec\u6587\u4ef6\u672c\u6587\u5c06\u91cd\u70b9\u8ff0\u8bf4mysql\u7684cmake\u7684\u7f16\u8bd1\u5b89\u88c5\uff0c\u4ee5mysql-5.5.32\u4e3a\u4f8b\u3002<\/p>\n
1\u5b89\u88c5cmake\u7f16\u8bd1\u5de5\u5177\uff0c\u901a\u8fc7\u547d\u4ee4yuminstallcmake-y<\/p>\n
<\/p>\n
2\u5b89\u88c5\u4f9d\u8d56\u5305\u3002\u4f9d\u8d56\u5305\u53ef\u4ee5\u4e0amysql\u7684\u5b98\u65b9\u6587\u6863\u4e0a\u67e5\u627e\uff0c\u5b89\u88c5\u547d\u4ee4\u5982\u4e0b\uff1ayuminstallncurses-devel\u2013y<\/p>\n
3\u6dfb\u52a0\u7528\u6237\uff0c\u8ba9mysql\u5b89\u88c5\u548c\u542f\u52a8\u90fd\u5728\u72ec\u7acb\u7684\u7528\u6237\u4e0a\u4f7f\u7528\u3002<\/p>\n
4\u521b\u5efa\u6570\u636e\u5e93\u50a8\u5b58\u76ee\u5f55\u3002<\/p>\n
<\/p>\n
5\u901a\u8fc7cmake\u547d\u4ee4\u8fdb\u884c\u7f16\u8bd1\u3002cmake\u53c2\u6570\u8bf4\u660e\u5982\u53f3\u56fe\u6240\u793a\u3002\u53ef\u901a\u8fc7\u4e0b\u8fb9\u547d\u4ee4\u5b8c\u6210\u7f16\u8bd1\u3002cmake-DCMAKE_INSTALL_PREFIX=\/usr\/local\/mysql-DMYSQL_UNIX_ADDR=\/tmp\/mysql.sock-DDEFAULT_CHARSET=utf8-DDEFAULT_COLLATION=utf8_general_ci-DWITH_EXTRA_CHARSETS=all-DWITH_MYISAM_STORAGE_ENGINE=1-DWITH_INNOBASE_STORAGE_ENGINE=1-DWITH_MEMORY_STORAGE_ENGINE=1-DWITH_READLINE=1-DENAED_LOCAL_INFILE=1-DMYSQL_DATADIR=\/data-DMYSQL_USER=mysqlutf8-DDEFAULT_COLLATION=utf8_general_ci-DWITH_EXTRA_CHARSETS=all-DWITH_MYISAM_STORAGE_ENGINE=1-DWITH_INNOBASE_STORAGE_ENGINE=1-DWITH_MEMORY_STORAGE_ENGINE=1-DWITH_READLINE=1-DENAED_LOCAL_INFILE=1-DMYSQL_DATADIR=\/data-DMYSQL_USER=mysql<\/p>\n
<\/p>\n
6\u7f16\u8bd1\u540e\u8fdb\u884c\u5b89\u88c5\u3002\u5047\u5982\u6ca1\u6709\u62a5\u9519\u7684\u8bdd\u5c31\u8868\u793a\u65e9\u5df2\u5b8c\u6210\u5b89\u88c5\u4f5c\u3002<\/p>\n
7\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u5c31\u8fdb\u884c\u914d\u7f6e\u5de5\u4f5c\uff0c\u9996\u5148\u662f\u6388\u6743\u7528\u6237\u3002<\/p>\n
8\u521b\u5efa\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n
9\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n
10\u521b\u5efa\u670d\u52a1\u542f\u52a8\u811a\u672c\uff0c\u6dfb\u52a0\u5f00\u673a\u542f\u52a8.<\/p>\n
<\/p>\n
11\u521d\u59cb\u5316\u6570\u636e\u5e93<\/p>\n
12\u542f\u52a8mysql\u670d\u52a1\uff0c\u67e5\u770b\u670d\u52a1\u72b6\u6001\u3002<\/p>\n
13\u521b\u5efa\u7528\u6237\u548c\u6570\u636e\u5e93\u3002\u5230\u6b64\u4f4d\u7f6e\uff0c\u6211\u4eec\u7684mysql\u65e9\u5df2\u7f16\u8bd1\u6210\u529f\u5e76\u624d\u80fd\u6b63\u5e38\u4f7f\u7528\u4e86\u3002<\/p>\n
linux\u7cfb\u7edf\u4e0a\u7528\u50b2\u6e38\u6d4f\u89c8\u5668\u770b\u89c6\u9891\u7684\u65f6\u4faf\u53d1\u89c9\u6ca1\u6709\u5b89\u88c5flashplayer\u63d2\u4ef6\uff0c\u96be\u4ee5\u64ad\u653e\u89c6\u9891\u3002\u7b80\u5355\u51e0\u6b65\u5b89\u88c5\u63d2\u4ef6\uff0c\u5c31\u53ef\u4ee5\u5feb\u4e50\u5730\u4f7f\u7528linux\u7cfb\u7edf\u770b\u89c6\u9891\u4e86\u3002<\/p>\n
<\/p>\n
1\u6253\u5f00\u89c6\u9891\u7f51\u7ad9\u65f6\u63d0\u793a\u672a\u80fd\u52a0\u8f7d\u89c6\u9891\uff0c\u6ca1\u6709\u5b89\u88c5\u63d2\u4ef6\uff0c\u70b9\u51fb\u89c6\u9891\u8282\u76ee\u4e2d\u95f4\u7684\u5b89\u88c5\u63d2\u4ef6\u6309\u952e\u3002<\/p>\n
<\/p>\n
2\u70b9\u51fb\u5b89\u88c5\u540e\u4f1a\u624b\u52a8\u6253\u5f00flashplayer\u4e0b\u8f7d\u754c\u9762\uff0c\u987b\u8981\u9009\u62e9\u5b89\u88c5\u65b9\u6cd5\u3002<\/p>\n
<\/p>\n
3\u5728\u5f39\u51fa\u6765\u7684\u754c\u9762\u4e2d\u5de6\u4e0b\u89d2\u9009\u62e9\u5b89\u88c5\u65b9\u6cd5\uff0c\u6211\u9009\u62e9\u7684\u662f.tar.gz\u5f62\u5f0f\u5b89\u88c5\uff0c\u4e4b\u540e\u70b9\u51fb\u53f3\u4e0b\u89d2\u7684Download\u4e0b\u8f7d\u63d2\u4ef6\u3002\u4e0b\u8f7d\u5f62\u5f0f\u90fd\u9009\u62e9\u9ed8\u8ba4\uff0c\u4e4b\u540e\u70b9\u51fbOK<\/p>\n
4\u6d4f\u89c8\u5668\u4f1a\u5f39\u51fa\u4e0b\u8f7d\u754c\u9762\uff0c\u7b49\u5f85\u4e0b\u8f7d\u5b8c\u6210\u3002\u4e0b\u8f7d\u5b8c\u6210\u4e4b\u540e\u7684\u6587\u4ef6\u901a\u5e38\u662f\u5728\/tmp\u6587\u4ef6\u5939\u5185\uff0c\u4e0b\u8f7d\u5b8c\u6210\u540e\u5728\u547d\u4ee4\u884c\u754c\u9762\u7528cd\/tmp\u547d\u4ee4\u8f6c\u5165tmp\u6587\u4ef6\u5939\uff1b<\/p>\n
<\/p>\n
5\u666e\u901a\u7528\u6237\u5148\u7528su-root\u547d\u4ee4\u8f6c\u5230\u8d85\u7ea7\u7528\u6237\u6a21\u5f0f\uff0c\u7531\u4e8e\u63d2\u4ef6\u7684\u5b89\u88c5\u6d89\u53ca\u5230\u4fee\u6539\u6743\u9650\u95ee\u9898\u3002\u8f6c\u5230root\u7528\u6237\u540e\uff1a\u8f93\u5165\u4e0b\u8fb94\u6761\u547d\u4ee4\uff08#\u53f7\u65c1\u8fb9\u662f\u6ce8\u91ca\uff09tar-zx-finstall_flash_player_11_linux.x86_64.tar.gz#\u89e3\u538b\u4e0b\u8f7d\u597d\u7684\u538b\u7f29\u5305cplibflashplayer.so\/usr\/lib64\/mozilla\/plugins#\u590d\u5236\u63d2\u4ef6\u5230\u50b2\u6e38\u6d4f\u89c8\u5668\u63d2\u4ef6\u6587\u4ef6\u5939cd\/usr\/lib64\/mozilla\/plugins#\u5b9a\u4f4d\u5230\u63d2\u4ef6\u76ee\u5f55chmod755libflashplayer.so#\u4fee\u6539\u63d2\u4ef6\u6743\u9650<\/p>\n
6\u5347\u7ea7\u5b8c\u6bd5\u4e4b\u540e\u6253\u5f00\u89c6\u9891\u7f51\u7ad9\uff0c\u8fd9\u4e2a\u65f6\u4faf\u4f1a\u63d0\u793a\u8981\u4f60\u5347\u7ea7\u63d2\u4ef6\u3002\u4e0d\u7528\u7406\u4f1a\uff0c\u76f4\u63a5\u70b9\u51fb\u5bf9\u9762\u6ca1\u6709\u6587\u5b57\u7684\u5730\u65b9\uff0c\u89c6\u9891\u5c31\u53ef\u4ee5\u6b63\u5e38\u64ad\u653e\u4e86\u3002<\/p>\n
64\u4f4d\u4f5c\u7cfb\u7edf\u7684\u63d2\u4ef6\u76ee\u5f55\u5728\/usr\/lib64\/mozilla\/plugins<\/p>\n
\u90a3\u79cd\u63d0\u793a\u5347\u7ea7\u53ef\u4ee5\u65e0\u89c6\uff0c\u7531\u4e8e\u4f60\u4eceadobe\u7f51\u7ad9\u91cc\u9762\u4e0b\u8f7d\u7684\u5c31\u662f\u6700\u65b0\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
–prefix=\/usr\/python3\u8fd9\u91cc\u8bbe\u7f6e\u662fpython3\u7684\u5b89\u88c5\u76ee\u5f55\uff0c\u5176\u5b89\u88c5\u76ee\u5f55\u4e0b\uff1a\/usr\/python3install\u8fdb\u5165\u5230\/usr\/python3\u4e0b\u67e5\u770b\u662f\u5426\u6709\u8fd9\u4e2a\u76ee\u5f551\u6211\u4eec\u5148\u5230\u7f51\u7ad9\u4e0a\u4e0b\u8f7djdk\u5b89\u88c5\u4ecb\u8d28\uff0c\u9009\u62e9\u5bf9\u5e94\u7684\u7248\u672c\u5b89\u88c5\u4ecb\u8d28\u3002ec\u6587\u4ef6\u672c\u6587\u5c06\u91cd\u70b9\u8bb2\u8ff0mysql\u7684cmake\u7684\u7f16\u8bd1\u5b89\u88c5\uff0c\u4ee5mysql-5.\u4f5c\u7cfb\u7edf\u7684\u63d2\u4ef6\u76ee\u5f55\u5728\/usr\/lib64\/mozilla\/plugins<\/p>\n","protected":false},"author":1,"featured_media":279973,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-279972","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/279972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=279972"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/279972\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/279973"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=279972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=279972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=279972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}