Search found 123 matches

by mfaisalkh
Fri Nov 11, 2011 4:16 pm
Forum: Administration
Topic: cp & chown issue.
Replies: 7
Views: 13031

Re: cp & chown issue.

Try this:

ls -l /opt/appserver/images | xargs -i cp -rpf /opt/appserver/images/{} /opt/appserver02/public/images/
by mfaisalkh
Wed Aug 05, 2009 1:46 pm
Forum: Administration
Topic: Memory Calculation Script!
Replies: 4
Views: 6013

AOA, Try this: SIZE=`free -m | grep Mem | cut -d " " -f11` USED=`free -m | grep Mem | cut -d " " -f13-18` PUSED=`echo 100 \* $USED / $SIZE | bc ` echo echo "Total Physical Memory Physical Memory Used Memory Used (%)" echo " $SIZE MB $USED MB $PUSED%"
by mfaisalkh
Tue May 05, 2009 5:16 pm
Forum: Administration
Topic: Backup on Tape Library
Replies: 2
Views: 5520

AOA, Just installed & configure TSM Client for Linux http://post.doit.wisc.edu/linux/tsm/rhl8x/index.html ftp://ezbdist.cit.cornell.edu/pub/linux/5.3.4.0/TSM534C_LINUX86.README_enu.htm http://ezbackup.cornell.edu/techsup-v5.3/cu/install/linux/5340quickstartinstalllinux.html http://www.oucs.ox.ac...
by mfaisalkh
Mon Jul 14, 2008 11:17 am
Forum: Administration
Topic: updating your timezone files
Replies: 9
Views: 7802

here is a script to update your time. ##################################### #!/bin/bash /sbin/service dovecot stop /usr/sbin/ntpdate clock.redhat.com if test $? = 0 then curhr=`date | cut -b 12-13` curmin=`date | cut -b 15-16` if test $curhr = 23 then newhr=00 date -s $newhr$curmin else newhr=`expr ...
by mfaisalkh
Mon Jun 23, 2008 10:56 am
Forum: Administration
Topic: Problum in webalizer
Replies: 2
Views: 4060

by mfaisalkh
Thu Apr 03, 2008 11:10 am
Forum: Administration
Topic: MRTG for Remote Linux/Win Servers
Replies: 16
Views: 13031

Dear Zaib (Jhanzaib),

lambda post tell everything.

Remember MRTG not work without SNMP.
I hope you will do it now.
by mfaisalkh
Wed Apr 02, 2008 1:40 pm
Forum: Administration
Topic: MRTG for Remote Linux/Win Servers
Replies: 16
Views: 13031

Check the following link:

http://geocities.com/mufakhan/mrtg.htm
by mfaisalkh
Tue Feb 12, 2008 3:56 pm
Forum: Administration
Topic: SquidGaurd
Replies: 6
Views: 8259

by mfaisalkh
Fri Aug 24, 2007 5:26 pm
Forum: Administration
Topic: DNS Questions
Replies: 4
Views: 7628

To delete DNS cache you can use:
#rndc flush

To view DNS cache, first run

#rndc dumpdb

this command create a cache_dump.db or named_dump.db probably in

/var/named/chroot/var/named
OR
/var/named/chroot/var/named/data

Then grep a domain like:

grep hotmail cache_dump.db

grep yahoo named_dump.db
by mfaisalkh
Fri May 11, 2007 2:54 pm
Forum: Administration
Topic: Apache+SSL Problem
Replies: 4
Views: 6584

#cp server.key server.key.org
#openssl rsa -in server.key.org -out server.key

Make sure the server.key file is only readable by root:

#chmod 400 server.key
by mfaisalkh
Mon Apr 02, 2007 7:18 pm
Forum: Administration
Topic: Apache+sarg
Replies: 4
Views: 5808

Edit the httpd.conf file, and add the following lines between the section tags <IfModule mod_alias.c> and </IfModule>: vi /etc/httpd/conf/httpd.conf Alias /sarg/ "/var/www/html/sarg/" <Directory "/var/www/html/sarg"> Options None AllowOverride None Order deny,allow Deny from all ...
by mfaisalkh
Fri Mar 23, 2007 2:39 pm
Forum: Administration
Topic: Php My Admin
Replies: 10
Views: 14209

• Extract the PhpMyAdmin into /var/www/html #tar -zxvf PhpMyAdmin-xxx • Now rename the PhpMyAdmin.xxx to phpmyadmin #mv PhpMyAdmin.xxx phpmyadmin • Go into libraries of phpmyadmin directory. #cd phpmyadmin #cd libraries • Copy config.default.php into config.inc.php #cp config.default.php con...
by mfaisalkh
Tue Feb 13, 2007 1:53 pm
Forum: General
Topic: Disabling root account in SSH
Replies: 4
Views: 5441

#vi /etc/ssh/sshd_config

PermitRootLogin no
by mfaisalkh
Mon Aug 07, 2006 1:04 pm
Forum: Administration
Topic: Chat & SSL
Replies: 1
Views: 3400

Chat & SSL

AOA Allz,

*How to setup a Chat server on linux ?

*How to setup SSL certificates for websites?

How to configure Radius Server on Linux