VMware ubuntu-gnome 安装 openssh-server

ubuntu-gnome-14.10界面简单非常实用

安装openssh-server,报错如下
root@ubuntu:~# apt-get install openssh-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openssh-server' has no installation candidate
root@ubuntu:~# 
按照网上方法1(失败):
# apt-get update
# apt-get upgrade
方法2(失败):
修改更新源(网上搜索soures.list)
# vim /etc/apt/sources.list
# apt-get update
# apt-get upgrade
最后方法3(成功):
源码编译安装,下载ssh-3.2.9.1.tar.gz,然后依次执行
# tar xzvf ssh-3.2.9.1.tar.gz 
# cd ssh-3.2.9.1 
# ./configure
# make
# make install
# make clean
记录过程,以备后患!
27

评论

  1. 你这评论功能 请求form时 不跳转页面是怎么实现的 ajax么?

    1. @路过 是ajax提交,不过成功后其实还是会跳转一次(跳转到当前界面)。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

点击更换