LoginSignup
2
1

More than 3 years have passed since last update.

Hinemos 6.2 を CentOS7 にインストール

Last updated at Posted at 2021-03-30
# ■実行環境
# CentOS 7
# Hinemos 


# ■事前準備
# 1. OSインストール後アップデート
yum update

# 2. Hinemos のパッケージダウンロード
# https://github.com/hinemos/hinemos/releases/tag/v6.2.2
# hinemos-6.2-manager-6.2.2-1.el7.x86_64.rpm
# hinemos-6.2-web-6.2.2-1.el7.x86_64.rpm

# 3. 2 を /tmp に配置
cd /tmp
ll

# 4. SELinuxの無効化
getenforce                                          # 現在の設定確認
cp -p /etc/selinux/config /etc/selinux/config_org   # バックアップ
vi /etc/selinux/config                              # 編集
# ここから
SELINUX=disabled                                    # 無効にする場合
# ここまで
shutdown -r now                                     # 設定を反映させるには再起動が必要
getenforce                                          # 現在の設定確認

# 5. 関連パッケージのインストール
yum -y install java-1.8.0-openjdk
yum -y install unzip
yum -y install vlgothic-p-fonts
yum -y install vim-common

# 6. firewall
firewall-cmd --list-services --zone=public --permanent
firewall-cmd --add-service=http --zone=public --permanent
firewall-cmd --reload


# ■Hinemos マネージャのインストール
# 1. インストール
cd /tmp
rpm -ivh hinemos-6.2-manager-6.2.2-1.el7.x86_64.rpm
# => /opt/hinemos にインストールされます。

cat /opt/hinemos/etc/hinemos.cfg | grep "export LANG"
# => ja_JP.UTF-8 であること

# 2. サービスの起動
service hinemos_manager start
# => Redirecting to /bin/systemctl start hinemos_manager.service のみ表示されればOK

service hinemos_manager status
# => Active であること

service hinemos_manager status
# => Active であること

systemctl list-unit-files | grep hinemos
# => 自動起動の設定は自動で行われる


# ■Hinemos Webクライアントのインストール
# 1. 事前確認
locale | grep LANG
# => LANG=ja_JP.UTF-8 であること

# 2. インストール
cd /tmp
rpm -ivh hinemos-6.2-web-6.2.2-1.el7.x86_64.rpm

cat /opt/hinemos_web/conf/hinemos_web.cfg | grep "export LANG"
# => ja_JP.UTF-8 であること

# 3. サービスの起動
service hinemos_web start
# => Redirecting to /bin/systemctl start hinemos_web.service のみ表示されればOK

# 4. 接続確認
http://xxx.xxx.xx.xx/
ユーザー名:hinemos
初期パスワード:hinemos
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1