# Interactive service installer for redis server
# this generates a redis config file and an /etc/init.d script, and installs them
# this scripts should be run as root
#
PATH=$PATH:/usr/local/bin
139行目を修正(-eを追加)
-echo $REDIS_INIT_HEADER > $TMP_FILE && cat $INIT_TPL_FILE >> $TMP_FILE || die "Could not write init script to $TMP_FILE"
+echo -e $REDIS_INIT_HEADER > $TMP_FILE && cat $INIT_TPL_FILE >> $TMP_FILE || die "Could not write init script to $TMP_FILE"
これで、install_server.shの修正は終了です。
実行します。
cd utils
sudo ./install_server.sh
Welcome to the redis service installer
This script will help you easily set up a running redis server
Please select the redis port for this instance: [6379]
Selecting default: 6379
Please select the redis config file name [/etc/redis/6379.conf]
Selected default - /etc/redis/6379.conf
Please select the redis log file name [/var/log/redis_6379.log]
Selected default - /var/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379]
Selected default - /var/lib/redis/6379
Please select the redis executable path [/usr/local/bin/redis-server]
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
./install_server.sh: line 147: update-rc.d: command not found
Starting Redis server...
Installation successful!
yum search php53
php53.x86_64 : PHP scripting language for creating dynamic web sites
php53-bcmath.x86_64 : A module for PHP applications for using the bcmath library
php53-cli.x86_64 : Command-line interface for PHP
php53-common.x86_64 : Common files for PHP
php53-dba.x86_64 : PHP アプリケーション用のデータベース抽出レイヤーモジュール
php53-devel.x86_64 : Files needed for building PHP extensions
php53-enchant.x86_64 : Human Language and Character Encoding Support
php53-gd.x86_64 : gd グラフィックライブラリを使用するための PHP アプリケーション用モジュール
php53-imap.x86_64 : A module for PHP applications that use IMAP
php53-interbase.x86_64 : Module for PHP applications that use Interbase/Firebird databases
php53-intl.x86_64 : Internationalization extension for PHP applications
php53-ldap.x86_64 : A module for PHP applications that use LDAP
php53-mapi.x86_64 : The PHP MAPI extension by Zarafa
php53-mbstring.x86_64 : マルチバイト文字列処理を必要とする PHP アプリケーション用モジュール
php53-mcrypt.x86_64 : Standard PHP module provides mcrypt library support
php53-mssql.x86_64 : MSSQL database module for PHP
php53-mysql.x86_64 : A module for PHP applications that use MySQL databases
php53-odbc.x86_64 : A module for PHP applications that use ODBC databases
php53-pdo.x86_64 : A database access abstraction module for PHP applications
php53-pgsql.x86_64 : A PostgreSQL database module for PHP
php53-php-gettext.noarch : Gettext emulation in PHP
php53-process.x86_64 : Modules for PHP script using system process interfaces
php53-pspell.x86_64 : A module for PHP applications for using pspell interfaces
php53-recode.x86_64 : Module for PHP applications for using the recode library
php53-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices
php53-soap.x86_64 : A module for PHP applications that use the SOAP protocol
php53-tidy.x86_64 : Standard PHP module provides tidy library support
php53-xml.x86_64 : A module for PHP applications which use XML
php53-xmlrpc.x86_64 : XML-RPC プロトコルを使用する PHP アプリケーション用モジュール