Oracle
oracle install centos 5.0 x64
yum install libaio
yum install bc
wget http://rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm /下载地址/
rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm
./etc/init.d/oracle-xe configure
ORA-01536
ORA-01536: 超出表空间'表空间名'的空间限量
相同的语句放在另外一台数据库去运行是好的丫,再查了查,不出错的这个用户有DBA权限:) , 有错的没有DBA权限,那应该与权限有关了。
再查了查表空间,发现有200M,但只用了15M,KAO。
google了一下,说是运行
GRANT UNLIMITED TABLESPACE TO jwgl;
可以解决问题,果然如此。
但问题是,我的表空间还有这么多空的,为什么会出现超出表空间的空间限量错误呢?
不明白啊。
你虽然有200M,但jwgl用户只有15M的使用权,
http://mis.im.tku.edu.tw/~xman13a/oracle/tablespace/ora_1.htm
Oracle install sur debian 远程 安装 oracle XE 在 debian
MIN 1g ram
资料
http://www.debianhelp.co.uk/oracle.htm
APT-GET 安装过程
To use this reposotory you need to add following lines to /etc/apt/sources.list file:
deb http://oss.oracle.com/debian/ unstable main non-free
deb-src http://oss.oracle.com/debian/ unstable main
# apt-get update
# apt-get install oracle-xe-universal
安装完成
设置
# /etc/init.d/oracle-xe configure
Specify the HTTP port that will be used for Oracle Application Express [8080]:
设置web界面端口
Specify a port that will be used for the database listener [1521]:
程序端口
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password: (* make sure you remember this password *)
设置密码
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: y
打Y是确定
Starting Oracle Net Listener…Done
Configuring Database…Done
Starting Oracle Database 10g Express Edition Instance…Done
Installation Completed Successfully.
To access the Database Home Page go to “http://127.0.0.1:8080/apex”
远程安装web界面不可用 需要设置
Now you have installed Oracle Express Edition on your Debian Sarge server.
开启 远程 端口
Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password: (* make sure you remember this password *)
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: y
Starting Oracle Net Listener…Done
Configuring Database…Done
Starting Oracle Database 10g Express Edition Instance…Done
Installation Completed Successfully.
To access the Database Home Page go to “http://127.0.0.1:8080/apex”
Now you have installed Oracle Express Edition on your Debian Sarge server.
解决 sqlplus: command not found
sudo vim /etc/profile
最下面增加
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export ORACLE_SID=XE
export PATH=${PATH}:${ORACLE_HOME}/bin
重新加载 profile
source /etc/profile
sqlplus 可用
命令 web界面可以远程访问
$ sqlplus -S system/password@//localhost/XE <<! EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE); EXIT; / !
现在就可以用
http://your-host-adress:8081/apex/
访问了