Linux 6.2 安裝infobright

urgel_babay發表於2016-02-29

2014.11.21
由於新專案需求,現在開始使用infobright這款資料倉儲產品,我也是小白一個,這是伺服器給的文件,現在只貼出Linux環境下的安裝。
文件裡面要求redhat使用5.4或者6.2。所以我目前使用的是在6.2上面安裝。

Linux Installation

Linux RPM and DPKG Installation Instructions

To install Infobright on Linux using the rpm or deb package:

   1.  Install IBmigrator using either the rpm or deb package. As user root, run either:

        rpm -i infobright-migrator-1.0-x86_64-iee.rpm
        dpkg –i infobright-migrator-1.0-x86_64-iee.deb

   2.  Download the installation package from support.infobright.com/Support/Downloads/  (Note: You must be logged into the Customer Portal.)
   3.  Obtain root user access and run:

        rpm -i infobright_version_name.rpm [--prefix=path]
        or
        dpkg -i infobright_version_name.deb

Important
Do not install in the root or home directories due to possible MySQL permission checking
issues during install, start up, and/or load. If you use the rpm --prefix option, you
should manually create a softlink to the Infobright install directory from /usr/local/infobright.

   4.  To change the default install options, after installation run:

        /usr/local/infobright/postconfig.sh

You can run this script at any time after installation to change the datadir, CacheFolder,
socket, or port. The script must be run as root, and Infobright must not be running.

     INFOBRIGHT INSTALL OPTIONS

     Parameter     Description
     Datadir       Path to the directory where tables will be created and stored. Use a high-performance storage such as a RAID.
     Cachedir     Path to the directory where temporary files will be created and stored. Should be located on a fast drive, possibly not the same as the data.
                     Allow at least 100 GB of free space (depending on database size).

                          Note: The Cachedir option is disabled when the Datadir option is chosen. To change
                                   Cachedir, rerun the postconfig utility and do not choose Datadir.

     Port          Listening port for the Infobright server instance.
     Socket        Socket connection point for client connections. (The socket connection point will be created during the Infobright installation.)

   5.  The installation determines the optimum memory settings based on the physical memory of the system. You may change these settings by editing the file
       brighthouse.ini within the data directory.
Important
The memory settings assume that there are no other services on the machine consuming
significant memory. If this is not the case, please lower the memory settings for Infobright.


Uninstalling on Linux

  ?    To uninstall Infobright, run:
        rpm -e infobright
or
       dpkg -r infobright

Linux TAR Install

To install Infobright on Linux using the tarball package:

   1. Obtain root user access.
   2. To install IBmigrator, as user root, run either:
       rpm -i infobright-migrator-1.0-x86_64-iee.rpm
       dpkg –i infobright-migrator-1.0-x86_64-iee.deb

   3. Change to the parent location in which you want to install (e.g. /usr/local) :
       cd /usr/local

Important
Do not install in the root or home directories due to possible MySQL permission checking issues during install, start up, and/or load.

   4. Unpack the tarball, which will create the product directory (e.g. infobright-version- x86_64_iee and create a symbolic link ‘infobright’ to the product folder:

       gunzip < /path/to/infobright-version-x86_64_iee.tar.gz | tar
       xvf -
       ln -s /usr/local/infobright-version-x86_64_iee infobright

       cd /usr/local/infobright

   5. Run the install script with the “--help” flag to check for system configuration and provide examples of directory parameters:

        ./install-infobright.sh –help

       Parameters required:

       --datadir=infobright data folder
              [--datadir=/usr/local/infobright/data]

       --cachedir=infobright cache folder
              [--cachedir=/usr/local/infobright/cache]

       --config=mysql conf file to be created
              [--config=/etc/my-ib.cnf]

       --port=infobright server port    
              [--port=5029]
       --socket=socket file to be used by this server
              [--socket=/tmp/mysql-ib.sock]

       --user=user to be created if not exist         
              [--user=mysql]
       --group=user group to be created if not exist            
              [--group=mysql]

INFOBRIGHT COMMAND-LINE PARAMETERS
     Parameter     Description
     Datadir       Path to the directory where tables will be created and stored. Use a high-performance storage such as a RAID.

     Cachedir     Path to the directory where temporary files will be created and stored. Should be 
                      located on a fast drive, possibly not the same as the data. Allow at least 100 GB of free space (depending on database size).

                       Note :
                       The Cachedir option is disabled when the Datadir option is chosen. To change
                       Cachedir, rerun the postconfig utility and do not choose Datadir.

     Port          Listening port for the Infobright server instance.

     Config        MySQL configuration file. (The configuration file will be created with defaults during the Infobright installation.)

     Socket       Socket connection point for client connections. (The socket connection point will be created during the Infobright installation.)

     User          System user who can run the Infobright server instance. User will be created if it does not exist. The default user is mysql.

     Group        System group for the above user. Group will be created if it does not exist. The default group is mysql.

Run the install script again, this time with directory parameters. If parameters are used that already exist, an error will occur (for example running the same script with parameters twice).

Example command:

         ./install-infobright.sh --datadir=/usr/local/infobright/data --
        cachedir=/usr/local/infobright/cache --port=5029 --
        config=/etc/my-ib.cnf --socket=/tmp/mysql-ib.sock --user=mysql
        --group=mysql

   6.  Change the default memory configuration by editing the file brighthouse.ini within the data directory.

Important
It is critical that you increase the memory settings for systems running more than 2GB of
physical memory or performance will be severely impacted.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016600/,如需轉載,請註明出處,否則將追究法律責任。

相關文章