centos 7 阿里云源服务器centos怎么安装oracle

在阿里云的CentOS环境中安装配置MySQL的教程
作者:fengyqf
字体:[ ] 类型:转载 时间:
这篇文章主要介绍了在阿里云的CentOS环境中安装配置MySQL的教程,注意一下文章开头所提到的系统自带MariaDB的问题,需要的朋友可以参考下
1 常规错误的yum安装方法:
在前文中记述了CentOS 6.5系统中通过yum方式快速地搭建了LNMP环境,那么是否也能在CentOS 7或CentOS 7.1系统中依葫芦画瓢安装MySql5.6.24呢?答案是否定的。
[root@typecodes ~]# yum -y install mysql mysql-server mysql-devel
.....................。
....省略部分安装过程....
.....................。
Installed:
mariadb.x86_64 1:5.5.41-2.el7_0
mariadb-devel.x86_64 1:5.5.41-2.el7_0
Dependency Installed:
keyutils-libs-devel.x86_64 0:1.5.8-3.el7 krb5-devel.x86_64 0:1.12.2-14.el7
libcom_err-devel.x86_64 0:1.42.9-7.el7 libselinux-devel.x86_64 0:2.2.2-6.el7
libsepol-devel.x86_64 0:2.1.9-3.el7
libverto-devel.x86_64 0:0.2.5-4.el7 openssl-devel.x86_64 1:1.0.1e-42.el7.4 pcre-devel.x86_64 0:8.32-14.el7
zlib-devel.x86_64 0:1.2.7-13.el7
从上面的安装结果可以看出,没有安装mysql数据库,而是安装了mariadb数据!因为在CentOS 7和CentOS 7.1系统中,默认安装的mysql是它的分支mariadb。这里引用下百度百科关于mariadb的描述:
MariaDB数据库管理系统是MySQL的一个分支,主要由开源社区在维护,采用GPL授权许可 MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能轻松成为MySQL的代替品。
因此,下面这些正常的MySQL操作都是无效的:
#######无法把mysql服务加入系统启动
[root@typecodes ~]# chkconfig mysqld on
error reading information on service mysqld: No such file or directory
#######启动不了mysql
[root@typecodes ~]# service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Failed to issue method call: Unit mysqld.service failed to load: No such file or directory.
#######没有安装mysql相关包
[root@typecodes ~]# rpm -qa |grep mysql
php-mysql-5.4.16-23.el7_0.3.x86_64
[root@typecodes ~]#
2 正确的安装方法:
众所周知,Linux系统自带的repo是不会自动更新每个软件的最新版本(基本都是比较靠后的稳定版),所以无法通过yum方式安装MySQL的高级版本。所以我们需要先安装带有当前可用的mysql5系列社区版资源的rpm包。
#######安装rpm包
[root@typecodes ~]# rpm -Uvh /get/mysql-community-release-el7-5.noarch.rpm
Retrieving /get/mysql-community-release-el7-5.noarch.rpm
Preparing...
################################# [100%]
Updating / installing...
1:mysql-community-release-el7-5 ################################# [100%]
这时查看当前可用的mysql安装资源:
[root@typecodes ~]# yum repolist enabled | grep "mysql.*-community.*"
mysql-connectors-community/x86_64 MySQL Connectors Community
mysql-tools-community/x86_64
MySQL Tools Community
mysql56-community/x86_64
MySQL 5.6 Community Server
从上面的列表可以看出, mysql56-community/x86_64 和 MySQL 5.6 Community Server 可以使用。
因此,我们就可以直接用yum方式安装了MySQL5.6版本了。
[root@typecodes ~]# yum -y install mysql-community-server
Loaded plugins: axelget, langpacks
No metadata available for base
No metadata available for epel
No metadata available for extras
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml
| 2.5 kB 00:00:00
update mysql-connectors-community metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml
| 2.5 kB 00:00:00
update mysql-tools-community metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml
| 2.5 kB 00:00:00
update mysql56-community metadata successfully
No metadata available for updates
mysql-connectors-community
| 2.5 kB 00:00:00
mysql-tools-community
| 2.5 kB 00:00:00
mysql56-community
| 2.5 kB 00:00:00
(1/3): mysql-connectors-community/x86_64/primary_db
| 7.3 kB 00:00:00
(2/3): mysql56-community/x86_64/primary_db
| 83 kB 00:00:01
mysql-tools-community/x86_64/p FAILED
==============================================
] 19 kB/s | 92 kB 00:00:00 ETA
/yum/mysql-tools-community/el/7/x86_64/repodata/5f300dec5a46ccf9232a6-primary.sqlite.bz2: [Errno 12] Timeout on /yum/mysql-tools-community/el/7/x86_64/repodata/5f300dec5a46ccf9232a6-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 3 seconds')
Trying other mirror.
(3/3): mysql-tools-community/x86_64/primary_db
| 15 kB 00:00:00
Resolving Dependencies
--& Running transaction check
---& Package mysql-community-server.x86_64 0:5.6.24-3.el7 will be installed
--& Processing Dependency: mysql-community-common(x86-64) = 5.6.24-3.el7 for package: mysql-community-server-5.6.24-3.el7.x86_64
--& Processing Dependency: mysql-community-client(x86-64) = 5.6.24-3.el7 for package: mysql-community-server-5.6.24-3.el7.x86_64
--& Processing Dependency: perl(DBI) for package: mysql-community-server-5.6.24-3.el7.x86_64
--& Running transaction check
---& Package mariadb.x86_64 1:5.5.41-2.el7_0 will be obsoleted
---& Package mysql-community-client.x86_64 0:5.6.24-3.el7 will be obsoleting
--& Processing Dependency: mysql-community-libs(x86-64) = 5.6.24-3.el7 for package: mysql-community-client-5.6.24-3.el7.x86_64
---& Package mysql-community-common.x86_64 0:5.6.24-3.el7 will be installed
---& Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--& Processing Dependency: perl(RPC::PlServer) &= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--& Processing Dependency: perl(RPC::PlClient) &= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
--& Running transaction check
---& Package mariadb-libs.x86_64 1:5.5.41-2.el7_0 will be obsoleted
--& Processing Dependency: mariadb-libs(x86-64) = 1:5.5.41-2.el7_0 for package: 1:mariadb-devel-5.5.41-2.el7_0.x86_64
---& Package mysql-community-libs.x86_64 0:5.6.24-3.el7 will be obsoleting
---& Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--& Processing Dependency: perl(Net::Daemon) &= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--& Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--& Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--& Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--& Running transaction check
---& Package mariadb-devel.x86_64 1:5.5.41-2.el7_0 will be obsoleted
---& Package mysql-community-devel.x86_64 0:5.6.24-3.el7 will be obsoleting
---& Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--& Processing Dependency: perl(Compress::Raw::Zlib) &= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--& Processing Dependency: perl(Compress::Raw::Bzip2) &= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---& Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--& Running transaction check
---& Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---& Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--& Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================================
Repository
=======================================================================================================================================================================
Installing:
mysql-community-client
5.6.24-3.el7
mysql56-community
replacing mariadb.x86_64 1:5.5.41-2.el7_0
mysql-community-devel
5.6.24-3.el7
mysql56-community
replacing mariadb-devel.x86_64 1:5.5.41-2.el7_0
mysql-community-libs
5.6.24-3.el7
mysql56-community
replacing mariadb-libs.x86_64 1:5.5.41-2.el7_0
mysql-community-server
5.6.24-3.el7
mysql56-community
Installing for dependencies:
mysql-community-common
5.6.24-3.el7
mysql56-community
perl-Compress-Raw-Bzip2
2.061-3.el7
perl-Compress-Raw-Zlib
1:2.061-4.el7
1.627-4.el7
perl-IO-Compress
2.061-2.el7
perl-Net-Daemon
0.48-5.el7
perl-PlRPC
0.2020-14.el7
Transaction Summary
=======================================================================================================================================================================
Install 4 Packages (+7 Dependent packages)
Total download size: 83 M
Downloading packages:
mysql-community-devel-5.6.24-3.el7.x86_64.rpm
| 3.4 MB 00:00:03
mysql-community-client-5.6.24-3.el7.x86_64.rpm
| 19 MB 00:00:05
mysql-community-server-5.6.24-3.el7.x86_64.rpm
| 58 MB 00:00:11
mysql-community-libs-5.6.24-3.el7.x86_64.rpm
| 2.0 MB 00:00:02
perl-DBI-1.627-4.el7.x86_64.rpm
| 0 B 00:00:01 ...
perl-DBI-1.627-4.el7.x86_64.rpm
| 802 kB 00:00:00
(1/6): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm
| 57 kB 00:00:00
(2/6): perl-Net-Daemon-0.48-5.el7.noarch.rpm
| 51 kB 00:00:00
(3/6): perl-PlRPC-0.2020-14.el7.noarch.rpm
| 36 kB 00:00:00
(4/6): perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm
| 32 kB 00:00:00
(5/6): perl-IO-Compress-2.061-2.el7.noarch.rpm
| 260 kB 00:00:00
warning: /var/cache/yum/x86_64/7/mysql56-community/packages/mysql-community-common-5.6.24-3.el7.x86_64.rpm: V3 DSA/SHA1 Signature, key ID : NOKEY 00:00:01 ETA
Public key for mysql-community-common-5.6.24-3.el7.x86_64.rpm is not installed
(6/6): mysql-community-common-5.6.24-3.el7.x86_64.rpm
| 256 kB 00:00:01
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
388 kB/s | 692 kB 00:00:01
Retrieving key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Importing GPG key 0x:
: "MySQL Release Engineering &mysql-build@&"
Fingerprint: a4a9 4068 76fc bd3c
Package : mysql-community-release-el7-5.noarch (installed)
: file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : mysql-community-common-5.6.24-3.el7.x86_64
Installing : mysql-community-libs-5.6.24-3.el7.x86_64
Installing : mysql-community-client-5.6.24-3.el7.x86_64
Installing : perl-Net-Daemon-0.48-5.el7.noarch
Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
Installing : perl-IO-Compress-2.061-2.el7.noarch
Installing : perl-PlRPC-0.2020-14.el7.noarch
Installing : perl-DBI-1.627-4.el7.x86_64
Installing : mysql-community-server-5.6.24-3.el7.x86_64
Installing : mysql-community-devel-5.6.24-3.el7.x86_64
Erasing : 1:mariadb-devel-5.5.41-2.el7_0.x86_64
Erasing : 1:mariadb-5.5.41-2.el7_0.x86_64
Erasing : 1:mariadb-libs-5.5.41-2.el7_0.x86_64
Verifying : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
Verifying : mysql-community-common-5.6.24-3.el7.x86_64
Verifying : mysql-community-devel-5.6.24-3.el7.x86_64
Verifying : mysql-community-client-5.6.24-3.el7.x86_64
Verifying : perl-PlRPC-0.2020-14.el7.noarch
Verifying : mysql-community-server-5.6.24-3.el7.x86_64
Verifying : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
Verifying : mysql-community-libs-5.6.24-3.el7.x86_64
Verifying : perl-Net-Daemon-0.48-5.el7.noarch
Verifying : perl-DBI-1.627-4.el7.x86_64
Verifying : perl-IO-Compress-2.061-2.el7.noarch
Verifying : 1:mariadb-5.5.41-2.el7_0.x86_64
Verifying : 1:mariadb-devel-5.5.41-2.el7_0.x86_64
Verifying : 1:mariadb-libs-5.5.41-2.el7_0.x86_64
Installed:
mysql-community-client.x86_64 0:5.6.24-3.el7
mysql-community-devel.x86_64 0:5.6.24-3.el7
mysql-community-libs.x86_64 0:5.6.24-3.el7
mysql-community-server.x86_64 0:5.6.24-3.el7
Dependency Installed:
mysql-community-common.x86_64 0:5.6.24-3.el7 perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 perl-DBI.x86_64 0:1.627-4.el7
perl-IO-Compress.noarch 0:2.061-2.el7
perl-Net-Daemon.noarch 0:0.48-5.el7
perl-PlRPC.noarch 0:0.2020-14.el7
mariadb.x86_64 1:5.5.41-2.el7_0
mariadb-devel.x86_64 1:5.5.41-2.el7_0
mariadb-libs.x86_64 1:5.5.41-2.el7_0
3 MySQL安装完成后,进行相关配置
安装完MySQL后,需要进行一些基础配置工作:
#######安装成功后,将其加入开机启动
[root@typecodes ~]# systemctl enable mysqld
#######启动mysql服务进程
[root@typecodes ~]# systemctl start mysqld
#######配置mysql(设置密码等)
[root@typecodes ~]# mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.
Set root password? [Y/n] y
[设置root用户密码]
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
[删除匿名用户]
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
[禁止root远程登录]
... Success!
By default, MySQL comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
[删除test数据库]
- Dropping test database...
ERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist
... Failed! Not critical, keep moving...
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
[刷新权限]
... Success!
All done! If you've completed all of the above steps, your MySQL
installation should now be secure.
Thanks for using MySQL!
Cleaning up...
4.可能有效的MySQL配置优化
在原始配置文件& /f 基础上,在 [mysqld] 节内增加配置参数。实际应用中,请按硬件及负载酌情修改。
#add by feng 120418 --------------------------
#skip-locking
skip-name-resolve
skip-external-locking
key_buffer_size = 256M
#table_cache = 3072
table_open_cache = 3072
read_buffer_size = 2M
read_rnd_buffer_size = 2M
sort_buffer_size = 2M
myisam_sort_buffer_size = 256M
thread_cache_size = 8
query_cache_size= 512M
query_cache_limit= 5M
tmp_table_size=1024M
max_heap_table_size=3000M
max_allowed_packet = 16M
innodb_buffer_pool_size = 512M
innodb_log_file_size = 512M
innodb_additional_mem_pool_size=512M
innodb_log_buffer_size=64M
max_connections=2000
max_user_connections=800
join_buffer_size = 8M
open_files_limit = 65535
#tmpdir=/dev/shm
max_connect_errors=1000
#add by feng 120418 end ---------------------
您可能感兴趣的文章:
大家感兴趣的内容
12345678910
最近更新的内容
常用在线小工具在 SegmentFault,解决技术问题
每个月,我们帮助 1000 万的开发者解决各种各样的技术问题。并助力他们在技术能力、职业生涯、影响力上获得提升。
一线的工程师、著名开源项目的作者们,都在这里:
获取验证码
已有账号?
标签:至少1个,最多5个
1、环境centos72、安装svn
yum install subversion
svnserve --version
3、创建版本库先建目录
mkdir /var/svn
创建版本库
cd /var/svn
svnadmin create /var/svn/svnrepos
cd svnrepos
会看到自动生成的版本库文件:
subversion目录说明:db目录:就是所有版本控制的数据存放文件。hooks目录:放置hook脚本文件的目录。locks目录:用来放置subversion见艰苦锁定数据的目录,用来追踪存取文件库的客户端。format文件:是一个文本文件,里面只放了一个整数,表示当前文件库配置的版本号。conf目录:是这个仓库的配置文件(仓库的用户访问账号、权限等)。进入conf目录(该svn版本库配置文件)cd conf/authz文件是权限控制文件passwd是帐号密码文件svnserve.conf SVN服务配置文件设置帐号密码
在[users]块中添加用户和密码,格式:帐号=密码,例如:dennis=0454
在末尾添加如下代码:
(r:读,w:写)
修改svnserve.conf文件
vi svnserve.conf
打开下面的几个注释:
anon-access = read #匿名用户可读
auth-access = write #授权用户可写
password-db = passwd #使用哪个文件作为账号文件
authz-db = authz #使用哪个文件作为权限文件
realm = /var/svn/svnrepos # 认证空间名,版本库所在目录
启动svn版本库
svnserve -d -r /var/svn/svnrepos
停止SVN命令
killall svnserve
用ps -ef | grep svn 查看服务是否开启
重点来了现在我的nginx运行文件(/usr/local/nginx/html)和svn(/usr/bin/svn)的运行文件不在一起,所以要写一个钩子把他们链接起来。在svn所在的hooks文件夹下新建一个 post-commit 文件,然后将文件里写入:
export LANG=en_US.UTF-8
SVN=/usr/bin/svn
WEB=/usr/local/nginx/html
$SVN update $WEB --username dennis --password 0454
写好后执行:
chmod 777 /var/svn/svnrepos/hooks/post-commit
关闭svnserve:
killall svnserve
启动svnserve:
svnserve -d -r /var/svn/svnrepos
接下来在nginx坐在的运行文件里(/usr/local/nginx/html)执行
svn checkout
svn update
0 收藏&&|&&5
你可能感兴趣的文章
2 收藏,199
2 收藏,203
1 收藏,209
分享到微博?
我要该,理由是:sponsored links
阿里云centos 静默安装oracle
Package安装检查
yum -y install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel gcc gcc-c++ libaio-devel libaio libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel pdksh numactl-devel glibc-headers
# rpm -q binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel expat gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers libaio libaio-devel libgcc libstdc++ libstdc++-devel make pdksh sysstat unixODBC unixODBC-devel | grep &not installed&
其余的配置跟其他机器一样,不多说
找到安装目录下的db_install.rsp,看下那些个性化的地方 是否需要修改,改完之后用以下命令开始安装
./runInstaller -silent -ignorePrereq -ignoreSysPrereqs -responseFile /home/oracle/database/response/db_install.rsp
出现如下提示说明成功,根据提示完成操作:
The following configuration scripts need to be executed as the &root& user.
#Root scripts to run
/opt/oraInventory/orainstRoot.sh
/opt/oracle/product/11.2.0/db_1/root.sh
To execute the configuration scripts:
1. Open a terminal window
2. Log in as &root&
3. Run the scripts
4. Return to this window and hit &Enter& key to continue
Successfully Setup Software.
装完之后 再建库
dbca -silent -responseFile dbca.rsp
Enter SYS user password:
Enter SYSTEM user password:
Copying database files
1% complete
3% complete
11% complete
18% complete
26% complete
37% complete
Creating and starting Oracle instance
40% complete
45% complete
50% complete
55% complete
56% complete
60% complete
62% complete
Completing Database Creation
66% complete
70% complete
73% complete
85% complete
96% complete
100% complete
Look at the log file &/opt/oracle/cfgtoollogs/dbca/tzjp/tzjp.log& for further details.
下面是配置文件
####################################################################
## Copyright(c) Oracle Corporation . All rights reserved.##
## Specify values for the variables listed below to customize ##
## your installation. ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
####################################################################
#------------------------------------------------------------------------------
# Do not change the following system generated value.
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
#------------------------------------------------------------------------------
# Specify the installation option.
# It can be one of the following:
# 1. INSTALL_DB_SWONLY
# 2. INSTALL_DB_AND_CONFIG
# 3. UPGRADE_DB
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY
#-------------------------------------------------------------------------------
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME=xxxxxxx
#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall
#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/opt/oraInventory
#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.
# en : English ja : Japanese
# fr : French ko : Korean
# ar : Arabic es : Latin American Spanish
# bn : Bengali lv : Latvian
# pt_BR: Brazilian Portuguese lt : Lithuanian
# bg : Bulgarian ms : Malay
# fr_CA: Canadian French es_MX: Mexican Spanish
# ca : Catalan no : Norwegian
# hr : Croatian pl : Polish
# cs : Czech pt : Portuguese
# da : Danish ro : Romanian
# nl : Dutch ru : Russian
# ar_EG: Egyptian zh_CN: Simplified Chinese
# en_GB: English (Great Britain) sk : Slovak
# et : Estonian sl : Slovenian
# fi : Finnish es_ES: Spanish
# de : German sv : Swedish
# el : Greek th : Thai
# iw : Hebrew zh_TW: Traditional Chinese
# hu : Hungarian tr : Turkish
# is : Icelandic uk : Ukrainian
# in : Indonesian vi : Vietnamese
# it : Italian
# Example : SELECTED_LANGUAGES=en,fr,ja
#------------------------------------------------------------------------------
SELECTED_LANGUAGES=zh_CN,en
#------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#------------------------------------------------------------------------------
ORACLE_HOME=/opt/oracle/product/11.2.0/db_1
#------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#------------------------------------------------------------------------------
ORACLE_BASE=/opt/oracle
#------------------------------------------------------------------------------
# Specify the installation edition of the component.
# The value should contain only one of these choices.
# EE : Enterprise Edition
# SE : Standard Edition
# SEONE : Standard Edition One
# PE : Personal Edition (WINDOWS ONLY)
#------------------------------------------------------------------------------
oracle.install.db.InstallEdition=EE
#------------------------------------------------------------------------------
# This variable is used to enable or disable custom install.
# true : Components mentioned as part of 'customComponents' property
# are considered for install.
# false : Value for 'customComponents' is not considered.
#------------------------------------------------------------------------------
oracle.install.db.isCustomInstall=false
#------------------------------------------------------------------------------
# This variable is considered only if 'IsCustomInstall' is set to true.
# Description: List of Enterprise Edition Options you would like to install.
# The following choices are available. You may specify any
# combination of these choices. The components you choose should
# be specified in the form &internal-component-name:version&
# Below is a list of components you may specify to install.
# oracle.rdbms.partitioning:11.2.0.1.0 - Oracle Partitioning
# oracle.rdbms.dm:11.2.0.1.0 - Oracle Data Mining
# oracle.rdbms.dv:11.2.0.1.0 - Oracle Database Vault
# oracle.rdbms.lbac:11.2.0.1.0 - Oracle Label Security
# oracle.rdbms.rat:11.2.0.1.0 - Oracle Real Application Testing
# oracle.oraolap:11.2.0.1.0 - Oracle OLAP
#------------------------------------------------------------------------------
oracle.install.db.customComponents=oracle.server:11.2.0.1.0,oracle.sysman.ccr:10.2.7.0.0,oracle.xdk:11.2.0.1.0,oracle.rdbms.oci:11.2.0.1.0,oracle.network:11.2.0.1.0,oracle.network.listener:11.2.0.1.0,oracle.rdbms:11.2.0.1.0,oracle.options:11.2.0.1.0,oracle.rdbms.partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,orcle.rdbms.lbac:11.2.0.1.0,oracle.rdbms.rat:11.2.0.1.0
###############################################################################
# PRIVILEGED OPERATING SYSTEM GROUPS #
# ------------------------------------------ #
# Provide values for the OS groups to which OSDBA and OSOPER privileges #
# needs to be granted. If the install is being performed as a member of the #
# group &dba&, then that will be used unless specified otherwise below. #
###############################################################################
#------------------------------------------------------------------------------
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.DBA_GROUP=dba
#------------------------------------------------------------------------------
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
#------------------------------------------------------------------------------
oracle.install.db.OPER_GROUP=oinstall
#------------------------------------------------------------------------------
# Specify the cluster node names selected during the installation.
#------------------------------------------------------------------------------
oracle.install.db.CLUSTER_NODES=
#------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
# - GENERAL_PURPOSE/TRANSACTION_PROCESSING
# - DATA_WAREHOUSE
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
#------------------------------------------------------------------------------
# Specify the Starter Database Global Database Name.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.globalDBName=xxxx
#------------------------------------------------------------------------------
# Specify the Starter Database SID.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.SID=xxx
#------------------------------------------------------------------------------
# Specify the Starter Database character set.
# It can be one of the following:
# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
# EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
# BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
# IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
# KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.characterSet=ZHS16GBK
#------------------------------------------------------------------------------
# This variable should be set to true if Automatic Memory Management
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryOption=true
#------------------------------------------------------------------------------
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryLimit=2048
#------------------------------------------------------------------------------
# This variable controls whether to load Example Schemas onto the starter
# database or not.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=false
#------------------------------------------------------------------------------
# This variable includes enabling audit settings, configuring password profiles
# and revoking some grants to public. These settings are provided by default.
# These settings may also be disabled.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableSecuritySettings=true
###############################################################################
# Passwords can be supplied for the following four schemas in the #
# starter database: #
# SYSTEM #
# SYSMAN (used by Enterprise Manager) #
# DBSNMP (used by Enterprise Manager) #
# Same password can be used for all accounts (not recommended) #
# or different passwords for each account can be provided (recommended) #
###############################################################################
#------------------------------------------------------------------------------
# This variable holds the password that is to be used for all schemas in the
# starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.ALL=oracle.haha
#-------------------------------------------------------------------------------
# Specify the SYS password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYS=
#-------------------------------------------------------------------------------
# Specify the SYSTEM password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSTEM=
#-------------------------------------------------------------------------------
# Specify the SYSMAN password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSMAN=
#-------------------------------------------------------------------------------
# Specify the DBSNMP password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=
#-------------------------------------------------------------------------------
# Specify the management option to be selected for the starter database.
# It can be one of the following:
# 1. GRID_CONTROL
# 2. DB_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.control=DB_CONTROL
#-------------------------------------------------------------------------------
# Specify the Management Service to use if Grid Control is selected to manage
# the database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
#-------------------------------------------------------------------------------
# This variable indicates whether to receive email notification for critical
# alerts when using DB control.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false
#-------------------------------------------------------------------------------
# Specify the email address to which the notifications are to be sent.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.dbcontrol.emailAddress=
#-------------------------------------------------------------------------------
# Specify the SMTP server used for email notifications.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.dbcontrol.SMTPServer=
###############################################################################
# SPECIFY BACKUP AND RECOVERY OPTIONS #
# ------------------------------------ #
# Out-of-box backup and recovery options for the database can be mentioned #
# using the entries below. #
###############################################################################
#------------------------------------------------------------------------------
# This variable is to be set to false if automated backup is not required. Else
# this can be set to true.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.enable=false
#------------------------------------------------------------------------------
# Regardless of the type of storage that is chosen for backup and recovery, if
# automated backups are enabled, a job will be scheduled to run daily at
# 2:00 AM to backup the database. This job will run as the operating system
# user that is specified in this variable.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.osuid=
#-------------------------------------------------------------------------------
# Regardless of the type of storage that is chosen for backup and recovery, if
# automated backups are enabled, a job will be scheduled to run daily at
# 2:00 AM to backup the database. This job will run as the operating system user
# specified by the above entry. The following entry stores the password for the
# above operating system user.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.ospwd=
#-------------------------------------------------------------------------------
# Specify the type of storage to use for the database.
# It can be one of the following:
# - FILE_SYSTEM_STORAGE
# - ASM_STORAGE
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.storageType=
#-------------------------------------------------------------------------------
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=FILE_SYSTEM
#-------------------------------------------------------------------------------
# Specify the backup and recovery location.
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=FILE_SYSTEM
#-------------------------------------------------------------------------------
# Specify the existing ASM disk groups to be used for storage.
# Applicable only when oracle.install.db.config.starterdb.storage=ASM
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.diskGroup=
#-------------------------------------------------------------------------------
# Specify the password for ASMSNMP user of the ASM instance.
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_SYSTEM
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.ASMSNMPPassword=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username.
# Example : MYORACLESUPPORT_USERNAME=metalink
#------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password.
# Example : MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=
#------------------------------------------------------------------------------
# Specify whether to enable the user to set the password for
# My Oracle Support credentials. The value can be either true or false.
# If left blank it will be assumed to be false.
# Example : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
#------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=
#------------------------------------------------------------------------------
# Specify whether user wants to give any proxy details for connection.
# The value can be either true or false. If left blank it will be assumed
# to be false.
# Example : DECLINE_SECURITY_UPDATES=false
#------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=true
#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
# Example : PROXY_HOST=
#------------------------------------------------------------------------------
PROXY_HOST=
#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and atleast 2 chars.
# Example : PROXY_PORT=25
#------------------------------------------------------------------------------
PROXY_PORT=
#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
# Example : PROXY_USER=username
#------------------------------------------------------------------------------
PROXY_USER=
#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
# Example : PROXY_PWD=password
#------------------------------------------------------------------------------
PROXY_PWD=
静默安装能减少安装出错的可能性, 也能大大加快安装速度. # 后跟命令表示以操作系统下root用户操作; $ 后跟命令表示以操作系统下oracle用户操作; 1.1 上传软件 假如放在/root 1.2 Package安装检查 yum -y install binutils compat-libstdc++-33 elfutils-libelf elfuti ...
全新系统 yum update cd /root wget /iRedMail-0.8.7.tar.bz2 tar xvf iRedMail-0.8.7.tar.bz2 下载后解压,进入pkgs目录,编辑get_all.sh文件,注释check_status_before_run check_new_iredma ...
首先需要更新系统的yum源,便捷工具下载地址:/manual?spm=0.0.0.0.zJ3dBU&helpId=1692使用yum命令安装vsftp#yum install vsftpd -y先检查一下nologin的位置,通常在/usr/sbin/nologin或者/sbin/nologin下.使用下面 ...
首先需要更新系统的yum源,便捷工具下载地址:/manual?spm=0.0.0.0.zJ3dBU&helpId=1692 使用yum命令安装vsftp #yum install vsftpd -y 先检查一下nologin的位置,通常在/usr/sbin/nologin或者/sbin/nologin下.
CentOS 6.3 32位静默安装Oracle 11g r2详细教程 一.安装依赖包binutils2.17.50.0.6compat-libstdc++-33
3.2.3elfutils-libelf0.125elfutils-libelf-devel0.125elfutils-libelf-devel-static0.125g ...

我要回帖

更多关于 阿里云服务器centos 的文章

 

随机推荐