[root@desktop0~]#cat/etc/selinux/config#ThisfilecontrolsthestateofSELinuxonthesystem.#SELINUX=cantakeoneofthesethreevalues:#enforcing-SELinuxsecuritypolicyisenforced.#permissive-SELinuxprintswarningsinsteadofenforcing.#disabled-NoSELinuxpolicyisloaded.SELIN..
分类:
系统相关 时间:
2015-10-11 19:46:31
阅读次数:
244
此选择器主要是对所选择的表单元素进行过滤:选择器描述返回enabled选择所有的可用的元素集合元素disabled选择所有的不可用的元素集合元素checked选择所有被选中的元素(单选框,复选框)集合元素selected选择所有被选中选项元素(下拉列表)集合元素 ...
分类:
Web程序 时间:
2015-10-06 23:41:19
阅读次数:
286
QUESTION NO: 120
Which of the following are not disabled by default?
A. Jobs
B. Chains
C. Windows
D. Window groups
E. Schedule
A schedule is enabled by default. The others are disabled by defau...
分类:
其他好文 时间:
2015-10-05 13:05:22
阅读次数:
152
sed-i‘s#SELINUX=enforcing#SELINUX=disabled#g‘/etc/selinux/config
setenforce0
iptables-F
serviceiptablessave
chkconfigiptablesoff
wget-O/etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-6.repo
yumcleanall&&yummakecache
yum-yinsta..
分类:
其他好文 时间:
2015-09-30 14:45:01
阅读次数:
188
1.求y和z的值是多少?都为undefined,因为没有返回值。2.javascript是面向对象的,怎么体现javascript的继承关系?使用prototype来实现。3.javascript怎样选中一个checkbox,怎样设置它无效?document.all.cb1[0].disabled ...
分类:
编程语言 时间:
2015-09-28 11:29:03
阅读次数:
286
在开始安装前先准备好安装包(红色文件部分,版本号随意)一、用root用户连接上主机二、禁用SELinuxsed-i‘s/SELINUX=enforcing/SELINUX=disabled/g‘/etc/selinux/config
#在/etc/selinux/config文件里把SELINUX=enforcing替换为SELINUX=disabled,重启生效
setenforce0
#临时把S..
分类:
其他好文 时间:
2015-09-27 06:34:49
阅读次数:
202
1永久关闭selinux,修改成permissive或者disabled(建议),修改完需重启2配置network3.禁止ping(可选,一般不需要禁止)(默认为0位启用ICMP协议,1为禁止),修改完无须重启[root@oracleipv4]#echo"1">/proc/sys/net/ipv4/...
分类:
其他好文 时间:
2015-09-25 16:05:34
阅读次数:
171
1、提交按钮置disabled 当用户提交后,立即把按钮置为不可用状态。这种用js来实现。 提交前代码如下: $("#submit").attr(‘disabled‘,‘true‘); $("#submit").val("正在提交,请稍等"); 执行后,把按钮置为原来状态...
分类:
Web程序 时间:
2015-09-25 13:27:13
阅读次数:
172
关闭selinux(万恶之源):临时生效:setenforce 0永久生效:修改/etc/selinux/config文件中设置SELINUX=disabled配置网路:vi /etc/sysconfig/network-scripts/ifcfg-eth0service network resta...
分类:
系统相关 时间:
2015-09-22 16:34:15
阅读次数:
641
Linux出现 DISPLAY 尚未设置 解决方法,在root用户目录下执行#xhost +[root@TEST144239 ~]# xhost +access control disabled, clients can connect from any host然后,切换用户:[root@TEST...
分类:
系统相关 时间:
2015-09-22 10:11:52
阅读次数:
2715