Linux虚拟机基础优化1.系统环境查看命令cat/etc/redhat-releaseuname-runame-m说明:系统环境CentOSrelease6.5(Final)2.6.32-431.el6.x86_642.关闭SELinux功能命令cat/etc/selinux/configsed-i‘s#SELINUX=enforcing#SELINUX=disabled#g‘/etc/selinux/configsetenforce0getenfor..
分类:
系统相关 时间:
2017-10-10 16:31:41
阅读次数:
161
0.前言 本文主要说明如何使能或禁止表单控件。表单控件具有disabled属性,通过设置该属性可以禁止所有的input控件,input的更多属性请参考资料【1】。下面就通过一个简单的例子说明如何设置和读取disabled属性。 [html] <!DOCTYPE html> <html> <head> ...
分类:
其他好文 时间:
2017-10-09 16:43:00
阅读次数:
245
防火墙 查看防火墙状态命令: service firewalld status systemctl status firewalld 结果: 其中: enabled:开机启动(开机不启动是disabled); active(running):已经启动(未启动是inactive)。 启动防火墙命令:s ...
分类:
其他好文 时间:
2017-10-09 10:52:33
阅读次数:
176
错误提示如下: Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:44: dofile has been disabled due to running Wireshark as superuser. See ht ...
分类:
其他好文 时间:
2017-10-08 14:11:57
阅读次数:
794
1、vi /etc/vsftpd/vsftpd.conf# You may specify an explicit list of local users to chroot() to their home# directory. If chroot_local_user is YES, then ...
分类:
系统相关 时间:
2017-10-06 20:07:13
阅读次数:
987
1 查看SELinux状态 Enforcing为开启状态;Disabled为关闭状态。 [root@localhost /]# getenforce Enforcing 2 临时关闭SELinux [root@localhost /]# setenforce 0 [root@localhost /] ...
分类:
系统相关 时间:
2017-10-06 13:01:07
阅读次数:
175
If a control is disabled it cannot be edited and its content is excluded when the form is submitted.If a control is readonly it cannot be edited, but ...
分类:
编程语言 时间:
2017-10-06 10:37:20
阅读次数:
256
1 #!/bin/bash 2 # 3 echo "close selinux…" 4 sed -i 's/Enforcing/disabled/' /etc/sysconfig/selinux 5 source /etc/sysconfig/selinux 6 reboot 7 echo "emp... ...
分类:
Web程序 时间:
2017-10-05 00:21:31
阅读次数:
295
httpd2.2配置文件详解 httpd2.2官方配置手册:http://httpd.apache.org/docs/2.2/ 注意:关闭防火墙,iptables规则 vim /etc/sysconfig/selinux SELINUX=disabled iptables -F httpd-2.2的 ...
分类:
Web程序 时间:
2017-10-04 23:55:15
阅读次数:
344