设为首页 收藏本站
查看: 470|回复: 0

[经验分享] 安装debian遇到的问题与解决方法

[复制链接]

尚未签到

发表于 2018-5-15 06:32:31 | 显示全部楼层 |阅读模式
  安装完成后第一件事情是添加一些优秀的源。文件位于:/etc/apt/sources.list
  

  国内一些很好的debian源如下:
  

  网易:
deb http://mirrors.163.com/debian/ wheezy main non-free contrib
deb http://mirrors.163.com/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main non-free contrib
搜狐
deb http://mirrors.sohu.com/debian/ wheezy main non-free contrib
deb http://mirrors.sohu.com/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.sohu.com/debian/ wheezy main non-free contrib
deb-src http://mirrors.sohu.com/debian/ wheezy-proposed-updates main non-free contrib

中国科技大学

deb http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy-proposed-updates main non-free contrib

清华大学 不是很稳定
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/ wheezy main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib

北京理工
deb http://mirrors.bit.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.bit.edu.cn/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.bit.edu.cn/ wheezy main non-free contrib
deb-src http://mirrors.bit.edu.cn/ wheezy-proposed-updates main non-free contrib

其他的还有不少,教育网(支持IPv6)的话,加上用pv6 访问会比较快
北京理工(Ipv6)
deb http://mirrors.bit6.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.bit6.edu.cn/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.bit6.edu.cn/ wheezy main non-free contrib
deb-src http://mirrors.bit6.edu.cn/ wheezy-proposed-updates main non-free contrib

清华大学(Ipv6)
deb http://mirrors.6.tuna.tsinghua.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy main non-free contrib
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib
  

  由于在安装debian的时候语言选择是简体中文,之后显示各种方框各种蛋疼(甚至有部分英文字体都显示不了)
  解决办法:重新配置locale文件,
  #aptitude install locales
  #dpkg-reconfigure locales

  使用空格勾选
  en_US.UTF8
zh_CN GB2312
zh_CN GBK GBK
zh_CN UTF-8 UTF-8

  回车确认,光标移至en_US.UTF8,回车,将其设置为默认语言。reboot。
  

  安装图形界面:
  安装基本图形界面
# apt-get install x-window-system-core

  #startx
  之后进入非常简易的图形环境。图一为正在下载GNOME时的简易界面。
  之后安装GNOME
  #apt-get install gnome-core
  #apt-get install gnome(其实按道理说是可以不用上一条命令的,因为这条命令安装的就是完整版的gnome了)
  

  

  



附件:http://down.51cto.com/data/2365077

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-460159-1-1.html 上篇帖子: Debian开机自动挂载ISO,以本地ISO作为更新源(通过fstab挂载的方法) 下篇帖子: 【编译打包】nginx_1.6.2
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表