linux
hhcccchh
这个作者很懒,什么都没留下…
展开
-
This system is not registered with RHN
root@localhost ipvsadm-1.25]# yum install gcc Loading "security" plugin Loading "rhnplugin" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process转载 2013-10-24 12:06:59 · 643 阅读 · 0 评论 -
Linux 配置环境命令
1、查找文件 find / -name tnsnames.ora原创 2014-07-29 11:34:58 · 404 阅读 · 0 评论 -
Linux el6安装MySQL-5.6
下载地址:http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-5.6.14-1.el6.x86_64.rpm-bundle.tar For Centos 6, RPM may complain that you may have mysql-libs that is of version 5.1 due to crontabs. You ca原创 2013-10-25 20:42:48 · 654 阅读 · 0 评论 -
RHEL6关闭IPv6
1、在/etc/modprobe.d/目录下增加一个新的配置文件ipv6.conf cat /etc/modprobe.d/ipv6.conf alias net-pf-10 off alias ipv6 off EOF 此步可以禁用ipv6但是重启网络报错:FATAL: Module off not found.所以建议使用下面更新的内容: cat转载 2013-10-24 22:19:50 · 723 阅读 · 0 评论 -
SELinux是什么意思,如何关闭?Linux下的防火墙用什么命令打开?
SELinux(Security-Enhanced Linux) 是美国国家安全局(NSA)对于强制访问控制的实现,是 Linux® 上最杰出的新安全子系统。NSA是在Linux社区的帮助下开发了一种访问控制体系,在这种访问控制体系的限制下,进程只能访问那些在他的任务中所需要文件。SELinux 默认安装在 Fedora 和 Red Hat Enterprise Linux 上,也可以作为其他原创 2013-10-24 11:48:47 · 2931 阅读 · 0 评论 -
linux给用户添加sudo权限
linux给用户添加sudo权限: 有时候,linux下面运行sudo命令,会提示类似: xxxis not in the sudoers file. This incident will be reported. 这里,xxx是用户名称,然后导致无法执行sudo命令,这时候,如下解决: 进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入转载 2013-10-24 10:56:05 · 808 阅读 · 0 评论 -
CentOS(RedHat)中sendmail启动慢解决方法
sendmail是一个优秀的邮件系统,安装后即可使用,但是在重启或者发送邮件的时候,速度会很慢,这该怎么解决呢? 我在使用过程中,重启sendmail大概要卡3分钟左右,而发送测试邮件足足会等上一分左右的时间。 查了大量的资料,都没解决,后来才发现,sendmail只认网络主机名,而网上一些文章中所描述的直接在hosts文件中添加主机名,不符合网络主机名规范,所以启动速度很慢。解决办法转载 2013-10-24 10:13:24 · 610 阅读 · 0 评论 -
linux系统,面对一大堆目录,我想找一个文件,知道文件的名字,但是不知道在哪个目录下,怎么办
find啊 。绝对强悍 find . -maxdepth 1 -name "@*" 这个命令意思是,查找当前目录下以@开头的文件或者目录,搜索深度为一级也就是只在当前目录找,不进入子目录,如果你要从/目录开始找就: find / -maxdepth 1 -name "@*" 如果想搜全盘,就把-maxdepth 1 去掉转载 2013-10-24 10:51:48 · 2167 阅读 · 0 评论 -
查看linux系统版本命令
一。查看内核版本命令: 1) [root@SOR_SYS ~]# cat /proc/version Linux version 2.6.18-238.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Sun Dec 19 14:22:4转载 2013-10-24 12:36:19 · 546 阅读 · 0 评论 -
Ubuntu系统下Angularjs开发环境安装
一.win7环境下安装ubuntu系统 http://jingyan.baidu.com/article/60ccbceb18624464cab197ea.html 注意:在安装的第四步选择“安装ubuntu系统,与win7系统共存”这一项,这样可以免去后面的分区,安装更方便 二.安装jdk8 http://hi.baidu.com/270460591/item/5a6a9bcf8f原创 2015-02-26 17:17:59 · 2913 阅读 · 0 评论