本文介绍了在 CentOS 上安装 Cutycapt 时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正尝试在我的 CentOS VPS 上安装 CutyCapt.我需要它来显示目录中网站的屏幕截图.

I'm currently trying to install CutyCapt on my CentOS VPS. I need this for displaying screenshots of websites in a catalogue.

很遗憾,只有 Debian/Ubuntu 安装指南可用.必须说,我不是 Linux 或命令行方面的专家,但我还是决定试一试……

Regrettably there's only a Debian/Ubuntu installation guide available. It must be said, I'm no expert at Linux or command lines, but I still decided to give the installation a go...

到目前为止,我已经成功完成了以下操作:

So far I've done the following with success:

yum install Xvfb
yum install xorg-x11-fonts*
yum install subversion libqt4-webkit libqt4-dev

但是,当尝试从 SourceForge 存储库中获取 CutyCapt 时:

However, when trying to get CutyCapt from the SourceForge repository:

yum install https://cutycapt.svn.sourceforge.net/svnroot/cutycapt

我收到以下消息:

No package https://cutycapt.svn.sourceforge.net/svnroot/cutycapt available.

丢失"包是因为我使用了错误的命令、以错误的方式安装或配置 Subversion 造成的吗?

Is the 'missing' package a result of me using a wrong command, installing or configuring Subversion in a bad way?

如果有人有在 CentOS 服务器上安装和设置 CutyCapt 的经验,我将不胜感激迷你指南.好像有好几个人要求了,但是在 Google 上什么都找不到.

If anyone has any experience in installing and setting up CutyCapt on a CentOS server, I would be grateful for a mini-guide. It seems that several people have requested it, but nothing is to be found on Google.

推荐答案

这适用于 CentOS 5.5 64bit:

This works for CentOS 5.5 64bit:

  1. 将此添加到/etc/yum.repos.d/CentOS-Base.repo

  1. Add this to /etc/yum.repos.d/CentOS-Base.repo

#ATrpms
[atrpms]
name= CentOS-$releasever - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing
gpgcheck=1
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
enabled=1

  • rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms

    yum install subversion qt47-devel qt47-webkit gcc-c++

    yum install subversion qt47-devel qt47-webkit gcc-c++

    svn co https://cutycapt.svn.sourceforge.net/svnroot/cutycapt

    cd cutycapt/CutyCapt

    cd cutycapt/CutyCapt

    qmake

    制作

    这篇关于在 CentOS 上安装 Cutycapt 时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

  • 06-12 07:20