REDHAT6下編譯安裝InfoBright

2021-05-26 11:47:58 字數 1529 閱讀 9256

infobright安裝:

[code="shell"]

cd boost_1_45_0

./bootstrap.sh --prefix=/usr/local/boost_1_45_0

./bjam install

export boost_root=/usr/local/boost_1_45_0

echo "/usr/local/boost_1_45_0/lib" > /etc/ld.so.conf.d/boost-x86_64.conf

ldconfig

[/code]

如果沒有mysql使用者和組,需要加入:

[code="shell"]

shell> groupadd mysql

shell> useradd -g mysql mysql

[/code]

# 編譯安裝 mysql and infobright server and client tools

[code="shell"]

shell> cd infobright-version

shell> make edition=community release

shell> make edition=community install-release

# setting config file and brighthouse.ini file.

shell> cp src/build/pkgmt/my-ib.cnf /etc/

shell> cd /usr/local/infobright

shell> bin/mysql_install_db --defaults-file=/etc/my-ib.cnf --user=mysql

shell> chown -r root  .

shell> chown -r mysql var cache

shell> chgrp -r mysql .

[/code]

安裝啟動指令碼:

[code="shell"]

shell> cp share/mysql/mysql.server /etc/init.d/mysqld-ib

shell> vi /etc/init.d/mysqld-ib

[/code]

找到以下兩行:

[code="shell"]

conf=@bh_conf@

user=@bh_user@

[/code]

修改為:

[code="shell"]

conf=/etc/mysql-ib.cnf

user=mysql

[/code]

啟動:shell> /etc/init.d/mysql-ib start

客戶端連線:

shell> /usr/local/infobright/bin/mysql --default-file=/etc/my-ib.cnf -uroot

加入開機啟動:

shell> chkconfig --add mysqld-ib

RedHat6 配置IP位址

對於乙個機器來說,不能上網就像被禁錮的人,想出去了解世界,想讓世界了解你都是不可能的。據有關人士指出,rhce考試的時候ip如果配置不好,你連題目都拿不到 注定你的錢白花了 ip設定是網路配置的基礎,絕大多數的網路服務均建立在ip基礎上 目前ipv4 耳熟能詳的有dhcp dns ftp等,以及建立...

Redhat6更改yum源 轉)

最近虛擬機器中安裝了redhat6.3企業版,自帶的yum用不起來,軟體都找不到。網上搜了一下說是沒付錢。需要改下yum源。操作步驟如下 1.切換到yum源存放目錄 root rhel6 cd etc yum.repos.d 3.修改檔名,備份自帶redhat源 root rhel6 yum.rep...

redhat6和redhat7服務管理命令對比

學習過紅帽rhel6系統的一定知道使用service chkconfig等命令來管理系統服務,而在紅帽rhel7系統中管理服務的命令是 systemctl 兩者使用方法大致相同,我們來做下對比!systemctl管理服務的啟動 重啟 停止 過載 檢視狀態的命令 sysvinit命令 紅帽rhel6系...