随笔分类 -  linux软件安装杂症

摘要:vps 一直是使用 ssh管理,但是ssh默认一段时间不操作就会自动掉线,查阅资料后,发现修改如下参数可以解决掉线问题。 在 /etc/ssh/sshd_config 文件里添加以下两行: ClientAliveInterval15ClientAliveCountMax45 重启sshd服务#/etc/init.d/sshdrestart ClientAliveInterval设置一个以秒记的时长,如果超过这么长时间没有收到客户端的任何数据, sshd 将通过安全通道向客户端发送一个”alive”消息,并等候应答。 默认值 0 表示不发送”alive”消息。这个选项仅对SSH-2有效。 Cl. 阅读全文
posted @ 2012-03-31 14:42 52linux 阅读(973) 评论(0) 推荐(0) 编辑
摘要:解决方案: 用记事本打开 httpd.conf 将里面的 #ServerName localhost:80 注释去掉即可。 再执行 httpd 然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。 ++++++++++++++++++++++++++++++++++++++++++++using localhost.localdomain for ServerName 说不能确认服务器完全确认域名 localhost.localdoman 这个问题怎么解决最佳答案: vi /et... 阅读全文
posted @ 2012-03-24 17:03 52linux 阅读(243616) 评论(0) 推荐(7) 编辑
摘要:通过VMware Workstation 中安装Fedora10后,需要安装VMware Tools来提高虚拟机的性能。步骤:1.拷贝VMware Tools安装文件: 启动Fedora10,在VMware Workstation中选择VM下的Install VMware Tools菜单,此时在Fedora10中会出现一个VMware Tools光盘,拷贝其中的VMware Tools-xxx-tar.gz文件到任意目录如/tmp 。2.安装VMware Tools:解压VMware Tools-xxx-tar.gz,进入解压后的vmware-tools-distrib目录,运行“./v... 阅读全文
posted @ 2012-03-16 23:59 52linux 阅读(1601) 评论(0) 推荐(0) 编辑
摘要:今天在修改了一下httpd.conf文件的DocumentRoot目录后重启了httpd服务,却发现报错了。 DocumentRoot must be a directory 。刚开始以为是自己配置有问题,后来检查了好一遍并确认配置的DocumentRoot就是一个directory啊。哎,只好baidu一下了。呵呵, 看来遇到过这种报错的人还真不少啊。总结起来有两种可能导致了DocumentRoot must be a directory报错。 1、DocumentRoot的目录配置中带有中文 如果你的DocumentRoot目录设置中有中文的话,请先修改成英文的试试吧。哈哈…... 阅读全文
posted @ 2012-03-11 22:56 52linux 阅读(3270) 评论(0) 推荐(0) 编辑
摘要:centos 安装ZendStudio出现如下错误:ockingisnotpossibleinthedirectoryC:\eclipse\configuration\org.eclipse.osgi.AcommonreasonisthatthefilesystemorRuntimeEnvironmentdoesnotsupportfilelockingforthatlocation. Pleasechooseadifferentlocation,ordisablefilelockingpassing"-Dosgi.locking=none" asaVMargument. 阅读全文
posted @ 2012-03-11 19:22 52linux 阅读(3282) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示