Installation For Linux - Lenovo ThinkServer User Manual

Smart grid technology user guide
Hide thumbs Also See for ThinkServer:
Table of Contents

Advertisement

2.2.2 INSTALLATION FOR LINUX

1. After putting Smart Grid installation CD into the CD-ROM, enter the installation directory (e.g. cd/mnt/cdrom), and execute the following installation
commands:
chmod +x install.sh
./install.sh
The program will be installed to /opt/smartgrid by default, and if you want to specify an installation directory (for example: /opt/sgt), execute the
following command:
./install.sh /opt/sgt
2. Install ipmiutil and select a suitable RPM installation package based on the Linux version, and then execute the following command:
rpm -i ipmiutil-2.7.8-1_rhel6.x86_64.rpm
On servers with Red Hat Linux 6.1 or later, the packages required for running Smart Grid are not installed in the operating system by default. These
packages include:
1)ld-linux.so.2
2)libxml2.so.2
3)libpq.so.5
4)libtermcap.so.2
5)libreadline.so.5
The procedure to install the above packages is as follows:
The yum source must be configured before you perform installation with yum, while you can use DVD disk or ISO file as the local yum source when
networking is unavailable. The details are as follows:
(1) Create a directory for storing ISO file (/repo/iso) and a directory for mounting ISO file (/repo/rhel6)
# mkdir /repo/iso
# mkdir /repo/rhel6
If you have a ready ISO file, you can upload it to /repo/iso.
(2) If installing with a DVD disk (automatically mapped under /dev/cdrom after inserting the disk into the server), then create an ISO file
# cp /dev/cdrom /repo/iso/rhel-server-6.0-x86_64-dvd.iso
or
# dd if=/dev/cdrom of=/repo/iso/rhel-server-6.0-x86_64-dvd.iso
(3) Mount a ISO file
# mount -t iso9660 -o loop /repo/iso/rhel-server-6.0-x86_64-dvd.iso /repo/rhel6
# df -h
File System
Capacity
/dev/sda5
97G
tmpfs
1.9G
/dev/loop0
3.2G
(4) Ensure related yum packages are installed in the system
# rpm -qa |grep yum
yum-3.2.27-14.el6.noarch
yum-utils-1.1.26-11.el6.noarch
yum-rhn-plugin-0.9.1-5.el6.noarch
PackageKit-yum-0.5.8-13.el6.x86_64
yum-metadata-parser-1.1.2-14.1.el6.x86_64
PackageKit-yum-plugin-0.5.8-13.el6.x86_64
They may have different versions, and if anything is missing, please install it by yourself (most of these packages are installed by default).
Used
Free
Used %%
5.8G
86G
7%
272K
1.9G
1%
3.2G
0
100%
Mounting point
/
/dev/shm
/repo/rhel6
13

Advertisement

Table of Contents
loading

Table of Contents