linux debian server installation help

April 21st, 2010 by Rudolf

linux debian server installation help

Debian Linux is a good choice when configuring a robust Linux server. A good sysadmin can configure a system capable of handling thousands of connections per second with a simple out-of-the box installation with some minor tweaks  here and there.

When configuring a server that needs to handle a lot of connections to the apache webserver you might want to do a virtualisation setup with OpenVZ and some virtual containers. This is so you can isolate your webserver from your MySQL server for performance reasons. One other tweak that is overlooked many times is the Apache daemon. The out-of-the-box configuration file of apache is not capable to handle a thousands of connections. You might need to tweak this by hand.

Using nginx as a front-end proxy to direct http/https traffic to your apache servers is also a good choice to split up the load to increase performance.

If you currently have a site that is drawing a lot of traffic and you are in need to split up the load you may contact me for assistance. I do like these kind of projects.

greetz,

Rudolf Maduro (mail+@+ rudolfmaduro+.+ com)

, , , , , , ,

dcom server process launcher terminated unexpectedly

April 21st, 2010 by Rudolf

dcom server process launcher terminated unexpectedly

How To Fix ‘dcom server process launcher terminated unexpectedly, this error is most likely due to a virus infection with “w32/wecorl.a”

That’s it.

Rudolf Maduro (IT specialist and Personal Life Coach)

CEO of www.remote-server-monitoring.com , www.network-monitoring.biz and www.onlinelifecoach.nl

Note: I assume no responsibility when the above information is used. Any damages to you or your users after using this procedure is your own responsibility. This information is given for educational purposes only.

, , , ,

htaccess password – apache

April 21st, 2010 by Rudolf

htaccess password

apache

To protect a folder against unauthorized access via a webbrowser you need to follow a couple of simple steps.

Place a .htaccess file in the folder you want to protect with the following directives:

AuthUserFile /FULLPATHTOYOURPASSWORDFILE/.htpasswd
AuthGroupFile /dev/null
AuthName “Please Login First”
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>

Do not forget to make sure that you have write access to the full path where you want to store your password file. Note on security it is better not to store the .htpasswd in your webroot. Store it in a folder below your webroot whenever possible.

Then do the following on the command line

cd /var/www/FULLPATHTOYOURPASSWORDFILE

Now you can create the password file for the first time with the apache tool “htpasswd” you will be prompted to enter the new password for the user 2 times.

htpasswd -c .htpasswd username

To add more users do the following:

htpasswd .htpasswd username2

htpasswd .htpasswd username2

That’s it, now when you want to access this folder via a webbrowser you will be prompted for a password.

Rudolf Maduro (IT specialist and Personal Life Coach)

CEO of www.remote-server-monitoring.com , www.network-monitoring.biz and www.onlinelifecoach.nl

Note: I assume no responsibility when the above information is used. Any damages to you or your users after using this procedure is your own responsibility. This information is given for educational purposes only.

, , , , , , , , , ,

This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later – Debian Lenny

April 19th, 2010 by Rudolf

This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later

If you are using Debian Lenny with Amavis and ClamAV you probably noticed that email is not being delivered anymore. Maybe you noticed the following in your mail.log:

This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later”

Clamav announced that on the 16th of April 2010 all support will be  dropped for versions before 0.95. Debian Lenny stable branch has ClamAV 0.94 this version can no longer be used. Debian can be quite slow with updating packages that reach end-of-life. This is the best workaround until a new package is merged into the stable branch.

You can fix this issue by using clamav from the volatile branch for now

To do this you follow these steps:

  1. as root: edit the /etc/apt/sources.list add the following line  without the quotes ” deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free “
  2. as root: apt-get update
  3. as root: apt-get remove clamav
  4. as root: apt-get install clamav
  5. as root: /etc/init.d/clamav-daemon restart

If all goes well you should be receiving your queued e-mail as well. If you are in need of help I do offer

remote system administration services for Linux Servers.

Rudolf Maduro (IT specialist and Personal Life Coach)

CEO of www.remote-server-monitoring.com , www.network-monitoring.biz and www.onlinelifecoach.nl

Note: I assume no responsibility when the above information is used. Any damages to you or your users after using this procedure is your own responsibility. This information is given for educational purposes only.

, , , , , ,

Next Entries »