码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu安装

时间:2016-07-23 19:38:48      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:

1.源下载地址:http://mirrors.aliyun.com/ubuntu-releases/

ubuntu-16.04-server-amd64.iso

2.在虚拟机上安装完后

(1)查看IP地址:ifconfig

(2)SercureCRT上连接,提示“The remote system refused the connection.”

没安装ssh,安装ssh:apt-get install ssh

查看ssh进程是否存在:ps -e |grep ssh

安装完后,SercureCRT就能连接上了。

(3)查看安装了什么软件:dpkg -l

(4)取得超级权限:sudo nsenter -t 0

3.安装docker容器:apt-get install docker

技术分享

没安装 成功,应该这样安装

apt-get install docker.io 

运行docker:service docker start    

4.安装smaba

apt-get install samba

配置文件目录:/etc/samba/smb.conf

(1)备份配置文件: cp smb.conf smb.conf.bak

(2)配置文件:

5.apt-get install 安装软件太慢了

更新源:

(1)备份: cp /etc/apt/sources.list /etc/apt/sources.list.old

(2)添加资源地址:

vi /etc/apt/sources.list

写入:

deb http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted

(3)更新: sudo apt-get update

 

ubuntu安装

标签:

原文地址:http://www.cnblogs.com/a963383404/p/5699306.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!