Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Przewodnik Instalacji Strona 11

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 10
11
sudo service postgresql initdb
To ensure the postgresql service starts on boot and to start the service now:
sudo chkconfig postgresql on
sudo service postgresql start
Check the version of PostgreSQL using:
psql --version
Check the data directory is set using the psql command-line utility:
sudo -u postgres psql -c 'show data_directory'
4.4.3 Install Other Packages
Install the other required packages:
sudo yum -y install redhat-lsb-core
sudo yum -y install ImageMagick
sudo yum y install openmotif
4.5 Prepare Linux VM for Hypervisor
Some changes are required when running the Linux VDA as a virtual machine on a supported
hypervisor. Make the following changes according to the hypervisor platform in use. No changes are
required if running the Linux machine on bare metal hardware.
4.5.1 Citrix XenServer
4.5.1.1 Fix Time Synchronization
If the XenServer Time Sync feature is enabled, within each paravirtualized Linux VM you will
experience issues with NTP and XenServer both trying to manage the system clock. To avoid the
clock becoming out of sync with other servers, the system clock within each Linux guest must be
synchronized with NTP only. This requires disabling host time synchronization. No changes are
required in HVM mode.
If running a paravirtualized Linux kernel with XenTools installed, you can check whether the
XenServer Time Sync feature is enabled from within the Linux VM:
su -
cat /proc/sys/xen/independent_wallclock
This will return either:
0 - The time sync feature is enabled, and needs to be disabled.
1 - The time sync feature is disabled, and no further action is required.
If enabled, disable the time sync feature by writing 1 to the file:
sudo echo 1 > /proc/sys/xen/independent_wallclock
To make this change permanent and persist after reboot, edit the /etc/sysctl.conf file and add the
line:
xen.independent_wallclock = 1
Przeglądanie stron 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 26 27

Komentarze do niniejszej Instrukcji

Brak uwag