さくらVPSの"CentOS"に"Redis"をインストールしました。
その後、インストール確認のため"redis-server -v"を打ち込みましたが、"-bash: redis-server: command not found" が返ってきました。
インストールする際しエラーはありんませんでした。
下記は、インストールした時の"Complete!"画面です。
[root@severname ~]# yum install php55w-pecl-redis.x86_64
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
- base: ftp.tsukuba.wide.ad.jp
- epel: ftp.kddilabs.jp
- extras: ftp.tsukuba.wide.ad.jp
- updates: ftp.tsukuba.wide.ad.jp
- webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php55w-pecl-redis.x86_64 0:2.2.7-1.w6 will be installed
--> Processing Dependency: php-pecl-igbinary(x86-64) for package: php55w-pecl-redis-2.2.7-1.w6.x86_64
--> Running transaction check
---> Package php55w-pecl-igbinary.x86_64 0:1.2.1-2.w6 will be installed
--> Processing Dependency: /usr/bin/pecl for package: php55w-pecl-igbinary-1.2.1-2.w6.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php55w-pecl-igbinary-1.2.1-2.w6.x86_64
--> Running transaction check
---> Package php55w-pear.noarch 1:1.9.4-7.w6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================================================================================================
Package Arch Version Repository Size
Installing:
php55w-pecl-redis x86_64 2.2.7-1.w6 webtatic 170 k
Installing for dependencies:
php55w-pear noarch 1:1.9.4-7.w6 webtatic 389 k
php55w-pecl-igbinary x86_64 1.2.1-2.w6 webtatic 32 k
Transaction Summary
Install 3 Package(s)
Total download size: 591 k
Installed size: 3.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): php55w-pear-1.9.4-7.w6.noarch.rpm | 389 kB 00:01
(2/3): php55w-pecl-igbinary-1.2.1-2.w6.x86_64.rpm | 32 kB 00:00
(3/3): php55w-pecl-redis-2.2.7-1.w6.x86_64.rpm | 170 kB 00:00
Total 160 kB/s | 591 kB 00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:php55w-pear-1.9.4-7.w6.noarch 1/3
Installing : php55w-pecl-igbinary-1.2.1-2.w6.x86_64 2/3
Installing : php55w-pecl-redis-2.2.7-1.w6.x86_64 3/3
Verifying : php55w-pecl-redis-2.2.7-1.w6.x86_64 1/3
Verifying : php55w-pecl-igbinary-1.2.1-2.w6.x86_64 2/3
Verifying : 1:php55w-pear-1.9.4-7.w6.noarch 3/3
Installed:
php55w-pecl-redis.x86_64 0:2.2.7-1.w6
Dependency Installed:
php55w-pear.noarch 1:1.9.4-7.w6 php55w-pecl-igbinary.x86_64 0:1.2.1-2.w6
Complete!
しかし、インストールそのものが出来ているのかを確認しますとインストールはされていました。
下記は、インストールされたパッケージを検索して出力した画面です。
[root@servername ~]# yum list installed | grep redis
php55w-pecl-redis.x86_64
パッケージがインストールされた場所を"rpm -ql php55w-pecl-redis.x86_64"を打ち込んで確認しました。
下記はパッケージをインストールした際し、展開されたファイルです。
[root@servername ~]# rpm -ql php55w-pecl-redis.x86_64
/etc/php-zts.d/redis.ini
/etc/php.d/redis.ini
/usr/lib64/php-zts/modules/redis.so
/usr/lib64/php/modules/redis.so
/usr/share/pear/.pkgxml/php55w-pecl-redis.xml
/usr/share/pear/doc/redis
/usr/share/pear/doc/redis/COPYING
/usr/share/pear/doc/redis/CREDITS
/usr/share/pear/doc/redis/README.markdown
/usr/share/pear/doc/redis/arrays.markdown
Redisを動かすにあたり何か足りないものはございますでしょうか。
なぜ、"Redis"のバージョンを確認できないのでしょか?
また、Redisを起動することが出来ないのでしょうか。
ご教授の程、よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。