Delete Oracle 10 Gb in Linux (including software and instances)
Software environment :{
Function onclick ()
{
Function onclick ()
{
Tagshow (event, 'linux ');
}
}
} "Href =" javascript:; "target =" _ Self ">LinuxSystem {
Function onclick ()
{
Function onclick ()
{
Tagshow (event, 'oracle ');
}
}
} "Href =" javascript:; "target =" _ Self ">Oracle10.0.1.0
Involved users: Root Oracle
Steps for deleting Oracle software and instances:
1. Oracle user login to sqlplus stops {
Function onclick ()
{
Function onclick ()
{
Tagshow (event, '% Ca % fd % be % DD % BF % e2 ');
}
}
} "Href =" javascript:; "target =" _ Self ">Database: Shutdown
2. oracle users stop the listening service: LSNRCTL stop (if the listening service is started)
3. Root User
Delete the ora * file under/tmp
Delete or * files under/OPT
Delete orainst. Loc and oratab files under/etc
(These two files are generated by executing the $ ORACLE_HOME/root. Sh script when installing oracle)
Delete coraenv, dbhome, or oraenv in/usr/local/bin
(These three files are generated by executing the $ oracle_base/orainventory/orainstroot. Sh script when oracle is installed)
Delete admin, flash_recovery_area, oradata, and orainventory under $ oracle_base.
(Remember not to delete the default Oracle user directory here. You should use the Oracle user next time you reinstall the Oracle software)
Note that the default Oracle user directory under $ oracle_base should not be deleted. oracle users should be used when Oracle software is re-installed next time.
Delete an oracle instance. Do not delete the Oracle software.
1. The Oracle user executes $ ORACLE_HOME/bin/dbca to delete the instance.
2. check whether there are still files in the admin and oradata directories under the $ oracle_base directory. If RM exists, delete it. If the original file is in use, stop the service and delete it.
&&&&&&&&&&&&&&&&&&&&&&
An error may occur when xmanager is used to connect to the remote server desktop to install oracle.
1. Install KDE
Yum install kdepim
Or install gnome (MB or more memory can be installed on both)
Yum groupinstall gnome-Desktop
Yum install gnome-session
Gnome is recommended for memory usage!
Run again
Yum groupinstall "X Window System" "GNOME desktop environment" "KDE (K desktop environment )"
2. Install VNC
Yum-y install VNC-server Firefox x11-xorg
Yum-y install fonts-Chinese
3. Configure and run the following code:
Vncserver
After running, you will be prompted to set the password. You need to enter the password twice. After setting your password, the program will create a. VNC directory. Generally
Yes/root/. VNC
Kill the VNC process and delete the temporary sockets.
Pkill-9 VNC
Rm-RF/tmp/. X1 *
Edit/root/. VNC/xstartup. In VI, press a to edit. ESC to exit the edit mode. After WQ is saved, exit!
VI/root/. VNC/xstartup
Will not use Vi? See Common VI commands.
In the last line, set TWM
Change KDE to startkde.
Change gnome to gnome-session.
4. Restart vncserver
Vncserver
To install images, install the following two packages:
[Root @ dbatest1 TMP] # rpm-IVH xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp.i386.rpm
Warning: xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp.i386.rpm: Header V3 DSA Signature: nokey, key ID 9b3c94f4
Preparing... ######################################## ### [100%]
1: xorg-x11-deprecated-lib ####################################### #### [100%]
[Root @ dbatest1 TMP] # rpm-IVH libXp-1.0.0-8.1.el5.i386.rpm
Warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: libxp ####################################### #### [100%]
3. When 84% is installed on link database, the following error occurs:
Error in invoking target 'all _ no_orcl ihsodbc 'of makefile'/u01/Oracle/product/10.2.0.3/rdbms/lib/ins_rdbms.mk '.
See '/u01/Oracle/orainventory/logs/installActions2008-08-14_12-07-44PM.log' for details.
Solution: install the following package
[Root @ dbatest1 TMP] # rpm-IVH compat-libstdc ++-33-3.2.3-61.i386.rpm
Warning: compat-libstdc ++-33-3.2.3-61.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: compat-libstdc ++-33 ################################# ######### [1, 100%]
4. If the system is centos, use Yum to install the related package.
For example, yum-y install GCC *
&&&&&&&&&&&&&&&&&&&
5. Set the local display Gui:
Ensure that the local IP address and 127.0.0.1 of the hosts file under the root user are correct.
Set. bash_profile in the Oracle user's environment variable File
Display = 192.168.1.20.: 0.0; export display