没有合适的资源?快使用搜索试试~ 我知道了~
linux7 安装oracle11.2.0.4
需积分: 0 0 下载量 186 浏览量
2024-05-16
13:48:21
上传
评论
收藏 2.16MB DOCX 举报
温馨提示
试读
28页
oracle11.2.0.4安装文档
资源推荐
资源详情
资源评论
单机 linux7 环境安装 oracle11g 数据库
关闭防火墙
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost ~]# /bin/sed -i s/SELINUX=enforcing/SELINUX=disabled/ /etc/selinux/config
[root@localhost ~]# /usr/sbin/setenforce 0
内核参数和资源限制
使用前修改脚本中 kernel.shmmax 进行修改,kernel.shmmax 设置为内存的一半单位 b
内存参数、操作系
统限制等.txt
linux7 上操作系统相关的调整
1)禁用 Transparent HugePages
关闭透明大页
cat /sys/kernel/mm/transparent_hugepage/enabled
[always] madvise never
echo never>/sys/kernel/mm/transparent_hugepage/enabled
确认修改生效
cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]
2)禁用 avahi-daemon 服务
# systemctl stop avahi-daemon
# systemctl disable avahi-daemon
# systemctl status avahi-daemon
3)设置 RemoveIPC=false
# vi /etc/systemd/logind.conf
RemoveIPC=no
重启 systemd-logind 服务
# systemctl daemon-reload
# systemctl restart systemd-logind
安装 rpm 包
配置本地 yum
[root@localhost ~]# mount /dev/sr0 /mnt
mount: /dev/sr0 is write-protected, mounting read-only
[root@localhost ~]# cat > /etc/yum.repos.d/rhel-source.repo <<EOF
[rhel-oracle-lib]
name=oracle
baseurl=file:///mnt
enabled=1
gpgcheck=0
EOF
[root@localhost ~]# yum clean all & yum list |head
[1] 11206
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to
register.
This system is not registered with an entitlement server. You can use subscription-manager to
register.
Existing lock /var/run/yum.pid: another copy is running as pid 11207.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 28 M RSS (389 MB VSZ)
Started: Tue Jul 9 03:02:01 2019 - 00:01 ago
State : Running, pid: 11207
Installed Packages
GeoIP.x86_64 1.5.0-11.el7 @anaconda/7.4
NetworkManager.x86_64 1:1.8.0-9.el7 @anaconda/7.4
NetworkManager-config-server.noarch 1:1.8.0-9.el7 @anaconda/7.4
NetworkManager-libnm.x86_64 1:1.8.0-9.el7 @anaconda/7.4
NetworkManager-team.x86_64 1:1.8.0-9.el7 @anaconda/7.4
NetworkManager-tui.x86_64 1:1.8.0-9.el7 @anaconda/7.4
Exiting on Broken Pipe
[root@localhost ~]# Cleaning repos: rhel-oracle-lib
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from
disabled or removed repos
[1]+ Done yum clean all
[root@localhost ~]#
安装 rpm
[root@localhost ~]# yum -y install gcc compat-gcc-34 elfutils-libelf-devel compat-libstdc++-33
elfutils-libelf gcc-c++ glibc-headers libaio libaio-devel libgcc libstdc++ libstdc++-devel make ksh
sysstat unixODBC compat-libcap1 libXp nfs-utils
安装光盘中不存在的其他 rpm 包
[root@localhost ~]# yum -y install /tmp/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
创建用户和目录以及环境变量
使用前修改脚本中实例名和相关目录位置
创建用户和目录.txt
解压和安装
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ cd /tmp
[oracle@localhost ~]$ unzip p13390677_112040_Linux-x86-64_1of7.zip
[oracle@localhost ~]$ unzip p13390677_112040_Linux-x86-64_2of7.zip
[oracle@localhost ~]$ ls
p13390677_112040_Linux-x86-64_1of7.zip
compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm p13390677_112040_Linux-x86-64_2of7.zip
database
[oracle@localhost ~]$ cd database
[oracle@localhost database]$
配置 xmanager
[oracle@localhost database]$ export DISPLAY=192.168.52.1:0.0
[oracle@localhost database]$
[oracle@localhost database]$ ./runInstaller
图形化安装
剩余27页未读,继续阅读
资源评论
yuhoushijie
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功