Databases Reference
In-Depth Information
2.
Unpack, untar, and unzip the distribution:
tar jxvf hypertable-0.9.5.0.pre5-linux-x86_64.tar.bz2.
3.
Move the contents of the unpacked distribution to a desired directory on your fi lesystem.
The unpacked distribution content is in a directory structure like so:
/opt/hypertable/<version>
Therefore, making the distribution available at /opt/hypertable/<version> is
recommended. It can be achieved using:
cd hypertable-0.9.5.0.pre5-linux-x86_64/opt, and
mv hypertable /opt
4.
Create a symbolic link, named current , to point to the release distribution:
ln -s /opt/hypertable/0.9.5.0.pre5 /opt/hypertable/current
5.
Optionally, make the distribution compliant with the Filesystem Hierarchy Standard (FHS).
Making the Hypertable Distribution FHS-Compliant
FHS is a recommended way to organize the fi les in a Linux/Unix fi lesystem. The standard
recommends that host-specifi c confi guration fi les for add-on software packages be stored in
/etc/opt . The standard also suggests that variable data for such software should be in /var/opt .
To make the Hypertable distribution FHS-compliant, do the following:
1.
Replace <userName>:<groupName> with your user and group (available from the id
command) and run the following commands:
sudo mkdir /etc/opt/hypertable /var/opt/hypertable
sudo chown <userName>:<groupName> /etc/opt/hypertable /var/opt/hypertable
2.
Run the following:
$ bin/fhsize.sh:
Setting up /var/opt/hypertable
Setting up /etc/opt/hypertable
fshize /opt/hypertable/current: success
Making Hypertable FHS-compliant avoids re-creation of the confi g, log, hyperspace, and
localBroker root directory when Hypertable is upgraded.
3.
Verify that Hypertable is FHS-compliant by listing the contents of /opt/hypertable/
current and to verify the symbolic links. The listing should be as follows:
$ cd /opt/hypertable/current
$ ls -l
bin
Search WWH ::




Custom Search