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

问题描述

我目前正在尝试在我的CentOS VPS上安装CutyCapt。我需要这个来显示目录中的网站截图。



遗憾的是,只有一个Debian / Ubuntu安装指南。必须说,我不是Linux或命令行的专家,但我仍然决定给安装一个去...



到目前为止,我做了以下成功:

  yum install Xvfb 
yum install xorg-x11-fonts *
yum install但是,当试图从SourceForge存储库获取CutyCapt时:

p>

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



我收到以下消息:

  https://cutycapt.svn.sourceforge.net/svnroot/cutycapt可用。 

是'missing'包是我使用错误的命令,安装或配置Subversion的结果坏的方式?



如果任何人有在CentOS服务器上安装和设置CutyCapt的任何经验,我将感谢一个迷你指南。

解决方案

这适用于CentOS 5.5 64位:


  1. 将它添加到/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


  2. rpm --import


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


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


  5. cd cutycapt / CutyCapt


  6. qmake


  7. make



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

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

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

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

I get the following message:

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

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

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.

解决方案

This works for CentOS 5.5 64bit:

  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
    

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

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

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

  5. cd cutycapt/CutyCapt

  6. qmake

  7. make

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

06-12 07:20