Linux:安装OpenSSH-Server E:Package openssh-server has no installation candidate

$sduo 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

执行:sudo apt-get update 也提示更新失败,或者无内容可更新。

解决方案:sudo vim /etc/network/interfaces修改ip,重启。

执行:sudo apt-get update

问题解决:

http://blog.sina.com.cn/s/blog_3e28c8a50101cax0.html

时间: 2024-07-30 20:30:36

Linux:安装OpenSSH-Server E:Package openssh-server has no installation candidate的相关文章

NBU Client For Linux 安装

1.1 NBU Client For Linux安装 1.  客户端添加NBU SERVER HOSTS解析 [[email protected]]# cat /etc/hosts # Do not remove the following line,  or various programs # that require network functionality  will fail. 127.0.0.1               localhost.localdomain  localh

Apache http server linux 安装过程说明

PS:Apache http server 需要依赖 apr.apr-util.pcre,所以要先下载和安装这三个东东.而apr-util和pcre又依赖apr,所以要先安装apr. 步骤: 1.  下载apr.apr-util.pcre.Apache httpserver 地址如下: apr/ apr-util: http://apr.apache.org/download.cgi pcre: http://www.pcre.org/ apache http server: http://ht

NBU Server For Linux 安装

1.1 添加HOSTS解析 1.安装NBU SERVER前添加本机HOSTS解析 [[email protected] ~]# cat /etc/hosts 127.0.0.1    localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1          localhost localhost.localdomain localhost6 localhost6.localdomain6 10.17.1.62 

Weblogic12.1.3.0补丁安装(win server与linux安装步骤介绍)

文章目录1 根据oracle官方发布的漏洞报告下载补丁2 补丁包上传解压到Linux Server3 补丁包上传解压到Windows Server4 关于OPatch5 Linux与Windows安装补丁区别6 Linux安装补丁6.1 Linux单个补丁安装6.2 查看已安装的补丁6.3 多个补丁安装6.4 单个补丁回滚6.5 多个补丁回滚6.6 验证补丁是否应用到Oracle Home7 重启weblogic应用服务8 Windows安装补丁 文章正文由oracle官方发布的漏洞公告,对we

Linux Study之--RedHat EL6配置VNC server

Linux Study之--RedHat EL6配置VNC server 系统环境:    操作系统:RedHat EL6.4(64)    RH6在vnc server的安装及配置和RH5稍微有不同,以下案例在RH EL6.4上安装配置vnc server 1.查看vnc 安装包 [[email protected] ~]# rpm -qa |grep vncgtk-vnc-0.3.10-3.el6.x86_64libvncserver-0.9.7-4.el6.x86_64gtk-vnc-py

Ubutu下安装DHCP, PPPoE, PPTP, L2TP, DNS server

一. 安装DHCP server ubuntu下搭建udhcpd服务器 1.查看是否安装了udhcpd服务器:dpkg -l | grep udhcpd如果没有安装udhcpd服务器,我们可以用apt-get install udhcpd来安装udhcpd服务器. 2. 编辑/etc/default/udhcpd enable udhcp3.编辑/etc/udhcpd.conf(配置文件)文件:vim /etc/udhcpd.confstart 192.168.43.30  #定义地址池的开始地

Linux环境下通过ODBC访问MSSql Server

为了解决Linux系统连接MSSql Server的问题,微软为Linux系统提供了连接MSSql Server的ODBC官方驱动.通过官方驱动,Linux程序可以方便地对MSSql Server进行访问. 官网提供了三个版本的驱动,分别用于以下发行版的Linux系统: 64bit Red Hat Enterprise Linux 5 64bit Red Hat Enterprise Linux 6 64bit SUSE Linux Enterprise 11 Service Pack 2 (实

在Linux上使用mssql-conf工具配置SQL Server 2017

mssql-conf是在Linux上安装SQL Server 2017后的一个配置脚本.你可以使用这个实用工具设置以下参数: Agent 启用SQL Server代理 Collation 设置一个新的排序规则 Customer feedback 选择是否发送反馈给微软 Database Mail Profile 设置默认数据库邮件配置 Default data directory 修改新的数据文件的默认路径 Default log directory 修改新的日志文件的默认路径 Default

SQL server数据库的在server 2008R2上的安装及基本管理

         SQL server数据库的在server 2008R2上的安装及基本管理(一) 选择SQL的数据库的镜像文件 双击setup.ext 执行安装程序 这里选择安装项,并选择全新安装 安装的环境监测全部通过 因为这里是使用的破解版的镜像,所以会自动生成密钥 再一次检测安装环境 这里选择第一项 这里选择全部的功能 这里选择默认的实例名 这里将系统的内置账户添加到服务中,NT 这里选择混合式身份 验证,并输入sa的密码.并添加本地的管理员 这里添加本地的管理员账户 选择第一项 开始安

安装VisualSVN Server 报" Service 'VisualSVN Server' failed to start. " 服务启动失败

安装VisualSVN Server 报"Service 'VisualSVN Server' failed to start. Please check VisualSVN Server log in Event Viewer for more details"错误.原因是启动"VisualSVN Server"失败 2 咱们先来看一下这个服务在哪,计算机-右键-管理或者系统服务-在服务里面可以看到一个"VisualSVN Server"项,状