标签 Debian 下的文章

    dpkg: warning: files list file for package 'libquadmath0:amd64' missing; assuming package has no files currently installed  
    (Reading database ... 79 files and directories currently installed.)  
    Preparing to unpack .../dovecot-imapd_1%3a2.1.7-7+deb7u1_amd64.deb ...  
    Unpacking dovecot-imapd (1:2.1.7-7+deb7u1) ...  
    Selecting previously unselected package dovecot-lmtpd.  
    Preparing to unpack .../dovecot-lmtpd_1%3a2.1.7-7+deb7u1_amd64.deb ...  
    Unpacking dovecot-lmtpd (1:2.1.7-7+deb7u1) ...  
    Selecting previously unselected package dovecot-pop3d.  
    Preparing to unpack .../dovecot-pop3d_1%3a2.1.7-7+deb7u1_amd64.deb ...  
    Unpacking dovecot-pop3d (1:2.1.7-7+deb7u1) ...  
    Setting up dovecot-imapd (1:2.1.7-7+deb7u1) ...  
    dpkg: error processing package dovecot-imapd (--configure):  
     subprocess installed post-installation script returned error exit status 10  
    Setting up dovecot-lmtpd (1:2.1.7-7+deb7u1) ...  
    dpkg: error processing package dovecot-lmtpd (--configure):  
     subprocess installed post-installation script returned error exit status 10  
    Setting up dovecot-pop3d (1:2.1.7-7+deb7u1) ...  
    dpkg: error processing package dovecot-pop3d (--configure):  
     subprocess installed post-installation script returned error exit status 10  
    Errors were encountered while processing:  
     dovecot-imapd  
     dovecot-lmtpd  
     <span style="color:#ff6666;">dovecot-pop3d  
    E: Sub-process /usr/bin/dpkg returned an error code (1)</span>  

- 阅读剩余部分 -

如今我们仅仅用Linux VPS、服务器用来建站或者普通的软件环境,可能还不至于需要用到Node.js软件环境。今天遇到一个网友需要在Debian8环境中运行某个软件需要用到Node.js,但是直接默认apt-get的版本较低,需要用到较新的版本。

在这篇文章中就记录将这个网友当前的Debian8服务器环境配置Node.js最新版本,前一段时间记得在CentOS安装过5.x版本,但不清楚目前最新版本的Node.js到哪里了,那就去官方看看最新版本。

- 阅读剩余部分 -

NFS是我们常用的文件共享协议,在一些系统中,这个协议的设置也相对比较复杂。那么今天我们就来讲解一下Debian NFS的设置内容。希望对大家有所帮助。首先看看Debian下安装NFS服务器的步骤。

安装Debian NFS服务器端:   

# aptitude install nfs-common nfs-kernel-server portmap

- 阅读剩余部分 -

LEMP环境指的是Linux+Nginx+MariaDB+PHP

这里我选择的版本是最新的MariaDB和PHP7

安装Nginx

相对于Apache,Nginx是一个轻量级的高性能web服务器并在近年来越来越流行。Nginx也可以同时作为一个反向代理。在Debian8上安装Nginx, 输入下面的命令

sudo apt-get install nginx -y

- 阅读剩余部分 -