Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Search Forums

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Showing results 1 to 16 of 16
Search took 0.00 seconds.
Search: Posts Made By: drks
Forum: Programming/Scripts 4th April 2007, 15:50
Replies: 7
Views: 8,936
Posted By drks
Certainly. Let me break this down: ...

Certainly. Let me break this down:

DST_BYTES -> The variable we are setting. In Bash scripts you do not set a variable with the leading '$', however you do reference it as '$DST_BYTES' after you...
Forum: Programming/Scripts 20th December 2006, 01:35
Replies: 4
Views: 5,006
Posted By drks
If you or anyone has issues like this you can...

If you or anyone has issues like this you can also use the dos2unix command to fix similar issues... generally when files are created on a windows box and uploaded to a linux box.
Forum: Server Operation 13th December 2006, 08:26
Replies: 6
Views: 5,790
Posted By drks
I am sorry.... but I don't exactly follow what...

I am sorry.... but I don't exactly follow what you mean. Can you maybe provide some more information of what you are trying to do?
Forum: Server Operation 13th December 2006, 06:46
Replies: 1
Views: 5,049
Posted By drks
A better way to do this would be to rebuild the...

A better way to do this would be to rebuild the httpd (Apache) RPM with the new source...

up2date --get-source httpd
rpm -Uvh /var/spool/up2date/httpd-<version>.src.rpm
wget...
Forum: Server Operation 13th December 2006, 06:40
Replies: 6
Views: 5,790
Posted By drks
I'm sure that Squid would do all that you need: ...

I'm sure that Squid would do all that you need:

http://www.squid-cache.org/
Forum: Server Operation 13th December 2006, 06:39
Replies: 1
Views: 3,914
Posted By drks
You should look into adding RBL (Blacklist)...

You should look into adding RBL (Blacklist) lookups to limit mail from known spammers. Additionally, I would modify the postmaster account in /etc/aliases to just junk all mail to postmaster:
...
Forum: Programming/Scripts 3rd September 2006, 19:58
Replies: 4
Views: 8,869
Posted By drks
I don't know about the whole using a file...

I don't know about the whole using a file business, but this can just as easily be done using usermod after you create the user. You will of course have to have a way to crypt the password... for...
Forum: Programming/Scripts 3rd September 2006, 19:40
Replies: 8
Views: 17,337
Posted By drks
Um, I'm not sure exactly what you need, but if...

Um, I'm not sure exactly what you need, but if you are just wanting to extract fields from a file that is easy. For example, if the file is '/users/test/file' and the contents are what you listed...
Forum: Programming/Scripts 3rd September 2006, 19:31
Replies: 14
Views: 16,702
Posted By drks
I do this with a one liner (for onetime...

I do this with a one liner (for onetime backups).... you could break it up into a script if you wanted (or use the great suggestions above):


linuxbox /]# for database in $(mysql -e "show...
Forum: Installation/Configuration 3rd September 2006, 19:27
Replies: 2
Views: 4,377
Posted By drks
Um, please don't ever suggest to 'clean out a log...

Um, please don't ever suggest to 'clean out a log file'.... unless it has filled the filesystem and you have to.


It sounds like you probably have something already referencing '/dev/hdc1' in...
Forum: Server Operation 3rd September 2006, 19:17
Replies: 1
Views: 3,314
Posted By drks
Hrm... never heard of that, but ACPI might be...

Hrm... never heard of that, but ACPI might be doing something funky on a proper shutdown. Maybe try disabling ACPI... in the GRUB config, add the following to your kernel line:

pci=noacpi

...
Forum: Server Operation 3rd September 2006, 19:11
Replies: 1
Views: 2,421
Posted By drks
This is probably what you are looking for (a lot...

This is probably what you are looking for (a lot of info at http://wiki.apache.org/spamassassin):

Direct Answer: http://wiki.apache.org/spamassassin/DeletingAllMailsMarkedSpam
Forum: Server Operation 3rd September 2006, 19:07
Replies: 24
Views: 26,105
Posted By drks
a base install of any OS is likely not going to...

a base install of any OS is likely not going to include 'make'. You might need to do the following:


apt-get install make




On another note, I have actually written a similar Howto that...
Forum: Server Operation 3rd September 2006, 18:57
Replies: 2
Views: 2,547
Posted By drks
try encasing the database name with -'- single...

try encasing the database name with -'- single quotes, and if that doesn't work try '`' the backtick (the one where the ~ is).


mysql> DROP DATABASE 'web10?db1';

OR

mysql> DROP DATABASE...
Forum: Server Operation 3rd September 2006, 16:39
Replies: 7
Views: 3,752
Posted By drks
It looks like the user doesn't exist, or Postfix...

It looks like the user doesn't exist, or Postfix is not configured for that domain. Please make sure of the following:

1) The domain must be listed in the 'mydestination' variable in...
Forum: Server Operation 23rd August 2006, 11:29
Replies: 6
Views: 23,342
Posted By drks
There is no need to regenerate a...

There is no need to regenerate a key/csr/certificate. If you know the SSL Passphrase, you can simply remove it:
...
Showing results 1 to 16 of 16

 
Forum Jump

All times are GMT +2. The time now is 14:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.