加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

Debian下LNMP安装常见错误

发布时间:2013-10-07 17:09:15 所属栏目:Linux 来源:站长网
导读:错误问题一: 默认安装的Debian,选择的apt-get源,默认的security.debian.org在国内会出现无法使用。 类似地址如下: deb http://security.debian.org/ stable
错误问题一:

默认安装的Debian,选择的apt-get源,默认的security.debian.org在国内会出现无法使用。

类似地址如下:

deb http://security.debian.org/ stable/updates main

deb-src http://security.debian.org/debian/ squeeze main

这个时候,请检查 vim /etc/apt/sources.list 源地址

解决方法:

国内的服务器换一个 apt-get地址atch

国内快速的apt-get地址列表:

# vim /etc/apt/sources.list

#deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 NETINST Binary-1 20120512-20:43]/ squeeze main

deb http://cdn.debian.net/debian/ squeeze main

deb-src http://cdn.debian.net/debian/ squeeze main

# squeeze-updates, previously known as 'volatile'

deb http://cdn.debian.net/debian/ squeeze-updates main

deb-src http://cdn.debian.net/debian/ squeeze-updates main

很快提示

Reading package lists... Done

结束

错误提示:

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = "zh_CN:zh",

LC_ALL = (unset),

LANG = "zh_CN.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读