Vous êtes sur la page 1sur 3

Install SHR

Be sure the /opt and /var/opt directory are empty, then delete them
Make /data/opt and /data/var_opt directory
Make a soft link to /data/opt and /data/var_opt because the installation process will
use these directories
ln -s /data/var_opt /var/opt
ln -s /data/var_opt /var/opt
#create an empty file
touch /data/extraswap
#set the size of the file is 32GB because its the system requirement
dd if=/dev/zero

of=/data/extraswap bs=1M count=32768

#set the file swap file


mkswap /data/extraswap
swapon /extraswap
edit the file /etc/fstab, add the following row, or the swap file will be invalid the next
time system restarted
/data/extraswap swap swap defaults

set the environment: /etc/sysctl.conf


add

kernel.sem = 250 1024000 250 4096


vm.max_map_count = 1000000

them vao /etc/security/limits.conf cac dong


* soft nofile 65535
* hard nofile 65535
file /etc/security/limits.d/90-nproc.conf:
comment dong #*soft nproc 1024
reload sysctl without restarting:

sysctl -p /etc/sysctl.conf
kill process:
ps -e|grep tn_process
skill -p process_id
Sua loi cai dat cho yum
Added to /etc/yum.conf (may want to change from 6.2 to 6.4 in future):
# base
[RedHat-6.2Server-x86_64-Server]
name=RedHat Linux 6.2 Server - os - x86_64 - Server
baseurl=http://linuxcoe.gbr.hp.com/LinuxCOE/RedHat-yum/6.2Server/en/os/x86_64/Server
gpgcheck=0
# supplementary
[RedHat-6.2Server-x86_64-Supplementary]
name=RedHat Linux 6.2 Server - supplementary - x86_64 - Supplementary
baseurl=http://linuxcoe.gbr.hp.com/LinuxCOE/RedHat-yum/6.2Server/en/supplementary/x86_64/Supplementary
gpgcheck=0
# updates x86_64
[RedHat-6.2Server-x86_64-errata]
name=RedHat Linux 6.2 Server - x86_64 - errata
baseurl=http://linuxcoe.gbr.hp.com/LinuxCOE/RedHat-updates-yum/6.2Server/en/os/x86_64
exclude=kernel-smp* kernel-devel* kernel-bigmem* kernel-source* kernel-sourcecode* kernel-2* kernel-defaul* kernel-header*
kernel-bigsmp kernel kernel-PAE* kernel-[0-9]*
gpgcheck=0
yum list installed
yum check-update
yum update
yum install <name>.<arch>
xem dung luong folder:
vao folder, du -ch |grep total

429 yum install libX11.so.6


430 yum install libXext.so.6
431 yum install libXi.so.6
432 yum install libXrender.so.1
433 yum install libXtst.so.6
434 yum install libasound.so.2
compat-libstdc++-33.i686 0:3.2.3-69.el6
file log trong /tmp/HP-SHR.....txt
libncurses.so.5
pass default: dba/sql
PMDB pass: admin123
Loi post install: vao /data/opt/HP/BSM/PMDB/config/postinstall/postinstall.txt, doi
step 6 thanh step 0

stop collection thi stop trendtimer truuocxem task manager: topxem file theo thoi
gian thuc: tail -f

Vous aimerez peut-être aussi