我有一个OpenVPN的服务器与Debian 8和OpenVPN 2.3.14 x86_64-pc-linux-gnu 。 今天我已经意识到丢包了。 我的服务器在TCP端口443上。 Ping statistics for 144.76.41.103: Packets: Sent = 1135, Received = 1121, Lost = 14 (1% loss), Approximate round trip times in milli-seconds: Minimum = 29ms, Maximum = 961ms, Average = 51ms 其他属性: Ping statistics for 144.76.41.103: Packets: Sent = 1135, Received = 1121, Lost = 70 (5% loss), […]
我试图连接到远程服务器使用SSH,但我有Permission denied (publickey). 。 我已经经历了所有可能的原因,我可以build议和其他问题的build议。 我确信我的密钥是正确的,我检查了很多次,并且能够使用该密钥从其他机器login到目标服务器; 我将一个文件的权限设置为700 那么,什么给ssh -v : OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /root/.ssh/config debug1: Applying options for fmbnew debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to –myhost– [–myip–] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file "~/.ssh/host-key" type -1 […]
我在Debian 8上安装了Apache 2.4,只有几个仅基于名称的虚拟主机,而且(现在)只有一个HTTPS虚拟主机由Let's Encrypt证书签名。 此时受保护的虚拟主机运行良好,但是如果使用https://访问其他不受保护的虚拟主机,则会获得受保护的虚拟主机的内容。 有什么办法(在这种情况下)做一些redirect到HTTP或避免加载安全的虚拟主机网站的内容?
ssh之后添加的ssh密码短语是否已经设置? 我正在使用Debian 8 stable Jessie 8.7。 而且你怎么能像在钥匙圈一样将它保存在Debian中,所以你不必每次都进入它? 感谢所有的答案。
站点迁移到HTTPS后,对于访问站点的所有主机,Logwatch中将显示^ null $ -errors(连接closures,直到服务器收到响应)。 我怎样才能删除这个错误? 在Logwatch电子邮件报告中: *.** MB transferred in 7645 responses (1xx 7645, 2xx 0, 3xx 0, 4xx 0, 5xx 0) … ^null$ 2359 Time(s) …
我最近在Debian 8.8服务器上安装了nginx。 我已经注册了一个域名,现在我想创build一个虚拟主机来提供服务。 (将来我可能会为其他域添加更多的虚拟主机。) 问题是,每当我inputhttp://[my domain]我都会得到默认的nginx欢迎页面,而不是我在/var/www/[my domain]/public_html下创build的页面。 贝娄我发布我input的命令来创build一个新的虚拟主机: sudo mkdir -p /var/www/[my domain]/public_html sudo chown -R www-data:www-data /var/www/[my domain]/public_html sudo chmod -R 755 /var/www sudo nano /var/www/[my domain]/public_html/index.html sudo nano /etc/nginx/sites-available/[my domain] sudo ln -s /etc/nginx/sites-available/[my domain] /etc/nginx/sites-enabled/[my domain] sudo rm /etc/nginx/sites-enabled/default sudo service nginx restart 在vhost文件中,我添加了下面的行: server { listen 80; listen [::]:80; server_name [my […]
我希望build立一个运行Debian Linux的无人工作站机器。 我想实际上在另一台机器上运行XServer。 认为瘦客户端,虽然“瘦客户端”机器实际上相当健壮。 在最大程度上,我希望瘦客户端机器感觉像在本地做所有事情,而实际上在远程工作站上存储所有文件(除了config,cache和ssh私钥以外) CPU在远程工作站上处理。 两台电脑连接在一个局域网上。 所以,瘦客户端的键盘input,鼠标input,并显示GUI。 在工作站上的其他一切(桌面pipe理器,所有软件,全部处理)。 我如何做到这一点? VNC并不适合它的需要(或者似乎需要)我在本地login,在工作站上,然后远程回显桌面。 我可以使用ssh,但是这要求我在瘦客户端机器上运行完整的桌面环境,但是我真的希望在那里尽可能less。 我不需要手持,我只是不确定我的select。 显然有可能,我们以前在90年代早期这样做,我只是不知道如何。 瘦客户机拥有充足的硬盘空间,大量的CPU能力和32GB的内存,只是工作站function更强大。 而且更好地控制。 但坐在壁橱里,没有监视器。
我为我的Google Cloud Platform实例select了Debian 9,并且正在运行sudo apt update和sudo apt upgrade ,直到昨天,我安装了apache(没有别的),并且没有做任何其他的系统修改。 我通常通过SSL连接到虚拟机,并保持窗口打开几个小时,但昨天,试图安装libopencv-dev通过运行sudo apt update , sudo apt upgrade和sudo apt install libopencv-dev ,我得到以下错误: myusername@instance-1:~$ sudo apt update Ign:1 http://deb.debian.org/debian stretch InRelease Get:2 http://deb.debian.org/debian stretch-updates InRelease [88.5 kB] Get:3 http://deb.debian.org/debian stretch-backports InRelease [82.9 kB] Hit:4 http://deb.debian.org/debian stretch Release Hit:5 http://security.debian.org stretch/updates InRelease Hit:7 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease Hit:8 http://packages.cloud.google.com/apt google-cloud-compute-stretch […]
有php-fpm和opcache(从php.net下载和编译) opcache.enable = 1 opcache.use_cwd = 1 zend_extension=opcache.so php-fpmconfiguration文件运行在chroot中,即/home/user1/www/index.php – > /www/index.php,/home/user2/www/index.php – > /www/index.php,whats what index .php在两种情况下都可以看到。 user1已经安装了wordpress。 user2有自定义的index.php。 user1的index.php是在user2的index.php之前执行的。 在这种情况下,当我从user2文件夹调用index.php我看到从user1文件夹index.php的编译输出。 目前的解决scheme:我可以运行不同的PHP每个用户或者我必须杀死我的美丽的结构/ home / user1 / www到/ home / user1 / user1www /原因opcache需要看到不同的path。 或者我禁用opcache,但它影响性能。 有没有办法保持/ home / user1 / www,/ home / user2 / www等,让opcache正常工作?
我有我的Debian服务器的额外的/ 27 IP的子网。 我正在尝试多个configuration,但没有成功添加整个子网。 运行 ip addr add 231.231.231.0/32 dev eth0 运行良好,我可以ping任何下面的IP没有任何问题。 Runngin ip addr add 231.231.231.0/27 dev eth0 只能使得IP可ping,其余的不是。 我做错了什么? 谢谢!