debian

hostapd repeating “deauthenticated due to local deauth request”

只愿长相守 提交于 2020-01-11 23:03:30
问题 I have recently setup my Raspberry Pi to operate as an AP/router for my home network. Using many tutorials online, I finally succeeded but have been encountering a serious problem: hostapd repeatedly announces "deauthenticated due to local deauth request" in /var/log/syslog. This repeating error regularly kicks clients off the AP, making it useless. The RPi still seems to have an internet connection; the problem only affects the local network. I have looked into this problem at length online,

Gitlab on port 8080

佐手、 提交于 2020-01-11 02:22:42
问题 I'm currently in the process of trying to get Gitlab omnibus installed on my private Debian server, and it works perfectly on port 80, the problem is I also have an Apache server listening on port 80. So I'm trying to get Nginx listening on port 8080 but for some reason I'm getting a "502 Gitlab is not responding" Error I have edited both "external_url" in gitlab.rb and also the port number under the server block in the nginx.conf file. and no joy. If someone could help me that would be great

126. 企业级Proxmox VE 6.x安装

青春壹個敷衍的年華 提交于 2020-01-10 10:31:29
ProXmoX VE 介绍 Proxmox VE 是一个完整的开源服务器虚拟化管理软件。它基于 KVM 虚拟化和基于容器的虚拟化,并且管理 KVM 虚拟机、 Linux 容器 (LXC)、 存储、 虚拟化的网络和 HA 集群。 企业级功能和直观的 web 界面旨在帮助您提高您现有的资源的利用、并降低硬件成本和管理时间,可在商业以及家庭使用。即使是最苛刻的Linux和Windows应用程序工作负载,您也可以轻松地虚拟化。 Proxmox VE 是强大和轻量级的开源服务器虚拟化软件,优化了性能和可用性。最大的灵活性,Proxmox VE 支持两种虚拟化技术-基于内核的虚拟机 (KVM) 和基于容器的虚拟化与 Linux 容器 (LXC)。 1. 安装 Proxmox VE 2. 登录 3. 创建集群 4. 查看节点状态 5. 修改apt源 root @chengyinwu : ~ # cat /etc/apt/sources.list deb http: //mirrors.163.com/debian/ stretch main non-free contrib deb http: //mirrors.163.com/debian/ stretch-updates main non-free contrib deb http: //mirrors.163.com/debian/

WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally with ChromeDriver Chrome and Selenium on debian server

雨燕双飞 提交于 2020-01-09 11:58:06
问题 i try to run the selenium webdriver on a debian server 8.11 and get an error. Java: java version "1.7.0_221", OpenJDK Runtime Environment (IcedTea 2.6.18) Webdriver: ChromeDriver (v2.9.248304) Sourcecode: from selenium import webdriver from pyvirtualdisplay import Display display = Display(visible=0, size=(800, 800)) display.start() co = webdriver.ChromeOptions() co.add_argument("--user-data-dir=profile") browser = webdriver.Chrome('/usr/local/bin/chromedriver', options=co) browser.get(

Debian操作系统的源配置信息详解--Source.list配置文件详解

时间秒杀一切 提交于 2020-01-09 04:08:50
转载来源: https://wiki.debian.org/SourcesList#Repository_URL Debian操作系统的源配置信息详解--Source.list配置文件详解 Debian操作系统的配置文件 /etc/apt/sources.list 作为其操作的一部分, Apt 使用一个文件列出可以从中获取包的“源”。该文件是/etc/apt/sources.list。 此文件中的条目通常遵循以下格式(以下条目是虚构的,不应使用): deb http://site.example.com/debian distribution component1 component2 component3 deb-src http://site.example.com/debian distribution component1 component2 component3 存档类型 每行的第一个单词 deb 或 deb-src 表示存档的类型。 Deb 表示存档包含二进制包( deb ),我们通常使用的预编译包。 Deb-src 表示 源包 ,它是原始程序 源 加上Debian控制文件( .dsc )和diff.gz,包含打包程序所需的更改。 存储库URL 该行的下一个条目是您要从中下载软件包的 存储库 的URL 。Debian存储库镜像的主要列表位于 此处 。 分配

Debian Jessie not working hot plug with usb modem sierra 802

拜拜、爱过 提交于 2020-01-07 09:08:06
问题 When I connect modem befour PC start all works fine. But when connect to working PC have bug. Have no use any drivers from other place all work on default debian jessie repositories. Here dmesg: 171.342776] usbcore: registered new interface driver usb-storage [ 171.528837] usb 2-5: USB disconnect, device number 2 [ 171.998784] usb 2-5: new high-speed USB device number 3 using ehci-pci [ 172.131651] usb 2-5: New USB device found, idVendor=1199, idProduct=0029 [ 172.131658] usb 2-5: New USB

如何在Debian 9上配置sources.list

风格不统一 提交于 2020-01-07 08:19:52
转载来源: https://linoxide.com/debian/configure-sources-list-debian-9/ 这是关于如何在Debian 9上配置sources.list文件的简要指南,代号为stretch。Debian是 最受欢迎的Linux发行 版之一,它的 大部分 优势来自Debian软件包管理的核心 - apt 。Debian中的所有内容,无论是应用程序还是任何其他组件,都内置于一个软件包中,然后该软件包将安装到您的系统上(由安装程序或您自己安装)。 了解APT和sources.list Debian及其衍生产品的软件包经理很贴切。代表Advanced Package Tool的APT是一套用于管理Debian软件包的工具,因此也是Debian系统上安装的应用程序。APT可以: 安装应用程序 删除应用程序 更新应用程序 修复损坏的包等 另请参阅 : 如何脱机安装Debian软件包 APT能够解决依赖性问题并从指定的包存储库中检索所请求的包。它将实际安装和删除软件包委托给 dpkg 。APT主要由命令行工具使用,但您可以使用 GUI 工具。 Debian使用Debian 文件 /etc/apt/sources.list 作为其操作的一部分。此文件包含可从中获取包的 “源” 列表。此文件中的条目通常遵循此格式。 deb http://site

解决TP-LINK无线网卡在debian上无法识别的问题

纵饮孤独 提交于 2020-01-07 07:52:18
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> TP-LINK无线网卡 tl-wn721n 驱动问题 问题描述:在debian系统上插入无线网卡后,系统没有任何反映。 使用dmesg发现该无线网卡已经被识别了,只是在/lib/firmware/目录下没有找到htc_9271.fw文件 [ 6372.304464] usb 2-6: USB disconnect, device number 4 [ 6927.052039] usb 2-5: new high-speed USB device number 5 using ehci_hcd [ 6927.200902] usb 2-5: New USB device found, idVendor=0cf3, idProduct=9271 [ 6927.200906] usb 2-5: New USB device strings: Mfr=16, Product=32, SerialNumber=48 [ 6927.200910] usb 2-5: Product: USB2.0 WLAN [ 6927.200912] usb 2-5: Manufacturer: ATHEROS [ 6927.200914] usb 2-5: SerialNumber: 12345 [ 6927.203718] usb 2

关于 Debian 光盘的疑惑

与世无争的帅哥 提交于 2020-01-07 06:39:01
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 关于 Debian 光盘的疑惑 http://www.debian.org/CD/faq/ 在众多的映像中,我应该下载哪一个呢?我需要全部吗? 不,首先您当然只需要光盘 或是 DVD 映像的其中一种 - 这两种映像内包含的是一样的软件包。 而且,你只需要符合你的计算机架构的光盘映像。所谓架构就是你的计算机使用的硬件类型。 目前为止,最常见的就是 Intel/AMD 的架构,所以大部份的人只需要下载 "i386" 的映像。如果您的计算机使用 64 位元的 AMD 或 Intel 处理器, 您会需要使用 amd64 映像 (当然i386也是可以正常工作), ia64 映像还 不能 用。 此外, 在大部份的情况下,你并不需要下载架构中的全部映像。映像中的软件包是依照流行的程度来排序的: 第一片光盘包含安装系统及最流行的软件包。第二片光盘包含较不流行的。第三片光盘则是更不流行的,以此类推。 您可能只需要第一片 DVD (或是前两片光盘),除非你有非常特殊的需求。(而且假如你之后刚好需要某一个软件包,且不在你下载的光盘中, 你还是可以通过互联网来直接安装软件包。) 请继续阅读下一节来决定您是否需要下载网络安装光盘,升级光盘或是源码光盘。 什么是 "netinst" 或 " 网络安装光盘 " ? 引用 网络安装说明 :

Convert videos in background php ffmpeg?

邮差的信 提交于 2020-01-07 04:27:13
问题 I would like to convert videos with exec(), FFMPEG php. I would like to run the script in background. How can I do that? /*** convert video to flash ***/ $v = date('H-i-s'); // exec("ffmpeg -i uploaded_files/770530705510e88ec723a3-20130111_1221_43.avi -ar 22050 -ab 32 -f flv -s 320x240 flash/".microtime()."video.flv 1> flash/".$v."_block.txt 2>&1"); $cmd = 'ffmpeg -i uploaded_files/770530705510e88ec723a3-20130111_1221_43.avi -ar 22050 -ab 32 -f flv -s 320x240 flash/'.microtime().'.flv';