Archive for the tag 'Add new tag'

SBDavid

How To Reinstall Horde

How To Reinstall Horde

To reinstall Horde, preserving the existing database, you can use the following:

/usr/local/cpanel/bin/update-horde –force
SBDavid

Apache configuration

Apache configuration on Ubuntu

Apache Default Timeout

Timeout 300

Timeout: The number of seconds before receives and sends time out.

This sets (in simple terms) the maximum time, in seconds, to wait for a request, action it and the response to the request.
The default is deliberately set high to allow for varied situations. You can reduce this to something more sane, to 30 seconds or even lower. A decrease may also help in reducing the effects of a DOS attack.
KeepAlive: Whether or not to allow persistent connections (more than one request per connection).

KeepAlive On

You should generally have KeepAlive “On” as it allows for persistent connections to a client so each file, image, etc. that gets requested. Without keepalives, the apache server and web client will need to establish new connections for every element needed to display a web page. Keeping a single connection going that the client can reuse allows your server to manage clients more efficiently.

MaxKeepAliveRequests

MaxKeepAliveRequests: The maximum number of requests to allow during a persistent connection. Set to 0 to allow an unlimited amount. We recommend you leave this number high, for maximum performance.

MaxKeepAliveRequests 100

Since we have our persistent connection, set the maximum number of requests per connection. Keep this high for maximum performance. You might want to experiment with this setting a bit, but if you have a site with lots of images, javascript, etc, try increasing MaxKeepAliveRequests to as much as 500.

Recommended firewall setup for Ensim Pro for Linux

The following is the list of ports used by Ensim Pro for Linux that need to be open if the server is installed behind a firewall.

TCP Port Service

20 FTP Data
21 FTP
22 SSH
23 Telnet
25 Sendmail SMTP
53 DNS
80 HTTP
110 POP3
143 IMAP
443 SSL
783 Spamassassin
3306 MySQL
19638 Control panel

UDP Port Service

53 DNS
3306 MySQL

Installing C++ preprocessor in DirectAdmin

If you encounter this error message, this would imply that you do not have g++ installed:

checking whether we are using the GNU C++ compiler… no
checking whether g++ accepts -g… no
checking dependency style of g++… none
checking how to run the C++ preprocessor… /lib/cpp
*** The make has failed, do you want to try to make again? (y,n):

The gcc-c++ rpm and all it’s dependancies are required to resolve the issue.

Some dependancies include:

libstdc++-devel
libstdc++

If you have up2date, simply run:

up2date -u gcc-c++

or

yum install gcc-c++

Source include: http://directadmin.com/

Setting Up and Starting Watchdog Services in Plesk

To configure Watchdog settings common for all services:

Click the Modules shortcut in the navigation panel > Watchdog. A list of Parallels Plesk Panel services will be displayed.
Click the Preferences icon in the Tools group.

Monitor all services started by administrator. Leave this option selected if you wish the module to monitor all the Parallels Plesk Panel services that you start. If you install a new system service later on, the module will automatically start looking after it. Deselect this check box, if you are going to shut down some of the Parallels Plesk Panel services and you do not want the module to bring them up automatically or bother you with any alert messages.
Polling interval. Specify the interval between service status queries in seconds.

Store resource usage statistics. Leave this option selected if you wish the system to keep reports on CPU and RAM usage for the amount of time you specify.
Repeat security scanning. Specify how often Watchdog should scan the server for malicious code.

Send reports. Specify how often Watchdog should send you consolidated reports on CPU and RAM load, monitored services, disk space partitions and security scanning results.
Send e-mail to. Specify the e-mail address where Watchdog should deliver alerts and reports. By default, the Parallels Plesk Panel administrator’s e-mail address is used.

Send e-mail from. E-mail address on behalf of which the reports and alerts should be sent. By default, this e-mail address is watchdog@your-host-name.

Finally Click Apply to submit the settings.

Source: http://parallels.com/Plesk/

Next »