ConoHaにBounceHammerを
インストール
# yum install -y perl-core gcc # cd /usr/local/bin # wget -O- 'http://cpanmin.us/' > ./cpanm # chmod +x ./cpanm # cd /usr/local/src # wget http://dist.bouncehammer.jp/bouncehammer-2.7.12.tar.gz # tar xfz bouncehammer-2.7.12.tar.gz # export PERL5LIB=/usr/local/bouncehammer/lib/perl5 # mkdir -p /usr/local/bouncehammer # cd bouncehammer-2.7.12 # perl ./Modules.PL missing | cut -d' ' -f4 | cpanm -l /usr/local/bouncehammer # perl ./Modules.PL missing # perl ./Modules.PL check # cpanm -l /usr/local/bouncehammer/ Compress::Zlib # perl ./Modules.PL check # ./configure --with-perl-extlib=/usr/local/bouncehammer/lib/perl5 # make # make test # make install # cp /usr/local/bouncehammer/etc/bouncehammer.cf-example /usr/local/bouncehammer/etc/bouncehammer.cf # cp /usr/local/bouncehammer/etc/webui.cf-example /usr/local/bouncehammer/etc/webui.cf # vi /usr/local/bouncehammer/etc/bouncehammer.cf dbtype: 'MySQL' dbname: 'bouncehammer' # Database name, username and password of the db-user username: 'bouncehammer' password: '794-uguisu-heiankyo' hostname: '127.0.0.1' port: 3306 # yum -y install mysql-server # mysql -u root -p passwordに対しリターン(パスワードなしで)入れてみる USE mysql; update mysql.user set password=password('xx') where user = 'root'; FLUSH PRIVILEGES; quit mysql -u root -p パスワード設定を確認 mysql> CREATE DATABASE bouncehammer; mysql> GRANT ALL PRIVILEGES ON bouncehammer.* TO bouncehammer@127.0.0.1 IDENTIFIED BY '794-uguisu-heiankyo'; mysql> FLUSH PRIVILEGES; # mysql -uroot -pxx bouncehammer < /usr/local/bouncehammer/share/script/MySQL.sql # mysql -uroot -pxx bouncehammer < /usr/local/bouncehammer/share/script/mastertable-hostgroups.sql # mysql -uroot -pxx bouncehammer < /usr/local/bouncehammer/share/script/mastertable-many-providers.sql # mysql -uroot -pxx bouncehammer < /usr/local/bouncehammer/share/script/mastertable-providers.sql # mysql -uroot -pxx bouncehammer < /usr/local/bouncehammer/share/script/mastertable-reasons.sql # mkdir /var/www/cgi-bin/admin/ # mkdir /var/www/cgi-bin/admin/mail/ #cp /usr/local/bouncehammer/share/script/bouncehammer.cgi /var/www/cgi-bin/admin/mail/bouncehammer.cgi #chmod a+x /var/www/cgi-bin/admin/mail/bouncehammer.cgi http://(ip)/cgi-bin/admin/mail/bouncehammer.cgi