Tag: Debian

  • Debian 9 配置密钥登录错误 && 正确姿势

    Debian 9 配置密钥登录错误 && 正确姿势

    首先,Debian 9 Stretch的OpenSSH(版本 SSH-2.0-OpenSSH 7.4p1 Debian-10+deb9u1) 取消了兼容SSH 1 protocol 如果你从Debian 8 Jessie 升级到Debian 9 Stretch的话,而且SSH配置文件没改,还有RSAAuthentication yes的话 那么你systemctl status ssh或者直接cat /var/log/auth.log | grep Deprecated的时候 你会发现有Deprecated字样

  • [Application] Debian 8.6 安装nginx+php时出错dpkg无法配置nginx

    [Application] Debian 8.6 安装nginx+php时出错dpkg无法配置nginx

    其实这个问题我不是第一次遇到了,第一次遇到是很久之前在树莓派上遇到的。 先说结论:实际上是由于 apt-get install nginx php5  时,apt先安装了php5的依赖,其中有apache2,而且后面setting up的时候也是先set up的apache2,当dpkg configure nginx的时候由于80端口已经被apache2使用,所以无法继续configure nginx 解决方案就是删掉apache2,然后apt purge nginx,最后重新apt-get install nginx即可。   root@****:~# apt-get install nginx php5 Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libgd3 liblua5.1-0 libonig2 libqdbm14 libvpx1…