我正在使用CentOS 6.我需要configuration我的YUM才能访问PostgreSQL存储库,但是出现错误。 我按照这个指南: http : //www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html 当我做: yum install postgresql 我得到这个错误: [root@andre yum.repos.d]# yum install postgresql Loaded plugins: fastestmirror, refresh-packagekit, rpm-warm-cache Loading mirror speeds from cached hostfile * base: ftp.di.fc.ul.pt * extras: ftp.di.fc.ul.pt * updates: ftp.di.fc.ul.pt http://yum.pgsqlrpms.org/9.0/redhat/rhel-6-x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – "The requested URL returned error: 404" Trying other mirror. Error: Cannot retrieve […]
我需要在一个远程的CentOS服务器主机上安装客户虚拟机。 我只能通过sshterminal访问我的主机,而我更喜欢只使用CentOS本地软件包。 我的来宾虚拟机是二进制的是基于i386的,但主机是x86_64。 编辑>>> 我只是运行客人testing,所以性能不是问题。 我的客人应该桥接networking接口到我的主机之一,我现有的ethX端口 <<<编辑 你推荐哪种虚拟机软件?
我正在使用一个云CentOS 5实例,我意识到我在开始的时候离开了默认的分区。 所有的/已经挂载在大约10GB的hda上。 另一个驱动器(sda)大约用于备份90GB,但是如果需要,我可以将其释放。 我的MySQL数据库现在变得越来越大了,我正考虑将一个sda驱动器挂载到/ var / lib / mysql。 这是MySQL的惯例(给它自己的分区)? 我需要做些什么来确保这一举措是无痛的,没有数据丢失? 服务器与用户正在读取和写入数据库,因此我想我会做深夜,并首先closuresmysqld。 然后,我打算将/ var / lib / mysql中的所有内容移动到临时目录中,然后将sda1挂载到/ var / lib / mysql,然后将内容从临时目录移回到新挂载的/ var / lib / mysql DIR。 这是正确的方法吗? 有没有其他方法可以给MySQL提供更多的空间,我还没有想到? 我很偏执,一个简单的MV可能会错过目录内的一些隐藏的文件(我对我的无知是如何工作的无知道歉)。
我不知道我做错了什么。 我的时间是正确的,我甚至从微软更新了它。 客户端configuration: tls-client client dev tun proto udp remote xx.xxx.xxx.xxx 80 resolv-retry infinite nobind tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 persist-key persist-tun comp-lzo verb 3 reneg-sec 0 route-method exe route-delay 2 ca ca.crt auth-user-pass 服务器configuration: local xx.xxx.xxx.xxx port 80 proto udp dev tun tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt cert /etc/openvpn/easy-rsa/2.0/keys/server.crt key […]
今天,我要求我的主机端阻止除端口53以外的所有UDP端口。由于每天的UDP攻击,这是当前唯一的选项,以停止淹没我的线路。 现在这个街区已经到位了,我什么都不能做了。 [root@s1 wupload]# wget http://www.google.com –2011-08-15 11:56:28– http://www.google.com/ Resolving www.google.com… failed: Temporary failure in name resolution. wget: unable to resolve host address `www.google.com' 它自己的服务器上没有任何改变。 只在路由器级别。 端口53仍然是开放的,我看到命中通过iptables进来。 我运行CentOS64 5.6。 哪些其他端口需要打开wget和cURL才能正常工作?
我在centos 5.6上运行nginx 1.0 。 我有php 5.1.6安装并运行,然后决定卸载它,切换到php 5.3 。 我运行了以下命令: [user@server]$ /etc/init.d/nginx stop [user@server]$ yum remove php php-* [user@server]$ sudo yum install php53-cli php53-common php53-devel php53-gd php53-mbstring php53-mysql php53-soap php53-xml php53-xmlrpc php53-bcmath php53-snmp [user@server]$ /etc/init.d/nginx start 现在,当我在浏览器中查看phpinfo()的输出时,它仍然读取“PHP Version 5.1.6”。 我错过了哪些步骤?
我的托pipe服务提供商不提供免费备份,我不会为此付费。 我有2个centos 5 64位vps,我正在其中1个,我不使用第二个。 我没有一个cpanel也没有ftp。 我想知道如何备份我不使用的第二个VPS的一切
我正在使用CentOS 5.6 我想从我的一个目录中删除.svn目录,并从它的所有子目录中recursion删除。 请尽快帮助我。
我有一个使用2个板载networking端口(eth0)中的1个和2个PCI网卡(eth2&eth3)中的一个的CentOS 5.5服务器 – 每个networking在不同的子网上都有自己的IP,而不同的网关位于不同的VLAN上。 eth0和eth2上的IP工作正常,但是eth3上的IP对包括ICMP在内的请求没有响应,尽pipe它在交换机上显示为活动状态,如果我在服务器上本地ping IP,则它工作正常。 我猜测这与Linux的某种types的IP路由问题,也许它试图响应eth2 eth0或eth0而不是eth3? 希望有人对我有一些build议吗? eth0: xx236.2 netmask 255.255.252.0 gateway xx236.1 eth2: xx232.2 netmask 255.255.252.0 gateway xx232.1 eth3: xx208.2 netmask 255.255.248.0 gateway xx208.1 从“ip route”输出: xx236.0/22 dev eth0 proto kernel scope link src xx236.2 xx232.0/22 dev eth2 proto kernel scope link src xx232.2 xx208.0/21 dev eth3 proto kernel scope link src […]
我只是在Centos / home / user / mail / new中的用户帐户下find了一大堆电子邮件 我打开了他们中的一些,发现他们是从一个特定的cron工作发出的。 发件人地址是[email protected] 。 我需要找出所有这些电子邮件是否由[email protected]发送 – 这是约30GB的电子邮件。 有没有一种方法来刷出一个唯一的发件人列表的列表? 电子邮件的格式是这样的: 返回path: 信封到:[email protected] 交货date:星期四,2011年8月11日04:34:02 -0400 收到:从本地用户hostname.com(Exim 4.69) (信封来自) id 1QrQiI-0004qM-6V 为[email protected]; 星期四,11八月2011 04:34:02 -0400 来自:[email protected](Cron守护进程) 致:[email protected] 主题:Cron /opt/gsn/reports/pr.sh 内容types:text / plain; 字符集= UTF-8 自动提交:自动生成 邮件ID: date:2011年8月11日(星期四)04:34:02 -0400 [信息内容]