さくらVPSでは初期状態でnkfコマンドがインストールされてません。
そこで、以下のようにインストールする必要があります。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# yum -y install nkf Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * epel: ftp.kddilabs.jp * extras: ftp.iij.ad.jp * updates: ftp.iij.ad.jp Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package nkf.x86_64 1:2.0.8b-6.2.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================= Package Arch Version Repository Size ========================================================================================================= Installing: nkf x86_64 1:2.0.8b-6.2.el6 base 110 k Transaction Summary ========================================================================================================= Install 1 Package(s) Total download size: 110 k Installed size: 241 k Downloading Packages: nkf-2.0.8b-6.2.el6.x86_64.rpm | 110 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 1:nkf-2.0.8b-6.2.el6.x86_64 1/1 Verifying : 1:nkf-2.0.8b-6.2.el6.x86_64 1/1 Installed: nkf.x86_64 1:2.0.8b-6.2.el6 Complete! |
/