Decided to install Oracle for fun. This time, RedHat Enterprise Linux 4 + Oracle 11g R2 is used. Some problems have been encountered during the installation process. We will summarize the issues for future use.Before the installation, install Linux first. Due to the previous installation with/only mounted about 10 Gb of capacity, I did not expect/u01 to be used a
directly, but they can access the views in the data dictionary. The Data dictionary view is divided into two categories: static data dictionary view and Dynamic Data dictionary view. The Data dictionary view is divided into two categories: static data dictionary view and Dynamic Data dictionary view; Data dictionary tables: data in the Data dictionary table is the system data stored by the Oracle system, and the ordinary table is the user's data, in
\instantclient_11_2"Set yourself here according to your specific circumstances" Eighth step: Configure the OCI for Plsql for Oracle client as shown in: Nineth Step: Use the Plsql test link to prompt the problem: the service could not be resolved. The reason is simple, the Oracle client's Tnsnames.ora file is not configured correctly. Tenth step: Configure the Oracle
At oracle11g, the Enterprise Manager of the client cannot be found. Does Oracle provide enterprise manager? Of course not, but Oracle does not provide enterprise managers in the C/S architecture. Oracle provides an Enterprise Manager with B/S architecture.
Run emctl start dbconsole on the Linux server to start the Enterprise Manager, and emctl stop dbconsole to
Tags: Oracle 11g database management Data 11g DBA1. Oracle Database Overview1.1. Structure and compositionOracle Database 11G has a total of 4 versions, Enterprise, standard, standard 1, and personal.1.1.1, Enterprise EditionAdvantages:High reliability. Prevent server failur
"Sqlplus" and the Sqlplus prompt in the console does not have such a command because the environment variable path is not joined to the Sqlplus path. Add it this way: right-click on "Run SQL command line" and view the properties as follows
Copy the paths in the target, and then open the environment variablesSelect the path of the user variable, click Edit, and then at the end of the copy of the path to paste in, paste before you remember to enter a ";" To facilitate isolation from the fron
Also referenceHttp://www.linuxidc.com/Linux/2012-08/69082.htmHttp://www.linuxidc.com/Linux/2013-10/91270.htmFirst, hardware detection1, memory detection oracle11g minimum 1GB memory requiredgrep Memtotal /proc/meminfo2, swap space detection usually swap space is 1.5 times times the memorygrep Swaptotal/proc/meminfo3. Temp directory/tmp checkDF -h/tmpSecond, the configuration process1. Create users and user groups/usr/sbin/groupadd dba/usr/sbin/usera
configuration.
Check whether the IP address and host name are written into the "/etc/hosts" file.
Vi/etc/hosts
If no, you need to manually add the ing between the IP address and the host name, for example:
10.71.124.53 mmgg
4. create necessary user groups and users.
1. I like to directly change relevant files, as shown below:
/// Etc/group
Dba :! : 1000: Oracle
Success :! : 1001:
1. Error-ORA-12514: TNS: ListenerProgramThe Service requested in the connection descriptor cannot be recognized currently If your server somehow reports this error,
It was always normal before , Then try the following method (
Remember to back up the file you want to modify, because the error may be different ):
Open "Listener. ora", Copy the following red font to your file
Sid_list_listener =(Sid_list =(Sid_desc =(Sid_name = plsextproc)(ORACLE_HOME = D: \
with GUI tools or SQL! Otherwise, you will not be able to log in, prompting the user/password incorrectly. Use uppercase to create the user, but use the case can log in, wonderful! If the Web management interface is inaccessible or the database cannot be connected, you may consider modifying the Listener.ora and D:\OracleXE\app\oracle\product\11.2.0\server\network\ADMIN in the Tnsnames.ora, change the computer name to localhost. "Cannot find file '
Starting to test Oracle 11g rac, the current performance is limited, so a single node rac is installed. The procedure is as follows:
Modify ifcfg-bond * ifcfg-eth * in/etc/modprobe. conf and/etc/sysconfig/network-scripts by binding the NIC *
I will not talk more here
Configure Xmanager connection
Vi/usr/share/TPD/defaults. conf
Change Enable = false under [xdmcp] to Enable = true.
Change AllowRemoteRoot
1. Modify the host name:[Email protected] ~]# sed-i "s/hostname=localhost.localdomain/hostname=oracledb/"/etc/sysconfig/network2. Set the IP address:If the virtual machine is installed, it is recommended to use only host mode. Fixed IP address.3. Modify the Hosts fileVi/etc/hosts 192.168.138.120 OracleDB3. To install the dependent packages, install the following packages:4. Create users and Groups[Email protected] ~]# sysctl-p[Email protected] ~]# groupadd-g Oinstall[[email protected] ~]# GROUPA
Oracle 11g flash back archiving Technology
Oracle flash back Data Archiving
Oracle flash back data archiving can be used to automatically track and archive data in tables with flash back data archiving enabled. This ensures that the flashback query can obtain the SQL-level access permission for the database object vers
datafile ' E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\Facial.DBF ' size 500M autoextend on next 50M ;--Create UserCreate user facial identified by facial default tablespace ts_facial;--Authorized to UserGrant CONNECT,RESOURCE,DBA to facial;Test.dmp and Test.log are placed in the E:\oracle\product\10.2.0\admin\orcl\dpdump directory.10g import statement: IMPDP userid=
Starting to test Oracle 11g RAC, the current performance is limited, so a single node RAC is installed. The procedure is as follows:
Nic binding
Modify ifcfg-bond * ifcfg-eth * in/etc/modprobe. conf and/etc/sysconfig/network-scripts *
I will not talk more here
Configure xmanager connection
VI/usr/share/TPD/defaults. conf
Change enable = false under [XDMCP] to enable = true.
Change allowremoteroot = fa
First, install the software package required by Oracle (depending on the Oracle official documentation)can use# yum-y Install binutils* compat-lib* gcc-* glibc-* ksh libgcc-* libstdc++-* libaio-* make-* sysstat*For installation.Ii. creating user groups and users (Root)# groupadd oinstall# groupadd dba# useradd-g oinstall-g db
Oracle 11g database security reinforcement considerations, oracle11g
In database security configuration, security reinforcement is required. To ensure database security, however, sometimes, after improper operations or database business account password modification, the configuration of database connection for the program is encapsulated in jar, if the configuration information of the connected database in
Oracle 11g Release 1: http://www.oracle.com/technology/software/products/database/index.html RHEL5 under the ASMLib2.0: http://www.oracle.com/groovy/global/cn/tech/linux/asmlib/index.htmlopen the page, will find a Red Hat Enterprise Linux 4 AS (x86) Link, click it, the new page contains the Red Hat Enterprise Linux 5 AS download link. Read more: Install Oracle
Tags: Linux OracleEnvironment: Redhat 6.5 + Oracle 11G1. Turn off the Linux firewall and disable SELinux 2, installation of the required RPM packageYum install-y binutils compat-libcap compat-libstdc gcc gcc-c++ glibc glibc-devel libgcc libstdc libstdc++-devel Libaio L Ibaio-devel make Sysstat UnixODBC unixodbc-devel Pdksh 3. Create OS user group, userGroupadd OinstallGroupadd dbaUseradd–g oinstall–g dba
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.