Articles of centos6

查看同一个LUN的多个分区

任何人都知道为什么我看到多个设备为同一个LUN?我检查了存储组他们只暴露了360000970000196801239533036304532这台服务器,但为什么我看到这些很多分区(p1..p7) lrwxrwxrwx 1 root root 8 Jan 20 16:30 360000970000196801239533036304532 -> ../dm-39 lrwxrwxrwx 1 root root 8 Jan 20 16:30 360000970000196801239533036304532p1 -> ../dm-64 lrwxrwxrwx 1 root root 8 Jan 20 16:30 360000970000196801239533036304532p2 -> ../dm-65 lrwxrwxrwx 1 root root 8 Jan 20 16:30 360000970000196801239533036304532p3 -> ../dm-66 lrwxrwxrwx 1 root root 8 Jan 20 16:30 360000970000196801239533036304532p4 -> […]

redhat 6 | 如何安装libpcap-devel

服务器正在运行: # cat /proc/version Linux version 2.6.32-431.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:19:54 EST 2013 而且似乎libpcap-devel不可用,并且我无法在任何存储库中find该软件包。 # yum search libpcap-devel Loaded plugins: product-id, rhnplugin, search-disabled-repos, security, subscription-manager This system is receiving updates from RHN Classic or RHN Satellite. Repository epel is listed more than once […]

ossec通过primefaces回购更新到2.9.0在centos 6 – 将无法启动

我已经安装了几年的primefaces回购和ossec。 它最近从2.8.3更新到2.9.0,并删除了/ var / ossec / bin / ossec-control。 现在ossec不会启动。 我运行“yum whatprovides * / ossec-control”及其说法ossec-hids-hybrid-2.9.0 …我试图安装它,但与ossec-hids-agent-2.9.0冲突。 有没有人通过这个sorting? 我是否需要删除“代理”并安装“混合”?

在CentOS 6上用OpenSSL 1.0.2k编译nginx 1.11.9

我正在运行CentOS 6 x64,我希望能够针对OpenSSL 1.0.2k编译nginx 1.11.9,所以我可以使用HTTP / 2。 我已经下载了openssl-1.0.2k到/ usr / local / src: [root@qpat1 nginx-1.11.9]# ls /usr/local/src openssl-1.0.2k 我正在尝试使用这些命令来编译nginx: $ ./configure –prefix=/etc/nginx –sbin-path=/usr/sbin/nginx –modules-path=/usr/lib64/nginx/modules –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –http-log-path=/var/log/nginx/access.log –pid-path=/var/run/nginx.pid –lock-path=/var/run/nginx.lock –http-client-body-temp-path=/var/cache/nginx/client_temp –http-proxy-temp-path=/var/cache/nginx/proxy_temp –http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp –http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp –http-scgi-temp-path=/var/cache/nginx/scgi_temp –user=nginx –group=nginx –with-compat –with-file-aio –with-threads –with-http_addition_module –with-http_auth_request_module –with-http_dav_module –with-http_flv_module –with-http_gunzip_module –with-http_gzip_static_module –with-http_mp4_module –with-http_random_index_module –with-http_realip_module –with-http_secure_link_module –with-http_slice_module –with-http_ssl_module –with-http_stub_status_module –with-http_sub_module –with-http_v2_module –with-mail […]

Munin不发送电子邮件提醒

我是Linux新手。 我已经安装了Munin并设置了电子邮件警报,但是没有警报产生。 你能帮我么? 这是我的munin.confconfiguration的一部分: contact.sha.command mail -s "Munin notification – ${var:group} :: ${var:host}" [email protected] contact.sha.always_send warning critical contact.sha.command tee -a /var/log/munin/alert.log ###CONTACT GROUP/GROUPS [sha;] contacts sha # a simple host tree [sha;Munin-Server] address 127.0.0.1 use_node_name yes [sha;Server1] address 192.168.10.253 use_node_name yes cpu.iowait.warning 14 cpu.iowait.critical 17 cpu.system.warning 10 df_dev_mapper_VolGroup_lv_root.warning .5 #contacts sha [sha;Website] address 172.16.1.184 use_node_name […]

Centosconfiguration出站IP地址

在我的CentOS服务器上,我configuration了7个IP地址。 默认的IP地址是87.233.82.98这个地址应该用于出站连接。 但是,87.233.82.99地址用于出站连接。 IP路由表中也提到了.99地址。 [root@db01 network-scripts]# ip route show 87.233.82.98 dev eth0 scope link 87.233.82.0/24 dev eth0 proto kernel scope link src 87.233.82.99 169.254.0.0/16 dev eth0 scope link metric 1002 default via 87.233.82.97 dev eth0 如何将出站连接的IP地址更改为87.233.82.98?

CentOS 6.9:删除MySQL并重新安装另一个版本

我的服务器在CentOS 6.9 ,我正在使用yum来安装软件包。 我的问题:我试图使用这个命令安装mysql服务: sudo yum install mysql-server yum加载不兼容的版本mysql-community-server-5.7.20-1.el7.x86_64 ,应该是.el6而不是.el7 。 所以,我的问题是:如何删除.el7包,并安装.el6 mysql版本? 谢谢。

你使用哪个数据库用户连接到pgAdmin3? (PostgreSQL9 / CentOS6)

我在CentOS6中安装了pgAdmin3。 我正在使用PostgreSQL9。 我的问题是,我无法添加服务器到pgAdmin3。 它给了我一个错误: 我没有为用户“postgres”密码,但我已经创build了一个postgresql用户就像我的普通Linux用户,我可以使用“psql”: [andre@andre ~]$ psql psql (9.0.4) Type "help" for help. andre=> \q [andre@andre ~]$ 我的问题是:如何在CentOS6中使用pgAdmin3。 有什么窍门? 我必须input用户“postgres”? 给我个提示。 最好的祝福,

CentOS6 – 如何从“centosplus repository”安装MySQL支持Postfix?

我需要从CentOSPlus存储库安装Postfix和MySQL支持。 我已经做了这个文件/教程描述: http : //wiki.mediatemple.net/w/%28ve%29 : Install_Postfix_with_Dovecot_on_CentOS 而当我尝试做“百胜安装后缀”我得到这个: Setting up Install Process No package postfix available. Error: Nothing to do 任何有关如何从CentOsPlus Repos安装Postfix的线索? 最好的祝福,

RAID 1与主板软件或SiI硬件?

我必须安装2个RAID 1服务器,公司不能为12月前所需的硬件提供资金,下面是可用的硬件: 电脑A 操作系统:CentOS 6.0 MB:EP41-UD3L 内存:4GB CPU:E4300 1.80GHz 电脑B 操作系统:CentOS 6.0 MB:EP45C-UD3R 内存:4GB CPU:Q9550 2.83GHz 我有2个硬件卡Silicon Image SiI 3132可用,铺设在股票周围,如果这是任何值得使用。 现在的问题是: 如果我使用软件RAID,可以稍后转换为硬件RAID,或者有多难? 我应该使用每个主板软件RAID的硅硬件吗? 听说硅片只是一个假的RAID,甚至在操作系统的设备名称,你可以读SoftRaid,所以我会从中获得任何好处吗? 如果可能的话,如果有任何值得使用的,可能会喜欢听到一些80美元范围内的硬件推荐,可能是他们将为我们每张卡提供的资金。