分类: Oracle
2006-07-26 22:35:29
apt-get remove --purge exim* nvi apt-get remove --purge ppp pppconfig pppoe pppoeconf apt-get install vim unzip zip |
apt-get install x-window-system-core kde-core |
apt-get install make binutils gcc libstdc++2.10-glibc2.2 libstdc++2.10-dev rpm |
root@guoliang:~# gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux/3 Configured with: ../src/configure -v --enable-languages=c,c++,java Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) root@guoliang:~# cd /usr/bin root@guoliang:/usr/bin# ls -al |grep gcc lrwxrwxrwx 1 root root 7 2006-07-26 13:36 gcc -> gcc-3.3 -rwxr-xr-x 1 root root 69960 2004-03-10 14:47 gcc-2.95 -rwxr-xr-x 1 root root 85196 2005-05-25 08:03 gcc-3.3 lrwxrwxrwx 1 root root 10 2006-07-26 13:36 gccbug -> gccbug-3.3 -rwxr-xr-x 1 root root 16056 2005-05-25 07:25 gccbug-3.3 lrwxrwxrwx 1 root root 7 2006-07-26 13:36 i386-linux-gcc -> gcc-3.3 lrwxrwxrwx 1 root root 7 2006-07-26 13:36 i386-linux-gcc-3.3 -> gcc-3.3 lrwxrwxrwx 1 root root 7 2006-07-26 13:36 i486-linux-gcc-3.3 -> gcc-3.3 root@guoliang:/usr/bin# rm gcc root@guoliang:/usr/bin# ln -s gcc-2.95 gcc root@guoliang:/usr/bin# gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2 gcc version 2.95.4 20011002 (Debian prerelease) |
root@guoliang:/usr/bin# perl -v This is perl, v5.8.4 built for i386-linux-thread-multi Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at , the Perl Home Page. root@guoliang:/usr/bin# ld -v GNU ld version 2.15 |
root@guoliang:/usr/bin# ln -s /usr/bin/awk /bin/awk
root@guoliang:/usr/bin# ln -s /usr/bin/sort /bin/sort root@guoliang:/usr/bin# ln -s /usr/bin/basename /bin/basename root@guoliang:/usr/bin# ln -s /usr/bin/rpm /bin/rpm root@guoliang:/usr/bin# ln -s /etc /etc/rc.d |
wget dpkg -i libaio_0.3.104-1_i386.deb |
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 |
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 = 1048576 net.core.rmem_max = 1048576 net.core.wmem_default = 262144 net.core.wmem_max = 262144 |
root@guoliang:~# groupadd oinstall root@guoliang:~# groupadd dba root@guoliang:~# useradd -d /home/oracle -g oinstall -G dba,oinstall -s /bin/bash oracle root@guoliang:~# mkdir -p /home/oracle root@guoliang:~# chown -R oracle:oinstall /home/oracle root@guoliang:~# mkdir -p /oracle root@guoliang:~# chown -R oracle:oinstall /oracle root@guoliang:~# passwd oracle Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully root@guoliang:~# groupadd nobody root@guoliang:~# usermod -G nogroup,nobody nobody |
export ORACLE_BASE=/oracle export ORACLE_HOME=$ORACLE_BASE/product/10.1.0 export ORACLE_TERM=xterm export ORACLE_SID=o10g export PATH=$PATH:$ORACLE_HOME/bin |
export ORACLE_BASE=/oracle export ORACLE_HOME=$ORACLE_BASE/product/10.2.0 export ORACLE_TERM=xterm export ORACLE_SID=o10gr2 export PATH=$PATH:$ORACLE_HOME/bin |
h1:35:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1 |
h1:23:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1 |
SU="/bin/su -l" |
SU="/bin/su -" |
RCSDIR="/etc/rc.d/rc3.d /etc/rc.d/rc5.d"
RCKDIR="/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc4.d /etc/rc.d/rc6.d" |
RCSDIR="/etc/rc.d/rc3.d /etc/rc.d/rc2.d" RCKDIR="/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc5.d /etc/rc.d/rc4.d /etc/rc.d/rc6.d" |
#deb file:///cdrom/ sarge main deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-1 (20060419)]/ unstable contrib main #deb http://security.debian.org/ stable/updates main contrib deb stable main non-free contrib deb -non-US stable/non-US main contrib non-free deb -security stable/updates main contrib non-free |