zoukankan      html  css  js  c++  java
  • kali linux 更新软件源,安装中文输入法,修复Linux与windows引导菜单解决windows引导丢失

    1. 更新软件源
    打开sources.list文件,进行添加更新源:
    leafpad /etc/apt/sources.list

    2. 添加软件源
    #官方源
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    #中科大源
    deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
    deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
    deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free2

    # 上海交大源
    deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
    deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
    deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib

    #新加坡源
    deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
    deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
    deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
    deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free

    #debain源
    deb http://mirrors.163.com/debian/ wheezy main contrib
    deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib
    deb-src http://mirrors.163.com/debian/ wheezy main contrib
    deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib

    #debian安全更新源
    deb http://security.debian.org/ wheezy/updates main contrib
    deb-src http://security.debian.org/ squeeze/updates main contrib non-free

    #163源的地址
    deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
    deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
    deb http://mirrors.163.com/debian/ wheezy-updates contrib main

    #阿里云kali源
    deb http://mirrors.aliyun.com/kali kali main non-free contrib
    deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
    deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free

    3. 更新
    apt-get update & apt-get upgrade

    4. 添加fcitx 输入法
    apt-get install fcitx

    apt-get install fcitx * (可添加所有fcitx相关包)

    如果存在依赖关系错误 可以使用apt-get -f install 进行修复 -f 表示fix-brokenapt-get -f install -- 等同于新立得软件包管理器中的“编辑->修正(依赖关系)损毁的软件包”

    5. 添加谷歌输入法
    apt-get install fcitx-googlepinyin

    6.解决windows与Linux双系统引导,windows引导丢失

    输入命令,自动探测windows系统,生成grub引导菜单

    sudo update-grub || sudo grub-mkconfig -o /boot/grub/grub.cfg

  • 相关阅读:
    052-14
    052-13
    css垂直居中
    js中的null 和undefined
    给数组添加属性
    js中避免函数名和变量名跟别人冲突
    js变量问题
    Life
    BFC和haslayout
    json文件
  • 原文地址:https://www.cnblogs.com/bindong/p/5844149.html
Copyright © 2011-2022 走看看