分类: LINUX
2016-05-06 15:19:15
#阿里云服务器(已试,可行)
deb trusty main restricted universe multiverse deb trusty-security main restricted universe multiverse deb trusty-updates main restricted universe multiverse deb trusty-proposed main restricted universe multiverse deb trusty-backports main restricted universe multiverse deb-src trusty main restricted universe multiverse deb-src trusty-security main restricted universe multiverse deb-src trusty-updates main restricted universe multiverse deb-src trusty-proposed main restricted universe multiverse deb-src trusty-backports main restricted universe multiverse
deb trusty main restricted universe multiverse
deb trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-proposed main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-proposed main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
#中科大
deb trusty main multiverse restricted universe
deb trusty-backports main multiverse restricted universe
deb trusty-proposed main multiverse restricted universe
deb trusty-security main multiverse restricted universe
deb trusty-updates main multiverse restricted universe
deb-src trusty main multiverse restricted universe
deb-src trusty-backports main multiverse restricted universe
deb-src trusty-proposed main multiverse restricted universe
deb-src trusty-security main multiverse restricted universe
deb-src trusty-updates main multiverse restricted universe
#sohu
deb trusty main restricted universe multiverse
deb trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-proposed main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-proposed main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
#oschina
deb trusty main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb trusty-proposed main restricted universe multiverse
deb trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
deb-src trusty-proposed main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
#北京交通大学
deb trusty main multiverse restricted universe
deb trusty-backports main multiverse restricted universe
deb trusty-proposed main multiverse restricted universe
deb trusty-security main multiverse restricted universe
deb trusty-updates main multiverse restricted universe
deb-src trusty main multiverse restricted universe
deb-src trusty-backports main multiverse restricted universe
deb-src trusty-proposed main multiverse restricted universe
deb-src trusty-security main multiverse restricted universe
deb-src trusty-updates main multiverse
# 北京理工
deb precise main multiverse restricted universe
deb precise-backports main multiverse restricted universe
deb precise-proposed main multiverse restricted universe
deb precise-security main multiverse restricted universe
deb precise-updates main multiverse restricted universe
deb-src precise main multiverse restricted universe
deb-src precise-backports main multiverse restricted universe
deb-src precise-proposed main multiverse restricted universe
deb-src precise-security main multiverse restricted universe
deb-src precise-updates main multiverse restricted universe
restricted universe
#上海交大
deb trusty universe restricted multiverse maindeb trusty-security universe restricted multiverse maindeb trusty-updates universe restricted multiverse maindeb trusty-proposed universe restricted multiverse maindeb trusty-backports universe restricted multiverse main
Ubutun版本的更新比较快,目前只有10.04,12.04,14.04,以及后续的16.04会支持长期维护,时间长达3-5年,而其他常规版本的维护期比较短,基本是一年以内。
而笔者使用的14.10,已经停止更新了好一段时间,因为平时用的还可以,所以也就没怎么更新,直到今天要安装一些东西了,才发现update不能用了。在网上找了很多Ubuntu14.10对应的源的列表,然后把它们加入到了系统的源列表中,可还是不行。但是,所有停止维护的版本都可以使用old源。所以在元列表中把原来的地址改为带有old源的就可以了。
1、首先,备份系统中的源列表,打开终端,输入
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
输入 sudo gedit /etc/apt/sources.list
# 打开源列表文件,ctrl+A,然后delete,删除全部内容
然后把下面的地址复制到该文件中
deb utopic main restricted universe multiverse
deb utopic-security main restricted universe multiverse
deb utopic-updates main restricted universe multiverse
deb utopic-proposed main restricted universe multiverse
deb utopic-backports main restricted universe multiverse
deb-src utopic main restricted universe multiverse
deb-src utopic-security main restricted universe multiverse
deb-src utopic-updates main restricted universe multiverse
deb-src utopic-proposed main restricted universe multiverse
deb-src utopic-backports main restricted universe multiverse
sudo apt-get install samba smbfs smbclient
ubuntu 14.04 使用以下方式安装:
1
2
3
4
5
6
7
|
若之前有安装过相关软件包,先卸载之:
sudo apt-get autoremove samba samba-common
sudo apt-get autoremove system-config-samba
按如下方式安装软件包
sudo apt-get install samba samba-common
sudo apt-get install system-config-samba cifs-utils
|
安装Ubuntu samba图形管理界面
#sudo apt-get install system-config-samba
启动samba图形管理界面
#sudo system-config-samba
还需要配置samba用户:
3. 重启samba服务。
#sudo /etc/init.d/smbd restart
九、mount: wrong fs type, bad option, bad superblock on /dev/sdb 挂载格式不对问题