摘要:
1、启动telnet服务 1、开启服务 方法一:使用ntsysv命令,在出现的窗口中,选中telnet,然后按下 OK 。 [root@CentOS5 /]#ntsysv 方法二:编辑 /etc/xinetd.d/telnet [root@CentOS5 /]#vi /etc/xinetd.d/telnet 将"disable = yes" 改为"disable = no" 2、启... 阅读全文
摘要:
项目中碰到的问题,编译好的so文件,放到其他机器上去加载,报了错误,cannot restore segment prot after reloc: Permission denied。 网上查了一下,原因是selinux的问题,selinux的设置太过严格导致的。解决的办法是在root用户下,修改/etc/selinux/config 文件, [cpp] view plaincopy 把... 阅读全文
摘要:
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 t1.dky.com t1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhos... 阅读全文
摘要:
新安装完CentOS Linux,发现配置完apache后没法访问,估计是防火墙问题。
/etc/init.d/iptables status
会得到一系列信息,说明防火墙开着。
/etc/init.d/iptables stop
永久关闭:
chkconfig --level 35 iptables off
1) 永久性生效,重启后不会复原
开启: chkconfig iptables on
... 阅读全文
摘要:
配置步骤如下: 一、安装telnet软件包(通常需要两个) 1、 telnet(或 telnet-client),这个软件包提供telnet 客户端程序; 2、 telnet-server,这个软件包提供telnet 服务器端程序; 安装之前先检查系统是否已安装这些软件包,方法如下: [root@CentOS5 /]#rpm -qa |grep telnet 如果没有检测到软件包,则... 阅读全文