zoukankan      html  css  js  c++  java
  • 安装centos和kdesvn及centos使用记录

    安装centos7,选择中文,软件选择kde及相关开发软件;

    一,安装vmtools

    二,xxx用户不在 sudoers 文件中。此事将被报告。的解决方法

    比如:

    修改 /etc/sudoers

    注意:gxq与ALL之间的空白,及后面的空白是tab键而不是空格

    三,安装gcc  g++

    yum install gcc

    yum install gcc-c++

    四,创建快捷方式

    以eclipse为例

    一个桌面快捷方式是由内含该APP元信息(例如,app的名字,启动命令或者图标位置等)的.desktop文件所表示的。桌面快捷方式文件放置于/usr/share/applications或者~/.local/share/applications处。

    /usr/share是对所有用户,~./.local/share是只用于本用户

    我选择只用于本用户

    ~/.local/share/applications 创建eclipse.desktop

     vim eclipse.desktop
    [Desktop Entry]
    Encoding=UTF-8
    Name=Eclipse C++               #name of an app. 
    Comment=Eclipse Oxygen     #comment which appears as a tooltip.
    Exec=/home/用户/eclipse/eclipse           #command used to launch an app. eclipse所在文件位置
    Icon=/home/用户/eclipse/icon.xpm         #location of icon file.
    Categories=Application;Development;Java;IDE   #categories in which this app should be listed. 
    Version=2.0                         #version of an app. 
    Type=Application                  #type 
    Terminal=0                          #whether an app requires to be run in a terminal

    五,安装automake

     sudo yum install autotools-dev m4 autoconf2.13 autobook autoconf-archive gnu-standards autoconf-doc libtool

    六,安装rpm-build

    sudo yum install rpm-build -y

    七,安装FileZilla

    在centos6.5下安装,先更新一下rpmforge:

    sudo rpm -Uhv http://fedora.mirrors.pair.com/epel/6/i386/epel-release-6-8.noarch.rpm

    然后用yum安装即可:

    sudo yum install filezilla

    参考链接http://www.dannysite.com/blog/154/

    在centos7下安装尝试以上方法未成功,去官网下载filezilla客户端https://filezilla-project.org/download.php?platform=linux

     FileZilla_3.34.0_i686-linux-gnu.tar.bz2

    使用tar -xjvf FileZilla_3.34.0_i686-linux-gnu.tar.bz2 

    然后运行bin里的filezilla :  ./filezilla

    提示:

    [root@localhost bin]# ./filezilla
    bash: ./filezilla: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录

    使用yum install ld-linux.so.2进行安装

    再次运行提示:

    [root@localhost bin]# ./filezilla 

    ./filezilla: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory

    使用 yum install libdbus-1.so.3进行安装。

    再次运行

  • 相关阅读:
    不常用的cmd命令
    js获取宽度
    Marshaling Data with Platform Invoke 概览
    Calling a DLL Function 之三 How to: Implement Callback Functions
    Marshaling Data with Platform Invoke 之四 Marshaling Arrays of Types
    Marshaling Data with Platform Invoke 之一 Platform Invoke Data Types
    Marshaling Data with Platform Invoke 之三 Marshaling Classes, Structures, and Unions(用时查阅)
    Calling a DLL Function 之二 Callback Functions
    WCF 引论
    Marshaling Data with Platform Invoke 之二 Marshaling Strings (用时查阅)
  • 原文地址:https://www.cnblogs.com/guoliushui/p/9272886.html
Copyright © 2011-2022 走看看