Archive for the tag 'Settings'

How to determine system log settings for a Linux server?

Usually the /var/log/messages file is used for the regular system messages.

It is possible to find which place is used by a Linux system for logging from the /etc/syslog.conf or /etc/rsyslog.conf configuration files:

#cat /etc/syslog.conf

or

#cat /etc/rsyslog.conf

1. Create a file with the following content:

<?php
phpinfo();
?>

and then save it into the $HTTPD_VHOSTS_D/domain.tld/httpdocs folder as 1.php (the name may be different, only .php should be existed)

2. Open the file via browser:

http://your-domain.com/1.php

Note! The PHP support should be enabled for the domain.

On the page the standard PHP diagnostic table should be existed.

Configuring Global Backup Settings in Plesk

If you serve numerous Web sites, you may want to configure the backing up process so that it does not consume much server resources.

To reduce the server load and set the disk space usage policy:

1. Go to Home > Server group title menu > Backup Settings.
2. Specify the number of simultaneous backup processes in the Maximum number of simultaneously running scheduled backup processes box. The default value is 10. Type a lesser value.

3. Select the Run scheduled backup processes with low priority check box.
4. Select the Do not compress backup files check box to disable compression.
5. Click OK.

6. To prevent the backing up processes from consuming all available disk space on the server, do the following:
1. Access the server’s file system, locate and open the file [Parallels Plesk Panel installation directory]/admin/share/pmmcli/pmmcli-rc with a text editor.
2. Locate in this file the line FREE_DISK_SPACE 20, and in place of 20, specify the amount of free disk space in megabytes that must be reserved.
3. Save the file.

Doc Source: parallels.com/Plesk/

SBDavid

Protecting System Settings in Apache

Protecting System Settings in Apache

To run a really tight ship, you’ll want to stop users from setting up .htaccess files which can override security features you’ve configured. Here’s one way to do it.

In the server configuration.

AllowOverride None

This prevents the use of .htaccess files in all directories apart from those specifically enabled.