我见过类似的问题,但我仍然不明白我的configuration有什么问题。 我跟着debian wiki OpenVPN页面尝试在我的VPS上设置VPN。 我需要通过我的服务器浏览网页。 我的客户端和服务器都在运行Debian 9。 在我的VPS上: root@MYVPS:/etc/openvpn # cat tun0.conf dev tun0 ifconfig 10.9.8.1 10.9.8.2 secret /etc/openvpn/static.key push "redirect-gateway def1 bypass-dhcp" push "dhcp-option DNS 208.67.222.222" push "dhcp-option DNS 208.67.220.220" root@MYVPS:/etc/openvpn # cat /proc/sys/net/ipv4/conf/tun0/forwarding 1 root@MYVPS:/etc/openvpn # iptables –list Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot […]
我已经configurationdebian作为多个vlan的DHCP服务器。 我将粘贴我所有的configuration。 根据这个任何人都可以帮助从Debian 9发出多个VLAN的IP。 在这里input图像描述 Router1#wr Building configuration… *Nov 2 12:53:33.403: %SYS-5-CONFIG_I: Configured from console by console[OK] Router1#show run Building configuration… Current configuration : 2390 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router1 ! boot-start-marker boot-end-marker ! ! no aaa new-model no ip […]
命令xl usb-list显示我已经成功地将一个USB设备连接到了我的一个域控制器,但是当我在客户机上运行lsusb时并没有显示,而lsusb实际上退出时显示错误。 我为我的USB控制器select了type = auto ,Xenselect使用qusb 。 dmesg在客人说“设备没有驱动程序:设备/ vusb / 0” 。 客户正在运行Debian 9和Linux 4.8内核。 客户端中只有两个名称为xen的内核模块是xen_netfront和xen_blkfront ,而Debian安装似乎没有任何名为xen_usbfront的内容 。 我认为我不能使用USB设备来访问这个guest虚拟机 ,因为它没有连接到基于Xen qusb的USB后端,没有其他USB后端适合于非HVM客人?
我以前使用的是Ubuntu 17,现在我切换到Debian 8并重新上传我的网站,现在即时获取521错误Web服务器closures。 我使用CloudFlare,Apache 2.4.10,我的网站是PHP。 PS:如果你需要我的Apacheconfiguration只是问!
我想在Debian下创build一个网桥接口,将物理接口(eth1)连接到多个虚拟接口。 IP地址应从eth1连接的物理networking中的DHCP服务器获取。 它工作,但在启动dhclient阻止启动过程约30秒(约1分钟,如果没有电缆连接,没有DHCP服务器可以达到)试图获得一个IP地址为br0接口。 有没有办法来防止这一点? 还是有没有一个更“标准”的方式来创build一个桥接接口比我的configuration,没有创build一个新的专用网桥(所有手册似乎指定)? 在物理接口(如eth0)上指定inet dhcp不会延迟启动过程,所以这看起来很奇怪。 我的/etc/network/interfaces : auto br0 iface br0 inet dhcp bridge_ports eth1 bridge_stp off bridge_maxwait 0 bridge_fd 0 # without this line, br0 doesn't get created on boot if eth1 has no link iface eth1 inet manual 启动顺序输出: [….] Configuring network interfaces…Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 Internet […]
我在家里有一台Ubuntu 16服务器,一切运行都很顺利,甚至安装webmin,以减轻我的一些configuration工作,但现在我想安装一个timemachine服务器,似乎我卡住重新启动netatalk服务。 它给了我以下错误 无法启动netatalk.service:单位netatalk.service被屏蔽。 我试过的第一件事是卸载netatalk软件包重新安装它,然后我试图禁用服务,并刷新守护程序也没有工作。 我跟着的教程就是这个 使用Ubuntunetworking共享为Apple TimeMachine备份? 我想避免重置我的系统,我不再想办法做什么。 不知道这是否有帮助,但这是状态输出 pedro @ HITMAN-SERVER:〜$ sudo service netatalk状态 ●netatalk.service 加载:被屏蔽(/ dev / null;坏) 有效:无效(死) 有任何想法吗? 提前致谢 ====编辑==== 乔治主意后,我能够删除符号链接给这个地位 pedro @ HITMAN-SERVER:/ lib / systemd / system $ sudo systemctl status netatalk ●netatalk.service 加载:未find(原因:没有这样的文件或目录) 有效:无效(死) 在文件夹/ lib / systemd / system中应该有一个名为netatalk.service的文件,通过删除所述文件,服务应该从系统中消失,但我找不到该文件,我相信因为服务仍然被检测到apt-get install netatalk不能正确configuration服务 我已经在我的系统netatalk.servicesearch,并删除(创build备份)的所述文件,并重新启动计算机…该服务仍然出现在systemctl
我正在租用VPS根服务器,只想在VPS控制面板中创build一个VPS根服务器的快照,但我不能因为据说我正在使用我的所有存储(320GB)。 但实际上我只用了大约15GB。 我想这可能与我在安装Debian的时候select磁盘encryption有关。 我的问题是:我怎样才能创build快照? 如果可能的话,快照不会比我实际使用的15GB大。 我在想,也许这会有助于减less分区大小? 但我真的可以在encryption的磁盘上搞砸了吗? 服务器信息: 操作系统:Debian Stretch CPU核心:2(专用) 内存:6GB 硬盘:320GB 互联网:1千兆/秒
我有一个Django项目和一个WordPress博客的服务器,我使用Nginx从本地端口(8001为GUnicorn和8081为Apache服务) 我为我的WordPress站点设置了以下Nginx文件,但是我只能访问主页。 所有其他的网页是502.我不明白我想念什么! Nginx:Nginx.conf worker_processes 1; events { worker_connections 1024; } http { sendfile on; gzip on; gzip_http_version 1.0; gzip_proxied any; gzip_min_length 500; gzip_disable "MSIE [1-6]\."; gzip_types text/plain text/xml text/css text/comma-separated-values text/javascript application/x-javascript application/atom+xml; # Configuration for Nginx server_names_hash_bucket_size 64; server { return 404; } include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; } wordpress.conf # WordPress single site […]
我有一台安装了VMware VSphere ESXi 5.5和Dell OpenManage 8.4的Dell Poweredge R720,并configuration了SNMP并正在运行: iso.3.6.1.2.1.25.6.3.1.2.1 = STRING:“Dell,OpenManage,8.4.0.ESXi550-0000”iso.3.6.1.2.1.47.1.1.1.1.2.1 = STRING:“Dell Inc. PowerEdge R720" 我想用Zabbix通过SNMP监视这个服务器(和其他的configuration相同),但我不能得到这个工作。 戴尔的OID请求不会返回任何内容。 在例子10.1.1.222 1.3.6.1.4.1.10892或10893中。 我已经下载并安装在我的Linux中的MIB(Debian 8.9)。 我从许多网站获得指示,但几乎所有的事情都是这样的: http://en.community.dell.com/support-forums/servers/f/177/t/19442142 https://wiki.debian.org/SNMP http://www.oidview.com/mibs/674/MIB-Dell-10892.html 谢谢阅读!!
Fail2ban正在工作,但我去pentest我的服务器,无论出于什么原因,Apache2的监狱不工作。 我用iptables -S检查IPTables,并且有9个条目用于-A input -p tcp -m multiport –dports 22 -j f2b-default即使我在jails.conf中指定了http和https端口 我试过再次进入jails.conf,改变http,https 80,443,同样的事情发生。 我不知道为什么fail2ban是在每个types的监狱端口22添加iptables条目,但我没有做任何事情似乎解决这个问题。 如果这对于任何想要帮助我的人都是重要的,我将会在debian 9上。 编辑:configuration文件 [INCLUDES] before = paths-debian.conf [DEFAULT] ignoreip = 127.0.0.1/8 ignorecommand = bantime = 600 findtime = 600 maxretry = 5 backend = auto usedns = warn logencoding = auto #enabled = true filter = %(__name__)s destemail = root@localhost […]