安装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记录过程,以备后患!
你这评论功能 请求form时 不跳转页面是怎么实现的 ajax么?
@路过 是ajax提交,不过成功后其实还是会跳转一次(跳转到当前界面)。