apt-get

Debian9安装Metasploit

匆匆过客 提交于 2019-12-03 23:18:52
参考博文:https://www.jianshu.com/p/ea0629b9e367 0x0 添加Kali源 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 添加数字证书 $wget archive.kali.org/archive-key.asc //下载签名 $apt-key add archive-key.asc //安装签名 更新包列表 $apt-get update 0x1 安装postgresql 添加postgresql源 deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main 安装postgresql $wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - //添加数字证书 $apt-get update $apt-get install postgresql 0x2 安装metasploit-framework $apt-get install

Ubuntu下常见问题以及常用软件安装命令

你说的曾经没有我的故事 提交于 2019-12-03 23:03:24
--声明:以下内容来自于网络前辈的经验,因为以后会不定期修改增加,所以没有注明具体来源(来自于东拼西凑,实践有效后方才添加),Ubuntu环境10.0以上。 1.pdf中文无法显示问题: 由于在新浪爱问中下载了linux C编程pdf,打开后汉字无法显示,于是搜到了一帖解决很有效。在网站: http://poppler.freedesktop.org/poppler-data-0.1.tar.gz 中下载 poppler-data-0.1.tar.gz,然后顺序使用命令 tar xzvf poppler-data-0.1.tar.gz && cd poppler-data-0.1 和 sudo make install dat adir=/usr/share 即可解决。当然之前需要在shell终端中以root用户切入,使用命令su - root然后输入密码即可,顺便说下有两个命令切换目录很有用使用ls -a列出shell所在当前文件夹下的所有文件夹,命令cd ..回到上一层目录,命令cd xx进入xx子文件夹。 2.当由于某些原因使得安装xxx软件命令sudo apt-get install xxx错误时问题: 由于某些原因使得安装软件codeblocks使用命令sudo apt-get install codeblocks出现如下错误:E: dpkg 被中断,您必须手工运行

debian10安装pgAdmin 4

旧城冷巷雨未停 提交于 2019-12-03 21:48:52
直接开始 1.添加源密钥 sudo apt-get install curl ca-certificates gnupg curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - 2.创建编辑apt源文件 创建 /etc/apt/sources.list.d/pgdg.list ,并编辑 deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main 3.更新并安装 sudo apt-get update sudo apt-get install postgresql-11 pgadmin4 Reference: https://wiki.postgresql.org/wiki/Apt 来源: oschina 链接: https://my.oschina.net/doctorlzr1988/blog/3136573

ubuntu19.10桌面版

狂风中的少年 提交于 2019-12-03 21:23:12
一:安装ubuntu卡住,英伟达显卡兼容性问题 解决方法: 将 quite splash --- 改为 quite splash nomodeset 二:从零开始配置ubuntu19.10 sudo passwd username #修改用户名密码 sudo passwd root #设置root密码 1:##更新当前软件 sudo apt-get upgrade sudo apt-get update sudo apt-get dist-upgrade 2:删除不必要的自带软件 sudo apt-get remove unity-webapps-common #删除Amazon的链接 sudo apt-get remove libreoffice-common #删除libreoffice sudo apt-get remove simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku landscape-client-ui-install sudo apt-get remove thunderbird totem rhythmbox empathy brasero onboard deja-dup 3

Ambari学习笔记:以本地仓库自动搭建hadoop集群环境

╄→尐↘猪︶ㄣ 提交于 2019-12-03 19:34:00
测试平台:Ubuntu_server_16.04_x64 准备好一台虚拟机,安装vmtool以设置共享文件夹: sudo mkdir /mnt/cdrom mount -tro iso9660 /dev/cdrom /mnt/cdrom sudo tar -vxzf /mnt/cdrom/VMwareTools cd vmware -tools -distrib . /vmware -install . pl rm -rf .. /vmware -tools -distrib ln -s /mnt/hgfs/shared_dir /home/daya/shared_dir(此句在重启后执行) 创建好root账户: sudo passwd root Requirements 首先看下abmari的一些前置需求与兼容性,看是否满足: 满足 浏览器需要安装Ubuntu桌面,必要时再进行安装。 安装openssl: sudo apt-get install openssh-server -y 安装Python2.7: sudo apt-get install python2.7 -y 安装JDK: cp /home/daya/shared_dir/jdk- 8 u144-linux-x64 .tar .gz /usr/ tar -zxvf jdk- 8 u144-linux-x64

Ambari详细安装步骤

徘徊边缘 提交于 2019-12-03 19:31:46
Ambari详细安装步骤 一.安装前的准备 (前言:先使用ios镜像文件创建一个新的虚拟机,建议至少虚拟机配置5G,硬盘50GB,一个空的虚拟机可能会遇到vi编辑器上下左右出现ABCD乱码问题,vmtools工具未安装,虚拟机ip地址重启自动更改等问题,请大家耐心按照关键字自行百度解决) 1.下载相应安装包 所有依赖的安装包及下载地址可从下面的网址获取: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation/content/ambari_repositories.html https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation/content/hdp_26_repositories.html 先确保按照目录下有以下文件:(6个) ambari-2.6.0.0-ubuntu16.tar.gz ambari.list HDP-2.6.3.0-ubuntu16-deb.tar.gz hdp.list HDP-UTILS-1.1.0.21-ubuntu16.tar.gz jdk-8u144-linux-x64.tar.gz 2.配置免密登入 命令-先安装SSH服务:sudo agt

After pip installing uWSGI there's no /etc/uwsgi/ directory - how can I use apps-enabled?

好久不见. 提交于 2019-12-03 17:50:21
问题 I've been using apt-get install uwsgi to install uWSGI for my Django application. Today, I realized I needed a feature that's not available until uWSGI 1.1, and Ubuntu 12.04.1 doesn't have anything after 1.0.x, at least according to my apt-get install uwsgi=1.1 attempt. So, I used: pip install http://projects.unbit.it/downloads/uwsgi-lts.tar.gz After doing so, I get a message prescribing the use of /usr/local/bin/uwsgi to launch the program. I'm not a guru when it comes to compiling from

树莓派+miniconda3+opencv3.3+tensorflow1.7踩坑总结

喜欢而已 提交于 2019-12-03 17:18:22
转载自:https://blog.csdn.net/tju_cc/article/details/80024721 树莓派+miniconda3+opencv3.3+tensorflow1.7踩坑总结 2018-04-20 23:52:37 Holy_C 阅读数 4691 更多 分类专栏: 环境搭建 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接: https://blog.csdn.net/tju_cc/article/details/80024721 习惯了conda的管理方式,上手树莓派当然还是想用conda。做一个目标识别(object detection)的项目,当然少不了opencv,鉴于tensorflow开源了objective detection的api,有采用mobilenet的版本,因此这里笔者选择tensorflow的深度学习框架。最后安装的版本为:opencv3.3.0(3.3以后集成了dnn模块)+tensorflow1.7.0(object detection api 的调用需要1.4以上)。话不多说,开始踩坑,如有错误,感谢指正。 0. 系统安装 参考 http://bbs.eeworld.com.cn/thread-503614-1-1.html?_t=t 远程桌面连接 https

Where do library C header files go on Linux

独自空忆成欢 提交于 2019-12-03 17:03:26
Embarrassingly basic question. sudo apt-get install libmemcached6 - where do the .h's and .o's or .so's live in a typical install on a Linux machine (Ubuntu)? And, how do I make sure g++ can pick them up? They go to /usr/include and /usr/lib. If you use the -l option (for the libraries) it should find them from these standard places. If you include using <file.h> it should also get it from the right place. On Ubuntu (and other Debian variants) you can use the dpkg command to find out. For example: $ dpkg -L libxml2 /. /usr /usr/share /usr/share/doc /usr/share/doc/libxml2 /usr/share/doc/libxml2

在docker容器中python3.5环境下使用DIGITS训练caffe模型

旧街凉风 提交于 2019-12-03 17:02:54
********* 此处使用的基础镜像为 nvcr.io/nvidia/digits:18.06 ,镜像大小为6.04GB,可从nvidia官方pull此镜像; 容器配置:   CUDA:9.0   CUDNN:7.0 注:此文档建立在已会使用python2.7版本的DIGITS基础之上 镜像中含有python3.5与python2.7两个版本,直接使用python3.5 修改系统python默认值,使用python3为默认启动:   sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100   sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150 ********* 一、编译安装caffe 从github下载caffe源码,准备编译,下载地址: https://github.com/BVLC/caffe.git 【CUDA与CUDNN请查找对应的安装教程,此处忽略】 进入caffe目录 1、安装依赖 :   sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5