Archive for the tag 'enable'

Enable ImageMagick perl module for perl/cgi script.

1. Install ImageMagick-perl package corresponding to ImageMagick rpm installed on the server shipped by OS vendor.

e.g.

# rpm -q ImageMagick
ImageMagick-6.0.7.1-12
#rpm -ivh ImageMagick-perl-6.0.7.1-12.i386.rpm

OR

1. You can use up2date or yum to install/upgrade ImageMagick-perl package

# up2date ImageMagick-perl

or

#yum install ImageMagick-perl

2. Run ensim through maintenance mode.

set_pre_maintenance
set_maintenance
set_post_maintenance
service webppliance restart

Reference: http://parallels.com

To resolve this issue, check that the vacation binary file has proper permissions, the executable bit should be set.

# ls -l /home/virtual/FILESYSTEMTEMPLATE/vacation/usr/bin/vacation
-rwxr-xr-x 8 root root 18609 Apr 9 2009 /home/virtual/FILESYSTEMTEMPLATE/vacation/usr/bin/vacation

If the executable bit is not set, change the permissions:

# chmod ugo+x /home/virtual/FILESYSTEMTEMPLATE/vacation/usr/bin/vacation

Reference: http://parallels.com

SBDavid

How to enable IP forwarding

How to enable IP forwarding

To enable IP packet forwarding please edit /etc/sysctl.conf with your editor of choice and set:

#Controls IP packet forwarding

net.ipv4.ip_forward = 1

You can then verify your settings with:

/sbin/sysctl -p

How to enable access from all machines for mysql user.

To create a user who has access from all machines in a given domain (for example, serverbuddies.com), you can use the “%” wildcard character in the host part of the account name:

mysql> CREATE USER ‘myname’@'%.serverbuddies.com’ IDENTIFIED BY ‘mypass’;

To do the same thing by modifying the grant tables directly, do this:

mysql> INSERT INTO user (Host,User,Password,…)
-> VALUES(’%.serverbuddies.com’,'myname’,PASSWORD(’mypass’),…);
mysql> FLUSH PRIVILEGES;

Enable SpamAssassin on your DirectAdmin server

To enable Spamassassin on your server, you need to first need to install it. Once installed a few minor changes are needed in your /etc/exim.conf file.

1) Install spamd and spamc:

cd /usr/local/directadmin/scripts
./spam.sh

2) Start the spamd

/usr/bin/spamd -d -c -m 15

Source : http://directadmin.com

« Prev - Next »