Centos 6/RHEL disable the IPv6 module.】的更多相关文章

http://minimallinux.blogspot.com/2013/07/centos-6rhel-disable-ipv6-module.html IPv6 was introduced to solve the problems of IPv4 but it is often not used and not all hardware supports it. If you find it necessary to disable IPv6 for any reason you ma…
原文 CentOS 7 / RHEL 7 上安装 LAMP + phpMyAdmin 发表于 2014-11-02 作者 Haoxian Zeng 更新于 2014-12-12   之前根据在 Linode VPS 上部署 LAMP 服务器的经验写了安装记录,得到不少网友的亲睐.随着 CentOS 7 发布,安装过程发生了不少变化.因此在虚拟机上跑了一下,根据之前的记录做了修改,以供参考.主要注意的是,现在数据库由 MySQL 改成 MariaDB 了,故而 LAMP 代表的就是 Linux +…
转自: https://zh.codepre.com/centos-2700.html 前言 本指南描述了在CentOS 8 / RHEL 8 Linux上配置BIND DNS服务器所需的步骤.在CentOS8 / RHEL8上设置主/从绑定DNS.域名系统是连接到Internet或专用网络的计算机,服务或其他资源. (维基百科).充当Internet电话簿,为与FQDN关联的所有计算机提供地址. 作为TCP / IP参考模型应用程序层的一部分,DNS在全球计算机的日常操作中非常重要.在Cent…
CentOS 7 (RHEL 7)带来了新的服务管理命令,为了保持兼容原有的命令仍可以使用,以下是新旧命令的对照. 启动.停止.重启.重载.检查服务:6: service httpd start|stop|restart|reload|status7: systemctl start|stop|restart|reload|status httpd.service 允许.禁止服务自启动:6: chkconfig httpd on|off7: system enable|disable httpd…
在本教程中,我们将学习如何在CentOS 7 / RHEL 7上安装Redis服务器. redis的缩写是REmote DIctionary Server. 它是最流行的开源,高级键值缓存和存储之一. reids的官方网站地址: http://redis.io/ 如果你的服务器没有安装wget下载程序的话,需要先安装wget, Install wget command: yum install wget Install redis server Now use yum command to in…
介绍 Nux Dextop是类似CentOS.RHEL.ScientificLinux的第三方RPM仓库(比如:Ardour,Shutter等等).目前,Nux Dextop对CentOS/RHEL 6|7可用. 安装 Nux Dextop库依赖于EPEL库,所有要先安装EPEL库(需要管理员权限). 如果安装过则跳过. $ su root $ yum -y install epel-release 对于RHEL6/CentOS 6(复制/粘贴): $ rpm -Uvh http://li.nu…
转载自:https://linux.cn/article-4243-1.html 如果希望在服务器上提供服务,诸如CentOS或RHEL的企业级Linux发行版包含内置的强大防火墙,它们默认的防火墙规则十分严格.因此,如 果你安装了任何定制的服务(比如web服务器.NFS和Samba),那么它们的流量很有可能被防火墙规则阻塞.所以需要在防火墙上开启必要的端口以允许 流量通过. 在CentOS/RHEL 6或更早的版本上,iptables服务允许用户与netfilter内核模块交互来在用户空间中配…
The system localeare used to control the language setting of system services and the UI before the user logs in. How Do I change the default system locale in CentOS 7 linux system? How to check the current locate setting under centos 7 or RHEL 7 ? Ho…
http://ask.xmodulo.com/enable-nux-dextop-repository-centos-rhel.html Question: I would like to install a RPM package which is available only in Nux Dextop repository. How can I set up Nux Dextop repository on CentOS or RHEL? Nux Dextop is a third-par…
Ajaxterm-0.10-8.el5.noarch.rpm CentOS 5 (RHEL 5) Download Install Howto Download the latest epel-release rpm from http://dl.fedoraproject.org/pub/epel/5/i386/ Install epel-release rpm: # rpm -Uvh epel-release*rpm Install Ajaxterm rpm package: # yum i…
Nux Dextop是一个面对CentOS.RHEL.ScientificLinux的含有许多流行的桌面和多媒体相关的包的第三方RPM仓库(比如:Ardour,Shutter等等).目前,Nux Dextop桌面对CentOS和RHEL 6/7可用. 要在CentOS或者RHEL上启用Nux Dextop,遵循下面的步骤. 首先,要知道Nux Dextop被设计与EPEL仓库共存.因此,你需要在使用Nux Dexyop仓库前先启用 EPEL. 启用EPEL后,用下面的命令安装Nux Dextop…
Linux系统忘记管理员密码(CentOS.RHEL.Ubuntu) 系统使用过程中,尤其是生产环境中.万一忘记管理员密码,该怎么办?是不是很绝望? 1.RHEL 7.0 重启主机进入引导界面键入e键进入内核编辑界面,如图 在“UTF-8 ”后添加“rd.break”按ctrl+x运行修改过的内核程序 进入系统的紧急救援模式 输入: mount -o remount,rw /sysroot chroot  /sysroot passwd touch /.autorelabel exit rebo…
centos/Fedora/RHEL •     整改方法: •     验证检查:  1.查看/etc/login.defs,访谈询问当前所设置的密码长度及更换周期:  2.查看/etc/pam.d/system-auth,确认密码复杂度要求.         密码最长有效期PASS_MAX_DAYS:         密码最短存留期PASS_MIN_DAYS:         密码长度最小值PASS_MIN_LENS:         密码有效期警告PASS_WARN_AEG:       …
如何在 CnetOS 7 或 RHEL 7(Red Hat 企业版 Linux)服务器上安装和配置 KVM(基于内核的虚拟机)?如何在 CentOS 7 上设置 KVM 并使用云镜像 / cloud-init 来安装客户虚拟机? 基于内核的虚拟机(KVM)是 CentOS 或 RHEL 7 的虚拟化软件.KVM 可以将你的服务器变成虚拟机管理器.本文介绍如何在 CentOS 7 或 RHEL 7 中使用 KVM 设置和管理虚拟化环境.还介绍了如何使用命令行在物理服务器上安装和管理虚拟机(VM).…
  本文档适用于CentOS.RHEL.Asianux.Neokylin.湖南麒麟.BC Linux.普华.EulerOS.SLES.Ubuntu.Deepin.银河麒麟. CentOS.RHEL.Asianux.Neokylin.湖南麒麟.BC Linux.普华.EulerOS请参考"1.1 CentOS本地源配置": SLES.Ubuntu.Deepin.银河麒麟请参考各自对应的章节.   <ignore_js_op id="attachments-561462&q…
Cockpit 是一个基于 Web 的服务器管理工具,可用于 CentOS 和 RHEL 系统.最近发布的 CentOS 8 和 RHEL 8,其中 cockpit 是默认的服务器管理工具.它的软件包在默认的 CentOS 8 和 RHEL 8 仓库中就有.Cockpit 是一个有用的基于 Web 的 GUI 工具,系统管理员可以通过该工具监控和管理 Linux 服务器,它还可用于管理服务器.容器.虚拟机中的网络和存储,以及检查系统和应用的日志. 在本文中,我们将演示如何在 CentOS 8 和…
CentOS 到了7.x版本, PostgreSQL也来到了10.x版本. 前些天MySQL都直接跨到了8.0版本. 本文是一篇在CentOS 7.4上安装安装PostgreSQL 10.3 的教程. 本文发布于2018-04-28. 1. 切换到root用户: sudo su 2. 把最新的rpm包添加到系统库: PostgreSQL会为所有的Linux平台发布rpm包, 而且会比其他的的库更新的更快.可以试试在浏览器输入 https://download.postgresql.org/pub…
http://www.cnblogs.com/czh-liyu/archive/2012/11/30/2796028.html(转) 用python连接本地数据库时,提示no module MySQLdb 环境 centos 6,python 2.7.3 用 yum install MySQL-python 顺利安装完成后,再运行python文件 ,还是找不到module,怪了, 那就用源码安装 安装setuptools-0.6c11,安装MySQL-python 上面这2个文件,竟然还得FQ才…
切换到root用户 添加Adobe Repository Adobe Repository 32-bit x86 rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux Adobe Repository 64-bit x86_64 rpm -ivh http://lin…
source:http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos This post will cover installation and configuration of Tomcat 6 on CentOS 5. We will also show how to run Tomcat as a service, create a start/stop script, and configure Tomcat to…
Official Red Hat/CentOS packages To add NGINX yum repository, create a file named /etc/yum.repos.d/nginx.repo and paste one of the configurations below: CentOS: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ g…
当你更新系统时,根据你所在公司的安全策略,有时候可能只需要打上与安全相关的补丁.大多数情况下,这应该是出于程序兼容性方面的考量.那该怎样实践呢?有没有办法让 yum 只安装安全补丁呢? 答案是肯定的,可以用 yum 包管理器轻松实现. 在这篇文章中,我们不但会提供所需的信息.而且,我们会介绍一些额外的命令,可以帮你获取指定安全更新的详实信息. 希望这样可以启发你去了解并修复你列表上的那些漏洞.一旦有安全漏洞被公布,就必须更新受影响的软件,这样可以降低系统中的安全风险. 对于 RHEL 或 Cen…
Travis -  June 13, 2015 - Leave a comment One of the most common things I do on Linux machines is open ports to test software in a development environment.  In the past, that meant trying to remember (and Googling) cryptic iptables commands.  Now, Ce…
首先,使用yum安装必要的软件 [root@server ~]# yum install net-snmp-utils net-snmp-devel安装完成之后, 先停止snmpd,再创建具有只读属性的SNMP 账户. .[root@server ~]# service snmpd stop[root@server ~]# net-snmp-create-v3-user -A snmpv3pass -a MD5 -x DES snmpv3user=========================…
实现bond 802.3ad or 4 模式:(IEEE 802.3ad), 方式:创建一个整合的组,这个组会共享网速和网络双工(duplex)设置.模式 4 会根据 IEEE 802.3ad 标准使用活动组中的所有网络接口 1.需要交换机配合配置, 2.两端负载均衡模式:基于源IP和目的IP 系统配置: /etc/modprobe.d/bonding.conf alias bond1 bonding options bond1 mode= miimon= lacp_rate=fast xmit…
On CentOS 7, we have found without downloading the epel-release RPM package(as we used to do on previous O.S releases), we can install it by using yum command. yum install epel-release 转自: http://sharadchhetri.com/2014/05/30/install-pip-centos-rhel-u…
原因是修改了在/etc/pam.d/login中加入了: session required /lib/security/pam_limits.so session required pam_limits.so 但是系统是64位的,正确配置在64位下应为: 1: session required /lib64/security/pam_limits.so 2: session required pam_limits.so 重启系统,于是问题得到解决. 参考:http://www.cppblog.c…
1.备份sshd_config cp -p /etc/ssh/sshd_config /etc/ssh/sshd_config.orig.$(date +%F) 2.vi /etc/ssh/sshd_config,修改Port 22为其它端口(建议大于1024) Port 3.因SELINUX仅允许默认ssh的端口22,需要增加新修改的端口 semanage port -a -t ssh_port_t -p tcp 4.如果没有semanage命令,则先执行 yum -y install pol…
http://www.eclipse.org/jetty/download.html http://www.eclipse.org/jetty/documentation/current/startup-unix-service.html https://blog.csdn.net/finishx/article/details/79010944 https://www.itzgeek.com/how-tos/linux/centos-how-tos/install-jetty-web-serv…
步骤一,开机时随便按下键盘,进入以下菜单 步骤二: 选择第一项,按e键进行修改 步骤三,定位到 ro(  linux 16 or linuxefi  ) 步骤四:把ro改成 “rw init=/sysroot/bin/sh”. 完成之后按 “Ctrl+x” 现在可以进入单用户模式了 依次输入以下命令进行root密码修改,修改完成之后强制重启即可.     chroot /sysroot/  passwd root   touch /.autorelabel  …