Re: [CentOS] noexec tmp directory

2012-06-06 Thread Edo
# mount -o remount,nosuid,noexec /tmp That way, you know it’ll be back to the old settings when you reboot. HTH, -- - Edo - mailto:ml2ed...@gmail.com “May a stranger, and not your own mouth, praise you; may a foreigner, and not your own lips, do so.”—Pro. 27:2 __

Re: [CentOS] nodejs based website

2012-06-03 Thread Edo
r so you don’t really need Apache. Check http://nodejs.org/ and see how to install Node.js, start an app, etc. (There’s a sample on the top page.) If you already have Node.js installed, see https://github.com/mnutt/hummingbird#installation and https://github.com/mnutt/hummingbird#running-hummingb

Re: [CentOS] Need help in writing a shell/bash script

2011-12-30 Thread Edo
OUPNAMENOW: $USERNAME" fi done < input.txt # <-- code ends here -- Note: Tested and worked as expected in OS X. It should work in CentOS too. HTH, -- - Edo - mailto:ml2ed...@gmail.com “Happy are those conscious of their spiritual need …” —Matthew 5:3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Silly logrotate question

2011-10-19 Thread Edo
y to keep the old empty log files from being compressed... Or, forget about logrotate and simply run a script right after midnight with something like the ff: rm app.`date --date="yesterday" +%Y-%m-%d`.log > Thanks, > John > > John Kennedy > HTH, -- - Edo - mail

Re: [CentOS] php-5.3.6 fails on CentOS 5.6 64 bit

2011-07-14 Thread Edo
because you have both i386 and x64 RPMs installed. As already pointed out, you could have fixed that by using “--with-libdir=lib64”. So, if you want to use /usr/lib64, try the following instead: ./configure --with-libdir=lib64 --with-jpeg-dir=/usr/lib64 HTH, -- - Edo - mailto:ml2ed...@gmail.

Re: [CentOS] centos 64 bit

2011-07-13 Thread Edo
stem you’re building. I haven’t used any 32-bit systems for many years now. I don’t have any need for them so I don’t install them. So, unless it’s absolutely needed, I suggest deleting them all. -- - Edo - mailto:ml2ed...@gmail.com “He that is holding to discipline is a path to life, but he th

Re: [CentOS] centos 64 bit

2011-07-12 Thread Edo
curses-devel.x86_64 Or, add “exclude=*.i?86” in your /etc/yum.conf before running the same command you did earlier. HTH, -- - Edo - mailto:ml2ed...@gmail.com “Hatred is what stirs up contentions, but love covers over even all transgressions.” —Proverbs 10:12 ___

Re: [CentOS] No DVD Mirrors - Only Torrent

2011-06-23 Thread Edo
dex.php?id=32 For example, http://ftp.riken.jp/Linux/centos/5.6/isos/x86_64/ HTH, -- - Edo - mailto:ml2ed...@gmail.com “A wise person will listen and take in more instruction ...” —Proverbs 1:5 ___ CentOS mailing list CentOS@centos.org http:

Re: [CentOS] how to unmount an NFS share when the NFS server is unavailable?

2011-01-26 Thread Edo
Hi, On Jan 26, 2011, at 5:50 PM, Rudi Ahlers wrote: > On Wed, Jan 26, 2011 at 10:32 AM, Edo wrote: >> Hi, >> >> On 1/26/11 5:23 PM, Rudi Ahlers wrote: >>> Hi All, >>> >>> How do I unmount an NFS share when the NFS server is unaivalab

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread Edo
Hi, On Jan 26, 2011, at 7:31 PM, James Bensley wrote: > On 26 January 2011 10:17, Rafa Griman wrote: >> Directories should have +x permissions. Do a: >> >> chmod0750/directory >> >> And see what happens. >> > > Hi Rafa, like a fool I sent that email and then worked this out > shortl

Re: [CentOS] how to unmount an NFS share when the NFS server is unavailable?

2011-01-26 Thread Edo
Hi, On 1/26/11 5:23 PM, Rudi Ahlers wrote: > Hi All, > > How do I unmount an NFS share when the NFS server is unaivalable? > > I tried "umount /bck" but it "hangs" indefinitely > "umount -f /bck" tells me the mount if busy and I can't unmount it: Try: umount -f -l /bck HTH, -- - Edwin - m

Re: [CentOS] backup script

2011-01-25 Thread Edo
Hi, Try the ff: On 1/25/11 4:31 PM, madu...@gmail.com wrote: > I want to create bash script to have a zip copy from a website running > on linux /var/www/htdocs/* local on the same box on different > directory > I am thinking to do a local backup using crontab (snapshot my web) > tar -cvzf /tmp/w