zoukankan      html  css  js  c++  java
  • reinstall ubuntu

    ant -file build.xml
    Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-openjdk-i386/lib/tools.jar
    Buildfile: /var/lib/jenkins/jobs/ibeauty-to-dev/workspace/build.xml

    解决方法是安装openjdk-7-jdk 包,如:

    sudo apt-get install openjdk-7-jdk

    百度网盘在win上就是个坑,linux上更是根本没有,但是很多时候又不得不用,不过这些都难不倒勤勤恳恳的程序猿

    Firefox插件地址 https://addons.mozilla.org/zh-CN/firefox/addon/baidu-pan-exporter/

    安装后重启Firefox,然后百度云会出现“导出下载”选项
    ————————————————

    推荐u盘使用exfat格式,为什么呢?两个原因:
    1、三大主流操作系统(Linux、Mac、Windows)都支持exfat格式。
    2、exfat支持大于4G的文件。

    在ubuntu下,由于版权的原因(据说),默认不支持exfat格式的u盘,不过可以很方便就能添加对exfat的支持:
    对于ubuntu 14.04以上版本,直接运行下面的命令就可以了:

    sudo apt-get install exfat-utils



    作者:文久_
    链接:https://www.jianshu.com/p/c0dc9189e991
    来源:简书
    著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

    Wireshark可以在Ubuntu的Universe存储库中找到。 现在启用Universe资源库,然后按以下方式安装它:
    $ sudo add-apt-repository universe
    sudo apt show wireshark
    sudo apt install wireshark
    sudo add-apt-repository ppa:wireshark-dev/stable


    sudo apt-get install qemu-kvm
    sudo apt-get install qemu
    sudo apt-get install virt-manager
    sudo apt-get install virt-viewer
    sudo apt-get install libvirt-bin
    sudo apt-get install bridge-utils

    sudo apt install docker.io
    【Docker】切换存储驱动【以 Overlay2 存储驱动切换为 Aufs 存储驱动为例】


    https://zhuanlan.zhihu.com/p/80527572
    virtual-box install
    sudo apt install virtualbox

    首先,添加仓库的密钥。你可以通过这一条命令下载和添加密钥:

    wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add
    sudo add-apt-repository "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"


    sudo apt update && sudo apt install virtualbox-6.0

    [nvidia, gdm gdm3,lightdm /etc/X11/default-display-manager]

    https://blog.csdn.net/new_delete_/article/details/81544438

    sudo apt install net-tools  [netstat]

    sudo apt install sysstat

    postman install

    sudo apt install libgconf2-4

    wine: ‘/home/zbw/.wine’ is a 64-bit installation, it cannot be used

    使用mv ~/.wine ~/.wine64 && winecfg重新配置。

    sudo apt-get install unrar

    sudo apt install git

    for install qq--

    # 安装 deepin-wine
    git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
    cd deepin-wine
    sudo sh install.sh
    # 安装 QQ
    wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.qq.im/deepin.com.qq.im_8.9.19983deepin23_i386.deb
    sudo dpkg -i deepin.com.qq.im_8.9.19983deepin23_i386.deb
    sudo apt-get install -f
    ————————————————
    No---

    cd /opt/kingsoft/

    sudo dpkg -i wps-office_11.1.0.9522_amd64.deb

    f you are on the latest version of Ubuntu then the SNAP would already be there and if not then use the below command to install it.

    sudo apt-get install snapd

    Now command to install WPS office using SNAP

    sudo snap install wps-office

    Desktop Entry 文件通常被存放在 /usr/share/applications/ /opt/gnome/share/applications/ 等目录下。

    0. source.list in /etc/apt

    1. openconnect  https://www.cnblogs.com/SZLLQ2000/p/12183445.html

    2. /etc/fstab load /home [google history/]; /opt/

    sudo apt-get install expect/vim/yingzisocks/python-pip/python3-pip/

    teamviewer:

    TeamViewer是一个不在任何Ubuntu标准存储库中找到的外部软件。 我们将使用gdebi命令在Ubuntu 18.04 Bionic Beaver Linux上安装TeamViewer。 因此,让我们从安装gdebi-core软件包开始。 打开终端并输入:

    $ sudo apt install gdebi-core

    下载最新的TeamViewer软件包
    接下来,使用wget下载最新的TeamViewer软件包:$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

    安装TeamViewer
    最后,使用gdebi命令安装以前下载的软件包:$sudo gdebi teamviewer_amd64.deb

    ogin的:意思是这种是在某用户由/bin/login登陆进系统后启动的shell,跟这个用户绑定。这个shell是用户登陆后启动的第一个进程。login进程在启动shell时传递第0个参数指明shell的名字,该参数第一个字符为"-",指明这是一个login shell。比如对bash而言,启动参数为"-bash"。当bash以login shell启动时,它会执行/etc/profile中的命令,然后/etc/profile调用/etc/profile.d目录下的所有脚本;然后执行~/.profile,~/.profile调用~/.bashrc,最后~/.bashrc又调用/etc/bash.bashrc。
    要识别一个shell是否为login shell,只需在该shell下执行echo $0:

    非login的:不需login而由某些程序启动的shell。传递给shell的参数,是没有'-'前缀的。还以Bash为例,当以非login方式启动时,它会调用~/.bashrc,随后~/.bashrc中调用/etc/bashrc,最后/etc/bashrc调用所有/etc/profile.d目录下的脚本。这个有兴趣的可以打开这些文件看一看。非login的shell主要包括以"#su","#su USERNAME"启动的shell,和图形终端(例如Ubuntu的Terminal),执行的脚本等等。识别非login的shell方法还是执行#echo $0命令,得到的结果如果没有'-'前缀,即为非login的。

  • 相关阅读:
    jenkins配置发送邮件
    inux下rz、sz的简单安装
    Linux系统信息查看命令
    selenium元素定位
    windows下 maven+selenium+testng项目搭建(七)
    eclipse testng插件安装
    window maven安装(六)
    linux下Apache+Svn环境搭建(五)
    Linux实战教学笔记38:企业级Nginx Web服务优化实战(下)
    Linux实战教学笔记37:企业级Nginx Web服务优化实战(上)
  • 原文地址:https://www.cnblogs.com/SZLLQ2000/p/13182638.html
Copyright © 2011-2022 走看看