0
votes
0
comments
1,639
views

Which CentOS ISO should I use?

0 votes, 0.00 avg. rating (0% score)
I was going to download a copy of CentOS 7 and found that there were a number of ISO’s available. At first glance I could not figure out which Centos iso i should use so I did a little digging around and came up with the following answer that may be of some use to […]
0
votes
0
comments
1,373
views

Apache mod_watchdog is required

0 votes, 0.00 avg. rating (0% score)
Some of you may take the lazy way of updating your linux systems by using yum-cron. yum-cron will perform auto-updates on your system when patches are made available. With some configuration, you can have this program only send you and email alert. For those of you running an apache http server and have auto-updates configured. you probable […]
0
votes
0
comments
1,513
views

Setting up FTP on Amazon Cloud Server

0 votes, 0.00 avg. rating (0% score)
I am trying to set up FTP on Amazon Cloud Server, but without luck… I search over net and there is no concrete steps how to do it… Since there is no steps on web, can someone help me finding it or write it here? I usually use dedicated server or shared hosting, but I […]
0
votes
0
comments
1,067
views

Why does a yum package update replaces my yum-cron config files?

0 votes, 0.00 avg. rating (0% score)
Usually, when applying package updates via yum update, rpm is ‘intelligent’ enough to respect my changes to configuration files under /etc. (It basically looks at the mtime, compares it and depending on the outcome replaces the file with the new version, or just puts the new version beside it.) But with one of the last […]
0
votes
0
comments
2,398
views

How to can i log all commands typed in a Bash shell?

0 votes, 0.00 avg. rating (0% score)
Our small company runs an Ubuntu Server 11.10, to which a couple of people have SSH access. The actual terminals are sometimes used, too. How can we locally log all Bash commands run, along with user and time stamp? We can assume that no-one is nefarious and actively trying to avoid the logging, but we’d […]
0
votes
0
comments
1,411
views

VMware Raw Device Mapping for local storage

0 votes, 0.00 avg. rating (0% score)
Here is an excellent write up on mapping a RAW device to a VM within ESX/Vsphere. What I was trying to do was map a local drive that had NTFS partitions on it to a Windows 8 VM. Going thru the “Edit Settings” menu for the VM showed “RAW Device Mappings” grayed out on the […]
0
votes
0
comments
1,929
views

Why use Chef/Puppet over shell scripts?

0 votes, 0.00 avg. rating (0% score)
New to Puppet and Chef tools. Seems like the job that they are doing can be done with shell scripting. Maybe it was done in shell scripts until these came along. I would agree they are more readable. But, are there any other advantages over shell scripts besides just being readable? Totor A domain-specific language […]
0
votes
0
comments
5,782
views

Mac OS X Terminal Colors

0 votes, 0.00 avg. rating (0% score)
I’m new to Mac having just got one after working with Ubuntu Linux for some time. Among the many things I’m trying to figure out is absence of colors in my the terminal window – like the ones that are shown (on linux) when you run ‘ls -la’ or ‘git status’… I just can’t figure […]
0
votes
0
comments
40,365
views

regular expression to allow spaces between words

0 votes, 0.00 avg. rating (0% score)
I want a regular expression that prevents symbols and only allows letters and numbers. This regex works great but it doesn’t allow for spaces between words. ^[a-zA-Z0-9_]*$ For example, when using this regular expression “HelloWorld” is fine but “Hello World” does not match. How can I tweak it to allow spaces?
0
votes
0
comments
1,222
views

grep files from list

0 votes, 0.00 avg. rating (0% score)
I am trying to run grep against a list of a few hundred files: $ head -n 3 <(cat files.txt) admin.php ajax/accept.php ajax/add_note.php However, even though I am grepping for a string that I know is found in the files, the following does not search the files: $ grep -i 'foo' <(cat files.txt) $ grep […]