文章作者:Slyar 文章来源:Slyar Home (www.slyar.com) 转载请注明,谢谢合作。
最近写东西的时候发现这个玩意太讨厌了,总是冒出一些无聊的错误让我浪费笔墨,索性直接禁用它,以后写安全方面的时候再说...
用vim打开 /etc/selinux/config
在 SELINUX=enforcing 前面加个#号注释掉它
#SELINUX=enforcing
然后新加一行
SELINUX=disabled
保存,退出,重启系统,搞定。
文章作者:Slyar 文章来源:Slyar Home (www.slyar.com) 转载请注明,谢谢合作。
1、Make sure you already have gcc and kernel devel installed. You can install it by running the command.
yum install gcc kernel-devel
2、Select "Tools" from the VMWare Workstation GUI menu, and then "Install VMWare Tools". This doesn't actually appear to do anything in the guest machine. All it really does is to connect the virtual CD-ROM device to the appropriate CD image containing the tools for your virtual machine.
3、Open a console or SSH session.
4、Mount the virtual cd drive.
5、Copy file to the /tmp.
6、Unmount the virtual cd drive.
7、Run the installer
8、Run the install script. just hit enter all the way through.
/usr/bin/vmware-config-tools.pl
9、Done.
文章作者:Slyar 文章来源:Slyar Home (www.slyar.com) 转载请注明,谢谢合作。
The default runlevel is defined in /etc/inittab
Default runlevel. The runlevels used by RHS are:
0 - halt (Do NOT set initdefault to this)
1 - Single user mode
2 - Multiuser, without NFS (The same as 3, if you do not have networking)
3 - Full multiuser mode
4 - unused
5 - X11
6 - reboot (Do NOT set initdefault to this)
So,If you want to always boot to the text-only mode,edit "/etc/inittab" and change "id:5:initdefault:" to "id:3:initdefault:"
最新评论