apt

ubuntu19.10 安装 docker

孤街醉人 提交于 2019-12-06 02:40:31
ubuntu 安装docker 1.更新现有的包列表 sudo apt update 2.使用apt安装一些允许通过HTTPS才能使用的软件包: sudo apt install apt-transport-https ca-certificates curl software-properties-common 3.将官方Docker存储库的GPG密钥添加到您的系统: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 4.将Docker存储库添加到APT源: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" 5.接下来,使用新添加的repo源中的Docker包更新包数据库: sudo apt update 6.列出可用版本 apt-cache madison docker-ce 7.安装最新版本docker或者安装制定版本docker sudo apt-get install docker-ce docker-ce-cli containerd.io sudo apt-get install docker-ce=<VERSION

Debian10+OpenMediaVault(OMV)安装

此生再无相见时 提交于 2019-12-06 02:22:50
前言:测试打造NAS平台,以下是步骤. 安装Debian10 注:请下载amd64,不要下载i836平台,因为OMV外挂插件不支持I836所以不建议用i836,如只使用官方插件可以无视 安装前-安装,分区里使用VLM分区,分完区后 可再选择 configure the logical volume manager 调整分区大小 这里建议不调整,如果不是给全部空间,剩余的空间在OMV里是不显示出来的 (注意:安装后不能再使用windows的分区工具修改,会导致分区破坏-给小白的我的提示-_-!) 选择源时选请选择国内 china ,如果选择国外会回墙而卡死 以下是 清华大学源 mirrors.tuna.tsinghua.edu.cn IP修改 如果为离线安装Debian则要设置IP #先查看网卡名 ip link #设置 nano /etc/network/interfaces 添加 auto eth0 #DHCP设置 #iface eth0 inet dhcp #静态IP iface eth0 inet static address 192.168.2.147 netmask 255.255.255.0 gateway 192.168.2.1 开启SSH 在选择功能时,只选SSH server, 完成安装后,要修改SSH登陆配置 vi /etc/ssh/sshd_config 修改

dpkg error: pycompile: not found

你离开我真会死。 提交于 2019-12-05 23:09:11
问题 sudo apt-get remove --purge mysql-server mysql-client mysql-common I am getting the following error as I try to remove mysql using the above command: Reading package lists... Done Building dependency tree Reading state information... Done Package 'mysql-client' is not installed, so not removed The following package was automatically installed and is no longer required: php5-mysqlnd Use 'apt-get autoremove' to remove it. The following extra packages will be installed: mysql-server-core-5.5

bcc-ebpf (1)

左心房为你撑大大i 提交于 2019-12-05 22:37:39
问题 AttributeError: 'BPF' object has no attribute 'get_syscall_fnname' 解决: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D4284CDD echo "deb https://repo.iovisor.org/apt/bionic bionic main" | sudo tee /etc/apt/sources.list.d/iovisor.list sudo apt-get update sudo apt-get install libbcc sudo apt-get install python-bcc 来源: https://www.cnblogs.com/linengier/p/11948929.html

Debian 10安装 MySQL8

流过昼夜 提交于 2019-12-05 21:58:34
登录mysql官网: https://dev.mysql.com/downloads/ 选择: https://dev.mysql.com/downloads/repo/apt/ wget 下载: wget https://dev.mysql.com/get/mysql-apt-config_0.8.14-1_all.deb apt install ./mysql-apt-config_0.8.14-1_all.deb apt update apt install mysql-server 来源: https://my.oschina.net/michaelshu/blog/3134661

ubuntu svn1.6升级1.8

大憨熊 提交于 2019-12-05 21:46:22
1、卸载原来的svn:sudo apt-get remove subversion 2、添加1.7资源库:sudo apt-add-repository ppa:dominik-stadler/subversion-1.8 3、更新apt:sudo apt-get update 4、安装依赖的java库:sudo apt-get install libsvn-java 5、安装新版svn:sudo apt-get install subversion 6、确认安装版本:svn --version # 想要在Ubuntu Server 直接执行命令: sudo add-apt-repository ppa:webupd8team/java 错误来啦:sudo: add-apt-repository:command not found 网上解决办法是直接安装工具包 命令: sudo apt-et install python-software-properties loter亲测安装后还是报command not found,所以依赖包还没有安装完全,少了什么呢? 执行命令:add-apt-repository ,如图告诉loter,除了要安装python-software-properties外还需要software-properties-common 来源: oschina 链接:

How to install Python bindings originating from an apt package?

為{幸葍}努か 提交于 2019-12-05 20:59:55
问题 I've got a website hosted at Heroku, and I now want to use the python-qrtools package which uses the ZBar bar code scanner. On a regular debian (based) I can do a simple: sudo apt-get install python-qrtools According to the command dpkg-query -L python-qrtools , this installs the following: /usr/lib/python2.7/dist-packages/qrtools-1.2.egg-info /usr/lib/python2.7/dist-packages/qrtools.py /usr/share/doc/python-qrtools/copyright /usr/share/doc/python-qrtools/changelog.Debian.gz When I look at

How to Fix Broken Packages in Ubuntu

徘徊边缘 提交于 2019-12-05 20:21:07
How to Fix Broken Packages in Ubuntu By Nick Congleton – Posted on Jan 11, 2019 in Linux Apt, Ubuntu’s package manager, is among the most powerful and intuitive, but that doesn’t mean that things can’t go wrong. Occasionally, a package install goes wrong on Ubuntu, and you’re left to pick up the pieces. It’s a good thing Ubuntu’s package utilities, including Apt itself, have built-in functionality to help remedy the situation and get things back to normal. These tips and tricks should help you get unstuck in most instances. They’re all fairly universal, but every situation is different, so

[转]Win10下安装Linux子系统

扶醉桌前 提交于 2019-12-05 20:14:24
工作以来一直DotNet系偏C/S, 接触Web开发的时间也不长, 现在主要偏向Web全栈方向, 一直对Linux系统心生向往, 夜深了娃睡了, 打开老旧的笔记本来折腾一下。 准备工作 控制面板 》 程序和功能 》 启用或关闭 Windows 功能 勾选【适用于 Linux 的Windows 子系统】 设置 》 更新和安全 》 开发者选项 选择【开发人员模式】 做完准备工作,需要重启电脑, 不然安装完 Ubuntu 后启动时还是会提示 下载安装 Ubuntu 打开 Microsoft Store 应用商店 点【开始】输入 Microsoft Store 即可找到,打开搜索 Linux。 第一个就是 Ubuntu,点【免费下载】 下载+安装,完毕后会出现启动按钮,也可以在开始菜单找到并打开。 启动 Ubuntu 如果在准备工作后没有重启,此时会找不到子系统,还是需要重启一下的。 安装中... 正常情况的话就会是以下这样: 设置用户名密码以添加用户 通过命令行,就可以便捷地完成很多工作了, 准备另外开一篇记录 bash 总结。 现在,我们还有两点需求: 网络原因,跟之前介绍的 npm 一样,需要将源换为国内镜像 操作习惯,安装一个图形界面,便于浏览网页查看图片等 切换源 先备份下原源文件 sudo mv /etc/apt/sources.list /etc/apt/sources

eclipse java annotation processing

对着背影说爱祢 提交于 2019-12-05 17:36:29
问题 I want to do something using Annotation processing in eclipse jdt. Eclipse jdtapt help tells me I should configure things on the java/compiler/annotation processing preferences page. But on my installation (Indigo), the compiler section doesn't have this annotation processing subsection. It only has building,errors/warnings,javadoc, task tags. Is something wrong with my installation ? 回答1: The annotation processing tab does not exist in the Preferences page that is accessible from the Eclipse