CentOS6.5にAipo7をインストールする。

1.以下のリンクから、Linux版をダウンロードする。

http://free.aipo.com/

2.以下のリンクの説明を参考にLinux版をインストールする。

http://free.aipo.com/install.html

3.サーバー起動時に自動起動させる。

●端末を起動し、su でルートになる。

●/etc/rc.d/init.d/にaipoファイルを作成する。

#cd /etc/rc.d/init.d/
#vi aipo

[aipoの内容 ここから]

#!/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
;;
esac

[aipoの内容 ここまで]

# chmod +x aipo
# chkconfig aipo on
# chkconfig –list aipo
aipo            0:off 1:off 2:on 3:on 4:on 5:on 6:off

●CRONに実行を追加する。

# crontab -e

以下の内容を記入して保存する。

@reboot /usr/local/aipo/bin/startup.sh

●このままでは動かないので、次のファイルを編集する。

# vi /etc/sudoers

Defaults requiretty の行をコメントにして保存する。