vultr linux 安装oracle 数据库碰到的问题
来源:互联网 发布:怎么样提升淘宝销量 编辑:程序博客网 时间:2024/04/30 12:08
问题1: swap大小通不过
Createa swap file command
Type thefollowing command to create a 2GB swap file on Ubuntu:# dd if=/dev/zero of=/swapfile bs=1G count=2
Sample outputs:
2+0 records in
2+0 records out
2147483648 bytes (2.1 GB) copied, 20.2256 s, 106 MB/s
Verify thatfile has been created on the server:# ls -lh /swapfile
Sample outputs:
-rw-r--r-- 1 root root 2.0G Oct 29 14:07 /swapfile
Securethe swap file
Type thefollowing chmod command and chown command to secure and set correct filepermission for security reasons:# chown root:root /swapfile
# chmod 0600 /swapfile
# ls -lh /swapfile
Sample outputs:
-rw------- 1 root root 2.0G Oct 29 14:07 /swapfile
A world-readable swap file is a huge localvulnerability. The above commands make sure only root user can read and writeto the file.
Turn onthe swap file
First, use themkswap command as follows to enable the swap space on Ubuntu:# mkswap /swapfile
Sample outputs:
Setting up swapspace version 1, size = 2097148 KiB
no label, UUID=10231c61-6e55-4dd3-8324-9e2a892e7137
Finally,activate the swap file, enter:# swapon /swapfile
Verifynew swap file and settings on Ubuntu
Type thefollowing command# swapon -s
Sample outputs:
Filename Type Size Used Priority
/dev/sda5 partition 3998716 704 -1
/swapfile file 2097148 0 -2
问题2: semopm
编辑/etc/sysctl.conf文件,添加
fs.aio-max-nr = 1048576
fs.file-max = 6815744kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
//kernel.semmni = 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
最好执行/sbin/sysctl
- vultr linux 安装oracle 数据库碰到的问题
- vultr 安装centos7 和shadowsocks的问题
- 在oracle中安装碰到的问题
- 安装oracle 间碰到的问题。
- Oracle安装完成 碰到的问题
- oracle安装与碰到的问题
- 在安装oracle数据库所碰到的问题------问题集锦及解决方法总结
- linux安装中碰到的问题
- VULTR的安装和配置
- vultr的VPS安装BBR
- centos 安装mysql数据库碰到的问题笔记
- ORACLE经常碰到的问题
- 今天碰到的数据库问题
- linux下安装loudmouth库中碰到的问题 & 解决方法
- linux 安装xmanager碰到的问题 及处理方法
- 安装oracle碰到以下三个问题 总结
- 安装sql2008碰到的问题
- 安装freeswitch碰到的问题
- 关于qt creator的pro文件设置问题。
- 将Unity项目作为引用库导入eclipse
- 知识点小谈:4)产品结构设计目标的分类
- Codeforces Round #398(Div. 2)B. The Queue【贪心+谨慎】这题好尼玛强劲
- C语言结构体
- vultr linux 安装oracle 数据库碰到的问题
- 手机客户端数据传输加密设计
- 深入学习VMware vSphere---安装vCenter
- Java8内存模型—永久代(PermGen)和元空间(Metaspace)
- Hadoop Erasure Coding结构分析
- qt creator项目中添加文件夹
- Linux的分区类型
- 设计模式(1)-简单工厂模式
- 深入理解Java面向对象三大特性 封装 继承 多态