Search found 14 matches

by drummondislebsd
2019/04/19 14:52:24
Forum: CentOS 7 - Networking Support
Topic: Static IP Networking - adding 2nd server
Replies: 1
Views: 361

Static IP Networking - adding 2nd server

Hello, Struggling to set up a 2nd server on network. Per, ISP static ip's x.x.x.33/28 gateway is x.x.x.46 subnetmask 255.255.255.240 Attempting to add a 2nd server that is static configured server1.domain.com x.x.x.33 this hostname has a dns hosted by third party. A record exists at DNS server for e...
by drummondislebsd
2015/03/13 02:54:03
Forum: CentOS 6 - Security Support
Topic: iptables - limit failed log in attempt by ip
Replies: 2
Views: 1254

Re: iptables - limit failed log in attempt by ip

I found this and it is very similar to packet filtering method in BSD. ## Permit SSH port and prevent bruteforce by allowing 3 ssh attempt in a minute # $IPTABLES -A INPUT -p tcp --dport ${SSH_PORT} -m state --state NEW -j LOG --log-prefix "SSH Log:" $IPTABLES -A INPUT -t filter -p tcp --dport ${SSH...
by drummondislebsd
2015/03/09 04:00:53
Forum: CentOS 6 - Software Support
Topic: How to install both 32-bit and 64-bit libraries
Replies: 1
Views: 38668

How to install both 32-bit and 64-bit libraries

Instead of building a 32bit machine, I'd prefer to install 32bit libraries on top of the existing centos 6.6_64bit os. I fairly confident it can be done, as I was forwarded a link to RHEL knowledge base topic, which I cannot access. I need 32bit libraries to execute a 32bit .cgi script which powers ...
by drummondislebsd
2015/03/05 01:46:51
Forum: CentOS 6 - Security Support
Topic: iptables - limit failed log in attempt by ip
Replies: 2
Views: 1254

iptables - limit failed log in attempt by ip

Migrating from BSD to Centos. In BSD, there is a pf.conf packet filering command called 'max-src-conn' And, with it, the firewall/packet filer counts the max failed attempts of an ip to ssh, or other defined proto. And, author can establish a rule that after X fails in a session, the ip is logged to...
by drummondislebsd
2015/02/16 00:58:46
Forum: CentOS 6 - General Support
Topic: parsing all files from a directory tree within a date range
Replies: 3
Views: 572

Re: parsing all files from a directory tree within a date ra

#find . /home/user_name/source/ -type f -mtime +0 –mtime -14 -exec cp -R '{ }' /home/user_name/destination/ \; this works to identify and copy all the files in the directory tree, but it does not recreate the directory tree for the files in the destination. Rather, it simply lumps all the identified...
by drummondislebsd
2015/02/14 20:04:31
Forum: CentOS 6 - General Support
Topic: parsing all files from a directory tree within a date range
Replies: 3
Views: 572

parsing all files from a directory tree within a date range

#find . /home/user_name/mail/ -mtime +0 –mtime -14 -exec cp -R '{ }' /home/user_name/mail_archive/ \; This "finds" and then copies everything in the directory tree, under /home/user_name/mail/ that meets the criteria; modified within last 14 days. But, it is grabbing too much data. Meaning, if a sub...
by drummondislebsd
2015/02/14 07:48:06
Forum: CentOS 6 - General Support
Topic: Dreamweaver or Wordpress for CentOS?
Replies: 2
Views: 1946

Re: Dreamweaver or Wordpress for CentOS?

Not sure where you're getting the info on Dreamweaver being incompatible with Centos? Centos is essentially just an iteration of the operating system Red Hat Linux/Unix, meaning you have a LAMP server; Linux, Apache, Mysql, Php webserver. And, that is precisely what Dreamweaver is designed to work w...
by drummondislebsd
2015/02/14 06:15:51
Forum: CentOS 6 - Software Support
Topic: parsing files from a directory by date greater date
Replies: 3
Views: 632

Re: parsing files from a directory by date greater date

agreed, the correct command is #cp -R /home/user_name/mail /home/backup/user_name/ this assumes my creation of a "backup" directory in the /home directory === #mkdir /home/backup and #mkdir/home/backup/user_name === and remember, when you move these directories/files, the ownership likely changes fr...
by drummondislebsd
2015/02/14 05:22:51
Forum: CentOS 6 - Software Support
Topic: parsing files from a directory by date greater date
Replies: 3
Views: 632

parsing files from a directory by date greater date

I used; # cp -R /home/user_name/mail to create an archive copy of emails - one week ago (date x) I wish to obtain ONLY the incremental additions to each /directory under the above path Anyone know a command to condition either the copy command or another command to permit parsing only files with "cr...
by drummondislebsd
2015/02/11 03:39:24
Forum: CentOS 6 - Software Support
Topic: Migrating mail server
Replies: 1
Views: 1620

Re: Migrating mail server

First - make sure you make a back-up of the entire /home/usr/mail, if not the entire server, prior to executing an unknown script. Cannot speak to that script, but here is command line process I'm undergoing on the task. I'm migrating from FreeBSD to Centos. Both will be running Horde. Thus far; - d...

Go to advanced search