Topic: 云主机与Oracle安装

  Print this page

1.云主机与Oracle安装 Copy to clipboard
Posted by: 阿熊
Posted on: 2015-06-12 10:44

Oracle安装是必须开启swap的
有些云主机默认swap都是关闭的
检查/etc/rc.local文件,可以看到“swapoff -a”
把swapoff -a注释掉后重启, swap生效

创建swap的步骤
1. 创建交换分区的文件:增加2G大小的交换分区,则命令写法如下,其中的 count 等于想要的块大小。
# dd if=/dev/zero of=/home/swapfile bs=1M count=2048|Q
2.设置交换分区文件:
# mkswap /home/swapfile #建立swap的文件系统
3.立即启用交换分区文件:
# swapon /home/swapfile #启用swap文件
4.使系统开机时自启用,在文件/etc/fstab中添加一行:
/home/swapfile swap swap defaults 0 0

检查swap大小
grep -i swaptotal /proc/meminfo

2.Re:云主机与Oracle安装 [Re: 阿熊] Copy to clipboard
Posted by: YuLimin
Posted on: 2015-06-23 15:38

Good!

你现在自己在经营云么?还是在用别人的云,我联系上一个在西安的政府云,不过不是太方便,我也至今也没有用上呢:)

3.Re:云主机与Oracle安装 [Re: 阿熊] Copy to clipboard
Posted by: 阿熊
Posted on: 2015-06-24 22:05

在架设自己的私有云


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923