CW图像优化器opt-jpg丢失

我在AWS上使用Wordpress(CentOS)。 我尝试安装CW Image Optimizer。

我看到“CW Image Optimizer需要使用littleutils,而您错过了:opt-jpg”。 插件设置页面上的错误。

当我尝试了$ which opt-jpg时,它会抛出一个错误,

/ usr / bin /其中:no opt-jpg(/ sbin:/ bin:/ usr / sbin:/ usr / bin:/ opt / aws / bin)

我也尝试运行$ ln -s / usr / local / bin / opt-jpg / usr / bin / opt-jpg

我得到下面的错误,

ln:无法创build符号链接“/ usr / bin / opt-jpg”:File Exists

我已经试过yum安装libjpeg *,但仍然有相同的问题。

请帮我一下 提前谢谢了!

错误消息告诉你littleutils丢失,所以行动的过程似乎很明显。 CW 安装指南告诉你如何在Centos 32位上做到这一点。 你有没有遵循安装说明?

进一步的searchfind了64位Centos的结果,可能比这更好的工作

Log in as the root user. Enable the rpmforge repository: cd /usr/local/src/ && wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm && rpm -i rpmforge-release-0.5.2-2.el6.rf.i686.rpm Install dependencies: yum install gcc libpng libpng-devel gifsicle pngcrush p7zip lzip Download the latest version of littleutils: cd /usr/local/src; wget http://downloads.sourceforge.net/project/littleutils/littleutils/1.0.27/littleutils-1.0.27.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flittleutils%2F Uncompress littleutils: tar jxvf littleutils-1.0.27.tar.bz2 && cd littleutils-1.0.27 Configure and install littleutils: ./configure--prefix=/usr && make && make install && make install-extra