社内SNS aipo導入
aipoはオープンソースの社内SNSなので、サポート不要で自前で管理する場合は無料で利用可能。
からダウンロードして http://free.aipo.com/install.html の通りにインストールすれば導入可能。
あと、念のためgcc++もインストールしておく。
# yum -y install gcc-c++
http://dbweb.0258.net/wiki.cgi?page=Aipo%A4%CECentOS%A4%D8%A4%CE%A5%A4%A5%F3%A5%B9%A5%C8%A1%BC%A5%EB
service restart aipoが出来た方が便利なので少しだけ修正して、
# cd /etc/rc.d/init.d/ # vi aipo
としてシェルスクリプトを新規作成。viが起動するので「i」と入力して
#!/bin/sh # chkconfig: 2345 99 1 # description: Aipo # processname: Aipo start(){ /usr/local/aipo/bin/startup.sh return 0 } stop(){ /usr/local/aipo/bin/shutdown.sh return 0 } case $1 in start) start ;; stop) stop ;; restart) stop start ;; esac
[ESC]:wqで保存してパーミッションとchkconfigを設定する。
# chmod +x aipo # chkconfig aipo on # chkconfig --list aipo aipo 0:off 1:off 2:on 3:on 4:on 5:on 6:off
これで使用可能になる...はずなんだけど、なんかOS起動時には自動起動に失敗してるっぽい。serviceコマンドで起動出来るようになったからまぁいいか。