Debian Oracle apt-get 安装
来源:互联网 发布:创造漫画的软件 编辑:程序博客网 时间:2024/05/11 20:31
每次都要在新的debian下安装oracleXE. 留下记号,以查询,等有空写个on-stop-shop 脚本。
我的系统是在vmware上的镜像:
debian:/home/james# uname -a
Linux debian 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
查看swap: is it enough?, oracle require 1G swap.
debian:/home/james# free
total used free shared buffers cached
Mem: 256972 105764 151208 0 4964 86600
-/+ buffers/cache: 14200 242772
Swap: 409616 0 409616
才400多MB的swap,不够,所以要加。do it as root.
定义swap file 的空间大小:
debian:/home/james# dd if=/dev/zero of=/swapFile bs=1M count=600
600+0 records in
600+0 records out
629145600 bytes (629 MB) copied, 9.38158 seconds, 67.1 MB/s
建立swap空间:
debian:/home/james# mkswap /swapFile
Setting up swapspace version 1, size = 629141 kB
no label, UUID=91b67b96-b916-4f86-8c3c-514571ed9612
激活swap空间:
debian:/home/james# swapon /swapFile
check it out:
debian:/home/james# free
total used free shared buffers cached
Mem: 256972 250680 6292 0 1556 232620
-/+ buffers/cache: 16504 240468
Swap: 1024008 52 1023956
好了。要让它一开机就是激活我把它设置在/etc/fstab里面了:
proc /proc proc defaults 0 0
/dev/sda5 none swap sw 0 0 《--系统原有的。
/swapFile none swap sw 0 0 〈--复制系统的然后改一下前面的名字。
加入apt-get 源:
deb http://oss.oracle.com/debian unstable main non-free
为了方便快捷加入比较快的源,日本或者台湾的服务器源:
自己玩所以用testing
##########japan#########
deb http://ftp.jp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ testing main contrib non-free
#########taiwan###############
deb http://ftp.tw.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.tw.debian.org/debian/ testing main contrib non-free
choose one, and update
# wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | apt-key add -
# apt-get update
# apt-get install oracle-xe-uiv(国际版本)
You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
so run it /etc/init.d/oracle-xe configure
set what the system tell you to do.
remember the system name and password
OK
- Debian Oracle apt-get 安装
- Debian apt-get 安装 GTK+
- Debian下使用apt-get安装lnmp
- debian修改apt-get安装源
- Debian apt-get 使用指南
- Debian apt-get 用法
- Debian apt-get用法
- Debian apt-get详解
- Debian也可以通过apt-get安装wordpress
- Debian用apt-get 安装软件时出现的问题!
- Debian下使用apt-get安装 Nginx + MySQL + PHPMyAdmin 备忘
- Debian 配置apt-get源安装SSH服务
- debian中的apt-get代理
- Ubuntu通过apt-get安装Oracle JDK
- Debian Linux 之 Apt-get / dpkg
- 类Debian系统apt-get命令大全
- Debian软件包管理工具(dpkg,apt-get)详解
- Debian新手apt-get/dpkg简明入门
- C++中的dynamic_cast
- 谈谈C#中的泛型
- CAPI&CAPICOM的一些知识
- Struts SXT视频学习笔记
- Head First SQL 中文版 Page 69-73
- Debian Oracle apt-get 安装
- 一个mssqlserver表最多可以存放多少数据??
- ARM 协处理器
- 用c语言编写俄罗斯方块
- JAVA树形结构
- XCOPY命令默认忽略隐藏文件
- 伤心的时候,你在做什么?
- java3D--地月仿真模型
- 多行滚动jQuery循环新闻列表代码