在source.list中加入deb http://oss.oracle.com/debian/ unstable main non-free
执行
aptitude update
aptitude oracle-xe-client oracle-xe-universal 包有点大260多兆
开始下载oracle-xe-client oracle-xe-universal,大概需要三十多分钟。
下载完后就开始安装,但是系统会提示交换分区不够,所以要增大交换分区。
分别执行
dd if=/dev/zero of=/mnt/swapfile bs=1024 count=1048576
mkswap /mnt/swapfile
swapon /mnt/swapfile
之后。
现在开始安装oracle 10g express
执行
aptitude install oracle-xe-client oracle-xe-universal
安装完成后将提示进行参数配置
执行/etc/init.d/oracle-xe configure
将设置HTTP 端口,默认是8080,此处设置为8081,为了不和tomcat冲突
设置Oracle服务端口使用默认的1521
最后是设置sys和system的密码
系统提示是否开机自动运行oracle,选择yes
最后重启debian
通过http://127.0.0.1:8081/apex/或http://localhost:8081/apex进行管理
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8271432/viewspace-1009581/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8271432/viewspace-1009581/