Grokbase
Topics Posts Groups | in
x
[ help ]

Matt Shields (mattb...@gmail.com)

Profile | Posts (39)Page 1 of 2: 1 2 > >>
1) Matt Shields Re: [CentOS] Securing SSH
| +1 vote
DenyHosts - http://denyhosts.sourceforge.net/ Also, when you set it up, set it to download the...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Tue, Mar 25, 2008 at 12:48 PM, Tim Alberts <talberts@msiscales.com> wrote:
> So I setup ssh on a server so I could do some work from home and I think
> the second I opened it every sorry monkey from around the world has been
> trying every account name imaginable to get into the system.
>
>  What's a good way to deal with this?

DenyHosts - http://denyhosts.sourceforge.net/ Also, when you set it
up, set it to download the lists from their website.  These lists are
IPs that other users have found scanning their network.


--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
2) Matt Shields Re: [CentOS] RHEL on The Pirate Bay, Mininova, etc
| +1 vote
I find it funny how people love to complain because companies like RedHat and SuSE/Novell have...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Sat, Mar 22, 2008 at 7:09 PM, Stephen John Smoogen <smooge@gmail.com> wrote:
> The usual idea is that because its "Free" Software you can't restrict
> it in anyway... and that the 'Freedom' trumps any other license or
> agreement. And I will bet that if you have enough money, there will be
> lawyers who will come up with ways to argue that is a valid
> interpretation.. and will argue it over and over again as long as you
>  have money.

I find it funny how people love to complain because companies like
RedHat and SuSE/Novell have found a way to make a business out of a
free product.  There is nothing forcing you to use their distro.  And
if you do like their distro that much and don't want to pay, there are
free alternatives to the commercial products like CentOS, WBEL and
OpenSuSE.  Heck there are more free distro's than paid ones.  Or if
you are jealous of those companies making all the money off a free
product and are so inclined why don't you create your own commercial
Linux distro.  There is nothing that they are doing that violates the
GPL, if they did, I'm sure that they would have all kinds of legal
trouble.

Instead of complaining, people should be grateful for the hard work
that they do bringing features, fixes, drivers, which are released for
free, and by getting hardware vendors involved in bring linux
compatibility to their products.  I can still remember back in 1995
trying to get support from a hardware vendor who refused to provide
drivers for linux or even offer any assistance.

--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
3) Matt Shields Re: [CentOS] 0pensource MAPI client for Exchange
| +1 vote
I've been using Evolution with our Exchange servers and instead of using MAPI, I enabled Outlook...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Thu, Mar 20, 2008 at 9:58 AM, Joseph L. Casale
<jcasale@activenetwerx.com> wrote:
> Anyone know a good Linux client for Exchange that is MAPI based and not IMAP based? Using Evolution, but going from Outlook/MAPI to this is not fun☺
>  Thanks!
>  jlc

I've been using Evolution with our Exchange servers and instead of
using MAPI, I enabled Outlook OWA (http) and connect that way.  You
just point Evolution to the URL of your server, usually
http://servername/exchange


--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
4) Matt Shields Re: [CentOS] Colors in vi for user root
| +1 vote
yum install vim-common vim-enhanced
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Fri, Mar 7, 2008 at 6:42 AM, Mário Gamito <gamito@gmail.com> wrote:
> Hi,
>
> How can I have vi with syntax hilghting for root ?
>  Regular users have it, but not root's.
>
> I've seen the hidden files of a regular user home, but found nothing.

yum install vim-common vim-enhanced

--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
5) Matt Shields Re: [CentOS] Send in your favorite CentOS slogan today
| +1 vote
I know that everyone seems to think any mention of RH is cute and funny, but it's just asking for a...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Mon, Mar 3, 2008 at 11:36 AM, Dan Carl <danc@bluestarshows.com> wrote:
> Heard someone mention free beer, had to participate.
>
>  CentOS, we find RedHat's bugs
>
>  CentOS, the OS that makes sense.
>
>  Dan

I know that everyone seems to think any mention of RH is cute and
funny, but it's just asking for a lawsuit.  Does anyone remember
LinuxWorld Expo in Boston a couple years ago when RH was releasing
RHEL4.  No?  I do, because that's when CentOS got a letter from RH
legal department asking to remove all references to their name and I
was the one sitting in the LinuxWorld booth trying to justify to
people that CentOS was a valid project and not just stealing someone
else's IP.  If CentOS wants to be taken seriously, especially by big
business, you don't do it by biting the hand that feeds you and
creating bad publicity.  Referring to RH without their permission is
just begging for RH to sue us.  Drop the RH jokes and push CentOS on
it's merit as a stable enterprise OS with a great community behind it.

Also without RH, CentOS wouldn't be.  They make it very easy to obtain
the sources in a manner that makes it easy to build CentOS by
releasing complete SRPMs.  There's nothing saying RH has to release
the code this way.  They could make it very difficult for groups like
CentOS, WhiteBox, and Scientific Linux. Be nice to RH and buy a
license here and there when it makes sense.  They have their place in
the food chain, as do we.

Just my $0.02

--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
6) Matt Shields Re: [CentOS] install LAMP
| +1 vote
Learn Yum, it's your friend. If you don't know how to use it just type "yum" and it will give you a...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Mon, Mar 3, 2008 at 9:04 AM, Hiep Nguyen <hiep@ee.ucr.edu> wrote:
>
> On Mon, 3 Mar 2008, Matt Shields wrote:
>
> > On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <hiep@ee.ucr.edu> wrote:
>  >> hi all,
>  >>
> >> i'm not an expert on linux/centos, but i play with it and have a general
> >> idea. it's time for me to setup a centos box for development. i rarely
> >> install anything from source, except a few times in college when i have to
> >> modify kernel for OS project. but i guess i can learn now.
>  >>
> >> i just installed centos 5 with minimal installation. next step is to
>  >>  install LAMP w/ SSL.
>  >>
> >> i found http://lamphowto.com/lampssl.html, but i have questions before i
>  >>  proceed.
>  >>
> >> is it better to install from source or rpm? how easy it is to
> >> upgrade/update if install from source? it seems so much easy to
> >> upgrade/update from rpm, well b/c i'm always do this way.
>  >>
> >> is there any other instruction (beside the one mentioned above) to install
>  >>  LAMP w/ SSL?
>  >>
>  >>  appreciate your help/suggestion
>  >>  t. hiep
>  >
> > It's better to stick to the RPMs to make it easier to upgrade. If you
> > want an easy way to install LAMP you can run 2 commands
>  >
>  > yum -y groupinstall "Web Server"
>  > yum -y install mysql-server php-mysql
>  >
> > This will get Apache, MySQL, and PHP all installed.
>
>  is this include SSL???
>

Learn Yum, it's your friend.  If you don't know how to use it just
type "yum" and it will give you a list of options.  See how I used
"yum groupinfo" on the "Web Server" group.  One of the default
packages is mod_ssl.

[[email protected: r...@admin] ~]# yum groupinfo "Web Server"
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
centosplus                100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
comps.xml                 100% |=========================| 912 kB    00:02
yumgroups.xml             100% |=========================| 9.7 kB    00:00

Group: Web Server
Description: These tools allow you to run a Web server on the system.
Mandatory Packages:
   httpd
Default Packages:
   tux
   mod_python
   mod_ssl
   distcache
   webalizer
   php-ldap
   squid
   mod_perl
   crypto-utils
   httpd-manual
   php
Optional Packages:
   php-odbc
   tomcat5-admin-webapps
   php-pear
   mod_auth_kerb
   httpd-suexec
   tomcat5-webapps
   mod_nss
   mod_auth_pgsql
   mod_auth_mysql
   mod_authz_ldap
   tomcat5
   php-mysql
   php-pgsql

--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
7) Matt Shields Re: [CentOS] install LAMP
| +1 vote
It's better to stick to the RPMs to make it easier to upgrade. If you want an easy way to install...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <hiep@ee.ucr.edu> wrote:
> hi all,
>
> i'm not an expert on linux/centos, but i play with it and have a general
> idea. it's time for me to setup a centos box for development. i rarely
> install anything from source, except a few times in college when i have to
> modify kernel for OS project. but i guess i can learn now.
>
> i just installed centos 5 with minimal installation. next step is to
>  install LAMP w/ SSL.
>
> i found http://lamphowto.com/lampssl.html, but i have questions before i
>  proceed.
>
> is it better to install from source or rpm? how easy it is to
> upgrade/update if install from source? it seems so much easy to
> upgrade/update from rpm, well b/c i'm always do this way.
>
> is there any other instruction (beside the one mentioned above) to install
>  LAMP w/ SSL?
>
>  appreciate your help/suggestion
>  t. hiep

It's better to stick to the RPMs to make it easier to upgrade.  If you
want an easy way to install LAMP you can run 2 commands

yum -y groupinstall "Web Server"
yum -y install mysql-server php-mysql

This will get Apache, MySQL, and PHP all installed.

--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
8) Matt Shields Re: [CentOS] Xen or VMWARE on CentOS 5
| +1 vote
I've never tried this, but someone was telling me that it might be possible to serve up ASP and...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Wed, Feb 27, 2008 at 2:58 PM, Rudi Ahlers <Rudi@softdux.com> wrote:
>
> David Mackintosh wrote:
> > On Wed, Feb 27, 2008 at 08:03:09AM -0600, Les Mikesell wrote:
>  >
>  >> Ern jura wrote:
>  >>
> >>> Does anyone out there have a comprehensive tutorial on installing VMware
>  >>> and
> >>> successfully managing virtual machines with either xen or vmware?
>  >>>
> >> VMware is pretty simple: download the server rpm, install it, run the
> >> vmware-config.pl setup script to set the options and install your (free)
> >> license key. Then run vmware locally or from some other machine to
> >> access the console where you can create and start the virtual machines.
> >> Once created, you can treat the virtual machines like they were
> >> separate physical boxes except that they contend for host resources (and
> >> once they are up on the network I prefer to connect directly to them
> >> with ssh, X, freenx, or vnc instead of using the VMware console. You'll
> >> want plenty of RAM on the host machine and if you run several VM's they
> >> will perform better if you can spread them over different disk drives.
>  >>
> >> With VMware you can copy your disk images over to a Windows or Mac host
> >> and run them with no changes (Mac version isn't free, though).
>  >>
>  >
> > This is pretty much what I do. I also keep stock "reference" images
> > for each OS I support and copy from the reference image every time I
>  > need to deploy a new VM.
>  >
> > I like the idea of Xen, but the documentation is a little thin
> > especially when it comes to installing useful things like Windows
> > VMs; I don't have the time to solve the problem properly, and I hope
>  > that in a year or two I can change this.
>  >
>  >
> > ------------------------------------------------------------------------
>
> >
> > _______________________________________________
>  > CentOS mailing list
>  > [email protected: C...@centos.org]
> > http://lists.centos.org/mailman/listinfo/centos
>  >
> So, what would you use if you wanted to / needed to host a Windows 2003
> VM on a Linux / UNIX server? I don't / can't sacrifice a whole server
>  for a few ASP.NET aps.
>

I've never tried this, but someone was telling me that it might be
possible to serve up ASP and ASP.net with Apache and mono.  I don't
know if this is true, but might be worth checking out.

--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
9) Matt Shields Re: [CentOS] Find files
| +1 vote
You can also do it like this /usr/bin/find /mnt/iog -type f -name '*.tar.gz' -mtime +7 -print -exec...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Fri, Feb 22, 2008 at 9:16 PM, Robert <kerplop@sbcglobal.net> wrote:
>
>
>  [email protected: c...@911networks.com] wrote:
>  > Hi,
>  >
> > I am trying to delete files that are more than 7 days old. When I
> > run it interactively it works, no problem, but it does not run
> > from a file stored in cron.daily. The rest of that daily file
>  > runs properly. [The execute bit is on].
>  >
> > I don't see anything in the /var/log/messages.
>  >
>  > ---------------------------------------
>  > #!/bin/bash
>  >
> > find /mnt/iog -type f -name '*.tar.gz' -mtime +7 | xarg rm
>  > ---------------------------------------
>  >
>  > Any idea what am I missing?
>  >
> Just a shot in the dark: Cron is kinda partial to absolute paths.
>  Change your 1-liner to:
>
> /usr/bin/find /mnt/iog -type f -name '*.tar.gz' -mtime +7 | xargs rm
>
>  That, and the "xargs" that Garrick pointed out.
>
>
>  Good luck.
>  _______________________________________________
>  CentOS mailing list
>  [email protected: C...@centos.org]
> http://lists.centos.org/mailman/listinfo/centos
>

You can also do it like this

/usr/bin/find /mnt/iog -type f -name '*.tar.gz' -mtime +7 -print -exec
rm -f {} \;


If you want to log the results that were deleted try this

/usr/bin/find /mnt/iog -type f -name '*.tar.gz' -mtime +7 -print -exec
rm -f {} \; >> mylog 2> /dev/null


--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
10) Matt Shields Re: [CentOS] Timing a command
| +1 vote
just add 'time' before your command. like this: time sudo mt -f /dev/st0 erase
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Jan 25, 2008 7:05 PM, Scott Ehrlich <scott@mit.edu> wrote:
> I want to keep track of how long a task is running. Thinking it wouldn't
> take that long, I opted not to run time before it. The fact that it is
> taking a long time, if I revisit the machine in the morning, what would be
> the best way to find out what time it ended?
>
> In this case, I'm using mt to erase an lto3 tape - sudo mt -f /dev/st0
> erase. But I'd like to use the knowledge from this question to track
> other events, too.
>
> I feel like I should know this answer, but cannot think of the solution at
> the moment.
>
> Thanks.
>
> Scott


just add 'time' before your command.  like this:

time sudo mt -f /dev/st0 erase


--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
11) Matt Shields Re: [CentOS] Internet usage monitoring
| +1 vote
Yes, but you can also use it to analyzer squid logs. So if you're using Squid proxy, then you can...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Jan 22, 2008 11:26 PM, John R Pierce <pierce@hogranch.com> wrote:
> jarmo wrote:
> > How about webalizer?
> > http://www.mrunix.net/webalizer/
> >
>
> thats for analyzing a webserver's logs. poster dnk wanted to monitor
> his internet usage, which I assume is router traffic.
>

Yes, but you can also use it to analyzer squid logs.  So if you're
using Squid proxy, then you can charge on your internet usage.


--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
12) Matt Shields [CentOS] What's up with the mailing list spam?
| +1 vote
Just this morning I've gotten 3 or 4 pieces of spam on the CentOS mailing list.
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Just this morning I've gotten 3 or 4 pieces of spam on the CentOS mailing list.

--
-matt
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
13) Matt Shields Re: [CentOS] Firewall frustration
| +1 vote
If you're running a single firewall, then maybe FWBuilder isn't for you, although it will do what...
CentOS
[ Profile |