目前,我正在pipe理数以百计的CentOS / Amazon Linux服务器,而我们用来pipe理无数软件包的本地工具似乎是不够充分和不必要的。 我正在寻找的是一个工具,每个服务器将连接到,然后报告什么软件包安装以及他们的版本是什么。 本质上,我想有一个仪表板,我可以很容易地看到哪些服务器后面的包,所以需要运行yum更新。 一般来说,我们已经在使用Chef进行configurationpipe理,但是并没有完全解决这个问题(至less不是我见过的)。 我认为Ubuntu有一个这样的服务,但是我没有看到任何RedHat风格的系统。 谢谢!
所以我得到了一个Redhat6.2,并将其安装在新的IBM x3650 m4服务器上。 不过我想要使用Debian,因为我对它更加熟悉。 由于x3650不支持Debian(我已经尝试过,但没有运气),我打算安装Redhat6.2作为基础系统,并运行多个带有Debian 7的KVM。 问题:Redhat6.2是2.6内核,而Debian7是3.2内核。 那么在2.6内核主机上运行3.2内核虚拟机是否可行?
所以我有一个符号链接到我的站点中的configuration文件(可用),以及在启用站点的文件夹中的符号链接。 [emai@511863-web3 sites-available]$ ls mysite-staging.conf [emai@511863-web3 sites-available]$ cd .. [emai@511863-web3 httpd]$ ls conf conf.d logs modules run sites-available sites-enabled [emai@511863-web3 httpd]$ cd sites-enabled/ [emai@511863-web3 sites-enabled]$ ls mysite-staging.conf [emai@511863-web3 sites-enabled]$ more mysite-staging.conf <VirtualHost *:80> RailsEnv "staging" RackEnv "staging" ServerName mysite-staging.nettheory.com ServerAlias mysite-authorize-staging.nettheory.com DocumentRoot /usr/local/www/mysite-staging/current/public ErrorLog logs/mysite-staging/error_log CustomLog logs/mysite-staging/access_log combined <Directory /usr/local/www/mysite-staging/current/public> # This relaxes Apache security […]
我知道有一个/ etc / sysconfig / iptables文件,规则为iptables(和/ etc / sysconfig / iptables-config有什么区别)。 我安装了CSF&LFD。 您可以在/etc/csf/csf.conf中configuration端口,但/ etc / sysconfig / iptables文件不存在。 iptables和csf守护进程正在运行。 这是什么意思? 那防火墙什么都不做? 实际上,CSF和iptables是如何协同工作的?
我刚刚安装了一个Nagios实现,并且我试图让Red Hat上的httpd使用LDAP身份validation。 (下面的Apacheconfigurationnagios.conf,当然消毒) ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" <Directory "/usr/local/nagios/sbin"> #SSLRequireSSL Options ExecCGI AllowOverride none AuthType Basic AuthName "LDAP Authentication" AuthLDAPURL "ldap://my.domain.controller:389/OU=Users,DC=my,DC=domain,DC=controller?sAMAccountName?sub?(objectClass=user)" NONE AuthzLDAPAuthoritative off AuthLDAPBindDN "CN=NagiosAdmin,DC=my,DC=domain,DC=controller" AuthLDAPBindPassword "myPassword" require valid-user </Directory> Alias /nagios "/usr/local/nagios/share" <Directory /usr/local/nagios/share> #SSLRequireSSL Options None AllowOverride none AuthBasicProvider ldap AuthType Basic AuthName "LDAP Authentication" AuthzLDAPAuthoritative off AuthLDAPURL "ldap://my.domain.controller:389/OU=Users,DC=my,DC=domain,DC=controller?sAMAccountName?sub?(objectClass=user)" NONE AuthLDAPBindDN "CN=NagiosAdmin,DC=my,DC=domain,DC=controller" AuthLDAPBindPassword […]
想要在MySQL 5.0上执行此操作: 设置全局log_warnings = 2; 在mysqld服务重启之后,设置是否会继续?
我已经负责在已经运行MySQL的Red Hat Linux 4框上实施一些升级。 我发现需要mysql_config工具,但我找不到它已经安装在任何地方。 我使用的包pipe理器是RPM 。 rpm -qa | grep -i mysql MySQL-client-enterprise-gpl-5.0.56sp1-0.rhel4 MySQL-shared-compat-enterprise-gpl-5.0.56sp1-0.rhel4 MySQL-server-enterprise-gpl-5.0.56sp1-0.rhel4 以下是关于MySQL安装的一些信息: mysql> SHOW VARIABLES LIKE '%version%'; +————————-+——————————-+ | Variable_name | Value | +————————-+——————————-+ | protocol_version | 10 | | version | 5.0.56sp1-enterprise-gpl-log | | version_comment | MySQL Enterprise Server (GPL) | | version_compile_machine | i686 | | version_compile_os | […]
我在Linux的红帽服务器上使用postfix, 我无法理解在main.cf和master.cf中configuration的smtp fallback中继的function 您能否提一些build议?
我正在阅读关于在redhat 6上安装数据库的oracle指南,但我不明白为什么oraclebuild议在/etc/sysctl.conf中设置file-max系统参数和nofile http://docs.oracle.com/cd/B28359_01/install.111/b32285/toc.htm#LTDQI127 所以,如果我为oracle用户在/etc/security/limits.conf中设置nofile,为什么我需要为系统范围设置一个限制? /etc/sysctl.conf中的Oracle参数示例: fs.file-max = 65536 <—— UMMMMMMM —-> kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 Oracle参数示例/etc/security/limits.conf: oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 […]
我有一个具有〜350Gb访问日志文件的MySQL 5.5服务(RHEL 5.x)。 我想把这个文件清零。 我需要事先做一些特别的事吗? 停止服务器?