Professional Documents
Culture Documents
2014-01-09
1......................................................................................................................................... 2
2.window .................................................................................................................. 3
2.1 ......................................................................................................................... 3
2.2 Redhat 5 ..................................................................................................................... 4
2.3 Redhat 5 SSH ................................................................................................ 7
2.4 ............................................................................................................. 8
2.5 Xmanager ................................................................................................................. 10
2.6 FTP ............................................................................................................... 11
3.Oracle .................................................................................................................. 12
4.Oracle .......................................................................................................................... 13
5.Oracle .................................................................................................................................. 16
1.
VMware Workstation v10.0 Redhat 5
FTP Xmanager
VMware
Workstation 10 Readme
.txt
rhel-server-5.4-i386-dvd.iso
database.zip
redhat 5 redhat 5
Dependencies.zip
redhat 5 redhat 5
zip/tar.gz
compat-db-4.2.52-5.1.i386.rpm/compat-gcc-34-3.4.6-4.i386.rpm/compat-gcc-34-c++
-3.4.6-4.i386.rpm/compat-libstdc++-296-2.96-138.i386.rpm/compat-libstdc++-33-3.2
.3-61.i386.rpm/libaio-0.3.106-3.2.i386.rpm/libX11-1.0.3-11.el5.i386.rpm/libX11-deve
l-1.0.3-11.el5.i386.rpm/libXau-1.0.1-3.1.i386.rpm/libXau-devel-1.0.1-3.1.i386.rpm/li
bXp-1.0.0-8.1.el5.i386.rpm/libXp-devel-1.0.0-8.1.el5.i386.rpm/libXpm-3.5.5-3.i386.rp
m/libXpm-devel-3.5.5-3.i386.rpm/openmotif-2.3.1-2.el5.i386.rpm
Serv-U .rar
window FTP
@.exe
NetSarang.Xmanager.Enterprise.v4.0.0182 .rar
Xmanager
Xmanager oracle
Xmanager
Xshell
SecureCRT
2
SecureCRT.rar
2.window
2.1
VMware Workstation v10.0 _ttrar.7z
I:\VM10
VMware 0
e
2.2 Redhat 5
vmware.exe
rhel-server-5.4-i386-dvd.iso
Redhat 5 / root
Redhat 5 20G
1024M1G
20G
Redhat 5
VMware Tools
2.4
SecureCRT.rar
SecureCRT.exe 192.168.128.129
2.5 Xmanager
NetSarang.Xmanager.Enterprise.v4.0.0182 .rar window
Xmanager Oracle
Xmanager Enterprise 4
Xmanager - Passive
window ipconfig IP
10
IP :192.168.1.101 ( IP IP )
SecureCRT root root
IP IP/etc/profile
IP
IP export DISPLAY=192.168.1.101:0.0
xdpyinfo | grep name IP
xhost +
xclock
2.6 FTP
window 7Redhat 5FTP
FTP
FTP
Serv-U .rar window FTP Serv-U
@.exe-->
Serv-U
11
IP
ID
1.
window Serv-U
3.Oracle
root Redhat 5
mkdir /home/root
//
cd /home/root
ftp 192.168.1.101
// FTP
zhangmz
//FTP
12
//FTP
ls
// FTP
bin
//
get database.zip
//
get Dependencies.zip
//
bye
// FTP
ls
//
unzip database.zip
//
unzip Dependencies.zip
//
ls
//
cd Dependencies
//
ls
//
4.Oracle
root Redhat 5:
groupadd oinstall
13
groupadd dba
useradd -m -g oinstall -G dba oracle
// oracle
passwd oracle
mkdir -p /oracle/product/10g/db_1
mkdir -p /oracle/product/10g/oradata
mkdir -p /oracle/install
chown -R oracle:oinstall /oracle
chown -R oracle:oinstall /home/root/database
chmod -R 775 /oracle
chmod -R 775 /home/oracle
vi /etc/sysctl.conf
//
# kernel.shmall = 2097152
# kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
/sbin/sysctl -p
vi /etc/security/limits.conf
//
soft
oracle
hard
oracle
soft
nofile
1024
oracle
hard
nofile
65536
vi /etc/pam.d/login
nproc
nproc
2047
16384
//
session
required
/lib/security/pam_limits.so
// SELINUX
vi /etc/selinux/config
SELINUX=disabled
vi /etc/profile
//
vi /etc/csh.login
//
vi /etc/redhat-release
// Redhat 5.4 4
su - oracle
// oracle
vi .bash_profile
//
root reboot
5.Oracle
oracle Redhat 5:
export LANG=en_US
//
export DISPLAY=192.168.1.101:0.0
xclock
//
cd /home/root
chmod -R 744 database
./database/runInstaller
oracle 10g window
16
NextNext
Yes
Install
17
scott
root Redhat
//
oracle OK
Exit oracle
18
root Redhat 5:
vi /etc/redhat-release
// Redhat 5.4
vi /etc/oratab
// N->Y
orcl:/oracle/product/10g/db_1:Y
su - oracle
// Oracle
lsnrctl start
//
sqlplus /nolog
connect /as sysdba
startup
// oracle
connect scott
//
//
//
SYSDATE
--------10-JAN-14
19