...
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# cd /root tar cfv shibidp-v2-backup.tar /opt/shibboleth-idp |
・Tomcat7のインストール
ShibbolethIdP Ver3はTomcat6上で使用できないので、Tomcat7をインストールします。
現在CentOS6環境のため標準パッケージにはないので、Apache Software Foundationが配布するTomcatパッケージを使用します。
パッケージは、以下のように/root/PKG配下に配置しています。
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# cd /root/PKG mkdir /usr/java tar zxv -C /usr/java -f apache-tomcat-7.?.??.tar.gz
ln -s /usr/java/apache-tomcat-7.?.?? /usr/java/tomcat |
・起動スクリプトの配置
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# unzip tomcat7.zip chmod a+x tomcat7
cp tomcat7 /etc/rc.d/init.d/ |
・自動起動の設定
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# chkconfig --add tomcat7
chkconfig --level 345 tomcat7 on
service tomcat7 start |
・profileの修正
/etc/profileを下記のように修正します。
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# /etc/profile System wide environment and startup programs, for login setup |
追加した環境変数を読み込みます。
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# source /etc/profile |
...
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
## Connection properties ## |
...