Re: [CentOS] Removing a file that starts with dashes

2014-04-02 Thread Roberto Alvarado
rm -f "\--backup=numered"

Regards
Roberto

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Frank M. Ramaekers
Sent: miércoles, 02 de abril de 2014 11:45
To: centos@centos.org
Subject: [CentOS] Removing a file that starts with dashes

How can I remove this file?

-rw-r--r-- 1 rootroot   28707 Mar 31 12:31 --backup=numbered

 

I've tried a few different methods, but most attempts interprets the file
name as a switch (which it doesn't understand).

 

TIA,

Frank M. Ramaekers Jr. | Systems Programmer | Information Technology |
American Income Life Insurance Company | 254-761-6649

 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] timeconfig

2012-01-31 Thread Roberto Alvarado
cp -f /usr/share/zoneinfo/YOURTIMEZONE /etc/localtime

:D



On 01/31/2012 01:57 PM, Jerry Geis wrote:
> There used to be a timeconfig command in 5.X - doesnt seem present in 6.X
>
> yum provides "*/timeconfig"
> Loaded plugins: fastestmirror, refresh-packagekit
> Loading mirror speeds from cached hostfile
>* base: mirror.us.leaseweb.net
>* extras: mirror.umd.edu
>* updates: mirror.umd.edu
> No Matches found
>
> Whats the new command to set the timezone?
>
> jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Monitoring services

2011-11-28 Thread Roberto Alvarado
You can try zabbix

www.zabbix.com

On 11/27/2011 08:01 PM, Kenneth Porter wrote:
> What's available to remotely monitor services? What I'd like is something
> that can run scripts for each service to connect to a port and verify that
> it's up, and then send me an SMS message (phone text) to let me know which,
> if any, are down.
>
> Also, does a script exist that checks all the services listed by chkconfig
> and reports those that should be up but are down?
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vim access

2011-09-13 Thread Roberto Alvarado
or you can try just " vi filename"

but if you really need vim... why dont use yum??

yum search vim

On 13-09-2011 9:18, Dotan Cohen wrote:
> On Tue, Sep 13, 2011 at 14:59, Ashish Shaligram  
> wrote:
>> Hello,
>> I have install a cent os 6 x64, and i cant use vim command. Can you help me
>> to how to access file more easily or more reliably.
>>
> What do you get with "which vim"?
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 64 bit

2011-07-13 Thread Roberto Alvarado
In yum.conf you can try:

multilib_policy=best

With this yum priorize the packages based on your architecture, but dont 
exclude the all the i386 packages if you have a x64 system.

On 13-07-2011 12:16, B.J. McClure wrote:
> On Wed, 2011-07-13 at 10:02 -0500, Les Mikesell wrote:
>> On 7/13/2011 9:54 AM, Always Learning wrote:
>>>
 (2011/07/13 12:07), Edo wrote:
>  “exclude=*.i?86” in your /etc/yum.conf
>>> Like many, I dislike both i386 and x64 packages being installed on my
>>> x64 machines.
>>>
>>> However, is there a potential danger than in installing only x64
>>> packages, one of the required files might be available only in i386
>>> format and thus detrimentally excluded ?
>>>
>>> Some illuminating clarity is welcome.
>> Note that some 3rd party binaries programs may expect/require 32 bit
>> libs to be present - vmware server, for example.
>>
> And Skype.
>
> B.J.
>
> CentOS Linux release 6.0 (Final)
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.5 php configure errors

2011-03-14 Thread Roberto Alvarado

You need to install the devel packages:

libxml2-devel.i386
libxml2-devel.x86_64

Regards.


On 14-03-2011 14:22, Ron Young wrote:
I am attempting to install odbtp on my newly created lamp server 
running CentOS 5.5 and php 5.2.17.  The odbtp compile failed looking 
for lots of zend related files supposedly in the php install dir.  I 
learned from the odbtp project forum that I need to run configure in 
the php source directory.


So I downloaded the php 5.2.17 source  and ran ./configure and got 
these results:


root@myserver php-5.2.17]# ./configure
...
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2
installation.
[root@myserver php-5.2.17]#

[root@myserver php-5.2.17]# yum list libxml2
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* addons: mirrors.igsobe.com 
* base: mirror.cogentco.com 
* epel: mirror.vcu.edu 
* extras: mirror.ash.fastserv.com 
* ius: mirror.rackspace.com 
* updates: mirror.cogentco.com 
Installed Packages
libxml2.i386 2.6.26-2.1.2.8.el5_5.1
installed
libxml2.x86_64 2.6.26-2.1.2.8.el5_5.1
installed
[root@myserver php-5.2.17]#

What am I missing?  Suggestions?


Regards,

Ron Young
919-621-9015
http://www.linkedin.com/in/ronhyoung

+++
Little tiny dreams require little tiny thoughts and little tiny steps.
Great big dreams require great big thoughts and little tiny steps.
+++


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FTP accounts

2011-03-14 Thread Roberto Alvarado

If you are using proftpd, you have to add this line to the config file:

DefaultRoot ~

More info at:

http://www.proftpd.org/docs/directives/linked/config_ref_DefaultRoot.html

Regards.

On 14-03-2011 14:27, Huib Laurens wrote:

Hello,

I have setup a centos server running 5.5 and I have a problem with the 
FTP settings.


Currently I have two FTP accounts based on that server, they lead to:

/home/bella
/home/carmen

Currently the FPT accounts starts in the home directory when they are 
logged in. But they are able to see all directories on the server. 
What can I do to make sure they cant come out of there home directory?


--
Regards,
Huib "Abigor" Laurens



Support Free Knowledge: http://wikimediafoundation.org/wiki/Donate


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos