Articles of debian jessie

VNC不工作在XEN / libvirt domU – debian jessie

您好最近configuration了一个全新的服务器进行testing: debian jessie(8.3) xen 4.4(xl toolstack) virtinst 我通过virt-install创build并启动了一个新的domU: virt-install \ –network=bridge:br0 \ –name=test1 \ –disk path=/home/xen/tests/test1.qcow2,format=qcow2 \ –boot hd \ –ram 512 \ –vcpus=1 \ –check-cpu \ –hvm \ –graphics vnc,listen=0.0.0.0,port=5901,password="secret" \ –noautoconsole 创build工作正常,VM按预期启动,但不能通过VNC访问domU。 遵循virt-install创build的XML: <domain type='xen'> <name>test1</name> <uuid>53cf8b9b-9fa8-4751-8bea-6c2bf8519b96</uuid> <memory unit='KiB'>524288</memory> <currentMemory unit='KiB'>524288</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='x86_64' machine='xenfv'>hvm</type> <loader type='rom'>/usr/lib/xen/boot/hvmloader</loader> <boot dev='hd'/> </os> <features> […]

如何防止networking接口的持久命名,如eth1

我有一个新安装的Debian Jessie。 我有两个网卡,eth0和eth1,现在我拿出一个,但是我仍然有eth1留在系统中: % dmesg … tg3 0000:03:00.0 eth0: Tigon3 [partno(BCM95754) rev b002] (PCI Express) MAC address 00:1a:a0:ac:f6:2d tg3 0000:03:00.0 eth0: attached PHY is 5787 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) … systemd-udevd[171]: renamed network interface eth0 to eth1 有没有办法要求不重命名界面,只保留eth0? 谢谢。

Debian 8上的Apache 2.4 – SSL_ERROR_RX_RECORD_TOO_LONG

我已经读过这个问题的一般解决方法是添加 NameVirtualHost *:80 和 NameVirtualHost *:443 到虚拟主机。 不过Apache 2.4告诉我: AH00548:NameVirtualHost无效,将在下一版本中删除 我不知道该怎么做: 我的ports.conf: Listen 80 <IfModule ssl_module> Listen 443 </IfModule> <IfModule mod_gnutls.c> Listen 443 </IfModule> 添加 <IfModule mod_ssl.c> Listen 443 </IfModule> 而不是上面的ssl_module部分不会改变一件事情。 我的VirtualHost看起来像 <VirtualHost *:443> ServerAdmin [email protected] ServerName www.example.org DocumentRoot /var/www/htdocs/mw/ … <IfModule mod_ssl.c> SSLEngine on SSLCertificateFile /etc/letsencrypt/live/example.org/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/example.org/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/example.org/chain.pem SSLProtocol all -SSLv2 -SSLv3 […]

如何找出为什么在Samba 4.4 / Debian上joinNAS到AD运行失败?

我目前正在尝试joinSeagat Black Armor 220 NAS到我的活动目录域(2008_R2),由在Debian Jessie上运行的Samba 4.4控制。 但是这样一直会给我NAS的回应: 无法join域。 [NET_ERROR:joinADS失败] 看在希捷常见问题解答这应该意味着域名或pipe理员login不正确。 我检查了一千次,但我input的值是正确的。 此外,NAS之前已经是运行Samba 4.1的另外两个AD Domains的成员之一,其中Runlevel 2003和2008_R2运行良好。 可悲的是,它不会给我更多的细节在这里是什么问题。 顺便说一下,任何其他设备可以没有任何issus连接。 我现在的问题是在服务器/ Samba上login失败的连接Attemps在哪里? 或者我需要如何更改configuration以启用这些事件的logging? 我真的需要获得比NAS提供更多的信息。

我如何在debian jessie上安装nginx 1.9.5?

我将这些行添加到“/etc/apt/sources.list”中: deb http://nginx.org/packages/mainline/debian/ jessie nginx deb-src http://nginx.org/packages/mainline/debian/ jessie nginx 之后,我尝试更新nginx: sudo apt-get clean && sudo apt-get install nginx 但是我得到以下错误: Unpacking nginx (1.9.15-1~jessie) over (1.6.2-5+deb8u1) … dpkg: error processing archive /var/cache/apt/archives/nginx_1.9.15-1~jessie_amd64.deb (–unpack): trying to overwrite '/usr/share/nginx/html/index.html', which is also in package nginx-common 1.6.2-5+deb8u1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered […]

Fail2ban不尊重电子邮件设置

在Fail2ban中,我已经将我的电子邮件设置设置为: # Destination email address used solely for the interpolations in # jail.{conf,local} configuration files. destemail = [email protected] # # Name of the sender for mta actions sendername = [email protected] # Email address of the sender sender = [email protected] 我已经在我的/etc/fail2ban/jail.local和/etc/fail2ban/jail.conf文件中设置了这个,但是当我查看我的Mailgun域日志时,我看到由于没有被RFC 5322。 当我查看Mailgun日志中的邮件标题时,可以看到: "message": { "headers": { "to": "root", "message-id": "[email protected]", "from": "Fail2Ban <fail2ban>", "subject": "[Fail2Ban] […]

访问VPN以外的服务,同时隧道OpenVPN访问服务器

我有两个VPS,其中一个在第二个上安装了OpenVPN Access Server和vpn客户端。 当我将客户端连接到OpenVPN AS时,我无法从其公共IP地址访问安装在客户端上的apache。 我的愿望是在客户端服务器上使用公共互联网上的某些服务,例如apache和postfix,同时在本机上安装其他服务。 我怎样才能做到这一点 ? 这里是我的/etc/iproute2/rt_tables # # reserved values # 255 local 254 main 253 default 0 unspec # # local # #1 inr.ruhep 1 inet 当客户端断开时, ip route show给出: default via <router_ip> dev <ext_if> <netw_addr> via <router_ip> dev <ext_if> <netw_addr> dev <ext_if> proto kernel scope link src <public_ip> 当客户端连接时, ip […]

Debian“7”的版本号错误,而不是8个信息

我最近升级到Jessie,当做一个lsb_release -a它报告说,版本是7(而不是8)和代号Jessie。 我做了一个update && upgrade && dist-upgrade时,所有来源指向杰西,但没有更新可用。 我最近升级的另一台服务器报告了版本8和Codename Jessie。 我如何解决发布号码内报告的错误信息? 谢谢

Kubernetes 1.4上Debian Jessie

有没有人有关于如何在dDebian Jessie上安装k8s 1.4的链接或信息? 我有两台这样的机器,想运行k8s 1.4。

Etcd:机器无法连接到群集

我重新configuration我的etcd群集与证书工作,现在当我试图开始我得到第一台机器: Nov 05 16:24:43 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 received vote from 21b9ef35413b514 at term 493 Nov 05 16:24:43 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 [logterm: 1, index: 2] sent vote request to aa869cb0f2e7ed31 at term 493 Nov 05 16:24:44 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 is starting a new election at term 493 Nov 05 16:24:44 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 became candidate at […]