zoukankan      html  css  js  c++  java
  • Kali 使用ssh,安装vmware tools 和字体重叠

    Kali一直是我所爱,说说遇到的问题吧

    第一个:字体重叠

    gnome-tweak-tool  --打开工具

    第二个:ssh

    修改sshd_config文件,命令为:

    vi /etc/ssh/sshd_config

    将#PasswordAuthentication no的注释去掉,并且将NO修改为YES //kali中默认是yes

     将PermitRootLogin without-password修改为PermitRootLogin yes

     保存退出

    启动SSH服务命令为:

    /etc/init.d/ssh start 
    
    或者
    
    service ssh start

    查看SSH服务状态是否正常运行,命令为:

    /etc/init.d/ssh status

    设置系统自动启动SSH服务

    方法一:
    
    sysv-rc-conf
    
    sysv-rc-conf --list | grep ssh
    
    sysv-rc-conf ssh on  //系统自动启动SSH服务
    
    sysv-rc-conf ssh off  // 关闭系统自动启动SSH服务
    
    方法二:
    
    update-rc.d ssh enable  //系统自动启动SSH服务
    
    update-rc.d ssh disabled // 关闭系统自动启动SSH服务

    第三:更改镜像源

    vi /etc/apt/sources.list
    
    

      ##默认官方源
      deb http://http.kali.org/kali kali-rolling main non-free contrib
      deb-src http://http.kali.org/kali kali-rolling main non-free contrib


    #ali的源 deb http:
    //mirrors.aliyun.com/kali kali-rolling main non-free contrib deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib deb http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free deb-src http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free #中科大kali源 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
    deb http://mirrors.aliyun.com/debian wheezy main contrib non-free
    deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free
    deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
    deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
    deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
    deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free

     依次执行下列命令,完成Kali的镜像源更新并进行软件升级:

    apt-get update
    apt-get upgrade

    第四部:安装vmware tools

    我们挂载驱动器然后复制VMware Tools安装器到/tmp/目录下.

    mkdir /mnt/vmware
    mount /dev/cdrom /mnt/vmware/
    cp -rf /mnt/vmware/VMwareTools* /tmp/

    最后,进到/tmp/目录,解压缩然后开始安装:

    cd /tmp/
    tar zxpf VMwareTools-*.tar.gz 
    cd vmware-tools-distrib/
    ./vmware-tools-install.pl
    reboot

     #++++++++++++++++++++++++++

    官方推荐:(但我梅测试过)

    第五:安装Atom

     https://github.com/atom/atom

     第六:安装输入法:

    说实话之前安装输入法一直安装不上,然后来安装了谷歌的输入法,一直没有拼音提示,所以安装sougo的,但是也安装不上

    报错截图没有保留下来

    我的解决办法,是重新下载个系统,用的最新版的2016.2,然后安装fcitx

    sudo apt-get install fcitx-pinyin

    我对kali的态度是又气又爱啊

  • 相关阅读:
    Java——基本语法
    Java——基本概念
    [Educational Codeforces Round 81 (Rated for Div. 2)]E. Permutation Separation(线段树,思维,前缀和)
    Educational Codeforces Round 81 (Rated for Div. 2)] D. Same GCDs (数论,因子分解,容斥定理)
    Educational Codeforces Round 81 (Rated for Div. 2) C. Obtain The String(序列自动机,贪心)
    Educational Codeforces Round 81 B. Infinite Prefixes(数学,字符串,思维)
    Codeforces Round #615 (Div. 3) F. Three Paths on a Tree(树的直径,dfs)
    Codeforces Round #612 (Div. 2) C. Garland 动态规划
    Codeforces Round #612 (Div. 2) D. Numbers on Tree 构造,树dfs
    关于set/map 等容器对string类的时间性能指标对比
  • 原文地址:https://www.cnblogs.com/renfanzi/p/6194551.html
Copyright © 2011-2022 走看看