2.软文推荐
3.软文推荐
目录: 1、debian8livecd安装到硬盘 2、Debian8 SSH登录失败:密钥交换失败 3、debian 8三个iso怎么安装 4、debian8为什么要升级 5、debian 8 怎么安装Docker 6、Debian 8(Xfce4) 不加载设置的环境变量的解决办法 debian8livecd安装到硬盘在Debian官网上下载网络安装CD或者完整DVD镜像,用U盘引导,系统镜像在硬盘中,使用u盘来引导,硬盘安装debian,格式化u盘,即可。
Debian8 SSH登录失败:密钥交换失败发行版及版本号:
通过 apt-get install -y openssh-server 命令安装了 sshd ,并修改配置文件使root用户可以通过密码登录
使用SecureCRT 7.x可以登录,但是ssh secure shell client不能登录,提示如下:
通过网络搜索得知,openssh升级后,删除了一些旧的加密算法,所有导致部分ssh clients不能登录。根据网友的分享,我将这些加密算法添加到sshd_config,然后重启启动sshd。
然后检查ssh secure shell client,已经成功登录了。
debian 8三个iso怎么安装一、准备工作
1、台式笔记本一台
2、Debian 7 镜像文件
3、U盘一个(4G/8G)根据系统的大小决定。
4、Universal USB Installer (推荐使用)用过其它的一些软件Utral ISO
试过多次有成功也有不成功,可能是为注册的原因吧
二、安装过程
进入机器的Bois设置,按Del键或者是功能键,具体的按键可以自行观看屏幕上的提示或者百度之。设置第一启动项为U盘。
直接进入的系统的安装界面,安装有多个选项,最简单直接的的就是一路直接默认下去,这是最便捷。我这里选择的是Advanced option
接着进入到熟悉的语音选择,如果打算使用文字界面的操作系统,建议选择English。这样你会减少很多的问题。
选择对应的语言与区域并且配置区域。
还可以配置其它的语音与键盘映射,直接下一步进入相应的安装。
系统自动配置相应的设施,这些步骤没有可选项,直接下一步操作就行了。
使用系统的自动网络配置选项。(这一步是系统自动配置网络,直接选择是就行了,系统安装完成之后可以通过手动的方式修改为静态ip地址。)
配置主机名称和Windows中的计算机名称是同一个概念在网络中的标示符而已。
设置root账号和密码,你可以在这里添加普通用户也可以在安装完成之后在添加。
设置系统的时钟直接默认就Ok了。
debian8为什么要升级修复安全问题。Debian项目很高兴地宣布Debian 8 稳定版本的第八次更新(代号 jessie )。此更新主要向稳定版本中添加了补丁以修复安全问题,以及为一些严重问题所做的调整。
debian 8 怎么安装Docker一般这类软件官网都有FAQ的。还有看官网的user guide
英文安装过程如下:
Debian
Docker is supported on the following versions of Debian:
Debian testing stretch (64-bit)
Debian 8.0 Jessie (64-bit)
Debian 7.7 Wheezy (64-bit) (backports required)
Note: If you previously installed Docker using APT, make sure you update your APT sources to the new APT repository.
Prerequisites
Docker requires a 64-bit installation regardless of your Debian version. Additionally, your kernel must be 3.10 at minimum. The latest 3.10 minor version or a newer maintained version are also acceptable.
Kernels older than 3.10 lack some of the features required to run Docker containers. These older versions are known to have bugs which cause data loss and frequently panic under certain conditions.
To check your current kernel version, open a terminal and use uname -r to display your kernel version:
$ uname -r
Additionally, for users of Debian Wheezy, backports must be available. To enable backports in Wheezy:
Log into your machine and open a terminal with sudo or root privileges.
Open the /etc/apt/sources.list.d/backports.list file in your favorite editor.
If the file doesn’t exist, create it.
Remove any existing entries.
Add an entry for backports on Debian Wheezy.
An example entry:
deb wheezy-backports main
Update package information:
$ apt-get update
Update your apt repository
Docker’s APT repository contains Docker 1.7.1 and higher. To set APT to use from the new repository:
If you haven’t already done so, log into your machine as a user with sudo or root privileges.
Open a terminal window.
Purge any older repositories.
$ apt-get purge "lxc-docker*"
$ apt-get purge "docker.io*"
Update package information, ensure that APT works with the https method, and that CA certificates are installed.
$ apt-get update
$ apt-get install apt-transport-https ca-certificates
Add the new GPG key.
$ apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Open the /etc/apt/sources.list.d/docker.list file in your favorite editor.
If the file doesn’t exist, create it.
Remove any existing entries.
Add an entry for your Debian operating system.
The possible entries are:
Note: Docker does not provide packages for all architectures. To install docker on a multi-architecture system, add an [arch=...] clause to the entry. Refer to the Debian Multiarch wiki for details.
On Debian Wheezy
deb debian-wheezy main
On Debian Jessie
deb debian-jessie main
On Debian Stretch/Sid
deb debian-stretch main
Save and close the file.
Update the APT package index.
$ apt-get update
Verify that APT is pulling from the right repository.
$ apt-cache policy docker-engine
From now on when you run apt-get upgrade, APT pulls from the new apt repository.
Install Docker
Before installing Docker, make sure you have set your APT repository correctly as described in the prerequisites.
Update the APT package index.
$ sudo apt-get update
Install Docker.
$ sudo apt-get install docker-engine
Start the docker daemon.
$ sudo service docker start
Verify docker is installed correctly.
$ sudo docker run hello-world
This command downloads a test image and runs it in a container. When the container runs, it prints an informational message. Then, it exits.
Giving non-root access
The docker daemon always runs as the root user and the docker daemon binds to a Unix socket instead of a TCP port. By default that Unix socket is owned by the user root, and so, by default, you can access it with sudo.
If you (or your Docker installer) create a Unix group called docker and add users to it, then the docker daemon will make the ownership of the Unix socket read/writable by the docker group when the daemon starts. The docker daemon must always run as the root user, but if you run the docker client as a user in thedocker group then you don’t need to add sudo to all the client commands. From Docker 0.9.0 you can use the -G flag to specify an alternative group.
Warning: The docker group (or the group specified with the -G flag) is root-equivalent; see Docker Daemon Attack Surface details.
Example:
# Add the docker group if it doesn't already exist.
$ sudo groupadd docker
# Add the connected user "${USER}" to the docker group.
# Change the user name to match your preferred user.
# You may have to logout and log back in again for
# this to take effect.
$ sudo gpasswd -a ${USER} docker
# Restart the Docker daemon.
$ sudo service docker restart
Upgrade Docker
To install the latest version of Docker with apt-get:
$ apt-get upgrade docker-engine
Uninstall
To uninstall the Docker package:
$ sudo apt-get purge docker-engine
To uninstall the Docker package and dependencies that are no longer needed:
$ sudo apt-get autoremove --purge docker-engine
The above commands will not remove images, containers, volumes, or user created configuration files on your host. If you wish to delete all images, containers, and volumes run the following command:
$ rm -rf /var/lib/docker
You must delete the user created configuration files manually.
如果你用apt 请先更新apt
docker 支持64位debain .内核最低必须是3.10的。
可以用 uname -r 命令查看系统和内核版本
Debian 8(Xfce4) 不加载设置的环境变量的解决办法Debian 8 Xfce 桌面版使用的 DM 是 LightDM。这个问题就是LightDM引起的,它在启动桌面环境时不会去读取设置的环境变量。无论是设在在/etc/profile、/etc/envrionment还是~/.profile都不会读取。
我尝试了去修改LightDM的一些设置,但是均没生效,所以最后只能转用其他DM。
不推荐使用GDM,会带上一大堆Gnome桌面的软件包。推荐使用KDM,不会附带一大堆没用的依赖。
安装KDM并启用:

立即
返回
1
对于站长来说服务器租用是非常熟悉的,其是网站搭建必不可少的。站长租用的服务器也都是存在机房当中,而在机房中除了具有服务器外...